[DragonFlyBSD - Bug #3101] PFI CGI install not working in dragonflybsd 5.0.1 USB install

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Wed Dec 13 14:46:41 PST 2017


Issue #3101 has been updated by thomas.nikolajsen.


Hello Bertrand,

You are right, installer use without syscons(4) (including virtual terminals) is broken.
This should be fixed, hopefully for next release.

But dragonfly can be installed manually without installer use.
Though it does take some UNIX experience.
I had no problem installing dragonfly on my APU2, it works fine.
You might do manual install, if you have experience.

To install you just boot from USB media (or network boot, if it is preferred).
Installing instructions is in gpt(8) manual page in EXAMPLES section under Boot Setup heading.

You might prefer MBR over GPT, i.e. use fdisk(8) to setup boot slice.
I used MBR for APU2. I didn't test if GPT works on APU2.
GPT boot mathos used is non-standard and will not work on all BIOSes, as described in gpt(8) manual page.

The rest of dragonfly install described in gpt(8) manual page is independent of boot setup choosen.

Other source for info on dragonfly setup is /usr/share/examples/rconfig, which has a number of setup options.
(HAMMER2 isn't there yet, but if you would like to try it, I'm sure you can change HAMMER setup to fit your needs.)

https://leaf.dragonflybsd.org/cgi/web-man?command=gpt&section=8

https://gitweb.dragonflybsd.org/dragonfly.git/tree/HEAD:/share/examples/rconfig


----------------------------------------
Bug #3101: PFI CGI install not working in dragonflybsd 5.0.1 USB install
http://bugs.dragonflybsd.org/issues/3101#change-13350

* Author: bnegre82
* Status: New
* Priority: Low
* Assignee: 
* Category: Build
* Target version: 5.0.0
----------------------------------------
Hello,
I tried to install dragonflybsd on a PCengines APU2 with the CGI installer interface. I have to do this because there is just a serial console and normal installer don't work.
I added a pfi.conf file in /etc/pfi.conf to the image, but no web interface comes.
It failed because /usr/local/sbin/thttpd_wrapper  is not on the USB install image (dfly-x86_64-5.0.1_REL.img.bz2)

The webserver is called by the pfi service at startup (etc/rc.d/pfi) line 203
	if [ "X$pfi_frontend" = "Xcgi" ]; then
		echo "Starting thttpd..."
		/usr/local/sbin/thttpd_wrapper &
	fi

Can you fix this for the next release ?
How can I add the web server to the install image ?

Regards,
Bertrand



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list