|
|
|
|
|
Home :
Routers and Access Points :
Wireless Routers :
Re: Can't reach DNS server even with wired lan : WRT54GL (Linux)
|
|
|
|
|
|
|
|
Can't reach DNS server even with wired lan : WRT54GL (Linux)
[ Edited ]
|
|
Tfromb1
Frequent visitor
Posts: 4
Registered: 11-07-2009

Message 1 of 7

Viewed 848 times
|

|
|
Hi, Just bought a WRT54GL router and wanted to start with the easiest set up with a wired lan. I am using Puppy Linux. So I connected the internet cable to the router and connected a lan cable to my PC. Did a basic set up and even disabled firewall. The only thing I changed was routername and selected automatic configuration DHCP. On puppy Linux used the Network Wizard to set up the wired lan. Unfortunately I haven't been able to reach the internet, while it is no problem when I auto dhcp directly to my cable modem. Some technical details: After auto dhcp: eth0 = 192.168.1.100 gateway = 192.168.1.1 (=address router) Primary and secundary correct: 212.54.40.25 212.54.35.25 I can ping the router 192.168.1.1 Also tried a static ip and changed the IP address: Status of router: Login Type: Automatic Configuration - DHCP IP Address: 94.209.0.178 Subnet Mask: 255.255.248.0 Default Gateway: 94.209.0.1 DNS 1: 212.54.40.25 DNS 2: 212.54.35.25 DNS 3: MTU: 1500 I was able to ping IP Address: 94.209.0.178 but not dns 1 and 2 Any ideas? Message Edited by Tfromb1 on 11-07-2009 04:28 AM
|
|
|
|
11-07-2009 04:27 AM
|
|
|
|
|
|
Re: Can't reach DNS server even with wired lan : WRT54GL (Linux)
|
|
sunwatcher
Level 1 Poster
Posts: 127
Registered: 09-19-2009

Message 2 of 7

Viewed 829 times
|

|
|
Who is your ISP and what type of internet service do you have (cable, DSL)? It could be that your ISP only recognizes the MAC address with which you originallly registered, which would be the PC's NIC. You may want to try to clone the MAC address of the PC to the router. Also, I see that you were able to ping the WAN address of the router (94.209.0.178), but have you tried to ping the router's gateway at 94.209.0.1 which would be your modem/router? It may not necessarily be just the DNS that you aren't able to ping.
|
|
|
|
11-07-2009 06:31 AM
|
|
|
|
|
|
Re: Can't reach DNS server even with wired lan : WRT54GL (Linux)
|
|
Tfromb1
Frequent visitor
Posts: 4
Registered: 11-07-2009

Message 3 of 7

Viewed 817 times
|

|
|
My ISP is ziggo in the Netherlands (Cable) I have cloned the MAC address but that doesn't seem to help. You were right about the routers gateway, I can't ping that as well. Here is route:
# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 169.254.0.0 * 255.255.0.0 U 0 0 0 eth0 default pc2 0.0.0.0 UG 0 0 0 eth0
I'd expect 192.168.1.1 to be gateway.. tried route add defaultgw 192.168.1.1 but I just saw I needed to add a space between default and gw Will try that and report back in a minute.
|
|
|
|
11-07-2009 08:16 AM
|
|
|
|
|
|
Re: Can't reach DNS server even with wired lan : WRT54GL (Linux)
|
|
Tfromb1
Frequent visitor
Posts: 4
Registered: 11-07-2009

Message 4 of 7

Viewed 815 times
|

|
|
Didn't help  # route add default gw 192.168.1.1
route: SIOCADDRT: File exists I guess pc2 = 192.168.1.1
|
|
|
|
11-07-2009 08:22 AM
|
|
|
|
|
|
Re: Can't reach DNS server even with wired lan : WRT54GL (Linux)
|
|
quack
Specialist
Posts: 1850
Registered: 09-07-2006

Message 5 of 7

Viewed 783 times
|

|
|
Do you have any other computer which is able to go online...? Try to reset the router for 30 seconds and reconfigure the router from scratch..
|
|
|
|
11-08-2009 02:14 PM
|
|
|
|
|
|
Re: Can't reach DNS server even with wired lan : WRT54GL (Linux)
[ Edited ]
|
|
Tfromb1
Frequent visitor
Posts: 4
Registered: 11-07-2009

Message 6 of 7

Viewed 755 times
|

|
|
Thanks all who tried to help me solve this problem. I finally succeeded Unfortunately I am not sure what the root cause was, but for others with similar problems this was what I did. - cloned mac address - unplugged router - plugged router and pressed reset for 30 seconds - instead of using my firewall disabled, I tried the firewall and gave permission to the address of the router. After all these changes it worked! So I am not 100% sure what the problem was, but my guess is the firewall. I think disabling the firewall in the firewall setup for Puppy still might not allow every address to gain access to your PC. Message Edited by Tfromb1 on 11-10-2009 01:09 PM
|
|
|
|
11-10-2009 01:06 PM
|
|
|
|
|
|
|
|
|