wrong hardware address for eth1
Posted: Fri Sep 30, 2011 11:32 am
Since the latest massive LMDE upgrade, I've got a problem with my ethernet connection.
I've got a pretty simple set-up : a Realtek 8111E chip, and an ethernet connection to my router which is a DHCP server.
Prior to the upgrade, the chip was recognized at eth0, and the "network connections" app connected automatically at boot-up.
After the update, the chip is now at eth1.
That's not a problem. The problem is that the computer gets the wrong hardware address at boot-up. So I have to manually run "ifdown eth1" and then "ifup eth1" after booting, in order to establish the connection.
Here's my /etc/network/interfaces file :
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth1
iface eth1 inet dhcp
hwaddress ether f4:6d:04:5a:23:86
That's the correct hardware address I've put in the file. But this file is being ignored at boot-up : eth1 gets assigned the wrong hardware address (which gets corrected as soon as I run ifdown eth1 and ifup eth1).
So some application is running at boot-up, and ignoring /etc/network/interfaces, and assigning the wrong hardware address to eth1. I've disabled "network manager" at boot-up, so some other script is the culprit.
So, in summary : eth1 works if it gets the correct hardware address, but something in the boot-up sequence is using the wrong hardware address. Any suggestions on how to repair this?
I've got a pretty simple set-up : a Realtek 8111E chip, and an ethernet connection to my router which is a DHCP server.
Prior to the upgrade, the chip was recognized at eth0, and the "network connections" app connected automatically at boot-up.
After the update, the chip is now at eth1.
That's not a problem. The problem is that the computer gets the wrong hardware address at boot-up. So I have to manually run "ifdown eth1" and then "ifup eth1" after booting, in order to establish the connection.
Here's my /etc/network/interfaces file :
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth1
iface eth1 inet dhcp
hwaddress ether f4:6d:04:5a:23:86
That's the correct hardware address I've put in the file. But this file is being ignored at boot-up : eth1 gets assigned the wrong hardware address (which gets corrected as soon as I run ifdown eth1 and ifup eth1).
So some application is running at boot-up, and ignoring /etc/network/interfaces, and assigning the wrong hardware address to eth1. I've disabled "network manager" at boot-up, so some other script is the culprit.
So, in summary : eth1 works if it gets the correct hardware address, but something in the boot-up sequence is using the wrong hardware address. Any suggestions on how to repair this?