Ubuntu: wireless network with wpa encryption

Ubuntu: wireless network with wpa encryption

Ubuntu: wireless network with wpa encryption 150 150 Roderick Derks

In the taskbar on the right upper side you can find a network connection icon. Check it's options, we' re gonna change these.

Fist uncomment all the settings in the following file:
Code:

# sudo vi /etc/network/interfaces

Restart network: now you lost all your network connections:
Code:

# sudo /etc/init.d/networking restart
# sudo ifconfig eth0 down
# sudo ifconfig eth1 down
# sudo /etc/init.d/dbus restart
# sudo ifconfig eth0 up
# sudo ifconfig eth1 up

In the taskbar on the right upper side you can see that the network connection icon has got other/more options. You can make a connection now to your network using this tool.

You have to enter the WPA key once, this will be saved in the Keyring Manager software (in the system menu). Keyring Manager needs your user password every time you log in and want to start the wifi network. How can we prevent this? To exchange the login password between the network software and the Keyring Manager software download the libpam-keyring package:
Code:

# http_proxy="http://proxy.server.nl:8080" sudo apt-get install libpam-keyring

# sudo vi /etc/pam.d/gdm
@include common-pamkeyring

You can also do this for your screensaver:
Code:

# sudo vi /etc/pam.d/gnome-screensaver
@include common-pamkeyring

Credits go to Hein-Pieter.

Roderick Derks

Liefhebber van fietsen, van het oplossen van IT puzzels, en van het delen van informatie om anderen te helpen.

All stories by:Roderick Derks

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Your Name (required)

    Your Email (required)

    Subject

    Your Message

      Your Name (required)

      Your Email (required)

      Subject

      Your Message