How to free eth0 from obsolete interface
I have a problem with new motherboard interface actually more with old.
I had this installation of Debian before I changed motherboard and now I have obsolete interface taking up eth0 name. That interface doesnt exist anymore on my machine cause its motherboard is dead. How to my interface form new motherboard map to eth0 not eth1 also what should I write in interfaces section later about eth0 ? I run debian wheezy with linux 3.2. Also I have another question I have a wireless connection that is connection from whom I write now and new adsl connection, when I have up and running wireless so that I can write here for example I cant utilize my adsl on at moment eth1. Actually I cant utilize adsl at all now I try: Code:
ping "my adsl gateway ip" and get Output of lspci -v part about ethernet controlers: Code:
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06) |
Hi,
If you want to change the device name for the ethernet card, have a look at the /etc/udev/rules.d/70-persistent-net.rules file. Map the correct MAC address to the device name you want. Next restart the udev service. If that doesn't apply the new rules run the following and see if that does the trick: Code:
udevadm control --reload-rules Code:
ifconfig -a Eric |
Thx for quick reply firstly :)
I found and changed /etc/udev/rules.d/70-persistent-net.rules It was looking like this: Code:
# This file was automatically generated by the /lib/udev/write_net_rules Code:
# This file was automatically generated by the /lib/udev/write_net_rules Code:
/etc/init.d/udev restart Here is output of ifconfig -a one wireless card and one ethernet card Code:
# ifconfig -a |
After I restarted machine well device names are now fine my motherboard ethernet card is now eth0 but I still have no connectivity when I leave it without wlan0 only on eth0:
ping google.com connect: Network is unreachable |
thanks for sharing
|
I'm now on my parted magic cd and I can say that my router is working and here I can have connection via adsl but when I'm on my debian installation I get errors that I cant connect
ping "my dns server" connect: Network is unreachable Dns is setup as it should I use google public dns servers and opendns servers. What might be a problem ? What diagnostic data should I post here ? now on parted magic my ifconfig -a is: Code:
# ifconfig It looks by the /etc/network/interfaces on partedmagic that I dont have any of interfaces enabled ? But it works with no configuration. My /etc/network/interfaces on Debian: Code:
# This file describes the network interfaces available on your system My /etc/network/interfaces on PartedMagic: Code:
###################################################################### |
I have solved this issue by removing in /etc/network/interfaces everything but:
Code:
# The loopback network interface For some reason debian now work fine and network manager bring up all interfaces without need to mess with ifup and ifdown commands. My question is can I now bring them up manually ? |
All times are GMT -5. The time now is 01:01 AM. |