LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-29-2006, 06:21 AM   #1
snow_bound
LQ Newbie
 
Registered: Feb 2005
Posts: 23

Rep: Reputation: 15
Question changed router wireless essid, /etc/network/interfaces no longer works!


Hi there

I changed the essid on my router yesterday, and I'm finding that I can no longer connect to my wireless network after the equiavlent essid update to /etc/network/interfaces.

For the record, the format of the wireless section looks like:

iface wlan0 inet dhcp
wireless-essid <essid>
wireless-key <key in HEX>
wireless-channel 11


as mentioned, the only thing that got changed was the essid. Now everytime the computer boots, the wireless card always picks up the neighbour's network (not that's a bad thing ), which seem to indicate that the config is somehow wrong (?!).

I have found a temporary workround, but it's kind of weird, since I can't really explain why it work

I'm having to remove all of the wireless prefix in the wireless section in /etc/network/interfaces. i.e.

iface wlan0 inet dhcp
essid <essid>
key <key in HEX>
channel 11


I then have to run the following from the command line:

sudo iwconfig wlan0 mode Managed
sudo iwconfig wlan0 key open <key in HEX>
sudo iwconfig wlan0 essid <essid>
sudo ifconfig wlan0 up
sudo ifup wlan0


what annoys me is the fact that the settings on the command line is exactly the same as in the interfaces file. The fact that a small change such as an essid update could totally render the wireless network unusable for me freaks me out.

Not to mention that I spent over two hours trying to get it back up in Linux and only 5 minutes on the same machine when in Windows (dual boot).

Anyways, if someone could shed some light as to why the interfaces file no longer works after this change, I'd be really grateful.

System info:
OS: Ubuntu 6.06 (Dapper Drake)
Kernel: 2.6.15-27-386
wireless card: Linksys WPC54G
ndiswrapper ver: 1.27
router setting: essid-broadcast disabled, WEP 64bit, no MAC address filtering.

operator current state: annoyed and puzzled

Last edited by snow_bound; 12-29-2006 at 06:23 AM.
 
  


Reply



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
Manual Network Setup Works, /etc/network/interfaces doesn't verdeboy2k Linux - Wireless Networking 0 05-31-2006 06:56 PM
suspicion about scanning for wireless (ndiswrapper) and router with hide essid on darkleaf Linux - Wireless Networking 6 10-18-2004 01:07 PM
PCMCIA wireless card does not connect to the router after finding the correct ESSID Almazick Linux - Wireless Networking 0 09-04-2004 03:34 PM
Changed Video Card Memory X No longer works :P johnnybezak Linux - Hardware 1 11-22-2003 09:29 PM
Installed router, dial-up Internet no longer works. (MDK 9.1) mcarter Linux - Networking 1 09-01-2003 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration