LinHES Forums
http://forum.linhes.org/

Lose wireless on reboot
http://forum.linhes.org/viewtopic.php?f=6&t=14579
Page 1 of 1

Author:  saf [ Wed Mar 14, 2007 9:18 pm ]
Post subject:  Lose wireless on reboot

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

Author:  psicard [ Thu Mar 15, 2007 9:31 pm ]
Post subject: 

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.

Author:  nlin1996 [ Fri Apr 13, 2007 10:28 pm ]
Post subject:  no ATH0 wireless after reboot

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.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/