Comment 5 for bug 80499

Revision history for this message
Hamish Downer (mishd) wrote : Re: Changing ESSID requires reboot or, or manual iwconfig for changes to take effect

Related to this (I think) is that the network restart does not set the essid for me any more. I've just upgraded to feisty with settings that used to work. The relevant part of /etc/network/interfaces is

auto wlan0
iface wlan0 inet dhcp
    wireless-essid default

wlan0 is my primary interface. However, on start up, or after doing

$ sudo /etc/init.d/networking restart

DHCP has failed. On further investigation I find that no essid is set -

$ iwconfig
wlan0 IEEE 802.11b+/g+ ESSID:"" Nickname:"acx v0.3.36"
          Mode:Managed Frequency:2.422 GHz Access Point: Not-Associated
          Bit Rate:54 Mb/s Tx-Power=15 dBm Sensitivity=1/3
          Retry min limit:7 RTS thr:off
          Power Management:off
          Link Quality=34/100 Signal level=8/100 Noise level=0/100
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

But if I set it manually it works fine.

$ sudo iwconfig wlan0 essid default
$ sudo dhclient wlan0

Hope this is the right thread to add my comment to ...