How do I make Network Manager manage my network again after I manually configured it?

Asked by Allan Caeg

When i chose to configure my network manually, Network Manager stopped managing my network. What do I do to make Network Manager do its job again? :D

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Allan Caeg
Solved:
Last query:
Last reply:
Revision history for this message
Joel Goguen (jgoguen) said :
#1

Press Alt+F2 and in that window type in 'gksudo gedit /etc/network/interfaces' (or 'kdesu kate /etc/network/interfaces' if you're using KDE) and comment out all the lines relating to the network. You'll probably see something similar to this:

auto eth0
iface eth0 inet static
   address 192.168.0.100
   subnet 255.255.255.0
   broadcast 192.168.0.255
   gateway 192.168.0.1

Comment out all those lines (put a # at the start) and it should look more like this:

#auto eth0
#iface eth0 inet static
# address 192.168.0.100
# subnet 255.255.255.0
# broadcast 192.168.0.255
# gateway 192.168.0.1

NetworkManager won't manage any interface uncommented in that file. Don't comment out the lines with 'lo' in them, those are important to have there :)

Revision history for this message
Allan Caeg (allancaeg) said :
#2

I just set my wireless to roaming mode and it worked again!

:D

Thanks for the reply anyway! :)