Announcement

Collapse
No announcement yet.

can ping lan but nothing else

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    can ping lan but nothing else

    can ping lan but nothing else

    /etc/resolv.conf

    205.x.x.x # = bellsouth dns server 1
    205.x.x.x # = bellsouth dns server 2

    I can ping 192.168.1.*
    I can ping this box from other hosts on lan


    my default route on my other boxes is 192.168.1.254

    dhcp is coming from the 192.168.1.3 wireless router

    pinging the 205.x.x.x dns servers returns with 100% packet loss
    ping www.google.com returns with hostname not found message

    where do I go from here?
    what commands do I run to configure dns?

    Thanks

    EC

    #2
    Re: can ping lan but nothing else

    Sounds as though DNS request aren't being resolved. Do you know if your router has the correct DNS set for Bellsouth? Also, does the computer know to use your router to resolve those request?

    Comment


      #3
      Re: can ping lan but nothing else

      Originally posted by MoonRise
      Sounds as though DNS request aren't being resolved. Do you know if your router has the correct DNS set for Bellsouth? Also, does the computer know to use your router to resolve those request?
      The dns for bellsouth on the router are good as far as I know, pingable from my windows xp laptop that I am on now and have been set that way since installation 8 years ago.


      ##############################
      Also, does the computer know to use your router to resolve those request?
      ##############################
      So, add 192.168.1.3 and or .254 as a route?

      as in: sudo route add gw 192.168.1.254?
      This is how my windows boxes are setup with 254 as the default gateway.
      I believe I tried that before but with no luck, any suggestions?
      After I run that command do I have to run any other?
      Also how do I permanently add .254 as the gateway?

      Comment


        #4
        Re: can ping lan but nothing else

        I had a similar problem although I could ping other boxes on the lan. I had to set my router ip as the dhcp server and route in manual configuration to get out to the net. Makes no sense but it works for me. If you can get it working, you can set it permanently by

        kdesudo kate /etc/dhcp3/dhclient.conf

        Where it says:
        #prepend domain-name-servers 127.0.0.1;
        just add a new identical line (uncommented) with the ip that works. It will retain the config for you now. Don't forget the semi-colon at the end.

        Comment


          #5
          Re: can ping lan but nothing else

          Although the IP address is correct for the system in directing traffic to the router, that is the gateway and won't help resolve DNS names. You need to specify on the system that it also the DNS server. I believe what erpa1119 stated might help. I don't know for sure because of how I have my LAN setup I don't have to do that and never tried. Let us know.

          Comment


            #6
            Re: can ping lan but nothing else

            This should help: (instead of using vi for this, open it with Kate. You will need to as root).

            Task: Define new DNS servers

            Open /etc/resolv.conf file
            $ sudo vi /etc/resolv.conf

            You need to remove old DNS server assigned by DHCP server:
            search myisp.com
            nameserver 192.168.1.254
            nameserver 202.54.1.20
            nameserver 202.54.1.30

            Save and close the file.

            Comment

            Working...
            X