View Full Version : Sharing wifi (over ethernet)
zlx
2008-03-24, 05:02 PM CDT
I was wondering (and this might sound stupid) if there is a way to share the wireless internet on my laptop to my pc via an ethernet port here is my setup:
http://img72.imageshack.us/img72/7015/10870487vl3.jpg
Zero-Override
2008-03-24, 05:10 PM CDT
should be doable through iptables forwarding ;) i'm no expert on the matter though so i can't help you a lot further, but now you have something to read into ;)
basics will be that anything coming from eth0 should be forwarded to wlan0 or something close to that ;)
zlx
2008-03-24, 05:45 PM CDT
Ill have a look around see if I can find anything useful thankx the help :)
zlx
2008-03-24, 06:03 PM CDT
I found a program called firestarter which seems to be able to do it easily, just trying it out now
stevea
2008-03-24, 06:04 PM CDT
I assume you want to directly connecting tower2 to the laptop and the laptop to the wireless router.
Your laptop has to forward tower2 traffic to/from the Linksys shown.
I think you can just create a bridge (logical hub) on your laptop using the brctl command and package.
Use the "brctl addif ..." command to add both interfaces while up but unassigned.
You won't easily be able to easily use NetworkManager or other wireless tools with this config but ...
zlx
2008-03-24, 06:29 PM CDT
I found some info on the brctl stuff here http://tldp.org/HOWTO/Ethernet-Bridge-netfilter-HOWTO-3.html
however im having some trouble with the command;
bash: brctl: command not found
I checked and I have bridge-utils installed, is there something else im missing?
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.