LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-04-2006, 12:35 PM   #1
alak123
LQ Newbie
 
Registered: May 2006
Posts: 9

Rep: Reputation: 0
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!

Last edited by alak123; 05-04-2006 at 01:38 PM.
 
Old 05-04-2006, 01:30 PM   #2
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
hi,
try assigning the IP address manually instead of getting it from DHCP.
also post the o/p of
#lspci

regards
 
Old 05-04-2006, 01:50 PM   #3
alak123
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
I already tried assigning IP address manually with no luck...
 
Old 05-05-2006, 12:13 AM   #4
alak123
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
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-
 
Old 05-05-2006, 01:53 AM   #5
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Quote:
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)
your ethernet card has not been installed.
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

Last edited by b0nd; 05-05-2006 at 01:54 AM.
 
Old 05-05-2006, 08:22 AM   #6
alak123
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Well, I did install the drivers. insmod e100 returns module already exists.
 
Old 05-05-2006, 12:46 PM   #7
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Quote:
Originally Posted by alak123
Well, I did install the drivers. insmod e100 returns module already exists.
Are you sure its the module your NIC requires ???
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
 
Old 05-06-2006, 12:49 AM   #8
alak123
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
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.

Last edited by alak123; 05-06-2006 at 12:52 AM.
 
Old 05-06-2006, 05:41 AM   #9
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Quote:
Originally Posted by alak123
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.
hi,
nice to see that its working now
BTW what is 2.4.20-8smp ??? (particularly this smp)

regards
 
Old 05-06-2006, 12:11 PM   #10
alak123
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No network connection, unable to ping netgear router from RH Linux alak123 Linux - Hardware 4 05-03-2006 10:39 PM
2 linux boxes unable to ping each other in a network lqsukumar Linux - Networking 4 07-21-2005 05:36 PM
Network connection to win xp and netgear router working but slowly yalpuk Linux - Networking 3 12-26-2004 06:06 PM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM
Unable to ping my Linux box on windows network rajjay Linux - Networking 18 07-28-2003 05:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration