View previous topic :: View next topic |
Author |
Message |
Ben.d n00b
Joined: 27 Apr 2004 Posts: 14
|
Posted: Sun Aug 13, 2006 7:08 pm Post subject: Missing file for net.ath0 [SOLVED] |
|
|
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 :
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 |
|
|
bjlockie Veteran
Joined: 18 Oct 2002 Posts: 1186 Location: Canada
|
Posted: Sun Aug 13, 2006 7:31 pm Post subject: Re: Missing file for net.ath0 |
|
|
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 :
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
Run to see if that fixes the missing directories or but SAVE YOUR /etc/fstab before you do etc-update. |
|
Back to top |
|
|
wynn Advocate
Joined: 01 Apr 2005 Posts: 2421 Location: UK
|
Posted: Sun Aug 13, 2006 7:34 pm Post subject: |
|
|
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 |
|
|
Ben.d n00b
Joined: 27 Apr 2004 Posts: 14
|
Posted: Sun Aug 13, 2006 9:21 pm Post subject: |
|
|
Thanks a lot wynn ! Everything works fine now. |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4975 Location: Gothenburg, Sweden
|
Posted: Tue Aug 22, 2006 9:14 am Post subject: |
|
|
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 |
|
|
|