LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Network adapter(Realtek RTL8111/8168B) not communicating with network (http://www.linuxquestions.org/questions/linux-networking-3/network-adapter-realtek-rtl8111-8168b-not-communicating-with-network-684505/)

Brett Delport 11-19-2008 02:39 AM

Network adapter(Realtek RTL8111/8168B) not communicating with network
 
Hi LQ forum users

This is my first post on this forum, here goes.

I have recently purchased a new intel system. I am having alot of trouble getting the network card to communicate with the rest of our network.

I am running slackware 12.0, which I have just installed on the system. The problem is that the network is not configuring itself. If i set the network to use DHCP, then all it does is poll for an ip address, timeout and and continue booting. It seems to not find the network or something, because it doesn't get an ip. ifconfig only shows the local host. I then, through netconfig, set up a static ip for the machine. I have used an ip which is not in use (by pinging consecutive ip addresses from a working machine till i get host unreachable). I use the correct gateway/subnet/nameserver settings, and save. If i then run ifconfig, the connection shows up, but i still cannot ping anything except the actual machine.

I will include information from what i think can help (below), please, if you need anything else, just ask, and it shall be done. note that sll this info is taken after setting up the network using static ip.

output from ifconfig:
eth0 Link encap:Ethernet HWaddr 00:21:85:91:2C:B5
inet addr:146.230.89.199 Bcast:146.230.89.255 Mask:255.255.255.0
inet6 addr: fe80::221:85ff:fe91:2cb5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:4294967258 overruns:0 frame:0
TX packets:0 errors:0 dropped:30 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2468 (2.4 KiB) TX bytes:2468 (2.4 KiB)

output from lspci:
00:00.0 Host bridge: Intel Corporation DRAM Controller (rev 10)
00:02.0 VGA compatible controller: Intel Corporation Integrated Graphics Controller (rev 10)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev ff)

output from /proc/interrupts:
CPU0 CPU1
0: 86 0 IO-APIC-edge timer
1: 1095 1097 IO-APIC-edge i8042
7: 0 0 IO-APIC-edge parport0
8: 1 0 IO-APIC-edge rtc
9: 0 0 IO-APIC-fasteoi acpi
12: 281 279 IO-APIC-edge i8042
14: 290059 290048 IO-APIC-edge ide0
16: 0 0 IO-APIC-fasteoi uhci_hcd:usb5
17: 0 0 IO-APIC-fasteoi eth0
18: 0 0 IO-APIC-fasteoi uhci_hcd:usb4
19: 18132 18138 IO-APIC-fasteoi libata, uhci_hcd:usb3
20: 11471 11477 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb2
NMI: 0 0
LOC: 1894933 450727
ERR: 0
MIS: 0

output from lsmod
Module Size Used by
ipv6 254496 12
pcmcia 34988 0
pcmcia_core 36500 1 pcmcia
capability 7304 0
commoncap 9344 1 capability
agpgart 31432 0
lp 13736 0
parport_pc 27812 1
parport 34760 2 lp,parport_pc
pcspkr 6528 0
psmouse 39048 0
iTCO_wdt 12964 0
iTCO_vendor_support 7172 1 iTCO_wdt
i2c_i801 11408 0
ata_generic 9220 0
serio_raw 9220 0
sg 30364 0
r8169 29832 0
evdev 11904 1
shpchp 33172 0

output from route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 146.230.89.1 0.0.0.0 UG 1 0 0 eth0

I am a bit of a linux newb, transitioning from windows caterpillar to linux butterfly, so any help would be appreciated.

Brett

Brett Delport 11-19-2008 09:29 AM

Problem solved
 
Hey everyone, fixed the issue, seemed it was a driver issue, fixed by updating the kernal.

updated from 2.6.21.5 (slackware 12.0's default kernal) to 2.6.27.6

thanks.


All times are GMT -5. The time now is 10:47 PM.