Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old January 18th, 2007   #1
featherking
Gee! These Aren't Roasted!
 
featherking's Avatar
 
Join Date: May 2006
Location: Salt Lake City
Beans: 210
Ubuntu 6.10 Edgy
HOW TO: Network Manager and New Edgy Install (supports WPA)

This guide was written to help those who cant quite get Network Manager up and running for one reason or another.

(NOTE: This is only tested in gnome but in theory it should work the same in KDE but substitute the package 'network-manager-gnome' for 'knetworkmanger')

(NOTE2: Network Manager doesnt support Static IP's at this time, you will have to either use DHCP or not use NM until static ip's are supported. This includes your ethernet configuration as well..)


My first advice is to check if your wireless card is actually supported by Network Manager by looking here.

Once you have figured out if your card is supported, next we need to install the packages required:

Code:
sudo apt-get install network-manager-gnome network-manager wpasupplicant
(wpasupplicant is only required if you are planning on using WPA encryption)

The easiest way to get NM to start controlling your network interfaces (plural because it will also control your wired connection) is to open up (in gnome, not sure on kde) System > Admin > Networking (the default networking tool) open the properties for all the devices there, whether wired or wireless and in the properties dialog box clear the box that says 'enable this connection'

This should change the output of your /etc/network/interfaces file to read:
Code:
auto lo
iface lo inet loopback
(In theory KDE users could just comment out all the lines in /etc/network/interfaces except for those listed above)

You may need to exit NetworkManager and restart your networking for these changes to take effect by running

Code:
sudo killall NetworkManager
then
Code:
sudo /etc/init.d/networking restart
To bring Network manger back type
Code:
sudo NetworkManager
Now make sure (by right clicking the NM icon) that wireless is enabled, if so, simply left-click the icon to select a nearby network or specify by selecting 'connect to other wireless network' and fill out the information required (encryption type, SSID, TKIP key, etc)

*EDIT* According to snowboard975 and this post an error can occur with the icons preventing NetworkManager from loading display the error:
Code:
The NetworkManager applet could not find some required resources. It cannot continue.
this is fixed by running:
Code:
sudo gtk-update-icon-cache -f /usr/share/icons/hicolor/
Everything should work now.. once you get it going it is pretty reliable, at least for me. Good luck!
__________________
How to Svideo and More on your i945 Chipset
Dell E1405, Intel Core Duo 1.6 GHZ, 512 DDR2, Primary OS - Hardy RC / Secondary OS- XP Home

Last edited by featherking; February 20th, 2007 at 11:56 PM..
featherking is offline   Reply With Quote
Old January 20th, 2007   #2
m.musashi
Dark Roasted Ubuntu
 
m.musashi's Avatar
 
Join Date: Jan 2006
Location: Edge of Time
My beans are hidden!
Ubuntu 9.04 Jaunty Jackalope
Re: HOW TO: Network Manager and New Edgy Install (supports WPA)

Nice how to. Thanks for doing this. I'm sure it will be useful to a lot of people wanting to use this.

I'm still trying to figure out how to add the icon back if it's deleted. Not much luck yet.

EDIT I found it. It seems I managed to delete the notification area. For anyone else that has this problem, right click the panel and choose add to panel. near the bottom of the window that opens is an option for "notification area". Add it and you will be set for not only NM but other notifications.
__________________
Join Team Ubuntu and fold@home.
The most excellent Colorado Ubuntu Local Team

Last edited by m.musashi; January 20th, 2007 at 02:42 AM..
m.musashi is offline   Reply With Quote
Old January 21st, 2007   #3
snowboard975
Just Give Me the Beans!
 
