Gentoo Forums
Gentoo Forums
Quick Search: in
latest madwifi-ng locks my machine [Maybe Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3140

PostPosted: Tue Jun 27, 2006 11:39 pm    Post subject: latest madwifi-ng locks my machine [Maybe Solved] Reply with quote

So I'm having some wireless issues...

I just upgraded to the 2.6.16-suspend2-sources, and accordingly I needed to upgrade my madwifi-ng.

Previous to this I was running 2.6.13, with net-wireless/madwifi-driver-0.1_pre20050420-r1 and connected to my ap using iwconfig (/etc/conf.d/wireless) method.

The problem:
The latetest version of madwifi-ng (0.1531.20060427) locks my machine, and requires a reboot whenever I try to startup the interface via /etc/init.d/ath0 start. The other version of madwifi-ng in portage also doesn't work.

I read somewhere on the forums that there may be a problem with madwifi-ng and iwconfig, and to instead use wpa_supplicant, however I have never been able to properly setup wpa_supplicant.

If anyone has any tips, my /etc/wpa_supplicant.conf looks like this (it's just an open ap):
Code:
# The below line not be changed otherwise we refuse to work
ctrl_interface=/var/run/wpa_supplicant

# Ensure that only root can read the WPA configuration
ctrl_interface_group=0

# Let wpa_supplicant take care of scanning and AP selection
ap_scan=1


# Plaintext connection (no WPA, no IEEE 802.1X)
network={
  ssid="accesspointname"
  key_mgmt=NONE
}


I was able to get a wireless connection using the madwifi-old drivers and iwconfig.

So I guess my question is two-fold:
1) What's going on with madwifi-ng?
2) If anyone knows how I should properly edit my wpa_supplicant.conf I'd appreciate it, since I never really liked iwconfig).


Last edited by mikegpitt on Fri Aug 04, 2006 3:34 am; edited 3 times in total
Back to top
View user's profile Send private message
dkostic
Apprentice
Apprentice


Joined: 24 May 2006
Posts: 220
Location: Madison, NJ

PostPosted: Wed Jun 28, 2006 1:40 am    Post subject: Reply with quote

I'm using madwifi-ng 0.1531.20060427 without any problems (at least nothing that serious) and without wpa_supplicant. I can't help you with wpa_supplicant but maybe I can help with the current madwifi. Can you lsmod (before you try to start madwifi) and post the results? There may be some kind of conflict between modules you have loaded.
_________________
Toshiba Satellite A105 laptop, 1.7 mHz Celeron M, 100 Gb hard disk, 512 Mb RAM, 2006.0, 2.6.16-r7 kernel
Homemade desktop, 3.2+ mHz AMD Athlon 64 processor, 120 Gb hard disk, 1 Gb RAM, 2005.0, 2.6.14-r2 kernel
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3140

PostPosted: Thu Jun 29, 2006 3:52 am    Post subject: Reply with quote

Thanks for the help... actually I ended up following the advice in this thread:
http://forums.gentoo.org/viewtopic-t-474299.html

I had problems with the madwifi-old drivers today as well. Somehow they wouldn't reconnect to the ap until I rebooted. I'm not sure if this had to do with my suspend to disk, but I never had problems int he past with the 2.6.13 suspend2 and marwifi.

Anyways, I updated to the subversion madwifi. Things still seem a little flakey, but working better than before.

I will wish I coudl be wpa_supplicant going, since people seem to think it works better.

Actually what gentoo really needs is gnome NetworkManager. I've seen it as part of the gentopia project, but that should be merged into the main portage branch.

I'll post here, if anything else goes wacky...
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3140

PostPosted: Thu Jun 29, 2006 3:45 pm    Post subject: Reply with quote

Well I guess things really weren't solved. The latest svn, and latest stable snapshop off the madwifi website did not work out either. After a period of time I would keep getting disconnected form the ap, and I'd need to reconnect.

This morning, after having my machine hibernate to disk overnight, it wouldn't connect at all... also saying my card doesn't support scanning. This happened even after rmmoding all the modules and modprobing them back. Very frustrating.

Right now I'm back in my 2.6.13 kernel. Apparently it kept the old drivers around too (which I was suprised about... I thought they always got overwritten). Maybe I'll try this out again later on, because it's nice to have updated software, but only when it works.

I can't believe more people aren't having problems here... I thought the Atheros card I have is pretty common.
Code:
0000:01:07.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3140

PostPosted: Fri Aug 04, 2006 3:36 am    Post subject: Reply with quote

My problems may finally be solved. I just upgraded to the 2.6.17-suspend2-r3 sources with madwifi-ng-0.9.2 drivers, and so far no lockups. I guess before was a fluke or something. I'm not 100% convinced the problems are over, since I have only been using them for a few mins. If I have more problems I'll report back.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3140

PostPosted: Fri Aug 04, 2006 12:41 pm    Post subject: Reply with quote

After using my new setup for a night/morning, it seems to work pretty decent. I have had no lockups, and no dropped signal. My only complaint it seems that when I first start up net.ath0 I need to run it a few times to get it to work. The other times comes up with "Failed to associate access point".
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum