View previous topic :: View next topic |
Author |
Message |
TheNewb Apprentice
Joined: 10 Jun 2005 Posts: 183
|
Posted: Wed Jan 25, 2006 5:28 am Post subject: From net.ath0 to net.wifi0? |
|
|
Well, newb questions again!
I over the weekends updates (x86 architecture) trying to init net.ath0 no longer functions... But now ifplugd recognizes net.wifi0. I've been poking through the configurations, and I'm sure this is new on the updates... Unfortunatly, I haven't been able to make it work. Since all the howto's I've been looking at are for the old Atheros configs. Can anyone point me to some new info on how to configure the net.wifi0? My guesses and meddling haven't had any good results =( _________________ #define struct union /* A Real space saver! */ |
|
Back to top |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2326 Location: Bretagne
|
Posted: Wed Jan 25, 2006 8:21 am Post subject: |
|
|
Hi!
Sounds like you've just upgraded madwifi-driver, haven't you?
The wifi0 is not usable. Try a # iwconfig wifi0 if you wanna check, or have a look at the madwifi-driver docs in /usr/share/doc/madwifi-driver-<version>/ .
If you want to be able to use ath0 as before, first, upgrade udev:
Code: | # echo "sys-fs/udev ~x86" >> /etc/portage/package.keywords
# emerge -auv udev |
and then run this from a terminal or console:
Code: | # wlanconfig ath create wlandev wifi0 wlanmode sta |
That will create ath0 as needed.
Work on ath0, not wifi0.
Have fun! |
|
Back to top |
|
|
TheNewb Apprentice
Joined: 10 Jun 2005 Posts: 183
|
Posted: Mon Jan 30, 2006 3:07 pm Post subject: |
|
|
Yes, madwifi-driver was one of the things updated....
iwconfig didn't show anything at all.. The updating udev and executing the wlcanconfig got me back ath0 to where it recognized it...
But when I /etc/init.d/net.ath0 start, it starts up and then shuts down in 2 seconds!
Not quite long enough to get things done...
I found from /var/log/messages that ath0 was being shut down by ifplugd, as it is not detecting a link for net.wifi0...
If I stop ifplugd right when I start up, net.ath0 will work for 5 minutes before quitting... Any thoughts on how to get it to last longer? _________________ #define struct union /* A Real space saver! */ |
|
Back to top |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2326 Location: Bretagne
|
Posted: Mon Jan 30, 2006 3:59 pm Post subject: |
|
|
Don't know if it may solve up your problem, but /etc/init.d/net.wifi0 shouldn't even exist.
So :
Code: | # rm /etc/init.d/net.wifi0
# rm /etc/init.d/net.ath0
# ln -s /etc/init.d/net.lo /etc/init.d/net.ath0 |
And can you give the output of /etc/init.d/net.ath0 satrt after that plz? |
|
Back to top |
|
|
|