restarting network-manager

August 17, 2013

When you boot up your computer, there are a lot of programs running behind the scenes that start up to govern all sorts of background processes.  Most of these aren’t “programs” that you can open and close, so when something goes wrong with one of them, it’s not as simple as clicking a button to close or restart the service.  These, one of the most vital on a Linux system is network-manager.  This is the service that controls your network connections and gives you a graphical interface to select wireless networks, enter passwords for secured networks, etc.

The other day my network-manager suddenly stopped working.  While I do a lot of networking stuff from the command line, I almost always use the GUI for connecting to and disconnecting from wireless networks.  This time, clicking on “Disconnect” or “Connection information” didn’t do anything.  Luckily, it’s easy to restart the network-manager service if it stops responding for any reason:

Open the terminal and type “sudo service restart network-manager”

It’s as simple as that.  This is also the syntax for restarting most any misbehaving service or program.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: