No network connection, unable to ping netgear router from RH Linux
Hi,
I recently partitioned the hard drive on my PC and installed Redhat 9. I have XP on the other partition. While I am able to access the network and ping the netgear RP614 router from the XP partition as well as from another XP laptop linked to the router, I am unable to do so from Linux. The PC has an Intel EtherExpress/100 NIC. The NIC was not automatically recoginized during installation but seems to be ok after I installed the drivers. Could this be causing the problem? I setup DHCP through netconfig. dhclient returns with "No DHCPOFFERS received" How do I find out if this is a problem with my NIC or with the router? The NIC/router work fine if I boot up XP. Could you recommend a NIC that is automatically recognized by RH 9? Here's the output of lsmod/ifconfig: # lsmod Module Size Used by Not tainted parport_pc 19204 1 (autoclean) lp 9188 0 (autoclean) parport 39072 1 (autoclean) [parport_pc lp] autofs 13684 0 (autoclean) (unused) e100 35564 1 ipt_REJECT 3928 6 (autoclean) iptable_filter 2412 1 (autoclean) ip_tables 15864 2 [ipt_REJECT iptable_filter] sg 37548 0 (autoclean) sr_mod 18168 0 (autoclean) ide-scsi 12432 0 scsi_mod 110520 3 [sg sr_mod ide-scsi] ide-cd 35772 0 cdrom 34176 0 [sr_mod ide-cd] keybdev 2976 0 (unused) mousedev 5656 1 hid 22308 0 (unused) input 6208 0 [keybdev mousedev hid] usb-uhci 27404 0 (unused) ehci-hcd 20456 0 (unused) usbcore 82592 1 [hid usb-uhci ehci-hcd] ext3 73376 2 jbd 56336 2 [ext3] # ifconfig -a eth0 Link encap:Ethernet HWaddr 00:11:11:C5:51:46 UP BROADCAST RUNNING 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:100 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:4015 errors:0 dropped:0 overruns:0 frame:0 TX packets:4015 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:262337 (256.1 Kb) TX bytes:262337 (256.1 Kb) # more /etc/sysconfig/network NETWORKING=yes HOSTNAME=localhost.localdomain FORWARD_IPV4=yes GATEWAYDEV= GATEWAY= # more /etc/sysconfig/network-scripts/ifcfg-eth0 # Please read /usr/share/doc/initscripts-*/sysconfig.txt # for the documentation of these parameters. USERCTL=no PEERDNS=yes TYPE=Ethernet DEVICE=eth0 HWADDR=00:11:11:c5:51:46 BOOTPROTO=dhcp ONBOOT=yes NETWORK=192.168.0.0 BROADCAST=192.168.0.255 # ping 192.168.0.1 connect: Network is unreachable Thanks! |
hi,
try assigning the IP address manually instead of getting it from DHCP. also post the o/p of #lspci regards |
I already tried assigning IP address manually with no luck...
|
Here's the output of the lspci command. I did install the drivers for e100. When I setup static IP address and ping the router, I do see the light at the PC/ethernet cable hub blinking. However, the ping times out. Any suggestions? Should I try getting a new router? Or replace the NIC?
# lspci 00:00.0 Host bridge: Intel Corp.: Unknown device 2580 (rev 04) 00:01.0 PCI bridge: Intel Corp.: Unknown device 2581 (rev 04) 00:02.0 VGA compatible controller: Intel Corp.: Unknown device 2582 (rev 04) 00:02.1 Display controller: Intel Corp.: Unknown device 2782 (rev 04) 00:1c.0 PCI bridge: Intel Corp.: Unknown device 2660 (rev 03) 00:1d.0 USB Controller: Intel Corp.: Unknown device 2658 (rev 03) 00:1d.1 USB Controller: Intel Corp.: Unknown device 2659 (rev 03) 00:1d.2 USB Controller: Intel Corp.: Unknown device 265a (rev 03) 00:1d.3 USB Controller: Intel Corp.: Unknown device 265b (rev 03) 00:1d.7 USB Controller: Intel Corp.: Unknown device 265c (rev 03) 00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev d3) 00:1e.2 Multimedia audio controller: Intel Corp.: Unknown device 266e (rev 03) 00:1f.0 ISA bridge: Intel Corp.: Unknown device 2640 (rev 03) 00:1f.2 IDE interface: Intel Corp.: Unknown device 2651 (rev 03) 00:1f.3 SMBus: Intel Corp.: Unknown device 266a (rev 03) 03:01.0 Communication controller: Conexant: Unknown device 2f20 03:08.0 Ethernet controller: Intel Corp.: Unknown device 1064 (rev 03) # lspci -vv 03:08.0 Ethernet controller: Intel Corp.: Unknown device 1064 (rev 03) Subsystem: Dell Computer Corporation: Unknown device 0181 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 64 (2000ns min, 14000ns max), cache line size 10 Interrupt: pin A routed to IRQ 23 Region 0: Memory at dfbef000 (32-bit, non-prefetchable) [size=4K] Region 1: I/O ports at dcc0 [size=64] Capabilities: [dc] Power Management version 2 Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=2 PME- |
Quote:
Check the company of you LAN card. Search for its module/driver on www.google.com. Now make sure its in /lib/modules/2.4.26/kernel/drivers/net/ note: 2.4.26 is my kernel, you may have different. This is the module you have to insert into kernel using #insmod <name of module without the extension .o> regards |
Well, I did install the drivers. insmod e100 returns module already exists.
|
Quote:
could suggest just a hit and trial method. Remove the module through #modprobe -r <module name> and then re-insert that. If it still doesn't help and you don't get it working then change the NIC. sorry to say that now i won't be able to help you anymore. regards |
Thanks ruudra.
I was finally able to resolve this problem. I selected to boot from RH 2.4.20-8 instead of RH 2.4.20-8smp. I did a make clean and install to build the drivers. insmod e100, lo and behold it started working. Hence, it appears the drivers I downloaded for the e100 modules from the intel website may not be compatible with the SMP mode in certain cases. |
Quote:
nice to see that its working now :) BTW what is 2.4.20-8smp ??? (particularly this smp) regards |
Here's some info on SMPs and hyperthreading:
http://en.wikipedia.org/wiki/Symmetric_multiprocessing http://en.wikipedia.org/wiki/Hyperthreading IntelŪ PentiumŪ 4 systems with hyperthreading will have an SMP kernel installed by default. The Red Hat Linux (kernel version-smp) will boot by default. http://linux.about.com/library/bl/di...t_inst3.20.htm |
All times are GMT -5. The time now is 11:22 PM. |