Havin_it Posted January 31, 2005 Report Share Posted January 31, 2005 (edited) 'ning After all the fun of getting ndiswrapper working with my wifi card, I've now found a bit of an issue I'd like to iron out if possible. The current setting in ifcfg-wlan0 is ONBOOT=yes as I'm usually at home with the card inserted when I boot. However, this might not be the case, or if I'm at a public hotspot I might need to use an alternate config. If I boot without the card in, it won't come up later - the interface will, but it seems to ignore the config (possibly because of the ONBOOT line...?) so I can't connect to my own AP. Even after removing and re-modprobing ndiswrapper, still no connection. So ... is there any way round this, i.e. preventing the attempt to bring up wlan0 during boot if the card is not present? Sorry if this seems more of a Hardware post, but I figure the actual solution (if there is one) would be a down-n-dirty programming type one. Edited February 27, 2005 by Havin_it Quote Link to comment Share on other sites More sharing options...
tyme Posted January 31, 2005 Report Share Posted January 31, 2005 have you tried: service network restart as root when you need to bring it up? Quote Link to comment Share on other sites More sharing options...
Havin_it Posted February 2, 2005 Author Report Share Posted February 2, 2005 Thanks, I'll have a look at that when my comp comes back from the doctor :( Quote Link to comment Share on other sites More sharing options...
Havin_it Posted February 27, 2005 Author Report Share Posted February 27, 2005 Well, I went another way and just put ONBOOT=no for all my configs. Then I just use a script to choose which one to copy to ifcfg-wlan0 before inserting the card. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.