Results 1 to 5 of 5

Thread: Internet connection issue

  1. #1
    Join Date
    Oct 2005
    Location
    Southern Ontario, Canada
    Beans
    1,244
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Internet connection issue

    I've setup my computer to act as a router for the rest of my house.. just today while mucking about with samba, I've lost the ability to browse the web. I can't ping and sites, and this seems to be DNS issue however the rest of the computers on the network are working fine. it's just mine that is having an issue.

    Can anyone offer some insight into this??

    thx

    I had mad changes to my /etc/nsswitch.conf file and added "wins" to my host line.. after removing that everything returned to normal.
    Last edited by Ocxic; March 29th, 2011 at 08:31 PM.
    There is an easy way, and a hard way to do things.
    If you're anything like me, you've tried to do things things the hard way,

    and broke something.......

    (\ /)
    (O.o)
    (> <)

  2. #2
    Join Date
    Aug 2006
    Location
    St. Louis, MO, USA
    Beans
    Hidden!

    Re: Internet connection issue

    Can you ping IP addresses outside your network? That would confirm if it's a DNS issue vs. a Routing/Connection issue. You can try to ping one of the following addresses (they're just Google DNS servers).
    8.8.8.8
    8.8.4.4

  3. #3
    Join Date
    Oct 2005
    Location
    Southern Ontario, Canada
    Beans
    1,244
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Internet connection issue

    yes I can ping actual ip addresses, so i know there is no connection issue. Plus all the other computers mine is routing and providing NAT for work fine.

    I should mention that when i ping any hostname or web address ping seems to freeze and I never get any output no matter how long i wait. I end up having to hit cntl-C to stop it.
    Last edited by Ocxic; March 28th, 2011 at 05:34 AM.
    There is an easy way, and a hard way to do things.
    If you're anything like me, you've tried to do things things the hard way,

    and broke something.......

    (\ /)
    (O.o)
    (> <)

  4. #4
    Join Date
    Aug 2006
    Location
    St. Louis, MO, USA
    Beans
    Hidden!

    Re: Internet connection issue

    So we know it's a DNS issue. Let's see what your computer is set to do for DNS. Run the following command to see what DNS server(s) your computer is looking for.
    Code:
    dig | grep "SERVER"

  5. #5
    Join Date
    Oct 2005
    Location
    Southern Ontario, Canada
    Beans
    1,244
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Internet connection issue

    Code:
    root@xilti:~# dig | grep "SERVER"
    ;; SERVER: 10.0.2.1#53(10.0.2.1)
    root@xilti:~#
    10.0.2.1 is my eth1 interface that is running a BIND9 dns server. and forwards the queries to OpenDNS. this his worked for months like this.
    There is an easy way, and a hard way to do things.
    If you're anything like me, you've tried to do things things the hard way,

    and broke something.......

    (\ /)
    (O.o)
    (> <)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •