dreamplug: setting ethernet address by hand, getting pkgng to work, wireless?
Ian Lepore
freebsd at damnhippie.dyndns.org
Wed Nov 14 15:21:19 UTC 2012
On Wed, 2012-11-14 at 11:56 +0100, Johan Henselmans wrote:
> I still do not get the hardware ethernet addresses from the machine
> (it still reports 00:00:00:00:00:00), so I decided to set them
> manually in /etc/start_if.mge0:
>
> dramplug-bsd:~ # cat /etc/start_if.mge0
> ifconfig mge0 ether f0:ad:4e:01:44:46
I didn't have any trouble with this, both my interfaces got good
addresses automatically. Looking at the mge driver code, it wants to
use the local-mac-address property from the .dts file as long as it's
not all zeroes. If it is all zeroes, it uses the value already
programmed into the hardware.
In my case, I would always let uBoot set up both interfaces and then
boot the unit via TFTP, so maybe I was getting good mac addresses
because uBoot set them up and the mge driver just used those values.
-- Ian
More information about the freebsd-arm
mailing list