Networking Forums

Networking Forums > Computer Networking > Linux Networking > eth0 with Linksys Router

Reply
Thread Tools Display Modes

eth0 with Linksys Router

 
 
Bob Martin
Guest
Posts: n/a

 
      12-14-2003, 10:32 PM
When eth0 is connected directly to the Cable Modem, I have no problem
connecting to the internet. When eth0 is connected to one of the four ports
on the Linksys router, I cannot connect to the internet. I have tried DHCP
and Static assignment of IP address but cannot get connected through the
router.

Any advice would be appreciated.


 
Reply With Quote
 
 
 
 
Al
Guest
Posts: n/a

 
      12-15-2003, 12:30 AM
"Bob Martin" <(E-Mail Removed)> wrote in message
news:Bq6Db.542067$HS4.4123490@attbi_s01...
> When eth0 is connected directly to the Cable Modem, I have no problem
> connecting to the internet. When eth0 is connected to one of the four

ports
> on the Linksys router, I cannot connect to the internet. I have tried

DHCP
> and Static assignment of IP address but cannot get connected through the
> router.
>
> Any advice would be appreciated.
>
>

Do you have any other PC's that are connected to your router that can
successfully access the internet? It is possible that your router is not
connecting to the internet either. What usually happens with cable internet
access, is that the first computer used to setup/create the account will
have its network interface cards MAC address registered with the cable
system. If this is true in your case, the Linksys router has an option to
"clone" a MAC address. Get the MAC address of the PC and enter that into the
linksys setup. This will allow the linksys to connect to your internet
service. I assume that you can get to the routers internal web server to
make the changes from your PC when connected to the router.

Good Luck


 
Reply With Quote
 
Bob Hauck
Guest
Posts: n/a

 
      12-15-2003, 01:08 AM
On Sun, 14 Dec 2003 23:32:49 GMT, Bob Martin <(E-Mail Removed)> wrote:

> When eth0 is connected directly to the Cable Modem, I have no problem
> connecting to the internet. When eth0 is connected to one of the four
> ports on the Linksys router, I cannot connect to the internet.


Some possibilities in no particular order:

o You've plugged the cable modem into a LAN port instead of the WAN
port.

o Your cable provider will only allow the specific card in your computer
to connect. Linksys has a "MAC cloning" feature to get around this.

o Your cable provider caches the MAC address but it will expire if you
unhook the cable modem for a while (usually a few hours).

o The DHCP server on the router isn't set up.

o Your provider requires a hostname or domain name to be set on the
Linksys setup page.

o You have the wrong WAN connection type selected on the Linksys.

You can eliminate some of these possibilities by looking at the status
page on the Linksys at <http://192.168.1.1/> on your LAN. If it has a
valid WAN address, gateway, etc, then the Linksys is getting online and
the problem is with DHCP or your LAN.

If you can't bring up the status page, then the problem is the LAN or
the Linksys configuration.


--
-| Bob Hauck
-| To Whom You Are Speaking
-| http://www.haucks.org/
 
Reply With Quote
 
Bob Martin
Guest
Posts: n/a

 
      12-15-2003, 10:53 AM

"Al" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> "Bob Martin" <(E-Mail Removed)> wrote in message
> news:Bq6Db.542067$HS4.4123490@attbi_s01...
> > When eth0 is connected directly to the Cable Modem, I have no problem
> > connecting to the internet. When eth0 is connected to one of the four

> ports
> > on the Linksys router, I cannot connect to the internet. I have tried

> DHCP
> > and Static assignment of IP address but cannot get connected through the
> > router.
> >
> > Any advice would be appreciated.
> >
> >

> Do you have any other PC's that are connected to your router that can
> successfully access the internet?


All other "Windows OS" PC's plus wireless devices connect to the internet
with no problems.

> It is possible that your router is not
> connecting to the internet either. What usually happens with cable

internet
> access, is that the first computer used to setup/create the account will
> have its network interface cards MAC address registered with the cable
> system. If this is true in your case, the Linksys router has an option to
> "clone" a MAC address. Get the MAC address of the PC and enter that into

the
> linksys setup. This will allow the linksys to connect to your internet
> service. I assume that you can get to the routers internal web server to
> make the changes from your PC when connected to the router.


The MAC address of the Cable Modem, not the Router is registered on the
account.

Does Linux require "route table" entries for all the other devices on my
network?

> Good Luck
>
>



 
Reply With Quote
 
Bob Martin
Guest
Posts: n/a

 
      12-15-2003, 11:03 AM

"Bob Hauck" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ...
> On Sun, 14 Dec 2003 23:32:49 GMT, Bob Martin <(E-Mail Removed)>

wrote:
>
> > When eth0 is connected directly to the Cable Modem, I have no problem
> > connecting to the internet. When eth0 is connected to one of the four
> > ports on the Linksys router, I cannot connect to the internet.

