Hello,

After upgrading to 7.0 I noticed DHCP leases from my ISP were
not being renewed.

After researching I ended up modifying my /etc/hostname.em0 file
by replacing 'dhcp' with '!dhclient \$if' and this "appears"
to resolve the issue.

The FAQ and the dhclient/hostname.if manpages infer that this
shouldn't be necessary and a simple 'dhcp' should be sufficient.
Obviously I'm missing something because our application is very basic.

With the above "fix" in place, the other thing I've noticed is that
on bootup I now get this
em0: no link....got link
em0: no lease.....got lease
em0: my.wan.ip.addr lease accepted from nnn.nnn.nnn.nnn (u:v:w:x:y:z)
This does not appear with hostname.em0 containing 'dhcp', however
it did previously when on 6.9

Any help on this would be great. Thanks.

Notes:
No related messages in daemon or messages logs
OS: openbsd 7.0 /amd64
hardware is PC Engines APU2e4 with BIOS version v4.13.0.2
em0 at pci1 dev 0 function 0 "Intel I210" rev 0x03: msi, address a:b:c:d:e:f

Reply via email to