Announcement

Collapse
No announcement yet.

DNS mess...

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

    DNS mess...

    So I'm pretty sure that I messed up my DNS quite well. I'm rather impressed with myself, actually.
    I have a desktop computer. Wondering if I could somehow bridge my xbox 360 through my kubuntu box via the ethernet port to a wireless connection, I did some experimentation following some posts online. In the process, I installed dnsmasq and changed some settings. In the end, it didn't work and I gave up. My internet connection continued to function properly.
    Then, when I reset my computer, the wireless connection connected to the modem but I wasn't able to view any web pages. I stopped the dnsmasq process and it still didn't work. I even uninstalled dnsmasq in what was obviously not too intelligent of a move.
    So that's where I stand. I'm connected to the wireless network, but can't even ping the router.

    tanner@TJPC:~$ ifconfig
    ath0 Link encap:Ethernet HWaddr 00:14:a5:d5:a6:22
    inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::214:a5ff:fed5:a622/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:116 errors:0 dropped:0 overruns:0 frame:0
    TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:6614 (6.4 KB) TX bytes:5718 (5.5 KB)

    eth0 Link encap:Ethernet HWaddr 00:0d:87:64:af:c4
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    Interrupt:16 Base address:0xd400

    eth0:avahi Link encap:Ethernet HWaddr 00:0d:87:64:af:c4
    inet addr:169.254.8.216 Bcast:169.254.255.255 Mask:255.255.0.0
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    Interrupt:16 Base address:0xd400

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:96 errors:0 dropped:0 overruns:0 frame:0
    TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:5400 (5.2 KB) TX bytes:5400 (5.2 KB)

    wifi0 Link encap:UNSPEC HWaddr 00-14-A5-D5-A6-22-00-00-00-00-00-00-00-00-00-00
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:25564 errors:0 dropped:0 overruns:0 frame:10069
    TX packets:1282 errors:1 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:199
    RX bytes:2316017 (2.2 MB) TX bytes:63291 (61.8 KB)
    Interrupt:22


    I appreciate any help. Please let me know if there's anything else I can do to assist in identifying the problem! The 'lo' looks pretty suspicious to me, but I'm afraid that's all I have to go on at the moment.

    #2
    Re: DNS mess...

    Can you post the contents of /etc/network/interfaces and /etc/resolv.conf? Thanks

    Comment


      #3
      Re: DNS mess...

      Etc/network/interfaces:

      auto lo
      iface lo inet loopback
      address 127.0.0.1
      netmask 255.0.0.0



      iface wlan0 inet static
      address 192.168.1.101
      255.255.255.0
      gateway 192.168.1.1


      /etc/resolv.conf:

      search hsdl.az.comcast.net.
      nameserver <correct dns ip>
      nameserver <dns ip 2>
      nameserver <dns ip 3>

      Not sure if DNS IP is the kind of thing I should omit, but I figure it's not relevant anyway. I checked them against the router and all three are correct.
      Hope that helps!

      Comment


        #4
        Re: DNS mess...

        So, from interfaces I can see you are using a static ip. In that case, the dns addresses in /etc/resolv.conf are very important and must be correct. Can you try using these addresses? (they are opendns ones, they should work all around the world and with every connection)
        208.67.222.222
        208.67.220.220
        If that doesn't work, you can try using dhcp. Just replace "static" with "dhcp" the wlan0 stanza in /etc/network/interfaces and reboot.
        Also, I noticed a few interfaces in ifconfig which are not present in /etc/network/interfaces; are they intentional?

        Comment


          #5
          Re: DNS mess...

          All right. You're right, I shouldn't be static; that was probably one of the changes I made. I've changed it back to dhcp, but it has not resolved my issue unfortunately.
          As for the extra interfaces, they are most certainly not intentional. Unfortunately, I'm having a hard time determining which are normal and which aren't.
          All I should have is one wireless adapter (ath0) and one wired adapter (eth0). I have no idea which other entries are necessary.
          Thank you so much for the help so far. I'm sure it's almost resolved!

          Comment


            #6
            Re: DNS mess...

            Ok; things are a bit more clear now. You should try replacing "wlan0" with "ath0" in your /etc/network/interfaces and see what happens: maybe it's all a matter of name.

            Comment


              #7
              Re: DNS mess...

              Thanks for the suggestion! I gave that a try. Unfortunately, after restarting, my wireless card simply did not connect. It still appears when I go into knetworkmanager's manual configuration, and is enabled, but does not seem to be working in any way.

              Perhaps if someone who has the same setup as I do (wireless connection through a router with an unused ethernet port) could post their /etc/network/interfaces, we could see what the differences are?

              I really appreciate your help, whether it works or not!

              Comment

              Working...
              X