Monday, July 02, 2018

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" <deraadt@openbsd.org>
> To: "Kollar Arpad" <kollararpi@mail.com>
> Subject: Re: hostname.cdce0 not modifying MAC
>
> Kollar Arpad <kollararpi@mail.com> 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.
>

No comments:

Post a Comment