Saturday, June 30, 2018

hostname.cdce0 not modifying MAC

Hello,

I have the latest snapshot and

cat /etc/hostname.cdce0
up lladdr xx:xx:xx:xx:xx:xx


xx -> MAC, but censored.

How come I have to do a "sh /etc/netstart cdce0" to make OpenBSD modify the MAC address in the ifconfig output when I plug out/in the USB Gbit ethernet device?

Because of this (when plug out/in) the MAC address isn't updated for the cdce0 device, and thus the pppoe0 doesn't connects, because my ISP has MAC filtering and only allowed the one in the hostname.cdce0 file.

If the USB Gbit ethernet device is plugged out/in, shouldn't it have the MAC configured in its hostname.cdce0 file, without me have to manually run the netstart? Or what am I missing?

Thanks!

No comments:

Post a Comment