Linux – Using a laptop as a wifi adapter for desktop with linux

desktop-computerlaptoplinuxwireless-networking

I have a laptop running Linux Mint 13 with a working wifi card and a desktop with no wifi card running Arch Linux. I temporarily have no access to a Ethernet connection, so I'd like to use my laptop as a wifi adapter for my desktop.

I've done this previously with Windows 7 on both machines, and this question also has instructions for OS X, but is there a way to do this with Linux?

Best Answer

Just set up a bridge between wifi and ethernet in your laptop: http://manpages.ubuntu.com/manpages/saucy/en/man8/brctl.8.html

Then connect your laptop ethernet to the desktop's. An usual patch cable should work.