Can't keep a constant MAC address for eth0

Alex Janssen alex at ourwoods.org
Sat Jan 19 03:16:27 UTC 2008


Joel Goguen said the following on 01/18/2008 06:13 PM:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have a HP Pavilion dv2622 with Ubuntu Gutsy, and I can't seem to get
> the MAC address for eth0 to stay constant. At this time, I have eth27 in
> ifconfig output, with 28 entries in
> /etc/udev/rules.d/70-persistent-net.rules all similar to the following:
>
> # PCI device 0x10de:0x054c (forcedeth)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:28:81:2f",
> NAME="eth0"
>
> The only difference is the MAC address, which always starts with
> "00:00:6c" but has the last 3 pairs different for each instance, and the
> name, which seems to be incrementing every time I reboot or wake the
> laptop. None of the entries have anything close to the real MAC address
> though, which is 00:16:D3:F2:08:8D. In /var/log/kern.log, I see these
> pairs of entries every time a new MAC (and device) is created:
>
> Jan 18 18:09:50 hermes kernel: [64594.332000] 0000:00:0a.0: Invalid Mac
> address detected: 8d:08:f2:d3:16:00
> Jan 18 18:09:50 hermes kernel: [64594.332000] Please complain to your
> hardware vendor. Switching to a random MAC.
>
> This corresponds to the ethernet controller device in my lspci output:
>
> 00:0a.0 Ethernet controller: nVidia Corporation Unknown device 054c (rev a2)
>
> The MAC detected is the reverse of the real MAC address.  How do I
> either tell udev to reverse the detected MAC address, or to not try and
> create new ethX devices and force eth0 to use the proper MAC?
>
> - --
> Joel Goguen
> http://jgoguen.ca/
> The goal of Computer Science is to build something that
> will last at least until we've finished building it.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFHkTKbW6nOCfMLWbwRAlFHAKCURiTqQ+39BsNf9vcAiS1q96UdFwCdEgT2
> 1g/74r+meZfZH6RK18sXLcA=
> =z4u+
> -----END PGP SIGNATURE-----
>
>   
Is this a new install?


-- 
Ourwoods.org
 If you think nobody cares if you're alive, try missing a couple of credit card payments. - Unknown (235)





More information about the ubuntu-users mailing list