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

Getting wireless settings to "stick"? *Solved*
http://forum.linhes.org/viewtopic.php?f=2&t=10172
Page 1 of 1

Author:  Gatorfreak [ Tue May 23, 2006 1:04 pm ]
Post subject:  Getting wireless settings to "stick"? *Solved*

Setup:
KnoppMyth R5C7
Wireless NIC: D-Link G520
/etc/network/interfaces:
Code:
auto lo ath0
iface lo inet loopback
iface ath0 inet static
address 192.168.1.117
netmask 255.255.255.0
network 192.168.1.255
gateway 192.168.1.1


With that MythTV has internet access but other PCs on my network can't connect to http://192.168.1.117. I run iwconfig to check the settings and I can see that it's actually got the essid of a neighbors insecure network.

I go to shell (as admin) and do:
Code:
iwconfig ath0 essid MySSID
iwconfig ath0 enc <mykey>


Now everything is perfect. http://192.168.1.117 is accessible and MythWeb comes up. So how do I get it make those settings at bootup?

I tried adding this to /etc/network/interfaces but no luck:
Code:
wireless-essid MySSID
wireless-key <mykey>


I realize the solution is probably quite simple but I'll admit to being a Linux n00b. I've searched the forums extensively, that's how I got this far. :oops: Help greatly appreciated!

*edit* Additional info.
If I have the "wireless-" lines in the interfaces file then after booting up and running iwconfig to see the settings, I see that essid and the key are set right. But the Access Point is all zeros.

Author:  Gatorfreak [ Tue May 23, 2006 3:31 pm ]
Post subject: 

Solved!
With the "wireless-" lines in the interfaces file AND having Broadcast SSID enabled on my router, everything is good on boot up.

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