>
> Some possibilities in no particular order:
>
> o You've plugged the cable modem into a LAN port instead of the WAN
> port.


All other ports on the router connect to the internet with no problem.

> o Your cable provider will only allow the specific card in your computer
> to connect. Linksys has a "MAC cloning" feature to get around this.


All other "Windows OS" computers connected to the router connect to the
internet with no problem.

> o Your cable provider caches the MAC address but it will expire if you
> unhook the cable modem for a while (usually a few hours).


The MAC address of the Cable Modem, not the Router is registered on the
account.

> o The DHCP server on the router isn't set up.


All other "Windows OS" computers connected to the router connect to the
internet with no problem.

> o Your provider requires a hostname or domain name to be set on the
> Linksys setup page.


Host and domain name are "optional". Other connected devices work with or
without this.

> o You have the wrong WAN connection type selected on the Linksys.


"Obtain an IP automatically" is the setting.

> You can eliminate some of these possibilities by looking at the status
> page on the Linksys at <http://192.168.1.1/> on your LAN. If it has a
> valid WAN address, gateway, etc, then the Linksys is getting online and
> the problem is with DHCP or your LAN.
>
> If you can't bring up the status page, then the problem is the LAN or
> the Linksys configuration.


I can get to the status page on all other devices, but not from the Linux
machine.

Does Linux require "route table" entries for all other connected devices;
including the router? netstat -r indicates all the correct entries.
>
> --
> -| Bob Hauck
> -| To Whom You Are Speaking
> -| http://www.haucks.org/



 
Reply With Quote
 
A. Kong
Guest
Posts: n/a

 
      12-15-2003, 11:37 AM
Interesting. Are the linux and the linksys in the same subnet? Can you
ifconfig the linux and show us? Also, did you check /var/log/message and
dmesg to see whether there might be some network-related message?

One remote possibility (but did happen to me before): Does the
particular network cable work? Try swap it with other if you have used
the same all along.

Regards,
Anthony

Bob Martin wrote:
> "Bob Hauck" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) ...
>
>>On Sun, 14 Dec 2003 23:32:49 GMT, Bob Martin <(E-Mail Removed)>

>
> wrote:
>
>>>When eth0 is connected directly to the Cable Modem, I have no problem
>>>connecting to the internet. When eth0 is connected to one of the four
>>>ports on the Linksys router, I cannot connect to the internet.

>>
>>Some possibilities in no particular order:
>>
>>o You've plugged the cable modem into a LAN port instead of the WAN
>> port.

>
>
> All other ports on the router connect to the internet with no problem.
>
>
>>o Your cable provider will only allow the specific card in your computer
>> to connect. Linksys has a "MAC cloning" feature to get around this.

>
>
> All other "Windows OS" computers connected to the router connect to the
> internet with no problem.
>
>
>>o Your cable provider caches the MAC address but it will expire if you
>> unhook the cable modem for a while (usually a few hours).

>
>
> The MAC address of the Cable Modem, not the Router is registered on the
> account.
>
>
>>o The DHCP server on the router isn't set up.

>
>
> All other "Windows OS" computers connected to the router connect to the
> internet with no problem.
>
>
>>o Your provider requires a hostname or domain name to be set on the
>> Linksys setup page.

>
>
> Host and domain name are "optional". Other connected devices work with or
> without this.
>
>
>>o You have the wrong WAN connection type selected on the Linksys.

>
>
> "Obtain an IP automatically" is the setting.
>
>
>>You can eliminate some of these possibilities by looking at the status
>>page on the Linksys at <http://192.168.1.1/> on your LAN. If it has a
>>valid WAN address, gateway, etc, then the Linksys is getting online and
>>the problem is with DHCP or your LAN.
>>
>>If you can't bring up the status page, then the problem is the LAN or
>>the Linksys configuration.

>
>
> I can get to the status page on all other devices, but not from the Linux
> machine.
>
> Does Linux require "route table" entries for all other connected devices;
> including the router? netstat -r indicates all the correct entries.
>
>>--
>> -| Bob Hauck
>> -| To Whom You Are Speaking
>> -| http://www.haucks.org/

>
>
>

 
Reply With Quote
 
Bob Hauck
Guest
Posts: n/a

 
      12-15-2003, 02:08 PM
On Mon, 15 Dec 2003 12:03:02 GMT, Bob Martin <(E-Mail Removed)> wrote:
>
> "Bob Hauck" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) ...


>> o You've plugged the cable modem into a LAN port instead of the WAN
>> port.

>
> All other ports on the router connect to the internet with no problem.


Ok, you didn't mention that you had other computers already hooked up,
so I assumed it was a new setup.


> Does Linux require "route table" entries for all other connected devices;
> including the router? netstat -r indicates all the correct entries.


No, just a default gateway and a network route for the LAN. Are you
using DHCP then, or or are you assigning an IP and gateway manually?

