Announcement

Collapse
No announcement yet.

Unable to ping gateway?

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

    Unable to ping gateway?

    Hi,
    I'm running Dapper AMD64 with the bcm43xx mod to get wireless working on my card.
    Internet, etc, all works fine - but I don't seem to be able to access anything internally on my network.
    Pinging either my WAP or my gateway PC results in Destination Host Unreachable - and it's not just pings. I'm trying to mount a windows share from my gateway, but this is also failing because for some reason my Kubuntu box cannot access my windows gateway.
    Any ideas?

    Regards.

    #2
    Re: Unable to ping gateway?

    Could you open a konsole, and post the output of:

    ifconfig -a
    route -n

    Also, what's the IP of your gateway?

    Comment


      #3
      Re: Unable to ping gateway?

      Hi, thanks for your reply.
      I was in the process of pasting the stuff to you, when i tried a ping again - and it worked.

      I think its the bcm43xx stuff just being weird and not associating properly all the time.

      Thanks anyway.

      Comment


        #4
        Re: Unable to ping gateway?

        My mistake - it just happened again.

        dan@dan-laptop:~/.kde/Autostart$ ping -c4 kubuntuforums.net
        PING kubuntuforums.net (66.135.37.25) 56(84) bytes of data.
        64 bytes from vbzone.visualbasiczone.com (66.135.37.25): icmp_seq=1 ttl=109 time=5585 ms
        64 bytes from vbzone.visualbasiczone.com (66.135.37.25): icmp_seq=2 ttl=109 time=5615 ms
        64 bytes from vbzone.visualbasiczone.com (66.135.37.25): icmp_seq=3 ttl=109 time=5034 ms
        64 bytes from vbzone.visualbasiczone.com (66.135.37.25): icmp_seq=4 ttl=109 time=4035 ms

        --- kubuntuforums.net ping statistics ---
        4 packets transmitted, 4 received, 0% packet loss, time 3000ms
        rtt min/avg/max/mdev = 4035.481/5067.929/5615.930/639.349 ms, pipe 4
        dan@dan-laptop:~/.kde/Autostart$ ping -c4 192.168.0.1
        PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
        From 192.168.0.99 icmp_seq=2 Destination Host Unreachable
        From 192.168.0.99 icmp_seq=3 Destination Host Unreachable
        From 192.168.0.99 icmp_seq=4 Destination Host Unreachable

        --- 192.168.0.1 ping statistics ---
        4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2999ms
        , pipe 3
        dan@dan-laptop:~/.kde/Autostart$
        The info you asked for before:

        ifconfig -a
        dan@dan-laptop:~/.kde/Autostart$ ifconfig -a
        eth0 Link encap:Ethernet HWaddr 00:16:36:2A:B1:3F
        inet addr:192.168.0.99 Bcast:192.168.0.255 Mask:255.255.255.0
        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:169 Base address:0x1800

        eth1 Link encap:Ethernet HWaddr 00:14:A4:53:F1:A2
        inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
        inet6 addr: fe80::214:a4ff:fe53:f1a2/64 Scope:Link
        UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
        RX packets:1144 errors:0 dropped:0 overruns:0 frame:0
        TX packets:1320 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:1000
        RX bytes:1145719 (1.0 MiB) TX bytes:144050 (140.6 KiB)
        Interrupt:4 Base address:0xc000

        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:56 errors:0 dropped:0 overruns:0 frame:0
        TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:0
        RX bytes:5034 (4.9 KiB) TX bytes:5034 (4.9 KiB)

        sit0 Link encap:IPv6-in-IPv4
        NOARP MTU:1480 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:0
        RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
        I'm using eth1

        route -n
        dan@dan-laptop:~/.kde/Autostart$ route -n
        Kernel IP routing table
        Destination Gateway Genmask Flags Metric Ref Use Iface
        192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
        192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
        0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth1
        0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
        dan@dan-laptop:~/.kde/Autostart$
        Thanks.

        Comment


          #5
          Re: Unable to ping gateway?

          I'm confused as to why you have 2 network cards both apparently configured and connected to the same network. If you're using eth1, try unconfiguring eth0. I don't think that should cause any issue, but it might be.

          Comment


            #6
            Re: Unable to ping gateway?

            eth0 is wired connection, eth1 is wireless - eth0 isn't plugged in.

            But a sudo ifconfig eth0 down seems to have solved it this time at least. Cheers!

            Comment


              #7
              Re: Unable to ping gateway?

              Really funny behavior... Maybe you can show the files :
              /etc/network/interfaces
              /etc/iftab
              So you will be able to correct it forever

              Cheers

              Comment


                #8
                Re: Unable to ping gateway?

                No problem.

                /etc/network/interfaces
                dan@dan-laptop:~$ cat /etc/network/interfaces
                auto lo
                iface lo inet loopback
                address 127.0.0.1
                netmask 255.0.0.0


                iface eth0 inet static
                address 192.168.0.99
                netmask 255.255.255.0
                gateway 192.168.0.1

                auto eth1
                iface eth1 inet dhcp

                auto eth2
                iface eth2 inet dhcp

                auto ath0
                iface ath0 inet dhcp

                auto wlan0
                iface wlan0 inet dhcp
                /etc/iftab
                dan@dan-laptop:~$ cat /etc/iftab
                # This file assigns persistent names to network interfaces.
                # See iftab(5) for syntax.

                eth0 mac 00:16:36:2a:b1:3f arp 1
                eth1 mac 00:14:a4:53:f1:a2 arp 1
                Regards.

                Comment


                  #9
                  Re: Unable to ping gateway?

                  You should just comment the following lines :
                  iface eth0 inet static
                  address 192.168.0.99
                  netmask 255.255.255.0
                  gateway 192.168.0.1

                  Then it will not get up anymore...

                  Cheers

                  Comment

                  Working...
                  X