Can't keep a constant MAC address for eth0

Joel Goguen jgoguen at jgoguen.ca
Sat Jan 19 04:00:54 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alex Janssen wrote:
| Joel Goguen said the following on 01/18/2008 06:13 PM:
| 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?
|
|>

| Is this a new install?

Yes, and it occurs for each re-installation as well.  The wireless
interface doesn't have this problem.

- --
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)

iD8DBQFHkXX2W6nOCfMLWbwRAoKIAJ9rpRwmOhik0XQWkyHTbzgGerobdwCeL/BA
eXo7SR69x0Cri7xJPst16Xo=
=x5/a
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list