Linux Blog

Connect to Wireless using NetworkManager

Filed under: Linux Video Tutorials,Quick Linux Tutorials — at 12:01 am on Wednesday, September 29, 2010

Here’s an old video I made that demonstrates how to connect to a wireless network using NetworkManager.

Disclaimer: This video is over a year old.


I’m going to show you how to connect to a wireless network using Network Manager. Network Manager comes on most modern Linux distributions. I’m using Gnome on Fedora at the moment, so I’m going to get it started.
First of all if you don’t have it started at startup you just type:

sudo /sbin/service NetworkManager start

and its started.
Then its going to find networks, it always finds open ones first. It takes a second to initialize, so lets see what we come up with. Linksys first, that’s an open wireless network. We’ll give it a couple more seconds to initialize the rest of them. I know there is about six or so.
We can do a scan with iwlist:

iwlist wlan0 scanning

and see what we find. You can see there are a couple there, there’s Linksys it should have found them by now.
There we go. So to connect to it, its real easy you just click it and it will ask you for the password, if you haven’t connected to it before and if you have then it wont. It will say connection established, that’s how easy it is to connect with NetworkManager. It really takes some of the hassle out of configuring wireless and it saves your settings which is real handy. To edit it just right click Edit connections, go to wireless and there you have it, you can choose to connect automatically setup your security or DHCP settings. Really handy great too, takes a lot of the hassle out of using iwconfig by hand, so yea if you don’t want to configure it by hand the way to do it is by using NetworkManager.