LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 06-19-2005, 07:42 AM   #1
scng
Member
 
Registered: Sep 2004
Location: Hong Kong
Distribution: Fedora Core 3
Posts: 53

Rep: Reputation: 15
how to make the wlan adapter to startup and connect at boot?


I've got an ASUS usb wireless adapter and hopefully found a Ralink driver worked for it. It'd be perfect if it can connect itself to the AP at boot. Presently, I connect manually with the commands (with root privileges):

Code:
# I dun know why I have to do it everytime but I dun do it, it fails to work
insmod /usr/share/rt25usb/rt2570.ko

# I want it to have a static ip 192.168.0.12
ifconfig rausb0 up

# I dun endorse any encryption policy for testing purpose
iwconfig rausb0 essid "default"

# I've checked the routing table, the "default" always doesnt show up after boot
route add default gw 192.168.0.1 rausb0

My /etc/sysconfig/network-scripts/ifcfg-rausb0:

Code:
DEVICE=rausb0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.12
NETMASK=255.255.255.0
thank you.
 
Old 06-20-2005, 12:04 PM   #2
Centinul
Member
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Rep: Reputation: 30
I had a similar problem and what I did to automatically connect at boot was drop the commands in the following file /etc/rc.d/rc.local. I'm not sure if that is the correct way but it worked for me in FC4. Hope this helps
 
Old 06-21-2005, 09:26 PM   #3
scng
Member
 
Registered: Sep 2004
Location: Hong Kong
Distribution: Fedora Core 3
Posts: 53

Original Poster
Rep: Reputation: 15
it works on FC3 also
thnz
 
  


Reply


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
make a deamon startup at boot time kernelvn Fedora 4 10-20-2004 06:50 PM
How come my wlan adapter is detected as eth1? octopus Linux - Hardware 4 09-30-2004 12:58 PM
Looking for highly recommended USB WLAN Adapter... code-frog Linux - Wireless Networking 0 09-05-2004 04:58 PM
wlan-ng problems (senao/engenius wlan usb adapter) poo bear Linux - Wireless Networking 6 05-05-2004 05:54 PM
how can I get/make a proper squid daemon startup script for boot time binkybuckle Debian 0 07-05-2003 07:58 PM


All times are GMT -5. The time now is 01:19 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration