LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-07-2002, 09:17 PM   #1
SPASPA
LQ Newbie
 
Registered: Oct 2002
Distribution: REDHAT 7.1
Posts: 4

Rep: Reputation: 0
Linksys Cable Modem Can't Ping


Using Linksys 4 port Cable Router with Redhat 7.1 and can't ping the gateway router from the Linux box.

To prove out cards and cables I connected direcly from PC to Cable Provider Modem with DHCP enabled and connected to the Internet fine. In addition I have two other Win boxes 95 & 98 connecting fine through the Linksys router with DHCP and Static IP.


1. When booting linux eth0 fails due to DHCP timeout so I went
to Static IP startegy to take DHCP out of the equation and used ifconfig to setup eth0

Here is the current environment:

Gateway Router IP 192.168.1.1
Subnet mask 255.255.255.0

Linux box IP 192.168.1.222

*** # ifconfig ***

eth0 Link encap:Ethernet HWaddr 00:08:C7:6C:CA:FF
inet addr:192.168.1.222 Bcast:192.168.1.255 Mask:255:255:255:0
UPBROADCAST RUNNING MTU:1500 mETRIC:1
etc etc etc.....


lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 mETRIC:1
etc etc etc....


*** # route ***

Kernal IP routing table
Destination Gateway Genmask Flags Iface
----------------------------------------------------------------------------
192.168.1.0 * 255.255.255.0 U eth0
127.0.0.0 * 255.0.0.0 U lo
default 192.168.1.1 0.0.0.0 UG eth0

the routing table on the Linksys router has two lines for the WAN
routing

and this line for the LAN
Dest. LAN IP SUBNET Default GATEWAY HOP
192.168.1.0 255.255.255.0 0.0.0.0 1

I am sure I am missing something simple but I CAN't Ping the Router 192.168.1.1 from my linux box 192.196.1.222.

What am I missing???

Any help and assistance would be greatly APPRECIATED!

Thanks
 
Old 10-09-2002, 09:45 AM   #2
GabeF
Member
 
Registered: Mar 2002
Location: New Hampshire, US
Distribution: Mandrake 8.0, Redhat 8.0
Posts: 101

Rep: Reputation: 15
Do you have DHCP enabled? If it is not enabled/disabled on both the router and the linux box, you won't be able to ping.
 
Old 10-09-2002, 12:27 PM   #3
SPASPA
LQ Newbie
 
Registered: Oct 2002
Distribution: REDHAT 7.1
Posts: 4

Original Poster
Rep: Reputation: 0
Yes... I have tried it with DHCP enabled on Linux & Router
and then with DHCP disabled on Linux & Router.

Any other ideas?
 
Old 10-09-2002, 01:22 PM   #4
mikek147
Member
 
Registered: Mar 2002
Location: Elyria, Ohio
Distribution: Debian, Nothing else required
Posts: 141

Rep: Reputation: 15
Can you ping the two MS machines? -mk
 
Old 10-09-2002, 06:37 PM   #5
SPASPA
LQ Newbie
 
Registered: Oct 2002
Distribution: REDHAT 7.1
Posts: 4

Original Poster
Rep: Reputation: 0
Not from the linux box. It can't see anything. The MS boxes can see the router and each other.
 
Old 10-09-2002, 07:36 PM   #6
GabeF
Member
 
Registered: Mar 2002
Location: New Hampshire, US
Distribution: Mandrake 8.0, Redhat 8.0
Posts: 101

Rep: Reputation: 15
I had that same exact problem when I was setting up my network. My problem was that my DHCP settings didn't match on every pc.

Believe it or not, but I had a similar problem and wasted two days before I found out the cable had disconnected lol. Check that first.

Can the MS boxes see Linux? If they can't then you can narrow the problem to a setting on your linux box.

What is the current DHCP setting on your router?

Did you put 192.168.1.1 as the default gateway on your linux box?

Last edited by GabeF; 10-09-2002 at 07:37 PM.
 
Old 10-09-2002, 07:41 PM   #7
GabeF
Member
 
Registered: Mar 2002
Location: New Hampshire, US
Distribution: Mandrake 8.0, Redhat 8.0
Posts: 101

Rep: Reputation: 15
What are you settings under netconf>network devices?

Last edited by GabeF; 10-09-2002 at 07:45 PM.
 
Old 10-09-2002, 09:34 PM   #8
SPASPA
LQ Newbie
 
Registered: Oct 2002
Distribution: REDHAT 7.1
Posts: 4

Original Poster
Rep: Reputation: 0
answers to above posts-

Can the MS boxes see Linux?
No... not the router or beyond

If they can't then you can narrow the problem to a setting on your linux box.
Yes... I agree

What is the current DHCP setting on your router?
I decided to tale DHCP server and client issues out of the equation to simplify for the time being. DHCP disabled on Router
and on Linux. Went to static IP

Did you put 192.168.1.1 as the default gateway on your linux box?
Yes

Netconfig (sorry no good from bash but my first post may give this
output)

Thanks again for your help!!!!


__________________
"Ignorance is bliss"

Whoever said that was definitely a Windows user.


Last edited by GabeF on 10-10-2002 at 12:37 AM
 
Old 10-10-2002, 03:09 AM   #9
mikek147
Member
 
Registered: Mar 2002
Location: Elyria, Ohio
Distribution: Debian, Nothing else required
Posts: 141

Rep: Reputation: 15
When you tied your Linux box directly to the cable modem, did you use the same cable as the when the Linux box was tied to the Linksys? Since the routing table appears to be correct, and you said that you were able to connect when tied directly to the cable modem, i suspect the following:

1. A poorly seated cable connector in either the linksys or linux box.
2. A bad cable.
3. A bad port on the Linksys.

Try swapping the Linux cable with one of the MS Win machines, while putting the Linux box on a different Linksys port.

If you haven't already done so, I'd also flash the firmware in the Linksys with the latest version available. For my BEFSR41, that would be version 1.43. I think my linksys was shipped with version 1.01. -mk
 
Old 10-10-2002, 08:13 AM   #10
GabeF
Member
 
Registered: Mar 2002
Location: New Hampshire, US
Distribution: Mandrake 8.0, Redhat 8.0
Posts: 101

Rep: Reputation: 15
I second that reply. A bad cable or port is the only solution that makes sense at this point.
 
  


Reply



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
Can't ping Linksys router on Fedora 2 with WMP54G freek sanders Linux - Wireless Networking 0 09-10-2004 12:21 PM
Log Viewer for Linksys Cable Router hanserr Linux - Networking 1 02-21-2004 04:17 PM
printer cable > modem cable? C++freak Linux - Hardware 1 06-21-2003 01:53 PM
Linksys Cable/DSL router vs. wu-ftpd sonnik Linux - Networking 0 05-21-2001 09:50 PM
Linksys router and cable connection... Krycek Linux - Networking 2 05-09-2001 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:55 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