Project

General

Profile

Bug #3101

PFI CGI install not working in dragonflybsd 5.0.1 USB install

Added by bnegre82 2 months ago. Updated about 1 month ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Build
Target version:
Start date:
11/12/2017
Due date:
% Done:

0%


Description

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

History

#1 Updated by Williammbrooks about 2 months ago

Truly the blogging is spreading its wings quickly. Your write up is a fine example of it. It was crystal clear, continue sharing. Go for this "best essay writing service":https://www.clazwork.com to having a wonderful assistant in writing and even you can get the guidelines too.

#2 Updated by Williammbrooks about 2 months ago

Truly the blogging is spreading its wings quickly. Your write up is a fine example of it. It was crystal clear, continue sharing. Go for this [best essay writing service](https://www.clazwork.com) to having a wonderful assistant in writing and even you can get the guidelines too.

#3 Updated by thomas.nikolajsen about 1 month ago

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

Also available in: Atom PDF