On 28.5.2015 г. 13:00 ч., Stuart Henderson wrote:
On 2015-05-28, Ivo Chutkin <open...@bgone.net> wrote:
Hello guys,
I am lost with this simple task.
DHCP server does not start at boot.
If I started by #/etc/rc.d/dhcpd start, it starts and works properly.
If I check it with #/etc/rc.d/dhcpd check, i get dhcpd(failed)
I cannot see any errors in logs.
May be I miss something obvious. I have done it many times without issues.
Please, take a look and help me if you can.
Thanks,
Ivo
It is alix2d3 board with read only file system.
Perhaps the read-only fs is the problem.
Not exactly, but close.
If I mount it rw, it does not solve the problem.
It is not OpenBSD problem.
I use this tutorial as base setup:
http://techblagh.blogspot.com/2008/08/installing-openbsd-43-on-soekris-5501.html
It works fine till now, 5.7.
I guess, it reads /etc/rc.conf.local from wd0a before /etc is mounted on
memory file system from backup partition.
If I boot -s and add entries in rc.conf.local, it works.
Strangely, it does read other files from /etc mounted on memory file
systems corectly, for example hostname.if-s end so on...
When /etc/rc.conf.local is read?
Thanks,
Ivo