Find the answer to your Linux question:
Results 1 to 6 of 6
Many thanks to all who helped me install Ubuntu over the last few days. I have it running on my desktop PC. It detected my wireless network card & I ...
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    14

    Can't surf the Net

    Many thanks to all who helped me install Ubuntu over the last few days. I have it running on my desktop PC.

    It detected my wireless network card & I have connected to my wireless network. I can't surf the though??

    The little icon at the top right of the screen says I'm connected to my wireless network but no web pages will load in firefox

    Help!

  2. #2
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    Are you connected to your own wireless access point? If you're connected to someone els'es, they may have security measures preventing outsiders from accessing their Internet.

    OTOH, your own router might also have settings (e.g. MAC filter) that would allow the physical connection but not allow a route to the outside Internet.

    There's also the possibility that your laptop, even having connected, never received the DHCP from your router.

    Open a terminal window and type ifconfig to view the current network status and iwconfig to view the wireless extensions status. You can post the output for us we might be able to help debug.

  3. #3
    Just Joined!
    Join Date
    Jan 2009
    Posts
    14
    I did as you said & am posting the output below. Hope you can help me.

    Thanks

    BTW am definately connected to my own wireless router which is working fine with other PCs in the house. Even the one in question if I boot up XP

    mark@ubuntu:~$ ifconfig
    eth0 Link encap:Ethernet HWaddr 00:20:ed:39:18:ed
    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:17 Base address:0xdc00

    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:269 errors:0 dropped:0 overruns:0 frame:0
    TX packets:269 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:17541 (17.5 KB) TX bytes:17541 (17.5 KB)

    wlan0 Link encap:Ethernet HWaddr 00:0e:2e:e4:5c:84
    inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
    inet6 addr: fe80::20e:2eff:fee4:5c84/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:33 errors:0 dropped:0 overruns:0 frame:0
    TX packets:122 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:4365 (4.3 KB) TX bytes:15342 (15.3 KB)

    wmaster0 Link encap:UNSPEC HWaddr 00-0E-2E-E4-5C-84-63-38-00-00-00-00-00-00-00-00
    UP BROADCAST RUNNING 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)

    mark@ubuntu:~$ iwconfig
    lo no wireless extensions.

    eth0 no wireless extensions.

    wmaster0 no wireless extensions.

    wlan0 IEEE 802.11bg ESSID:"SKY55536"
    Mode:Managed Frequency:2.412 GHz Access Point: 00:18:4D:43:1C:AA
    Bit Rate=54 Mb/s Tx-Power=27 dBm
    Retry min limit:7 RTS thr:off Fragment thr=2352 B
    Power Management:off
    Link Quality=66/100 Signal level:-38 dBm
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0

    pan0 no wireless extensions.

    mark@ubuntu:~$

  4. #4
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    Okay, looks kosher. What's the output of route and cat /etc/resolv.conf?
    Last edited by D-cat; 02-02-2009 at 01:25 AM. Reason: adding a request

  5. #5
    Just Joined!
    Join Date
    Jan 2009
    Posts
    14
    Quote Originally Posted by D-cat View Post
    Okay, looks kosher. What's the output of route and cat /etc/resolv.conf?
    Thanks for the reply. Output I got is below:

    mark@ubuntu:~$ route
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.0.0 * 255.255.255.0 U 2 0 0 wlan0
    link-local * 255.255.0.0 U 1000 0 0 wlan0
    cat /etc/resolv.conf
    default 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0
    mark@ubuntu:~$ cat /etc/resolv.conf
    # Generated by NetworkManager
    nameserver 192.168.0.1
    mark@ubuntu:~$

  6. #6
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    Everything looks good except I see a lack of a default route (don't know why that is, since it should be set by DHCP along with everything else). See if you execute this:

    sudo route add default gw 192.168.0.1 wlan0

    if your browsers work after.

Posting Permissions

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