Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Missing file for net.ath0 [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Ben.d
n00b
n00b


Joined: 27 Apr 2004
Posts: 14

PostPosted: Sun Aug 13, 2006 7:08 pm    Post subject: Missing file for net.ath0 [SOLVED] Reply with quote

Hi,

I have met a few problems to get wpa working on my Gentoo. After upgrading madwifi to madwifi-ng (and recompiling the kernel), I can connect with :

Code:
# wpa_supplicant -Dmadwifi -iath0 -c/etc/wpa_supplicant.conf
# dhcpcd ath0


But, if I try the net.ath0 script, I get this message : :cry:
Code:
/etc/init.d/net.ath0: line 34: /lib/rcscripts/net.modules.d/helpers.d/functions: No such file or directory
 * Starting
 *       no interface module has been loaded


Is there an ebuild or something I must install to be able to use this script ?

Thanks for your help,

Benjamin


Last edited by Ben.d on Sun Aug 13, 2006 9:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
bjlockie
Veteran
Veteran


Joined: 18 Oct 2002
Posts: 1186
Location: Canada

PostPosted: Sun Aug 13, 2006 7:31 pm    Post subject: Re: Missing file for net.ath0 Reply with quote

Ben.d wrote:
Hi,

I have met a few problems to get wpa working on my Gentoo. After upgrading madwifi to madwifi-ng (and recompiling the kernel), I can connect with :

Code:
# wpa_supplicant -Dmadwifi -iath0 -c/etc/wpa_supplicant.conf
# dhcpcd ath0


But, if I try the net.ath0 script, I get this message : :cry:
Code:
/etc/init.d/net.ath0: line 34: /lib/rcscripts/net.modules.d/helpers.d/functions: No such file or directory
 * Starting
 *       no interface module has been loaded


Is there an ebuild or something I must install to be able to use this script ?

Thanks for your help,

Benjamin


You need the madwifi driver.
Try
Code:
emerge -s madwifi


Run
Quote:
etc-update
to see if that fixes the missing directories or
Code:
emerge baselayout
but SAVE YOUR /etc/fstab before you do etc-update.
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sun Aug 13, 2006 7:34 pm    Post subject: Reply with quote

In other threads this seems to have been caused by the recent update to baselayout to 1.12.4-r2.

The problem apparently lies in having /etc/init.d/net.ath0 as a separate file and not as a symlink to /etc/init.d/net.lo which the new baselayout requires.

It you delete net.ath0 and then create a symlink to net.lo as in
Code:
cd /etc/init.d
rm -f net.ath0
ln -s net.lo net.ath0
it should no longer use the old code which needed /lib/rcscripts/net.modules.d/helpers.d/functions and should work :)
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
Ben.d
n00b
n00b


Joined: 27 Apr 2004
Posts: 14

PostPosted: Sun Aug 13, 2006 9:21 pm    Post subject: Reply with quote

Thanks a lot wynn ! Everything works fine now. :)
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4975
Location: Gothenburg, Sweden

PostPosted: Tue Aug 22, 2006 9:14 am    Post subject: Reply with quote

Moved from Networking & Security to Duplicate Threads in favour of Missing /lib/rcsripts/net.modules.d [SOLVED].
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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