LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Wireless laptop used as gateway for desktop PC (http://www.linuxquestions.org/questions/linux-hardware-18/wireless-laptop-used-as-gateway-for-desktop-pc-469199/)

as2100 07-30-2006 06:20 PM

Wireless laptop used as gateway for desktop PC
 
Hey guys,
I have two PCs I'm trying to use to set up a gateway and workstation. One machine is a laptop with a wireless NIC but no HDD. I'm planning on using this machine's wireless NIC as a gateway using a LiveCD. The other machine is a desktop PC with a LAN NIC that I plan on connecting to the laptop's LAN NIC for connectivity, since the laptop will be getting a wireless signal from a wireless router downstairs. but I was wondering if this setup would work:

1. cable modem ->
2. Linksys wireless router (downstairs) ->
3. wireless laptop (the gateway; upstairs, gets connection from the wireless router) ->
4. desktop PC (will have ethernet cable plugged into the laptop gateway for connectivity)

I'm not very familiar with routers.. so I am just curious to know if a setup like this would even be possible. I've heard issues about connecting routers to routers (my laptop gateway to the Linksys router). My plan is to use iptables/chains to set up the forwarding.

Is there a better way to do what I'm trying to accomplish? Else, would this setup be able to provide connectivity to the desktop machine? That's my main goal: provide the desktop PC connectivity while avoiding dropping $50-60 on a wireless PCI NIC for the desktop..

lazlow 07-30-2006 07:51 PM

Newegg has pci nics for under $20. A lot less hassle.

lazlow

TB0ne 07-30-2006 09:36 PM

Quote:

Originally Posted by as2100
Hey guys,
Is there a better way to do what I'm trying to accomplish? Else, would this setup be able to provide connectivity to the desktop machine? That's my main goal: provide the desktop PC connectivity while avoiding dropping $50-60 on a wireless PCI NIC for the desktop..

I'd say just get a wireless NIC for your desktop PC. It will save you lots of headaches. Doing forwarding and DHCP from your laptop will be a pain to set up and get working, and at that point, you're using a $500 laptop to replace a $50 NIC.

A D-Link 802.11b/g card is $35 on Newegg.com. Can probably look around and find similar deals elsewhere.


All times are GMT -5. The time now is 12:30 PM.