This is a discussion on Ethernet card problem within the Linux Networking forums, part of the Linux Forums category; hai all, i am using a router to connect to internet. below is the full hardware specification i am providing: ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
hai all,
i am using a router to connect to internet. below is the full hardware specification i am providing: ADSL Router: D-Link GLB-502T (OS independent) LAN Card: RealTek RTL8201CL (on-board) Motherboard: ASUS K8V-MX D-Link's TSEs (Technical Support Executives) told me that router is driverless if i use Ethernet port & it works in Bridge mode, so i need to create a Bridge connection through web-interface & then use PPPoE to connect to internet, as my ISP uses PPPoE. it doesn't work on my Debian Sarge. i tried both PPPoE & RP-PPPoE, RP-PPPoE says "......TIMED OUT". "ifconfig" gives a lot of information on "eth0",i mean it shows support & then it pings successfully. One strange thing happens, sometimes i can check the web-interface @ 192.168.1.1 & sometimes i can't as my gateway @ 192.168.1.1 simply refuses to connect, also at the same time "ifconfig" stops giving any information regarding "eth0" & all pings say "host unreachable" i have replaced the router & LAN cable( RJ-45) with new ones but problem still remains. all DNS servers addreses are ok in "/etc/resolve.conf". i have also checked "/etc/network/interface" & it matches with "ADSL How To" of www.tldp.org but still i am not able to connect to internet. EXTRA information: On "Windows XP" i can connect to internet but connection breakes frequently & then if i just flip router's power on/off it starts working & then again frequent disconnections. also i have noticed one more thing. without any phone-line, if i switch-on my router then in system tray i can see "local area connection is now connected" with ethernet LED on my router goes ON & at the very next moment it says "a network cable is unplugged" & ethernet LED goes OFF. within next 7 seconds it shows these 2 messages frequently. Is my On-Board LAN providing problems? what is the solution? "arnuld" |
|
|||
|
arnuld wrote:
> hai all, > > i am using a router to connect to internet. below is the full hardware > specification i am providing: > > ADSL Router: D-Link GLB-502T (OS independent) > LAN Card: RealTek RTL8201CL (on-board) > Motherboard: ASUS K8V-MX > > D-Link's TSEs (Technical Support Executives) told me that router is > driverless if i use Ethernet port & it works in Bridge mode, so i need > to create a Bridge connection through web-interface & then use PPPoE to > connect to internet, as my ISP uses PPPoE. it doesn't work on my Debian > Sarge. i tried both PPPoE & RP-PPPoE, RP-PPPoE says "......TIMED OUT". > "ifconfig" gives a lot of information on "eth0",i mean it shows support > & then it pings successfully. One strange thing happens, sometimes i > can check the web-interface @ 192.168.1.1 & sometimes i can't as my > gateway @ 192.168.1.1 simply refuses to connect, also at the same time > "ifconfig" stops giving any information regarding "eth0" & all pings > say "host unreachable" i have replaced the router & LAN cable( RJ-45) > with new ones but problem still remains. all DNS servers addreses are > ok in "/etc/resolve.conf". i have also checked "/etc/network/interface" > & it matches with "ADSL How To" of www.tldp.org but still i am not able > to connect to internet. > > EXTRA information: > > On "Windows XP" i can connect to internet but connection breakes > frequently & then if i just flip router's power on/off it starts > working & then again frequent disconnections. also i have noticed one > more thing. without any phone-line, if i switch-on my router then in > system tray i can see "local area connection is now connected" with > ethernet LED on my router goes ON & at the very next moment it says "a > network cable is unplugged" & ethernet LED goes OFF. within next 7 > seconds it shows these 2 messages frequently. > I wonder if this is the same issue I have with a DSL300T, also running in bridge mode. If it is similar, you need to configure your Linux box to request a DHCP address from the router, which will assign it the IP address it receives from the ADSL side. The router handles the PPPoE side of things (true for the DSL300, might not be for yours) so the computer just talks standard ethernet. Where it breaks is when the PPP link dies - although this is set up again, the default route on the router appears not to be set up again until the next DHCP transaction from the computer. So either set the DHCP lease time to be 60 seconds (which will cause it to drop for up to a minute) or have some other means of kicking the router to re-establish the default route. I wrote a small perl script that every minute or so checks for the existence of the default route and explicitly sets it if it's gone, and notes it in the syslog (so I can see how much of a problem it is). Try a telnet to your router on 192.168.1.1, login as root, password whatever you've set for the web interface. You should find it running Linux, so simple commands like route and ifconfig are available to inspect what's happening. -- Dave mail da ve@llondel.org (without the space) http://www.llondel.org So many gadgets, so little time |
|
|||
|
Dave {Reply Address In.sig} wrote:
> I wonder if this is the same issue I have with a DSL300T, also running > in bridge mode. > > If it is similar, you need to configure your Linux box to request a DHCP > address from the router, which will assign it the IP address it receives > from the ADSL side. The router handles the PPPoE side of things (true > for the DSL300, might not be for yours) so the computer just talks > standard ethernet. i am not so good at networking aspects & it is my first experience. i conclude you want to say this: "assign dynamic IP address rather than static IP address". if yes, then i tried & failed. > Where it breaks is when the PPP link dies - although this is set up > again, the default route on the router appears not to be set up again > until the next DHCP transaction from the computer. So either set the > DHCP lease time to be 60 seconds (which will cause it to drop for up to > a minute) or have some other means of kicking the router to re-establish > the default route. On Linux, "pon dsl-provider" never opens any web page. on Windows "dial-up connection" opens them for say 1 to 20 minutes or not at all, quite random process. > I wrote a small perl script that every minute or so > checks for the existence of the default route and explicitly sets it if > it's gone, and notes it in the syslog (so I can see how much of a > problem it is). great :-) , i feel i am "miles behind' in gaining a technical edge on Linux > Try a telnet to your router on 192.168.1.1, login as root, password > whatever you've set for the web interface. You should find it running > Linux, so simple commands like route and ifconfig are available to > inspect what's happening. ok i will try. thanks a lot brother. "arnuld" |
|
|||
|
arnuld wrote:
> Dave {Reply Address In.sig} wrote: > > I wonder if this is the same issue I have with a DSL300T, also running > > in bridge mode. > > > > If it is similar, you need to configure your Linux box to request a DHCP > > address from the router, which will assign it the IP address it receives > > from the ADSL side. The router handles the PPPoE side of things (true > > for the DSL300, might not be for yours) so the computer just talks > > standard ethernet. > > Where it breaks is when the PPP link dies - although this is set up > > again, the default route on the router appears not to be set up again > > until the next DHCP transaction from the computer. So either set the > > DHCP lease time to be 60 seconds (which will cause it to drop for up to > > a minute) or have some other means of kicking the router to re-establish > > the default route. > > > Try a telnet to your router on 192.168.1.1, login as root, password > > whatever you've set for the web interface. You should find it running > > Linux, so simple commands like route and ifconfig are available to > > inspect what's happening. i plugged in my D-Link into someone else's computer & it gave me *exactly* same problem there. then i tried it at a computer at my nearest cyber-cafe, SAME PROBLEM. so i borrowed an ADSL modem, who is also using the same ISP, from my friend for a day. this modem uses PPPoE, unlike my D-Link router which uses Bridge-mode. now my internet is *running* non-stop :-), D-Link router doese not even allow me to open its web-interface :-(, i dont know why? does any body has any idea as i need to give this modem back. one more thing, connection does not break with D-Link, D-Link never connects. "arnuld" |
|
|||
|
Hey,,,
My problem with GLB-502T is resolved now... Actually the problem is with the WAN MAC. According to D-Link tech-support, the WAN MAC is same in all the GLB-502T routers and since recently the ISPs have started caching the router's WAN MAC addresses, it becomes a problem with GLB-502T series routers. Solution: Contact D-Link Tech-support Mumbai - 022 26542264/66 and get the MAC address changed (they actually edit the MAC in the hardware). My problem is resolved now.. I am able to connect with PPPoE within the GLB 502T router. arnuld wrote: > arnuld wrote: > > Dave {Reply Address In.sig} wrote: > > > I wonder if this is the same issue I have with a DSL300T, also running > > > in bridge mode. > > > > > > If it is similar, you need to configure your Linux box to request a DHCP > > > address from the router, which will assign it the IP address it receives > > > from the ADSL side. The router handles the PPPoE side of things (true > > > for the DSL300, might not be for yours) so the computer just talks > > > standard ethernet. > > > > Where it breaks is when the PPP link dies - although this is set up > > > again, the default route on the router appears not to be set up again > > > until the next DHCP transaction from the computer. So either set the > > > DHCP lease time to be 60 seconds (which will cause it to drop for up to > > > a minute) or have some other means of kicking the router to re-establish > > > the default route. > > > > > > Try a telnet to your router on 192.168.1.1, login as root, password > > > whatever you've set for the web interface. You should find it running > > > Linux, so simple commands like route and ifconfig are available to > > > inspect what's happening. > > i plugged in my D-Link into someone else's computer & it gave me > *exactly* same problem there. then i tried it at a computer at my > nearest cyber-cafe, SAME PROBLEM. > > so i borrowed an ADSL modem, who is also using the same ISP, from my > friend for a day. this modem uses PPPoE, unlike my D-Link router which > uses Bridge-mode. now my internet is *running* non-stop :-), D-Link > router doese not even allow me to open its web-interface :-(, i dont > know why? does any body has any idea as i need to give this modem back. > > one more thing, connection does not break with D-Link, D-Link never > connects. > > "arnuld" |
![]() |
| Thread Tools | |
| Display Modes | |
|
|