[mythtv-users] HowTo avoid password nagging
Karl Reichert
Karl-Trampe at gmx.de
Mon Dec 10 16:15:55 UTC 2007
> > 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.
>
> Nico
I tried this, but the problem is, that XFCE complains about a missing DNS lookup for my hostname then, although I put an entry into /etc/hosts (127.0.0.1). So this is the only way to get it working for me. And as I don't need any other network interfaces, it's not a problem to restart network.
Karl
--
von Karl Reichert
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
More information about the mythtv-users
mailing list