LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 09-28-2009, 05:02 PM   #1
8bitpal
LQ Newbie
 
Registered: Sep 2009
Distribution: Debian Sid/Squeeze
Posts: 2

Rep: Reputation: 0
Wlan connected but no internet access on Debian Sid/Squeeze


Hi,
I run Debian Sid/Squeeze with kernel 2.6.30-1-amd64. The wireless hardware is a DLINK DWL-G122 C1.
After the last update of several packages my wireless internet stopped working.
I worked on this for hours and found many people with similar problems but all attempts to fix the problem failed.
I use wicd 1.5.9 and tried network-manager before but it is not working. Manual configuration also doesn't work, it did before before. The encryption type is WPA2 (worked always) with wext.

dmesg | grep wlan0 gives the following:

Code:
[ 8890.291963] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 9128.594251] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 9129.408602] wlan0: authenticate with AP 00:1c:4a:05:8b:a6
[ 9129.410119] wlan0: authenticated
[ 9129.410122] wlan0: associate with AP 00:1c:4a:05:8b:a6
[ 9129.413614] wlan0: RX AssocResp from 00:1c:4a:05:8b:a6 (capab=0x11 status=0 aid=1)
[ 9129.413617] wlan0: associated
[ 9129.425567] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 9218.596038] wlan0: deauthenticating by local choice (reason=3)
[ 9218.614752] wlan0: authenticate with AP 00:1c:4a:05:8b:a6
[ 9218.645523] wlan0: deauthenticating by local choice (reason=3)
[ 9282.472366] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 9324.260204] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 9325.081944] wlan0: authenticate with AP 00:1c:4a:05:8b:a6
[ 9325.084695] wlan0: authenticated
[ 9325.084697] wlan0: associate with AP 00:1c:4a:05:8b:a6
[ 9325.088208] wlan0: RX AssocResp from 00:1c:4a:05:8b:a6 (capab=0x11 status=0 aid=1)
[ 9325.088211] wlan0: associated
[ 9325.099409] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 9341.192886] wlan0: deauthenticating by local choice (reason=3)
[ 9341.211873] wlan0: direct probe to AP 00:1c:4a:05:8b:a6 try 1
[ 9341.244518] wlan0: deauthenticating by local choice (reason=3)
[ 9406.127477] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 9409.354558] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 9410.168540] wlan0: authenticate with AP 00:1c:4a:05:8b:a6
[ 9410.170558] wlan0: authenticated
[ 9410.170561] wlan0: associate with AP 00:1c:4a:05:8b:a6
[ 9410.179547] wlan0: RX AssocResp from 00:1c:4a:05:8b:a6 (capab=0x11 status=0 aid=1)
[ 9410.179550] wlan0: associated
[ 9410.191503] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Furthermore ifconfig:
Code:
wlan0     Link encap:Ethernet  Hardware Adresse 00:17:9a:b7:1d:3d  
          inet Adresse:192.168.2.103  Bcast:192.168.2.255  Maske:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
          RX packets:236 errors:0 dropped:0 overruns:0 frame:0
          TX packets:629 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000 
          RX bytes:28946 (28.2 KiB)  TX bytes:78285 (76.4 KiB)
iwconfig wlan0 shows:
Code:
wlan0     IEEE 802.11bg  ESSID:"WLAN-HAASE"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:1C:4A:05:8B:A6   
          Bit Rate=1 Mb/s   Tx-Power=20 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr:off
          Encryption key:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx [2]   Security mode:open
          Power Management:off
          Link Quality=36/70  Signal level=-74 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
I think it's not about the DNS settings cause when I
ping 64.179.4.149:
Code:
PING 64.179.4.149 (64.179.4.149) 56(84) bytes of data.
From 192.168.2.103 icmp_seq=3 Destination Host Unreachable
From 192.168.2.103 icmp_seq=4 Destination Host Unreachable
^C
--- 64.179.4.149 ping statistics ---
7 packets transmitted, 0 received, +2 errors, 100% packet loss, time 6009ms
, pipe 2
cat /etc/resolv.conf:
Code:
nameserver 192.168.2.1
route -n:
Code:
Kernel-IP-Routentabelle
Ziel            Router          Genmask         Flags Metric Ref    Use Iface
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 wlan0
0.0.0.0         192.168.2.1     0.0.0.0         UG    0      0        0 wlan0
So in conclusion: Nowhere in my system I can acess the internet which is present -according to wicd, nm, dhclient etc. I checked the rights, all users have the right to have access to the internet. I disabled IPv6 in the kernel and in my browser. I did a load of other little ideas given by people of several communities.
I hope that someone is able to help me.
Thanks in advance.
Regards,
8bitpal

Last edited by 8bitpal; 09-28-2009 at 05:49 PM. Reason: additional information
 
Old 09-30-2009, 08:00 AM   #2
handydan
Member
 
Registered: Mar 2005
Location: palmdale, california
Distribution: MEPIS 8; Debian (stable/testing)
Posts: 83

Rep: Reputation: 23
Wireless diagnostics

As a matter of procedure, I would always recommend disabling encryption for diagnostic purposes. If it still doesn't work with encryption off, then you've at least eliminated that as a suspect.
 
Old 09-30-2009, 08:06 AM   #3
alroger
Member
 
Registered: Apr 2008
Location: Brazil
Distribution: Ubuntu
Posts: 36

Rep: Reputation: 17
Can you ping 192.168.2.1?
Have you tried to reboot your wifi AP?
Some times I get strange problems with my tests, because the router or AP or even my servers ARP table gets messed up or doesn't update acordingly, thinking that I'm not who I'm trying to be... something like that. In that case I have to arp -d my IP ou fully reboot my server or router.
Another possibility is if you compile your own kernel that one of the default configs for networking might have changed...
 
Old 09-30-2009, 03:34 PM   #4
8bitpal
LQ Newbie
 
Registered: Sep 2009
Distribution: Debian Sid/Squeeze
Posts: 2

Original Poster
Rep: Reputation: 0
I did try those things you suggest, only without success.
But I guess I located the problem:
When I disable encryption on my router then it works. So it should be something with wpa_supplicant. I tried xsupplicant without success.
I tried to downgrade wpa_supplicant but it's no use, still the same problem.
Any ideas in that direction?
Regards, 8bitpal
 
  


Reply

Tags
connection, internet access, wlan, wlan0



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Connected, but no internet access! mtravis Mandriva 5 12-28-2007 02:38 AM
connected but cant access internet ricmetal Linux - Wireless Networking 11 02-06-2007 10:31 PM
Connected to router,but not able to access internet. JAKK Linux - Networking 5 06-14-2006 07:37 AM
WIFI WLAN / Cannot access internet but can access the router configuration page?SUSE thomas939 Linux - Wireless Networking 12 12-13-2005 10:28 AM
LAN Connected but cant access internet crw128 Linux - Networking 13 06-28-2005 05:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 03:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration