Announcement

Collapse
No announcement yet.

IP obtained but no access

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

    IP obtained but no access

    My god damn ethernet connection is acting the ******. I am in the office now (using a spare computer) and my laptop will not connect to the internet the way it used to.

    It obtains the correct IP address. I can ping some other computers on the network (for example our office servers, but not our departments servers or the gateway (193.1.132.1)!) but cant reach anything outside.

    Please help. Have been at this for hours now. The settings as far as I can see match those that used to work.

    Help!

    Code:
    root@affront:~# route -n
    Kernel IP routing table
    Destination   Gateway     Genmask     Flags Metric Ref  Use Iface
    193.1.132.0   0.0.0.0     255.255.254.0  U   0   0    0 eth0
    0.0.0.0     193.1.132.1   0.0.0.0     UG  0   0    0 eth0
    
    root@affront:~# ifconfig -a
    eth0   Link encap:Ethernet HWaddr 00:90:F5:48:A1:2C
         inet addr:193.1.133.115 Bcast:193.1.133.255 Mask:255.255.254.0
         UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
         RX packets:27373 errors:0 dropped:0 overruns:0 frame:0
         TX packets:26993 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:2023760 (1.9 MiB) TX bytes:38210676 (36.4 MiB)
         Interrupt:50 Base address:0xc000
    
    lo    Link encap:Local Loopback
         inet addr:127.0.0.1 Mask:255.0.0.0
         UP LOOPBACK RUNNING MTU:16436 Metric:1
         RX packets:198 errors:0 dropped:0 overruns:0 frame:0
         TX packets:198 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:17030 (16.6 KiB) TX bytes:17030 (16.6 KiB)
    
    wlan0   Link encap:Ethernet HWaddr 00:30:54:01:38:69
         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:74 Memory:d2204800-d2205000
    
    root@affront:~# cat /etc/network/interfaces
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    
    # The loopback network interface
    auto lo
    iface lo inet loopback
    address 127.0.0.1
    netmask 255.0.0.0
    
    auto eth0
    iface eth0 inet dhcp
    
    #auto wlan0
    allow-hotplug wlan0
    iface wlan0 inet dhcp
        wpa-driver wext
        wpa-conf /etc/wpa_supplicant.conf
        pre-up /sbin/wpa_cli reassociate
    Possibly related issue: it appears that I cannot disable wlan0. Its not connected in here, ifdown says its not up, but in kcontrol whenever I disable it it becomes reenabled whenever I switch to and back from one of the other tabs. Perhaps this is just a bug with the applet though.

    P.S.
    ping resolves names to ips fine, it just cant bounce packets off them.

    P.S.
    I disabled wlan0 with
    Code:
    modprobe -r ndiswrapper
    but it had no effect. I am still receptive to the idea that the wireless is in some way involved.

    I tried setting up eth0 statically (with the ip it should/does get via dhcp and with other old ips) but same result.

    It is pingable from another machine.

    The firewall is disabled.

    #2
    Re: IP obtained but no access

    Well I think I have completely disabled ndiswrapper and wpa_supplicant, and so wlan0. No change, Maybe its not related...

    Comment


      #3
      Re: IP obtained but no access

      Maybe you got DNS wrong? (note: I know nothing about Networking in Kubuntu)

      Try getting to Google -> 72.14.207.104
      <br /><br />*temp. hiatus from forums due to comp + net broken* :&#039;(

      Comment


        #4
        Re: IP obtained but no access

        Originally posted by Nirvana
        Maybe you got DNS wrong? (note: I know nothing about Networking in Kubuntu)

        Try getting to Google -> 72.14.207.104
        Thanks but no. The DNSs are set automatically (and work on the Kubuntu machine I am using at the moment), and names are being correctly resolved with ping and nslookup.

        But thanks anyway.

        Comment


          #5
          Re: IP obtained but no access

          OH come on! Explain this one if you can ...

          I come in today, problem still exists (can only ping some machines, no web access, ...) YET the Adept Update Notifier is now present in my tray!?!? I launch Synaptic, and sure enough, it connects and downloads several upgrades! So why cant I ping/surf!! Why - must - life - be - so - hard ! ! ! >

          Comment


            #6
            Re: IP obtained but no access

            Forget it. Just solved it <maniacal laughter>. The were in fact 2 problems; one the failure of ping, and two that I run my browser in a 32-bit chroot.

            Why ping doesnt work I dont know (do you?), but this problem sent me in the wrong direction. What it really was was that /etc/resolv.conf in the 32-bit environment was not being correctly set (as the one in the real 64-bit OS was) and my browser and mail client were using the out of date 32-bit one and so failing to connect.

            Sigh.

            Comment

            Working...
            X