LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   No network connection, unable to ping netgear router from RH Linux (https://www.linuxquestions.org/questions/linux-hardware-18/no-network-connection-unable-to-ping-netgear-router-from-rh-linux-441124/)

alak123 05-02-2006 11:56 PM

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!

akneppar 05-03-2006 07:12 AM

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.

farslayer 05-03-2006 07:53 AM

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 ? )

alak123 05-03-2006 09:44 AM

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

alak123 05-03-2006 10:39 PM

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!


All times are GMT -5. The time now is 06:56 PM.