Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My parents were having continuous trouble with Windows Vista. The problem was that Vista refused to connect to the wired network set up for them, and if it did it would only last for a day or two and then quit. Finally yesterday it quit connecting completely no matter what I did, so I took the initiative to install Ubuntu onto their computer.

(Needless to say, they love it since I installed a Mac OSX theme and Docky :].)

The wired network connects just fine but I have to manually connect to it via the launcher bar up top every time it boots up. This wouldn't bug me if it was my computer but I don't want my parent's to have to remember how to connect each time, any help?

share|improve this question

Ubuntu used to have a hard-coded default state for wired ethernet which has vanished from recent releases in favour of letting Network Manager, erm, manage the network.

You can usurp Network Manager, restoring the old behaviour by running sudoedit /etc/network/interfaces and appending:

auto eth0
iface eth0 inet dhcp

That assumes your network adapter lives at eth0 (ifconfig -a can tell you if this is the case).

Save and restart. If the network springs into life, hooray. If it doesn't and/or Network Manager's applet starts popping veins, revert the edit and find a better solution.

share|improve this answer

You can create a start up script like this:

1) Create a file

gedit ~/  

2) Paste this into the file

# to connect after login
sleep 5 && nmcli con up id 'name_of_connection'

3) Save the file

4) Add permission to execute

 sudo chmod +x ~/

5) Add to startup applications


Enjoy ;-)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.