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?

  • 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

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"
| improve this answer | |
  • I don't have access to a GUI. I'm running the Server Edition. – Alexander Apr 2 '11 at 20:03

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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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