Re: hostname.cdce0 not modifying MAC
perfectly logical, thx, looks like I was tired > Sent: Saturday, June 30, 2018 at 5:24 PM > From: "Theo de Raadt" > To: "Kollar Arpad" > Subject: Re: hostname.cdce0 not modifying MAC > > Kollar Arpad wrote: > > > 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 when the device isn't plugged in, it doesn't exist. > > > 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? > > netstart isn't automatically run when you install a device. That would be > crazy. >
Re: hostname.cdce0 not modifying MAC
OpenBSD doesn't auto-connect on insert like that. You must configure this yourself. Look at hotplugd(8) manpage. This is a good thing, btw. Look up poisontap for details. Paul 'WEiRD' de Weerd On Sat, Jun 30, 2018 at 05:23:17PM +0200, Kollar Arpad wrote: | 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! | -- >[<++>-]<+++.>+++[<-->-]<.>+++[<+ +++>-]<.>++[<>-]<+.--.[-] http://www.weirdnet.nl/
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!