Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18
i'm able to ping other boxes on my net but when i go to google.com it times out...i'm using a dlink dwl-g520 and i went through the process of installing ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2005
    Location
    Newark, De
    Posts
    60

    associated but no internet


    i'm able to ping other boxes on my net but when i go to google.com it times out...i'm using a dlink dwl-g520 and i went through the process of installing ndiswrapper and the drivers from dlink.com....i'm getting association but no internet...can anyone point me in the right direction to fix this problem?

  2. #2
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    what is the output from these commands:
    Code:
    ping -c 4 your_router
    ping -c 4 www.google.com
    iwconfig
    route
    Also, if you have a wired card on your computer, temproarily disable it just so that everything goes through the wireless. You can disable wired card with "ifdown eth0" (without quotes).
    Life is complex, it has a real part and an imaginary part.

  3. #3
    Just Joined!
    Join Date
    Sep 2005
    Location
    Newark, De
    Posts
    60
    Quote Originally Posted by AlexK
    what is the output from these commands:
    Code:
    ping -c 4 your_router
    ping -c 4 www.google.com
    iwconfig
    route
    Also, if you have a wired card on your computer, temproarily disable it just so that everything goes through the wireless. You can disable wired card with "ifdown eth0" (without quotes).
    here's the output of those 4 items
    Code:
    linux:/home/chas # ping -c 4 192.168.0.1
    connect: Network is unreachable
    linux:/home/chas # ping -c 4 www.google.com
    ping: unknown host www.google.com
    linux:/home/chas # iwconfig
    lo        no wireless extensions.
    
    sit0      no wireless extensions.
    
    eth0      no wireless extensions.
    
    ath0      IEEE 802.11g  ESSID:"ephraim"
              Mode:Managed  Frequency:2.437 GHz  Access Point: 00:0F:3D:64:5B:42
              Bit Rate:36 Mb/s   Tx-Power:18 dBm   Sensitivity=0/3
              Retry:off   RTS thr:off   Fragment thr:off
              Encryption key:53D5-C30A-427E-620F-3E52-12A6-5436-7DCE   Security mode:restricted
              Power Management:off
              Link Quality=22/94  Signal level=-73 dBm  Noise level=-95 dBm
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0
    
    linux:/home/chas # route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo

  4. #4
    Just Joined!
    Join Date
    Sep 2005
    Location
    Newark, De
    Posts
    60
    ok, so that was telling me that i don't have a route for ath0 so i went into yast and to network devices and gave the wireless card a static ip and gateway and this is the output of route -n...
    Code:
    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 ath0
    192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
    169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 ath0
    127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
    0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
    0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 ath0
    still can't ping router or get net, what should i do next?

  5. #5
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    In yasts route configuration page:
    Destination = Default
    Gateway = 192.168.0.1
    device = ath0

    the problem with your routing table now is that no default route is set, so it doesn't know which route to use to connect to internet.
    Life is complex, it has a real part and an imaginary part.

  6. #6
    Just Joined!
    Join Date
    Sep 2005
    Location
    Newark, De
    Posts
    60
    whats wrong with this iptable? there is a default route in for ath0 and i'm still not able to access sites...what gives?
    Code:
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         192.168.0.1     255.255.255.0   UG    0      0        0 ath0
    192.168.0.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 ath0
    127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo

  7. #7
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    what does pinging return, and have you started the interface and disabled any other interface (e.g. a wired card).
    Life is complex, it has a real part and an imaginary part.

  8. #8
    Just Joined!
    Join Date
    Sep 2005
    Location
    Newark, De
    Posts
    60
    i did disable the wired nic card and pinging with just the wireless interface active gives me "destination host unreachable"...i tried ping the router as well as other boxes on my lan....

  9. #9
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    the routing table looks fine, and the card is associated to the ap right? i.e. the result from iwconfig is the same as you posted before?

    Also since you are using SUSE, and it uses KInternet to tell the system which way to connect, did you tell KInternet to use ath0 as interface?
    Life is complex, it has a real part and an imaginary part.

  10. #10
    Just Joined!
    Join Date
    Sep 2005
    Location
    Newark, De
    Posts
    60
    this is the result of iwconfig
    Code:
    lo        no wireless extensions.
    
    sit0      no wireless extensions.
    
    ath0      IEEE 802.11g  ESSID:"ephraim"
              Mode:Managed  Frequency:2.437 GHz  Access Point: 00:0F:3D:64:5B:42
              Bit Rate:48 Mb/s   Tx-Power:18 dBm   Sensitivity=0/3
              Retry:off   RTS thr:off   Fragment thr:off
              Encryption key:D96F-9E07-1A2F-291D-D7E4-A310-91D0-2FB7   Security mode:restricted
              Power Management:off
              Link Quality=13/94  Signal level=-82 dBm  Noise level=-95 dBm
              Rx invalid nwid:6350  Rx invalid crypt:825  Rx invalid frag:0
              Tx excessive retries:20  Invalid misc:20   Missed beacon:29
    
    eth0      no wireless extensions.
    i don't know what else to do...the card worked fine for a few days then i clicked on the kinternet icon and it disconnected and i haven't been able to get it connected again ever since...

Page 1 of 2 1 2 LastLast

Posting Permissions

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