If using manual, are you sure the cable is good and that the address
you've assigned is in the proper subnet (192.168.1.x being the Linksys
default)?

If DHCP, are there any errors in /var/log/syslog and what client are you
using (pump, dhclient, etc)?


--
-| Bob Hauck
-| To Whom You Are Speaking
-| http://www.haucks.org/
 
Reply With Quote
 
Buck Turgidson
Guest
Posts: n/a

 
      12-15-2003, 05:45 PM

"Bob Martin" <(E-Mail Removed)> wrote in message
news:Bq6Db.542067$HS4.4123490@attbi_s01...
> When eth0 is connected directly to the Cable Modem, I have no problem
> connecting to the internet. When eth0 is connected to one of the four

ports
> on the Linksys router, I cannot connect to the internet. I have tried

DHCP
> and Static assignment of IP address but cannot get connected through the
> router.
>
> Any advice would be appreciated.
>
>



I have the same setup. Let me know if there is some specific info that I
can provide. Maybe your gateway address is incorrect?

hp:~/maint # netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
192.168.1.0 * 255.255.255.0 U 0 0 0
eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0
eth0
hp:~/maint #
hp:~/maint #



hp:~/maint # ifconfig
eth0 Link encap:Ethernet HWaddr 00:A0:CC:28:8C:7A
inet addr:192.168.1.103 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::2a0:ccff:fe28:8c7a/64 Scope:Link
EtherTalk Phase 2 addr:65280/57
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7378 errors:1 dropped:0 overruns:0 frame:0
TX packets:7194 errors:1 dropped:0 overruns:0 carrier:1
collisions:0
RX bytes:676938 (661.0 Kb) TX bytes:1006145 (982.5 Kb)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
EtherTalk Phase 2 addr:0/0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:278 errors:0 dropped:0 overruns:0 frame:0
TX packets:278 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:40135 (39.1 Kb) TX bytes:40135 (39.1 Kb)



 
Reply With Quote
 
Bob Martin
Guest
Posts: n/a

 
      12-20-2003, 07:44 PM
Buck Turgidson wrote:
> "Bob Martin" <(E-Mail Removed)> wrote in message
> news:Bq6Db.542067$HS4.4123490@attbi_s01...
>
>>When eth0 is connected directly to the Cable Modem, I have no problem
>>connecting to the internet. When eth0 is connected to one of the four

>
> ports
>
>>on the Linksys router, I cannot connect to the internet. I have tried

>
> DHCP
>
>>and Static assignment of IP address but cannot get connected through the
>>router.
>>
>>Any advice would be appreciated.
>>
>>

>
>
>
> I have the same setup. Let me know if there is some specific info that I
> can provide. Maybe your gateway address is incorrect?
>
> hp:~/maint # netstat -r
> Kernel IP routing table
> Destination Gateway Genmask Flags MSS Window irtt
> Iface
> 192.168.1.0 * 255.255.255.0 U 0 0 0
> eth0
> default 192.168.1.1 0.0.0.0 UG 0 0 0
> eth0
> hp:~/maint #
> hp:~/maint #
>
>
>
> hp:~/maint # ifconfig
> eth0 Link encap:Ethernet HWaddr 00:A0:CC:28:8C:7A
> inet addr:192.168.1.103 Bcast:192.168.1.255 Mask:255.255.255.0
> inet6 addr: fe80::2a0:ccff:fe28:8c7a/64 Scope:Link
> EtherTalk Phase 2 addr:65280/57
> UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:7378 errors:1 dropped:0 overruns:0 frame:0
> TX packets:7194 errors:1 dropped:0 overruns:0 carrier:1
> collisions:0
> RX bytes:676938 (661.0 Kb) TX bytes:1006145 (982.5 Kb)
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> EtherTalk Phase 2 addr:0/0
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:278 errors:0 dropped:0 overruns:0 frame:0
> TX packets:278 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0
> RX bytes:40135 (39.1 Kb) TX bytes:40135 (39.1 Kb)
>
>
>

FYI. Deactivated firewall with "lokkit" and then reactivated. This
cleared up the problem.

Thanks for all the advise.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get eth0 up (wired) - e1000 device eth0 does not seem to be present, delaying initialization. OtisUsenet Linux Networking 2 06-06-2007 02:57 AM
Voange WRT54GP2 router to Fedora Core 5 - eth0 won't get IP address and won't start Ohmster Linux Networking 5 12-30-2006 04:31 AM
PC had two NIC cards, installed Linux, connected eth0 to router, crashing in br_handle_frame?. why? santa19992000@yahoo.com Linux Networking 3 09-23-2005 08:06 PM
eth0 works with Linksys hub but not Netgear switch?!? pt Linux Networking 3 07-11-2005 02:54 PM
how tho change source address of eth0/eth0:1 ? news Linux Networking 2 06-09-2004 03:25 PM



1 2 3 4 5 6 7 8 9 10 11