View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Lose wireless on reboot
PostPosted: Wed Mar 14, 2007 9:18 pm 
Offline
Joined: Thu Feb 01, 2007 5:44 pm
Posts: 1
When I reboot I lose all wireless settings. To re-enable my wireless (Dynex):
Code:
ifconfig ath0 up
iwconfig ath0 essid ¨XXXXX¨
iwconfig ath0 key XXXXXXXXXX
dhclient ath0


How do I make this process automatic?

Background: I have Madwifi working on R5E50. Previous experience only w/ ndiswrapper on my Xubuntu laptop. New to Linux (month or two along...first posted question)--searched all night for a config file to put these commands in, but I am beginning to think that I am missing something. :) I have run modprobe ath_pci, but nothing has changed (and I have no idea what I am actually doing by running that).

Thanks for the help--sometimes the seemingly simple can be the most elusive.

-Soren


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 15, 2007 9:31 pm 
Offline
Joined: Mon Nov 28, 2005 10:44 am
Posts: 137
Location: Austin, TX
make your /etc/network/interfaces file look like this:

Code:
auto lo ath0
iface lo inet loopback

iface ath0 inet dhcp
    wireless-essid mynetworkname
    wireless-mode Managed
    wireless-keymode restricted
    wireless-key1 mywirelesskey
    wireless-defaultkey 1

Where mynetworkname is the name of your wireless network and mywirelesskey is your WEP key that you set on your wireless router.
After making those changes, at the shell type:
Code:
/etc/init.d/networking restart


Those settings should be loaded each time you boot.


Top
 Profile  
 
PostPosted: Fri Apr 13, 2007 10:28 pm 
Offline
Joined: Sat Sep 16, 2006 4:09 pm
Posts: 53
I fought a similar problem to this for a while. It turned out I needed to add ath_pci to my /etc/modules file. Then wireless would come back up for ath0 after a reboot.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 11 guests


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 post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu