Type the following commands in the System where internet is available
$ sysctl -w net.ipv4.ip_forward=1
$ iptables –table nat –append POSTROUTING –out-interface ppp0 -j MASQUERADE
Next command is issued in the client system
// Assigning gateway address
$ route add default gw [ip_of_system_having_net]
for example route add default gw 192.168.1.1
how to configure wifi in linux debian5
Comment by Omal Bastin — April 30, 2010 @ 7:41 pm |