Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

I have installed UBUNTU 10.04 dual with my windows 8. but the internet is disabled, both the Ethernet and wireless, I try this link but when type this commands

sudo apt-get update

there are packages that it fails to install

I try to type this command ifconfig , and I see just the lo interface: there is no eth or wlan ?

share|improve this question
Any specific reason you opt/choose the quite out-dated 10.4 version of ubuntu? A thought: maybe 12.04 would not give you the same troubles? – humanityANDpeace Mar 14 '13 at 18:52
I strongly suggest you install 12.04 or 12.10 as 10.04 will be end of life, no longer supported in a few weeks time. Hardware support is improving all the time. Let us know if you are still having issues with either 12.04 or 12.10. – Warren Hill Mar 14 '13 at 18:52
Please provide the results of lspci | grep Ethernet in a terminal in order to see if your Ethernet adapter is being recognized. If you receive no-results then you are experiencing a hardware issue. Thank you. – Geppettvs D'Constanzo Mar 14 '13 at 18:55
ok i will try this ,, but i need to build ANDROID SOURCE on this version is recommended for that – Hanaa Mar 14 '13 at 19:22
@GeppettvsD'Constanzo,,,, i think it is recognized ::this output :: hana@hana-laptop:~$ lspci | grep Ethernet 03:00.0 Ethernet controller: Atheros Communications AR8152 v2.0 Fast Ethernet (rev c1) – Hanaa Mar 14 '13 at 20:00

Check the content of /etc/udev/rules.d/70-persistent-net.rules files to get the names assigned to your network devices by udev. Usually, those should be eth0 for wired and wlan0 for wireless.

Then, put the following content into the /etc/network/interfaces file (replace eth0 and wlan0 names if needed):

auto eth0
iface eth0 inet dhcp

auto wlan0
iface wlan0 inet dhcp

Tha above will work fine if only you have the DHCP server in your network. If no, you can assign static IP address according to the following example:

auto eth0
iface eth0 inet static
share|improve this answer
Welcome to Ask Ubuntu! Please avoid posting the same answer in more than one place. When tempted to do so, typically: (1) it should be customized to account for what is different about the questions, (2) one question should be flagged for closure as a duplicate of another question (you can flag posts with 15 reputation), (3) the answer should really be a comment, or (4) the answer should be posted in the most appropriate place, and one-line comments posted on the other questions summarizing and linking to it. – Eliah Kagan Mar 15 '13 at 8:37

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.