View previous topic :: View next topic |
Author |
Message |
dkostic Apprentice
Joined: 24 May 2006 Posts: 220 Location: Madison, NJ
|
Posted: Tue Jun 20, 2006 7:15 pm Post subject: have to rmmod and modprobe ath_pci to use madwifi [SOLVED] |
|
|
Hey everyone. I've got a strange error. I use the madwifi drivers (see www.madwifi.org) for my wireless Atheros card. When I boot my laptop (see my .sig file for the specs), the ath_pci module is loaded by default. I then execute...
Code: | russell me # modprobe wlan_scan_sta
russell me # ifconfig ath0 up
russell me # wlanconfig ath0 list scan
wlanconfig: len < sizeof(struct ieee80211req_scan_result)
|
wlanconfig *should* output a list of available essid's. Instead I get that strange error up there. A google search turned up very little related to this error.
Here's what's weirder. Doing this...
Code: | russell me # rmmod ath_pci
russell me # modprobe ath_pci
|
...solves the problem . wlanconfig ath0 list scan then outputs the available essid's and I'm good to go.
Does anybody know why this is happening, and why rmmod-ing and modprobe-ing solves this? Anybody had this happen with other modules? Any input would be appreciated. _________________ 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
Last edited by dkostic on Mon Jul 31, 2006 7:35 pm; edited 1 time in total |
|
Back to top |
|
|
dkostic Apprentice
Joined: 24 May 2006 Posts: 220 Location: Madison, NJ
|
Posted: Mon Jul 31, 2006 7:34 pm Post subject: |
|
|
I figured out the problem here, and thought I should post the solution in case anybody else ever encounters this problem. I had added "ath_pci autocreate=ap" to my /etc/modules.autoload.d/kernel-2.6 file. This should have read "ath_pci autocreate=sta". Now I don't need to rmmod && modprobe and everything works fine. Thanks to anybody who thought about this for me. _________________ 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 |
|
|
|
|
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
|
|