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

The reply at How do I install drivers for the Atheros AR8161 Ethernet controller? probably helps me. I have a Toshiba S855, bought yesterday.

lspci -vv | grep Atheros command from the terminal shows me I have the AR8161 Gigabit Ethernet controller (rev 10)

However the answer sudo apt-get install ... requires an internet connection. How can I, using another machine, capture the necessary information on that other machine to copy across to the crippled machine, and then how do I build from there.

Thanks in anticipation

share|improve this question

I have a machine with disabled ethernet and wifi because of drivers...

The method I use (and am about to use again) is to find the url of the file it's attempting to download and download it using a different machine, then I copy the file back over using a usb stick and place it in the cache directory for installation.

Full instructions:

sudo apt-get install foo


sudo jockey


wget foo

With the wget instruction you can just copy the url without running the command, for the others you should attempt the copy the urls from the output. If it helps, save them to a text file on your usb stick.

You can use wget or firefox to download the urls on a working machine:


Then save them all to a usb stick and place on the target machine:

sudo cp /media/MyUSBStick/*.deb /var/cache/apt/archives/

When you run the apt-get or jockey command again, it should then just use the archived version.

I understand that these instructions are not explicit, though I'm hoping you get the idea enough to be able to install whatever you need when ever you have a machine without an internet connection.

share|improve this answer

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.