Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have Ubuntu 12.04 LTS installed through Wubi on a Windows 7 machine, and I use a wired internet connection through a router.

Every time I load Ubuntu, I have to go through the command line to re-establish my connection. I use, sudo ifconfig eth0 up and then sudo dhclient etho.

I have DHCP set up on my router and have no issues while in Windows.

I've tried editing the connection using the manual option and that doesn't work at all.

While typing those few commands works, I'd like to find a way to get it to connect automatically.

I'm new to Ubuntu and am not quite sure what info you may need, so please ask.

share|improve this question
add comment

Your Answer


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

Browse other questions tagged or ask your own question.