[ubuntu-it] driver atheros AR5212

Francesco Conti madmoose a corimtec.com
Sab 22 Mar 2008 17:34:49 GMT


Ho trovato una discussione interessante a proposito....magari puo'
esserti d'aiuto.

DOMANDA:

I've installed madwifi from the repos but there is a bit of a problem...
Everytime I boot I have to run the following to get madwifi to work.

/sbin/ifconfig ath0 down
wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode sta
/sbin/ifconfig ath0 up


Without doing that it will try to connect unsuccessfully even though it
can scan access points through ath0. I see a ton of packets tx/rx
through wifi0 but nothing happens with ath0 until I run those commands
above.

I've seen a ton of other threads after just searching these forums
regarding what sounds like the same issue.
Kind of annoying... Is there anyway I can automate this on boot?

RISPOSTA:

You want this:

options ath_pci autocreate=sta

In /etc/modprobe.conf in addition to "alias ath0 ath_pci".

wifi0 can be thought of as the base hardware, whilst ath0 is a virtual
interface on top of the base hardware. Further athx interfaces could be
created to access other access points, behave as an access point or run
in monitor mode.

For a better understanding of the interfaces (wifi0 and ath0) and
madwifi feature look here (http://madwifi.org/wiki/ngFeatures) ,
particularly "VAPs and wlanconfig". Look here
(http://madwifi.org/wiki/UserDocs/autocreate) for information on
autocreation of VAPs.

Ciao
-- 

Francesco Conti

http://www.corimtec.com
http://moosesoom.blogspot.com




Maggiori informazioni sulla lista ubuntu-it