My system can’t connect to the network by the only on-board UTP connection available, getting the error:
SIOCSIFFLAGS: Cannot assign requested address
I have already tried many things found at Google but I still disconnected!
I am using a:
-
i 7 Intel 4 core 8 tread processor
-
6GB Memory
-
GIBABYTE motherboard EX58-UD4P
-
On-board Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet
-
OpenSuse 11.1
I have tried to install the Realtek drivers r8168-8.014.00.tar.bz2 following the instructions:
# make clean modules
# make install
# depmod -a
# rmmod r8169
# modprobe r8168
another try…
# insmod ./src/r8168.ko speed=100 duplex=1 autoneg=0
# ethtool -s ethX speed 100 duplex full autoneg off
all this commands run fine, without any error but nothing happens, just the process r8168 is running but there is not eth0.
…perhaps I have tried all the tips I found about that at web… such as:
Script to Fix R8168 and R8111 in Debian/Ubuntu GNU/Linux
Now I get back, with the standard SUSE 11.1 installation with the following details:
# ifconfig eth0 up
SIOCSIFFLAGS: Cannot assign requested address
# ifconfig eth0 192.168.0.2
SIOCSIFFLAGS: Cannot assign requested address
# lsmod | grep r8169
r8169 31388 0
mii 6024 1 r8169
# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:247 Base address:0xa000
...
# ifstatus eth0
eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI ExpressGigabit Ethernet controller (rev 03)
DHCP4 client NOT running
eth0 is down
# dmesg | grep eth0
eth0: RTL8169 at 0xffffc20000c4a000, 00:00:00:00:00:00, XID 281000c0 IRQ 4343
# lspci | grep Ethernet
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
# dhclient
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
Listening on LPF/eth0/00:00:00:00:00:00
Sending on LPF/eth0/00:00:00:00:00:00
Sending on Socket/fallback
receive_packet failed on eth0: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 2
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 2
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 2
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 21
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
send_packet: Network is down
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
# cat /var/log/messages | grep eth0
Sep 1 22:05:03 linux ifdown: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
Sep 1 22:05:04 linux ifup: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
Sep 1 22:05:09 linux ifup-dhcp: eth0 Starting DHCP4 client
Sep 1 22:05:09 linux dhcpcd[6182]: eth0: dhcpcd 3.2.3 starting
Sep 1 22:05:09 linux dhcpcd[6182]: eth0: ioctl SIOCSIFFLAGS: Cannot assign requested address
Sep 1 22:05:09 linux dhcpcd[6182]: eth0: exiting
Sep 1 22:05:10 linux ifup-dhcp: eth0 DHCP4 client NOT running
Sep 1 22:05:10 linux ifup-route: interface eth0 is not up
Sep 1 22:06:05 linux ifdown: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
Sep 1 22:06:06 linux-v38s ifup: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
Sep 1 22:06:11 linux-v38s ifup-dhcp: eth0 Starting DHCP4 client
Sep 1 22:06:11 linux-v38s dhcpcd[9571]: eth0: dhcpcd 3.2.3 starting
Sep 1 22:06:11 linux-v38s dhcpcd[9571]: eth0: ioctl SIOCSIFFLAGS: Cannot assign requested address
Sep 1 22:06:11 linux-v38s dhcpcd[9571]: eth0: exiting
Sep 1 22:06:12 linux-v38s ifup-dhcp: eth0 DHCP4 client NOT running
Sep 1 22:06:12 linux-v38s ifup-route: interface eth0 is not up
Sep 1 22:09:45 linux-v38s dhclient: Listening on LPF/eth0/00:00:00:00:00:00
Sep 1 22:09:45 linux-v38s dhclient: Sending on LPF/eth0/00:00:00:00:00:00
Sep 1 22:09:45 linux-v38s dhclient: receive_packet failed on eth0: Network is down
Sep 1 22:09:47 linux-v38s dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Sep 1 22:09:52 linux-v38s dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
Sep 1 22:10:01 linux-v38s dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
Sep 1 22:10:11 linux-v38s dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
...
Any hint will be appreciated.
Thanks