Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
From net.ath0 to net.wifi0?
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
TheNewb
Apprentice
Apprentice


Joined: 10 Jun 2005
Posts: 183

PostPosted: Wed Jan 25, 2006 5:28 am    Post subject: From net.ath0 to net.wifi0? Reply with quote

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
View user's profile Send private message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2326
Location: Bretagne

PostPosted: Wed Jan 25, 2006 8:21 am    Post subject: Reply with quote

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
View user's profile Send private message
TheNewb
Apprentice
Apprentice


Joined: 10 Jun 2005
Posts: 183

PostPosted: Mon Jan 30, 2006 3:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2326
Location: Bretagne

PostPosted: Mon Jan 30, 2006 3:59 pm    Post subject: Reply with quote

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
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