Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Wireless Network connected however 'Network Unreachable'


    I've configured a wpa wireless link to my router and it says I have connected - with a graphic at the top telling me the signal level/status etc.

    However when I open firefox I can't see the internet. Pinging my router (192.168.1.254) produces 'network unreachable' and I don't know what to do. Here's some statements I ran - can anyone figure this out for me?

    Please see below for all the commands other users get asked.

    Many thanks in advance!




    ----------------------------------------------------------------------------
    iwconfig
    ----------------------------------------------------------------------------
    ath0 IEEE 802.11g ESSID:"Emerald" Nickname:""
    Mode:Managed Frequency:2.457 GHz Access Point: 00:90:96:CD:81:81
    Bit Rate:54 Mb/s Tx-Power:9 dBm Sensitivity=0/3
    Retry:off RTS thr:off Fragment thr:off
    Power Management:off
    Link Quality=28/94 Signal level=-60 dBm Noise level=-88 dBm
    Rx invalid nwid:10534 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0


    ----------------------------------------------------------------------------
    ifconfig
    ----------------------------------------------------------------------------
    ath0 Link encap:Ethernet HWaddr 00:12:BF:5F:2A:AA
    inet addr:192.168.1.65 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::212:bfff:fe5f:2aaa/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:375 errors:0 dropped:0 overruns:0 frame:0
    TX packets:157 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:25948 (25.3 KiB) TX bytes:10665 (10.4 KiB)

    eth0 Link encap:Ethernet HWaddr 00:0E:A6:6C:24:84
    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:19

    eth0:avah Link encap:Ethernet HWaddr 00:0E:A6:6C:24:84
    inet addr:169.254.5.195 Bcast:169.254.255.255 Mask:255.255.0.0
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    Interrupt:19

    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:10 errors:0 dropped:0 overruns:0 frame:0
    TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:740 (740.0 b) TX bytes:740 (740.0 b)

    wifi0 Link encap:UNSPEC HWaddr 00-12-BF-5F-2A-AA-00-00-00-00-00-00-00-00-00-00
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:28243 errors:0 dropped:0 overruns:0 frame:5331
    TX packets:701 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:199
    RX bytes:3291294 (3.1 MiB) TX bytes:54126 (52.8 KiB)
    Interrupt:17


    ----------------------------------------------------------------------------
    route -n
    ----------------------------------------------------------------------------
    Kernel IP routeing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 ath0
    169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
    169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 ath0


    ----------------------------------------------------------------------------
    ping -c3 192.168.1.1
    ----------------------------------------------------------------------------
    PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
    From 192.168.1.65 icmp_seq=1 Destination Host Unreachable
    From 192.168.1.65 icmp_seq=2 Destination Host Unreachable
    From 192.168.1.65 icmp_seq=3 Destination Host Unreachable

    --- 192.168.1.1 ping statistics ---
    3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2002ms
    , pipe 3


    ----------------------------------------------------------------------------
    ping -c3 192.168.1.254
    ----------------------------------------------------------------------------
    PING 192.168.1.254 (192.168.1.254) 56(84) bytes of data.
    64 bytes from 192.168.1.254: icmp_seq=1 ttl=64 time=1.97 ms
    64 bytes from 192.168.1.254: icmp_seq=2 ttl=64 time=2.22 ms
    64 bytes from 192.168.1.254: icmp_seq=3 ttl=64 time=1.32 ms

    --- 192.168.1.254 ping statistics ---
    3 packets transmitted, 3 received, 0% packet loss, time 2000ms
    rtt min/avg/max/mdev = 1.328/1.842/2.221/0.376 ms


    ----------------------------------------------------------------------------
    ping -c3 72.14.209.104
    ----------------------------------------------------------------------------
    connect: Network is unreachable


    ----------------------------------------------------------------------------
    cat /etc/resolv.conf
    ----------------------------------------------------------------------------
    # generated by NetworkManager, do not edit!

    search lan


    nameserver 192.168.1.254

  2. #2
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,901
    I had a similar problem, but I found that it was intermittent.
    Rebooting fixed it.
    Not sure if you using wpa and me using wep, would make any difference.
    If you want to learn more about linux take a linux journey
    https://linuxjourney.com/
    Use CODE tags when posting output of commands. Thank you.
    https://www.linuxcounter.net/cert/608410.png

  3. #3
    Just Joined! ls354's Avatar
    Join Date
    May 2006
    Location
    Cloud 9
    Posts
    97

    Why

    Why is your default gateway 192.168.1.254, change it to 192.168.1.1 subnetmask 255.255.255.0

  4. $spacer_open
    $spacer_close

Posting Permissions

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