Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trying to get DWL-122 wireless adapter to start on boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jmcquirt
n00b
n00b


Joined: 07 Aug 2004
Posts: 5
Location: Dallas,TX

PostPosted: Sun Aug 15, 2004 4:53 pm    Post subject: Trying to get DWL-122 wireless adapter to start on boot Reply with quote

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
View user's profile Send private message
jmcquirt
n00b
n00b


Joined: 07 Aug 2004
Posts: 5
Location: Dallas,TX

PostPosted: Tue Aug 17, 2004 12:53 am    Post subject: RE: Trying to get DWL-122 wireless adapter to start on boot Reply with quote

I figured it out. I had commented out the line "use hotplug pcmcia" thinking I don't need pcmcia :oops:. But I did need hotplug. All is working as expected now.

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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