How do I automatically connect to a wireless network with auto-login?
Solution 1:
There are two ways to do that:
- Remove Password and Encryption Keys (
seahorse
), the program responsible for keyrings. - The alternative is to edit your wireless connection, and tick the last checkbox to make it available for all users. In this case, the network will be connected to before signing in, at the login (if there are multiple users or the only user account is password protected).
Of course, the second method is preferable if you still have uses from GNOME-Keyring.
Solution 2:
Solution 2) works fine but has an disadvantage:
only 1 Wifi network can be marked as "available for all users". If you want to connect to another Wifi, you will be prompter for password each time you connect.
I found following solution.
Config (for reference):
- Ubuntu 10.04 Lucid, localized to Slovak language
- Autologin
- Unsafe keyring (no password)
Procedure:
mpilka@mpilka:~/.gnome2/keyrings$ rm -f default
mpilka@mpilka:~/.gnome2/keyrings$ mv predvolený.keyring login.keyring
Both autologin and NetworkManager remembering passwords now works.
Edit: "predvolený" translates to "default" in English.