LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-10-2006, 11:41 AM   #1
holdenrj
LQ Newbie
 
Registered: Jul 2005
Distribution: Mandrake
Posts: 10

Rep: Reputation: 0
problems with wpa_supplicant


I'm running Mandriva 2006 on a desktop machine with the Madwifi drivers and a Netgear wg311t card. I had almost the EXACT same problem that CragStar had in this thread:

http://www.linuxquestions.org/questi...wpa_supplicant

Likewise I found a newer version of wpa_supplicant amongst the cooker rpms (version 5.0 though, not 4.5), and after installing THAT I can now connect to my router using wpa_supplicant (passing all the appropriate parameters) at the command prompt.

This hasn't completely solved my problem however. Even though I can now connect, the connection periodically drops (usually after a couple hours) and the ONLY way to reconnect it is to go to command line and execute the above command again. Trying to connect through the gui (right click the taskbar icon, manage wireless networks, and click the connect button) does nothing. The machine will also not automatically connect when booting, I have to go to the command prompt then as well.

Without using WPA encryption, the machine connects just fine all without intervention from me and the connection stays stable for days.

Anyone had a similar experience? /var/log/messages and dmesg aren't really telling me anything useful. Any suggestions as to where else I can look?
 
Old 01-12-2006, 02:01 PM   #2
holdenrj
LQ Newbie
 
Registered: Jul 2005
Distribution: Mandrake
Posts: 10

Original Poster
Rep: Reputation: 0
no one?
 
Old 01-13-2006, 04:44 PM   #3
holdenrj
LQ Newbie
 
Registered: Jul 2005
Distribution: Mandrake
Posts: 10

Original Poster
Rep: Reputation: 0
Ok, made some progress. I changed my /etc/sysconfig/network-scripts/ifcfg-ath0 by adding the following line:

WIRELESS_WPA_DRIVER=madwifi

Now when I boot (or if i do /etc/init.d/network restart) I'm connected

Problem is, when the connection drops a few hours later, restarting the network doesn't work. When I check the ifcgf-ath0 file, I find that its been CHANGED and that new line removed!

How do I make that change permanent?
 
Old 01-17-2006, 07:10 PM   #4
holdenrj
LQ Newbie
 
Registered: Jul 2005
Distribution: Mandrake
Posts: 10

Original Poster
Rep: Reputation: 0
Never did figure out the mysterious changing ifcgf-ath0 file, but it never did it again. I resolved the remainder of my wpa_supplicant problems (dropped connections, random reconnect to nieghbor's wifi, etc) by removing wpa_supplicant. Setup my connection with wep, and its been solid for 2 days. Having the extra security of wpa would have been nice, but life's just too short.
 
Old 02-01-2006, 02:42 AM   #5
wyohman
Member
 
Registered: Aug 2003
Location: Texas
Distribution: Mandrake 2006
Posts: 66

Rep: Reputation: 16
I was having similar problems. Check your logs for something like this:

Jan 29 11:42:23 vegemite ifplugd(ath0)[25035]: Link beat lost.
Jan 29 11:42:29 vegemite ifplugd(ath0)[25035]: Executing '/etc/ifplugd/ifplugd.action ath0 down'.
Jan 29 11:42:29 vegemite dhclient: receive_packet failed on ath0: Network is down
Jan 29 11:42:29 vegemite ifplugd(ath0)[25035]: Program executed successfully.

If you see this, edit your ifcfg-ath0 in /etc/sysconfig/network-scripts and make sure you have this set:

MII_NOT_SUPPORTED=yes

After that, kill any instance of ifplugd ath0 (ps -ef | grep ifplugd), run /etc/init.d/network stop and then /etc/init.d/network start and that seems to fix the problem.

Cheers.
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wpa_supplicant Problems Plz Help! scorpio1883 Linux - Wireless Networking 0 07-28-2005 02:25 AM
wpa_supplicant and ipw2100 problems in SUSE 9.2 overheadcam Linux - Wireless Networking 1 04-19-2005 12:08 PM
wpa_supplicant and ipw2100 problems in SUSE 9.2 overheadcam Linux - Networking 1 04-14-2005 11:17 AM
wpa_supplicant problems maddoggames Linux - Wireless Networking 2 01-22-2005 03:36 PM
Problems using Wpa_supplicant and linuxant Oostertoaster Linux - Wireless Networking 0 08-03-2004 07:01 AM


All times are GMT -5. The time now is 12:07 AM.

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