Re-enable network manager

Asked by Willempje

I tried to set up static networking as per the general description. (update-rc.d -f NetworkManager remove), but failed to get static networking to function at boot. I can get it up manually with ifconfig eth1 up. I guess there is a typo in my changes.

For now I'd just like to switch on the NetworkManager again so my GF can use the computer. What runlevels must the NM be added to (I'm not really comfortable with the update-rc.d script yet).
Thanks for listening.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu network-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Willempje
Solved:
Last query:
Last reply:
Revision history for this message
Willempje (oldemanw) said :
#1

Ok, I managed to fix the static IP.

The clue was bringing up the interface automatically in /etc/network/interfaces by adding a line:

willem@hotpop3:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0

auto eth1 <=== this is the line that needed to be in place for the interface to come up
iface eth1 inet static
address 192.168.1.3
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254

Question remains:
After taking out NetworkManager, how to re-enable it?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2

I found network-manager has some bugs
I have a network issue like your and i have installed wicd to resolve it. Wicd is a different network tool.

http://wicd.sourceforge.net/ and some screenshot http://wicd.sourceforge.net/screenshot.php

How to install wicd

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(if the system ask you for a password give your user password, you will not see nothing when you type it, then press enter)

wget -q http://apt.wicd.net/wicd.gpg -O - | sudo apt-key add -

Add the wicd repository row to your /etc/apt/sources.list, type:

sudo gedit /etc/apt/sources.list

and add this row:

deb http://apt.wicd.net intrepid extras

save close and exit. Then type:

sudo apt-get update
sudo apt-get install wicd
sudo killall nm-applet

To manually run the wicd-client please press Alt+F2 on an empty desktop and insert this command:

wicd-client

configure your connection. Then reboot your pc.

Hope this helps

Revision history for this message
Willempje (oldemanw) said :
#3

@Marcobra: Thanks for the answer :-)
However, I'll stay with static networking for now, as I'm not too keen on using repositories from outside the Ubuntu development...

Thanks for willing to help out.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

By the way you you want to reinstall re enalbe network-manager you must simply do this:

sudo apt-get --purge remove wicd
sudo apt-get --reinstall install network-manager

then to reboot the pc, type:

sudo reboot

Hope this helps

Revision history for this message
Willempje (oldemanw) said :
#5

Hi Marcobra,

Thanks, that did the trick, just re-install.
Sorry for the late reply, I was tied up :-)

Willem

Revision history for this message
prasannakumaor (kumaorprasanna) said :
#6

Struck up with a great problem:
Just now installed linux9.10, didnt even installed plugins for anything..
My network manager didnt work which was working yesterday..
Please get me away from this problem guys!!!!
I tried above all ideas it didnt work for me!!!!