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 an old laptop running Ubuntu 10.10 (server edition) that I want to connect to the Internet, but it's Wireless card isn't working properly, so on the recommendation by a friend, I tried to connect to my Desktop (Windows XP) through Ethernet, and connect to the Internet through that, but the old guides I can find are for the Desktop edition of Ubuntu (e.g. GUI-based), and I don't know enough about the Terminal to figure it out on my own.

Are there any good guides then, on how to configure Ubuntu to connect like this, strictly through Terminal commands?

share|improve this question
Do you want to give the laptop internet connection from the desktop or the opposite? –  Oxwivi Apr 2 '11 at 6:27
Give the laptop (Ubuntu) the Desktop (Windows) connection. –  Alexander Apr 2 '11 at 20:40
So you want to give the laptop internet from Windows. You need two network adapters on the desktop - one for receiving internet connection from your adapter (wire or wireless) and the other for the wired connection to laptop. –  Oxwivi Apr 3 '11 at 6:21
The desktop has a dedicated Wireless card, and then an internal Ethernet card. I'm more looking towards instructions on connecting to the network from Ubuntu, via terminal though. –  Alexander Apr 3 '11 at 6:53
In my experience, any ethernet plug supplying internet connection is automatically configured on connection. But if you want to set up a server accessible by Windows, you need to install samba and configure it accordingly. –  Oxwivi Apr 3 '11 at 7:47

3 Answers 3

up vote 0 down vote accepted

Ubuntu should be able to connect through the other computers connection by default, provided that the other computer is configured, and they are both connected via LAN, or a direct connection.

share|improve this answer

I don't know how to solve this completely, but as a workaround you could set up a proxy server on the Windows machine. Then, configure your network-aware programs on the Ubuntu machine to use the proxy server.

share|improve this answer

If your ubuntu machine has the internet connectivity:

  1. right click the network manager applet.
  2. go to "edit connections".
  3. In the wired tab select the the ethernet connection between the two comps that should be there if you've
  4. connected the computers with the cable.
  5. click 'edit'.
  6. under ipv4 settings, change dhe method to "share with other computers"
share|improve this answer
I don't have access to a GUI. I'm running the Server Edition. –  Alexander Apr 2 '11 at 20:03

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.