just-22 n00b
Joined: 17 Jan 2013 Posts: 6 Location: Milan, Italy
|
Posted: Sat Jan 19, 2013 12:21 pm Post subject: PCMCIA wireless card activation at boot |
|
|
Hello guys,
I'm trying to make my Atheros PCMCIA wlan adapter working at boot stage.
Following the handbook, I did the following:
1) create a link to /etc/init.d/net.lo as net.wlan0:
Code: | egeo ~ # ls -l /etc/init.d/net.wlan0
lrwxrwxrwx 1 root root 8 Jan 19 13:04 /etc/init.d/net.wlan0 -> ./net.lo |
2) add the service net.wlan0 to the default runlevel:
Code: | rc-update add net.wlan0 default |
3) this is my /etc/conf.d/net:
Code: | # FQDN
dns_domain_lo="atlantide.net"
# Prefer wpa_supplicant over wireless-tools
modules=( "wpa_supplicant" )
# Wired LAN (ifplugd is automatically started on wired i/f)
#config_eth0="dhcp"
# Wireless LAN
config_wlan0="dhcp"
modules_wlan0=( "!iwconfig wpa_supplicant" )
wpa_supplicant_wlan0="-Dwext" |
but at startup I have the following behavior:
- a "strange" warning message:
Code: | * WARNING: net.lo has already been started |
- all the services which depend on the net are not started:
Code: | * netmount: waiting for net.wlan0 (50 seconds)
* netmount: waiting for net.wlan0 (41 seconds)
[...]
* netmount: timed out waiting for net.wlan0
* ERROR: cannot start netmount as net.wlan0 would not start |
Code: | * sshd: waiting for net.wlan0 (50 seconds)
[...]
* sshd: timed out waiting for net.wlan0
* ERROR: cannot start sshd as net.wlan0 would not start |
and the interface is of course not working after logging in.
I also tryed to add the "yenta_socket" module to /etc/conf.d/modules:
egeo ~ # tail /etc/conf.d/modules
Code: | # You should consult your kernel documentation and configuration
# for a list of modules and their options.
modules="yenta_socket" |
but nothing changed.
I worked around this problem doing the following:
- net.wlan0 service removed from the default runlevel
- wpa_supplicant and dhcpcd services added to the default runlevel
which is probably a dirty trick.
Where am I wrong? Thanks in advance for any suggestions. _________________ We all smile in the same language |
|