Join Date: Mar 2006
Beans: 51
Ubuntu 6.10 Edgy
According to another thread ( http://www.ubuntuforums.org/showthre...59#post2043859 )
The following code could solve a problem where Network Manager won't start.

Code:
sudo gtk-update-icon-cache -f /usr/share/icons/hicolor/
I think the addition of this material to the HOW TO will be beneficial for many users who are suffering from the problem as I was.
snowboard975 is offline   Reply With Quote
Old February 21st, 2007   #4
featherking
Gee! These Aren't Roasted!
 
featherking's Avatar
 
Join Date: May 2006
Location: Salt Lake City
Beans: 210
Ubuntu 6.10 Edgy
Re: HOW TO: Network Manager and New Edgy Install (supports WPA)

@snowboard975
I have updated the how to with your post just in case someone has that error

I posted this how to a while ago and never saw it actually get posted! Lo and behold, here it is! i apologize to anyone for not being around to answer questions!

*SUBSCRIBED*
__________________
How to Svideo and More on your i945 Chipset
Dell E1405, Intel Core Duo 1.6 GHZ, 512 DDR2, Primary OS - Hardy RC / Secondary OS- XP Home
featherking is offline   Reply With Quote
Old February 22nd, 2007   #5
Falkon MX-5
5 Cups of Ubuntu
 
Join Date: Feb 2007
Beans: 16
Re: HOW TO: Network Manager and New Edgy Install (supports WPA)

Thanks! This is EXACTLY what I needed. Before I was using my own setup with wpa_supplicant, and it didn't like to play well with hidden SSIDs. Network-Manager works just fine. Your how-to worked with XFCE btw.
Falkon MX-5 is offline   Reply With Quote
Old February 22nd, 2007   #6
featherking
Gee! These Aren't Roasted!
 
featherking's Avatar
 
Join Date: May 2006
Location: Salt Lake City
Beans: 210
Ubuntu 6.10 Edgy
Re: HOW TO: Network Manager and New Edgy Install (supports WPA)

@Falkon
Glad you got it working! I always thought there were a ton of NetworkManager how to's, perhaps i was wrong.. At any rate congratulations!
__________________
How to Svideo and More on your i945 Chipset
Dell E1405, Intel Core Duo 1.6 GHZ, 512 DDR2, Primary OS - Hardy RC / Secondary OS- XP Home
featherking is offline   Reply With Quote
Old March 5th, 2007   #7
Rhesuso
First Cup of Ubuntu
 
Join Date: Mar 2007
Beans: 3
Re: HOW TO: Network Manager and New Edgy Install (supports WPA)

Thanks so much for this! It just worked - I've been wrestling with my wireless connection on and off for months and going about it in completely the wrong way. And it turns out the solution was really simple.

Thank you, Thank you, Thank you!
Rhesuso is offline   Reply With Quote
Old March 5th, 2007   #8
featherking
Gee! These Aren't Roasted!
 
featherking's Avatar
 
Join Date: May 2006
Location: Salt Lake City
Beans: 210
Ubuntu 6.10 Edgy
Re: HOW TO: Network Manager and New Edgy Install (supports WPA)

@Rhesuso
Yeah its really not too bad to setup, im not sure why they cant make it more automated. like having it edit the required files on install. But hey, i dont write programs i just use them! again, congrats!
__________________
How to Svideo and More on your i945 Chipset
Dell E1405, Intel Core Duo 1.6 GHZ, 512 DDR2, Primary OS - Hardy RC / Secondary OS- XP Home
featherking is offline   Reply With Quote
Old March 6th, 2007   #9
Viper Daimao
5 Cups of Ubuntu
 
Viper Daimao's Avatar
 
Join Date: Jan 2007
Beans: 20
Ubuntu 8.04 Hardy Heron
Send a message via AIM to Viper Daimao Send a message via MSN to Viper Daimao Send a message via Yahoo to Viper Daimao
Re: HOW TO: Network Manager and New Edgy Install (supports WPA)

I had this working perfectly, but am now having some problems. I'm not sure what caused it, the last changes I made were uninstalling beryl. I upgraded to edgy, but I think it was working after that. I am on a dell inspiron 6000 with intel wireless. I have a linksys wireless router using WPA2, AES+TKIP.

I unplugged my cable modem and put the computer on standby and went to work. I come home start up the computer, and it doesn't connect of course. So I plug the modem back in, but can't get it to connect. The little balls never turn green, stuck on waiting for the shared key. I restart the computer, Restart the router and modem. Still wasn't connecting. I could connect to other networks alright, so I turned off the encryption on my wireless signal, and could connect fine. Then did WEP and it worked, then WPA, then WPA2 and both worked.

So now it works, but it doesn't work automatically. When I start up and sometimes when I come out of standby, it doesn't connect to my network. To get it to connect I click on "connect to other wireless networks" and enter in my networks information again.

Also, dunno if this is related or not, but after upgrading from dapper to edgy, I started having to enter my passkey twice. I think it expired at some point too, and I entered in the same password.

Any help would be appreciated.
Viper Daimao is offline   Reply With Quote
Old March 6th, 2007   #10
featherking
Gee! These Aren't Roasted!
 
featherking's Avatar
 
Join Date: May 2006
Location: Salt Lake City
Beans: 210
Ubuntu 6.10 Edgy
Re: HOW TO: Network Manager and New Edgy Install (supports WPA)

@Viper
Ive never been able to get anything on my computer to work after coming out of standby. Having said that, i have heard about the 'entering your password twice' problem. It seems there is a package that sticks out in my mind called like pam-keyring or something. It is something someone created so you dont have to enter your password at all.

Perhaps if you could install this package your NetworkManager would auto-connect, because you wouldnt have to enter your password at all? Here is a How To that I found searching the forums. Check it out and see if that solves your problem
__________________
How to Svideo and More on your i945 Chipset
Dell E1405, Intel Core Duo 1.6 GHZ, 512 DDR2, Primary OS - Hardy RC / Secondary OS- XP Home
featherking is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:15 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry