LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-02-2006, 11:56 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 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 the Network Configuration gui. dhclient returns with "No DHCPOFFERS received"

ifconfig does not show an IP address assigned to eth0.

Any suggestions?

Thanks!
 
Old 05-03-2006, 07:12 AM   #2
akneppar
LQ Newbie
 
Registered: May 2002
Distribution: Fedora 3-6 & RH 7.3-9, RH ES3-4
Posts: 26

Rep: Reputation: 15
if it was me, I would go to a shell prompt and type "setup" there is a text driven "gui-ish" menu that pops up and allows you to play with a bunch of settings from FW to network to keyboard, etc. I would start with redoing the network config, and then I would check the FW settings. I've also notice wierd nuances with selinux enabled, I generally disable it until I'm done building an image, and then re-enable for production.
 
Old 05-03-2006, 07:53 AM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
please post the output of the following..


lsmod

ifconfig -a ( must be root for this one to work on RH9 )

more /etc/sysconfig/network

more /etc/sysconfig/network-scripts/ifcfg-eth0 (the card is eth0 right ? )
 
Old 05-03-2006, 09:44 AM   #4
alak123
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Hi farslayer,

The card is eth0.
Here's the output:

# 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-03-2006 at 12:08 PM.
 
Old 05-03-2006, 10:39 PM   #5
alak123
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by akneppar
if it was me, I would go to a shell prompt and type "setup" there is a text driven "gui-ish" menu that pops up and allows you to play with a bunch of settings from FW to network to keyboard, etc. I would start with redoing the network config, and then I would check the FW settings. I've also notice wierd nuances with selinux enabled, I generally disable it until I'm done building an image, and then re-enable for production.
I tried setting up using this menu. No luck...I still get the same error. How do I figure out if the problem is with my NIC or with the way the m/c is communicating with the netgear router (RP614)? Would getting a new router help? Thanks!
 
  


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
Unable to ping my Linux box on windows network rajjay Linux - Networking 1 04-07-2009 11:16 AM
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 04:39 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