Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 02-08-2007, 09:37 PM   #1
LQ Newbie
Registered: Feb 2007
Location: Wirral, England
Distribution: MEPIS, DSL
Posts: 7

Rep: Reputation: 0
Getting MEPIS to remember wireless settings at boot

I'm using ndiswrapper to configure a Broadcom chipset PCI card on MEPIS. All is working fine, but I don't seem to be able to get it to remember the settings at boot time. Instead I have to open up a console and run "iwconfig wlan0 essid <ssid> key <wep>" then "dhclient wlan0" to get an IP leased.
Modifying /etc/network/interfaces fails. It says not to use it to configure wireless settings if using MEPIS beyond 2.6.15 kernel, mine is 2.6.15-26-386. I also tried an /etc/sysconfig/network-scripts/ifcfg-wlan0 file with a corresponding keys-wlan0 with no success (perhaps that applies to a different distro?)
It's probably something simple but I'm not getting anywhere with it. Any ideas?
Old 02-09-2007, 06:54 AM   #2
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
I've always found the best thing to do is to write a little bash script with all the configuration settings and either have that run at boot or run it manually. If you've got a few networks you usually connect to, you might check out using wpa_supplicant. It can handle both WPA and WEP encryption and the config file can hold the configurations for multiple networks. You do have to launch it at boot, but that is a fairly trivial problem to solve.
Old 02-09-2007, 10:22 AM   #3
LQ Newbie
Registered: Feb 2007
Location: Wirral, England
Distribution: MEPIS, DSL
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks Hangdog, you're very helpful. I'll look into getting a script to run at startup, I only have the one network.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse won't remember mouse settings raysr SUSE / openSUSE 1 05-31-2006 09:26 PM
Kmix won't remember audio settings __spc__ Linux - Software 7 05-23-2006 09:14 AM
Wireless problem, iwconfig! wont remember my settings? THOR_Fedora Linux - Wireless Networking 8 01-07-2006 06:03 PM
KDE does not remember settings mooreted Linux - Software 0 02-16-2004 03:53 PM
ALSAmixer does not remember settings? Pwcca Linux - Software 3 08-05-2003 05:29 AM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 10:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration