LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 03-22-2007, 04:36 PM   #1
bmccorm2
Member
 
Registered: Oct 2005
Distribution: Mandriva 2006
Posts: 67

Rep: Reputation: 15
WPA issues on Mepsis 6.0


I cannot get WPA protocol to work on Mepsis 6.0 with a Netgear wireless adapter (WG111v2). I have tried through the console and through a GUI (wifi-radar) and both methods get an IP through DHCP, but when I ping a website or try to surf, I get nothing. I have googled the issue and looked through Mepis' documentation and have found nothing. Any help would be greatly appreciated.

Here is my wpa_supplicant.conf, which resides in /etc:

Code:
ctrl_interface=/var/run/wpa_supplicant

network={
        ssid="MikeNet"
        #psk="temp"
        psk=2828377485ab74451d21c10a41c289595135849792942a57102736e8d15ffb5a
        key_mgmt=WPA-PSK
        proto=WPA
        pairwise=CCMP TKIP
}
To bring up the wpa_supplicant, I issue this command as root:

Code:
wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant.conf
I don't know which driver my wireless card is using because Mepis recognized it via native drivers, so I just use the general "wext" driver for the command. Thanks again for any help.

Last edited by bmccorm2; 03-22-2007 at 04:51 PM.
 
Old 03-22-2007, 05:49 PM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Now that you have posted your key, you might want to change it.

If you are able to get an address via DHCP, that means that wireless is working. Your problem may be a regular networking problem instead.

Check if you have both the regular NIC interface and the wireless interface are up and on the same subnet. If you aren't using the ethernet NIC, you can shut it down.

Also look at the output of "/sbin/route". Is the wireless interface used for your default gateway?

If there is no default gateway, you could use the command:
sudo /sbin/route add default gw <IP address of router> dev wlan0

Another thing that can prevent internet access in the browser is if your /etc/resolv.conf file doesn't contain your ISP's nameserver addresses. However, this is normally provided by DHCP. In any case, pinging an IP address rather than a domain name would still work.
 
Old 03-22-2007, 11:10 PM   #3
bmccorm2
Member
 
Registered: Oct 2005
Distribution: Mandriva 2006
Posts: 67

Original Poster
Rep: Reputation: 15
That key was just a temporary one (psk=temp) but thanks for the heads up. All my other network interfaces are disabled and the output of /sbin/route is:

Code:
root@1[bryan]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 wlan0
default         dslmodem.domain 0.0.0.0         UG    0      0        0 wlan0
I don't know quite how to interpret this, but I do know that the IP of my router is as follows:

Code:
root@1[bryan]# route add default gw 192.168.0.1 dev wlan0
SIOCADDRT: File exists
I have a laptop right next to this desktop that runs Mandriva and it has no problem connecting to the WPA-enabled network, so I think the network should be fine. Is there anything else that could be wrong? Thanks again for the help.
 
Old 03-23-2007, 03:03 PM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Sorry, I didn't read the comment. Is the router a NAT router?
You do have a default route.

Monitor the output of "sudo /usr/sbin/wpa_cli -p /var/run/wpa_supplicant -i wlan0". It will give the state of authentication.

Also, try pinging the router.

Could you post the output of /etc/resolve.conf. Compare the nameserver list on both computers and see if they are the same.
 
  


Reply

Tags
mepis, wireless, wpa


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
WPA and ndiswrapper Issues with Cisco Aironet 350 doctorcisco Linux - Wireless Networking 11 03-20-2007 02:22 AM
SuSE 10 and Mepsis raffytaffy Suse/Novell 4 04-27-2006 02:19 PM
Printing Issues with rdesktop in mepsis. suseforge MEPIS 2 01-31-2006 06:23 PM
**wpa supplicant authentication issues patkalolo Linux - Wireless Networking 5 12-28-2005 01:59 PM
WPA Supplicant issues Fritz_Monroe Linux - Wireless Networking 1 12-28-2005 01:42 PM


All times are GMT -5. The time now is 07:55 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration