Register  ·  Sign In  ·  Help
Jump to Page:   1
Can't reach DNS server even with wired lan : WRT54GL (Linux)   [ Edited ]
Options    Options  
Tfromb1
Frequent visitor
Posts: 4
Registered: 11-07-2009


Tfromb1

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
Kudos!
11-07-2009 04:27 AM  

  Reply   Reply  
Re: Can't reach DNS server even with wired lan : WRT54GL (Linux)
Options    Options  
sunwatcher
Level 1 Poster
Posts: 127
Registered: 09-19-2009


sunwatcher

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.

1
Kudos!
11-07-2009 06:31 AM  

  Reply   Reply  
Re: Can't reach DNS server even with wired lan : WRT54GL (Linux)
Options    Options  
Tfromb1
Frequent visitor
Posts: 4
Registered: 11-07-2009


Tfromb1

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.

 

 

Kudos!
11-07-2009 08:16 AM  

  Reply   Reply  
Re: Can't reach DNS server even with wired lan : WRT54GL (Linux)
Options    Options  
Tfromb1
Frequent visitor
Posts: 4
Registered: 11-07-2009


Tfromb1

Message 4 of 7

Viewed 815 times


Didn't help :smileysad:


# route add default gw 192.168.1.1

 route: SIOCADDRT: File exists

I guess pc2 = 192.168.1.1

 

 

Kudos!
11-07-2009 08:22 AM  

  Reply   Reply  
Re: Can't reach DNS server even with wired lan : WRT54GL (Linux)
Options    Options  
quack
Specialist
Posts: 1850
Registered: 09-07-2006


quack

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..

1
Kudos!
11-08-2009 02:14 PM  

  Reply   Reply  
Re: Can't reach DNS server even with wired lan : WRT54GL (Linux)   [ Edited ]
Options    Options  
Tfromb1
Frequent visitor
Posts: 4
Registered: 11-07-2009


Tfromb1

Message 6 of 7

Viewed 755 times


Thanks all who tried to help me solve this problem. I finally succeeded :smileyhappy: 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
Kudos!
11-10-2009 01:06 PM  

  Reply   Reply  
Re: Can't reach DNS server even with wired lan : WRT54GL (Linux)
Options    Options  
kevj
Network Administrator
Posts: 689
Registered: 07-16-2006


kevj

Message 7 of 7

Viewed 727 times


You should have powercycled the router and cable modem after the first attempt a MAC address cloning...if you did not, then it would not work...once you powercycled everything, it probably started working....
 

-------------------------------------
Tomato 1.25vpn3.4 (SgtPepperKSU MOD) on a Buffalo WHR-HP-G54
D-Link DSM-320 (Wired)
Wii (Wireless) - PS3 (Wired), PSP (Wireless) - XBox360 (Wired)
SonyBDP-S360 (Wired)
Linksys NSLU2 Firmware Unslung 6.10 Beta unslung to a 2Gb thumb, w/1 Maxtor OneTouch III 200Gb
IOmega StorCenter ix2 1TB NAS
Linksys WVC54G w/FW V2.12EU
and assorted wired and wireless PCs and laptops

Kudos!
11-10-2009 10:21 PM  

  Reply   Reply  
Jump to Page:   1