[Wolves] Wireless on Linux (using it as an AP)

Ron Wellsted ron at wellsted.org.uk
Tue Mar 9 20:57:46 GMT 2004


On Tuesday 09 March 2004 20:07, fr0st wrote:
> Hallo!
>
> I have, Xandros 2 on my PC, which is basically Debian and I have 1 onboard
> Realtek NIC which is configured as eth0 and I also have a NetGear MA311 pci
> wifi card which hasnt been configured but will be.
> I use the range 192.168.2.x at home, which then connects to my gatewate
> which is .1 which is my cable router.
>
> Ok this is what I wanna do, or try to do.. I would like to use my laptop
> downstairs, connect to the PC and then out to the Internet using WiFi, is
> it possible? Anyone know how?
>
> All help appreciated..
>
> - TriG

Assuming that you manage to configure the card and get it working OK, I would 
suggest that you setup the wlan as a totally independent lan say 192.168.0.x 
with your PC as .1 then turn on routing on your PC (IP forwarding).  On a 
live system do this with "echo 1 > /proc/sys/net/ipv4/ip_forward"

Configure the laptop as 192.168.0.10/255.255.255.0 and a GW of 192.168.0.1 
Check you can ping 192.168.0.1 then 192.168.2.1 Use the same DNS server(s) as 
you do on the PC. you should then be able to access the 'net from the laptop.

Once you have reached this stage, turn on wep (better than nothing) using 
iwconfig from wireless-tools

-- 
Ron Wellsted
http://www.wellsted.org.uk
ron at wellsted.org.uk
N 52.567623, W 2.137621




More information about the Wolves mailing list