1

I have a desktop system running Ubuntu 10.10. It has no wireless card just a wired Ethernet card.

I have a Thinkpad T42 laptop running Ubuntu 10.10 in the same room as the desktop. It uses its wireless connection to connect to a wireless access point in another room. The wireless access point provides internet access to the laptop.

Is there anyway to create a wired connection between the desktop and the laptop so that the desktop can connect out to the internet through the laptop?

htorque
  • 64,798

2 Answers2

2

I did this not that long ago for my brother when I set up Ubuntu 11.04 on his desktop and used an Ethernet cable between his machine and my Ubuntu 11.04 laptop, so his desktop could use my laptop's wireless. It was all GUI too, and required no extra packages or anything.

Unfortunately, I can't find the original source of my solution, but this post for how to do it in Ubuntu 9.10 should work just as well, it seems familiar. Basically, you just need to go to your network connections on your laptop, open Edit Connections..., click your wired Ethernet connection, and under IPv4 settings set the Method to "Shared to other computers". Then click Save and reboot your machine for it to take effect.

  • Also, just ran across this YouTube video showing how to do this. The guy's trying to share his connection to his Xbox in it, but it's pretty much the same task and same result. It really is pretty quick and simple to set up. – Knowledge Cube Sep 24 '11 at 23:59
0

It would be a bit tricky but it could work. You would need to set the default gateway to your primary router, bridge your LAN to your WLAN, make sure DNS is a match on the desktop and laptop. Pretty sure I'm missing a few steps, but it gives you a general direction.