[mythtv-users] HowTo avoid password nagging

Nicolas Will nico at youplala.net
Mon Dec 10 13:25:29 UTC 2007

On Mon, 2007-12-10 at 14:12 +0100, Karl Reichert wrote:
> I found a working solution now:
> 1) put 'auto wlan0' into /etc/network/interfaces
> 2) edit /etc/rc.local and put '/etc/init.d/networking restart' there
> 3) 'chmod +x /etc/rc.local' to activate this script

This is a bit dirty, but if it works...

I'd would get rid of the restart and use something like that
in /etc/network/interfaces :

auto wlan0
iface wlan0 inet dhcp
        pre-up ifconfig wlan0 down
        wpa-driver wext
        wpa-key-mgmt WPA-PSK
        wpa-proto WPA
        wpa-ssid <ssid>
        wpa-psk <passphrase>
        pre-up sleep 20
        pre-up ifconfig wlan0 up

It appears that udev first comes up with the wmaster0 interface then
later derives the wlan0 interface from it, but too late for the network
startup scripts.

Using those pre-up actions appear to go around it without a full restart
of the networking.

> Now everything works fine as expected. WLAN is configured
> via /etc/network/interfaces and no password screen is appearing
> Thank you very much, Nico, for your very detailed and good hints!

Glad I could help.


More information about the mythtv-users mailing list