Network card does not work properly
Hello, All.
I have a very strange problem with my network card. Often when I boot Linux I get this problem: Code:
DHCPDISCOVER **** But I found the way how to make it connect: reboot to Windows, wait Windows to connect to this network, then reboot to Linux. And after this Linux easily connects to this network. Why? /etc/network/interfaces: Code:
auto eth0 My system: Debian GNU/Linux Wheezy. uname -a: Linux franchuk-r 3.6.2-vanillamy #1 SMP Thu Nov 8 17:57:16 EET 2012 x86_64 GNU/Linux (I have the same problem with Debian's 3.2 kernel and with Liquorix kernel). My network card: 05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05) Driver: r8169 // Sorry for my bad English. |
Hi,
I guess your DHCP server assigns you an specific IP address based on your MAC. The key is to change your MAC address before eth0 comes up. To do this, create a file in /etc/network/if-pre-up.d/changemac.sh with the following contents: Quote:
Hope this helps :) |
Thanks, that helped.
|
All times are GMT -5. The time now is 08:54 PM. |