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.

My dhcpd.conf file is mostly default:

~ # cat /etc/dhcpd.conf
option  domain-name "my.domain";
option  domain-name-servers 192.168.55.1;

subnet 192.168.55.0 netmask 255.255.255.0 {
        option routers 192.168.55.1;

        range 192.168.55.32 192.168.55.127;

        host static-client {
                hardware ethernet 22:33:44:55:66:77;
                fixed-address 192.168.55.200;
        }

        host pxe-client {
                hardware ethernet 02:03:04:05:06:07;
                filename "pxeboot";
                next-server 192.168.55.1;
        }
}

My hostname.vr2 file:
~ # cat /etc/hostname.vr2
up
inet 192.168.55.1 255.255.255.0 192.168.55.255
description MNG

My rc.conf.local file:
~ # cat /etc/rc.conf.local
ntpd_flags="-s"
dhcpd_flags=""          # for normal use: ""

ifconfig output:
~ # ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
        priority: 0
        groups: lo
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:0d:b9:39:46:80
        priority: 0
        groups: egress
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet XX.XXX.XXX.42 netmask 0xfffffff8 broadcast XX.XXX.XXX.47
vr1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:0d:b9:39:46:81
        description: MTEL
        priority: 0
        media: Ethernet autoselect (none)
        status: no carrier
vr2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:0d:b9:39:46:82
        description: MNG
        priority: 0
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 192.168.55.1 netmask 0xffffff00 broadcast 192.168.55.255
enc0: flags=0<>
        priority: 0
        groups: enc
        status: active
vlan15: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:0d:b9:39:46:82
        description: VITA-OFFICE
        priority: 0
        vlan: 15 parent interface: vr2
        groups: vlan
        status: active
        inet 192.168.15.1 netmask 0xffffff00 broadcast 192.168.15.255
vlan25: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:0d:b9:39:46:82
        description: VITA-GUEST
        priority: 0
        vlan: 25 parent interface: vr2
        groups: vlan
        status: active
        inet 192.168.25.1 netmask 0xffffff00 broadcast 192.168.25.255
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33192
        priority: 0
        groups: pflog


dmesg:
~ # dmesg
OpenBSD 5.7-stable (GENERIC) #0: Mon May 11 21:00:34 EEST 2015
    r...@build.office.bgone.net:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 499 MHz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW
real mem  = 267931648 (255MB)
avail mem = 251179008 (239MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 01/15/14, BIOS32 rev. 0 @ 0xfd0e4
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xe0000/0xa800
cpu0 at mainbus0: (uniprocessor)
mtrr: K6-family MTRR support (2 registers)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33
glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES
vr0 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 10, address 00:0d:b9:39:46:80 ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 vr1 at pci0 dev 10 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, address 00:0d:b9:39:46:81 ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 vr2 at pci0 dev 11 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 15, address 00:0d:b9:39:46:82 ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 glxpcib0 at pci0 dev 15 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit 3579545Hz timer, watchdog, gpio, i2c
gpio0 at glxpcib0: 32 pins
iic0 at glxpcib0
maxtmp0 at iic0 addr 0x4c: lm86
pciide0 at pci0 dev 15 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <TS4GCF133>
wd0: 1-sector PIO, LBA48, 3823MB, 7831152 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 12, version 1.0, legacy support
ehci0 at pci0 dev 15 function 5 "AMD CS5536 USB" rev 0x02: irq 12
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1
isa0 at glxpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1
nvram: invalid checksum
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (bc432afc1a8ac155.a) swap on wd0b dump on wd0b
clock: unknown CMOS layout

Reply via email to