I am renting a place that only provides internet through wifi. My laptop has no problem connecting, but my desktop doesn't have a wifi card.

I have a Linksys WRT54GX4 router. Is it possible for me to send internet from my laptop to the router, then to the desktop?

I know that the opposite configuration works out of the box, where machines connected to the laptop via AD HOC wireless connection will have internet if the laptop is connected via ethernet cable.

Both machines are running arch Linux.

  • Does your Desktop have an ethernet port on the board or as a card?
    – eyoung100
    Dec 30, 2014 at 18:42
  • It is on the motherboard.
    – Evan
    Dec 30, 2014 at 19:02
  • 2
    Then why not buy an Ethernet cable, and plug the desktop into port one of the router(IIRC it has 4 - All Colored Yellow) ports. If you can't do that, use Tentacle's answer below. Just make sure you buy a well supported dongle. When in doubt, read the manual
    – eyoung100
    Dec 30, 2014 at 19:25

2 Answers 2


There is no need to involve the laptop. Just set up your router as a repeater (google is your friend if you don't know how) or buy a USB wifi dongle and connect directly.


The easiest solution would be to make your router get its Internet connection from wifi and plug an Ethernet cable between your router and your desktop computer.

If you can't do that, you can make your laptop a relay. Plug a cable between your laptop's Ethernet port and your desktop's, or use your router as a switch if you want to be able to connect more than one machine.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .