LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-06-2007, 12:33 AM   #1
Branta
LQ Newbie
 
Registered: Aug 2005
Posts: 13

Rep: Reputation: 0
Hw Start Wireless @ Boot


How do I start my wireless card at boot?

I can set it up manually and would like a command line instruction to write the following up to a file that is executed at boot.

A driver for my card is installed by MEPIS using ndiswrapper.

I do this to start wlan0:
Code:
iwlist wlan0 scan
iwconfig wlan0 essid FON_Olympic
dhclient wlan0
I don't think I need dhclient wlan0

Is there an instruction that will write the wireless network to a file that starts my wireless at boot?

TU,

Bob


Running: SimplyMEPIS 6.0-4
 
Old 02-06-2007, 08:57 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
You don't need "iwlist wlan0 scan"; you do need the other two however. The iwlist command will just give a printout of wireless access points and ad hoc wireless networks in range. You already know the essid of the wireless access point you want to hook up to so the iwlist command is unnecessary.
In non-debian distros you would just put these two lines at the end of the init script, /etc/rc.d/rc.local:

Code:
iwconfig wlan0 essid FON_Olympic
dhclient wlan0
Since mepis is debian based, rc.local may not exists. Check and post back if that's the case.
 
  


Reply



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
Create a boot CD (start up disc) to reinstall boot loader Red Hat 9 johnnylinux Linux - Laptop and Netbook 2 08-03-2006 10:19 AM
Getting Wireless To Start On Boot Kronoz SUSE / openSUSE 1 04-13-2006 12:09 PM
Start Wireless at Boot? jimbo-62 Linux From Scratch 8 10-01-2005 04:38 PM
SUSE 9.1 Wireless Net Card Wont Start On Boot theGerbil Linux - Wireless Networking 4 07-03-2004 05:25 PM
start wireless JROCK1980 Linux - Wireless Networking 4 05-28-2004 01:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 06:50 AM.

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