View previous topic :: View next topic |
Author |
Message |
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1776 Location: PB, Germany
|
Posted: Sun May 14, 2006 1:57 pm Post subject: airport: net.eth1 is already starting |
|
|
Hi. For connecting the different wireless networks I set up runlevels:
Code: | # ls -l /etc/runlevels/wlan-bonn/
airport -> /etc/init.d/airport*
net.eth1 -> /etc/init.d/net.eth1* | The airport script just does a modprobe airport.
Code: | #!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
depend() {
before net.eth1
}
start() {
ebegin "load aiport modules"
modprobe airport
sleep 5
eend $?
}
stop() {
ebegin "unloading airport modules"
rmmod airport
rmmod orinoco
rmmod hermes
eend $?
} |
Why do I get the following message: Code: | # rc wlan-bonnwg
* load aiport modules ... [ ok ]
* ERROR: net.eth1 is already starting. |
I think it's because modprobe does start some scripts itself: Code: | May 14 15:40:57 marialin airport: Card registered for interface eth1
May 14 15:41:01 marialin rc-scripts: WEP key is not set for "BNET" - not connecting
May 14 15:41:01 marialin rc-scripts: Couldn't associate with any access points on eth1
May 14 15:41:01 marialin rc-scripts: Failed to configure wireless for eth1 |
When I switch again to rc wlan-bonn it works and eth1 is being configured.
Instead of having all modules in /etc/modules.autoload/kernel-2.6 I like to have my modprobe scripts in different runlevels such as wireless environment or firewire environment. _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1776 Location: PB, Germany
|
Posted: Sat Dec 23, 2006 12:20 pm Post subject: |
|
|
*bump*
I tried this again because I don't need airport modules up all the time. _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
|