How can i set my laptop with ubuntu 10.04 to autoconnect to Wi-Fi (with pass, WPA2-Personal), when i on my laptop without asking password on wi-fi?
I wont on my laptop and start surfing without enter pass of my wi-fi.
Do you mean your WiFi key or user password. The key is stored like a password, so if you use auto login, you may need to enter your password to gain access.
You can stop the password request by opening
System->Passwords and Encryption Keys
Select Passwords:Login from the passwords tab
Right click and select change password
Change the password to blank
I wouldn't recommend it, but if you are happy with the reduced security it is OK.
Right click on the networking icon, select "edit connection.." and choose the connection you want to automatically connect with. Make sure the connection has got the password saved (enter it in the security tab), then select "available to all users" (or something along those lines, check box in the lower left) and click apply.
Network Manager will now no longer ask you for a password for this connection. The Gnome Keyring Manager should not ask you either, given you're logged in. If it keeps asking, perhaps another application is requesting a password?
Edit: I just noticed the big check box right under the name of the network, in the "edit connection" dialog, where it says: "Connect automatically". I presume it's enabled. Notice, you can check this box on multiple connections.
You must be logged-in to get a network connection with NetworkManager.
One ugly workaround is to configure the gdm to auto-login, this poses a security threat if someone can physically access your laptop.
System > Administration > Login Screen
Unlock and select "Login as automatically"
You'll want to follow the instructions in this thread -
http://ubuntuforums.org/showthread.php?t=263136
Basically, it comes down to:
1) Generate a PSK via wpa_supplicant
2) Modify /etc/network/interfaces to use your network settings.
A sample:
Do you mean your WiFi key or user password. The key is stored like a password, so if you use auto login, you may need to enter your password to gain access.
You can stop the password request by opening System->Passwords and Encryption Keys
Select Passwords:Login from the passwords tab Right click and select change password Change the password to blank
I wouldn't recommend it, but if you are happy with the reduced security it is OK.
You'll need to provide a bit more information!
Here is my stab at it anyway:
Right click on the networking icon, select "edit connection.." and choose the connection you want to automatically connect with. Make sure the connection has got the password saved (enter it in the security tab), then select "available to all users" (or something along those lines, check box in the lower left) and click apply.
Network Manager will now no longer ask you for a password for this connection. The Gnome Keyring Manager should not ask you either, given you're logged in. If it keeps asking, perhaps another application is requesting a password?
Edit: I just noticed the big check box right under the name of the network, in the "edit connection" dialog, where it says: "Connect automatically". I presume it's enabled. Notice, you can check this box on multiple connections.