View previous topic :: View next topic |
Author |
Message |
jmcquirt n00b
Joined: 07 Aug 2004 Posts: 5 Location: Dallas,TX
|
Posted: Sun Aug 15, 2004 4:53 pm Post subject: Trying to get DWL-122 wireless adapter to start on boot |
|
|
I have installed a DWL-122 USB wireless adapter on my desktop. I have installed the linux-wlan-ng-0.2.1-pre20 drivers according to the HOWTO. I am able to start the adapter with the command "/etc/init.d/wlan start" but I would like to have it start up automatically when the machine boots. I have copied /etc/init.d/net.eth0 to /etc/init.d/net.wlan0 and added the line "need wlan" to the depend() function. I also ran
rc-update add wlan default. I tried to add net.wlan0, but get:
Code: | # rc-update add net.wlan0 default
* net.wlan0 added to runlevel default
* Caching service dependencies...
* Can't find service 'wlan' needed by 'net.wlan0'; continuing...
* rc-update complete. |
I tried to start the services manually with the following results:
Code: | # /etc/init.d/net.wlan0 start
wlan
* ERROR: Some services needed are missing. Run
* './net.wlan0 broken' for a list of those
* services. "net.wlan0" was not started.
# /etc/init.d/wlan start
Starting WLAN Devices:
# /etc/init.d/net.wlan0 broken
* Re-caching dependency info (mtimes differ)...
* Could not get dependency info for "wlan"!
* Please run:
* # /sbin/depscan.sh
* to try and fix this.
wlan
# /sbin/depscan.sh
* Caching service dependencies...
* Can't find service 'wlan' needed by 'net.wlan0'; continuing... |
I believe my /etc/init.d/net.wlan0 or my /etc/init.d/wlan file may be broken. Could someone post an example of these files or otherwise point me in the right direction? Thanks in advance. |
|
Back to top |
|
|
jmcquirt n00b
Joined: 07 Aug 2004 Posts: 5 Location: Dallas,TX
|
Posted: Tue Aug 17, 2004 12:53 am Post subject: RE: Trying to get DWL-122 wireless adapter to start on boot |
|
|
I figured it out. I had commented out the line "use hotplug pcmcia" thinking I don't need pcmcia . But I did need hotplug. All is working as expected now.
Thanks |
|
Back to top |
|
|
|