Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > Wireless lan connected but no internet

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 10-01-2009   #1 (permalink)
Just Joined!
 
blnl's Avatar
 
Join Date: Jan 2009
Location: The Netherlands
Posts: 73
Arrow Wireless lan connected but no internet

Computer: HP Compaq nc6000
Linux distro: OpenSUSE 11.0

Problem description: With WPA encription enabled I have no internet access, although the wireless lan is connected. However when the encription is disabled I have normal internet access.

By the way, Windows XP on the same machine, and also another linux machine (openSUSE 11.0 too), both have normal internet access when WPA encription is used.

Can someone help me solve this problem?
blnl is offline  


Reply With Quote
Old 10-02-2009   #2 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,104
Is the Device recognized and set up properly? Do you have wpa_supplicant installed on both machines? Can you copy the wpa_supplicant.conf from the working machine to the non working machine?
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is offline   Reply With Quote
Old 10-02-2009   #3 (permalink)
Just Joined!
 
blnl's Avatar
 
Join Date: Jan 2009
Location: The Netherlands
Posts: 73
Could you point me to the location of wpa_supplicant.conf?

I believe the device is set up properly because it registers with the wireless assess point. I have exactly the same YAST Network Settings on both machines (at least the settings that are available to the user).
blnl is offline   Reply With Quote
Old 10-02-2009   #4 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,104
Mine is located at /etc/wpa_supplicant/wpa_supplicant.conf

You can try
Code:
whereis wpa_supplicant
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is offline   Reply With Quote
Old 10-02-2009   #5 (permalink)
Just Joined!
 
blnl's Avatar
 
Join Date: Jan 2009
Location: The Netherlands
Posts: 73
/etc/wpa_supplicant/wpa_supplicant.conf is identical on both computers and it contains the following lines:
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
I have collected some more information from both computers. I hope it contains some useful clues.

On the HEALTHY computer
************************************************** ************************************************** **
iwconfig produces the following output:
(the encryption key is masked, but shows the actual length)
Code:
wlan0     IEEE 802.11g  ESSID:"BLNL"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:22:57:1F:A6:F1   
          Bit Rate=48 Mb/s   Tx-Power=27 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B   
          Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX [2]
          Link Quality=71/100  Signal level=-50 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
Network Manager shows the following connection info:

************************************************** ************************************************** **


On the FAULTY computer
************************************************** ************************************************** **
iwconfig produces the following output:
(the encryption key is masked, but shows the actual length)
Code:
eth1      IEEE 802.11g  ESSID:"BLNL"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:22:57:1F:A6:F1   
          Bit Rate:54 Mb/s   Tx-Power=20 dBm   Sensitivity=8/0  
          Retry limit:7   RTS thr:off   Fragment thr:off
          Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX   Security mode:open
          Power Management:off
          Link Quality=95/100  Signal level=-31 dBm  Noise level=-86 dBm
          Rx invalid nwid:0  Rx invalid crypt:111  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:2
Network Manager shows the following connection info:

************************************************** ************************************************** **

It seems to me that the faulty computer is applying the wrong key.
Is the key not to short for WPA encryption?
blnl is offline   Reply With Quote
Old 10-03-2009   #6 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,104
On my system, I have all my settings in /etc/wpa_supplicant/wpa_supplicant.conf,
I have edited my passkey and SSID, but this what mine looks like...and btw I do not use network manager, I use WICD, which in my opinion is the better tool. Maybe you can install that and give it a try. Make sure you are in the Wheel group too.
Code:
# This is a network block that connects to any unsecured access point.
# We give it a low priority so any defined blocks are preferred.
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=1
network={
  ssid="SSIDNAME"
  proto=WPA
  key_mgmt=WPA-PSK
  pairwise=CCMP TKIP
  group=CCMP TKIP WEP104 WEP40
  psk="XXXXXXXXXX"
  priority=2
}

Are you using DHCP to get your IP's or are you assigning them manually?
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is offline   Reply With Quote
Old 10-03-2009   #7 (permalink)
Just Joined!
 
blnl's Avatar
 
Join Date: Jan 2009
Location: The Netherlands
Posts: 73
Thanks, I'll give it a try!
Yes, I use DHCP, but the IP addresses are linked to the MAC addresses. So in that way it is a fixed IP address.
blnl is offline   Reply With Quote
Old 10-03-2009   #8 (permalink)
Just Joined!
 
blnl's Avatar
 
Join Date: Jan 2009
Location: The Netherlands
Posts: 73
After installing WICD, the problem still exists.
I get connected to wireless access point but no Internet, no e-mail, no updates.


By the way, WICD did not change my wpa_supplicant.conf. It still contains the same two lines.
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
I manually entered the information that you gave me in wpa_supplicant.conf:
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=1
network={
  ssid="SSIDNAME"
  proto=WPA
  key_mgmt=WPA-PSK
  pairwise=CCMP TKIP
  group=CCMP TKIP WEP104 WEP40
  psk="XXXXXXXXXX"
  priority=2
}
It also did not help. I still get connected, but no Internet access.


PS: I notice that iwconfig reports Rx invalid crypt:111.
Could this be a clue to my problem?
blnl is offline   Reply With Quote
Old 10-03-2009   #9 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,104
Quote:
Originally Posted by blnl View Post
Thanks, I'll give it a try!
Yes, I use DHCP, but the IP addresses are linked to the MAC addresses. So in that way it is a fixed IP address.
I don't know what this means really....any way you can unset this....just to see if it could be the problem? Just let DHCP assign an IP address all by itself.
You did change the SSID and psk in the example I should you right?
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is offline   Reply With Quote
Old 10-03-2009   #10 (permalink)
Just Joined!
 
blnl's Avatar
 
Join Date: Jan 2009
Location: The Netherlands
Posts: 73
There is a check box in my router that says Fix IP. That means when DHCP assigns IP address to a client. I can enable that check box, so each time this client will get that same IP address.
I need this for NFS, because if my clients always get different IP addresses, I can't mount my NFS folders. (So, in fact I have fixed IP addresses.)

Yes, I can disable it.
I have done as you suggested. It did not help.

Sorry, copy paste habit. Yes, I entered correct SSID and PSK in wpa_supplicant.conf.
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=1
network={
  ssid="BLNL"
  proto=WPA
  key_mgmt=WPA-PSK
  pairwise=CCMP TKIP
  group=CCMP TKIP WEP104 WEP40
  psk="MY_PSK_KEY"
  priority=2
}
blnl is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 04:54 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2