View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 2 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue May 23, 2006 1:04 pm 
Offline
Joined: Fri May 19, 2006 12:49 pm
Posts: 9
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.


Last edited by Gatorfreak on Tue May 23, 2006 3:32 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 23, 2006 3:31 pm 
Offline
Joined: Fri May 19, 2006 12:49 pm
Posts: 9
Solved!
With the "wireless-" lines in the interfaces file AND having Broadcast SSID enabled on my router, everything is good on boot up.


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 15 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