wireless internet sharing between Debian and a pda
I'm running a Debian 3.1, and I've just installed and configured a Wifi Card (Motorola wn825g) as Ad-Hoc to share my internet connexion with my PDA.
my debian box is connected trought eth0 which is wired and proxied (<- it's a residential connexion) , my Wifi's interface is wlan0.
I've typed an "ifconfig wlan0 192.168.1.1" and I put on my PDA "192.168.1.2" as ip adress and "192.168.1.1" as gateway.
When I ping my PDA from my Debian box , it works.
From my PDA I can type on the browser "http://192.168.1.1" so I can check my website (on my laptop) and it works.
But unfortunately nothing else works on my PDA, so it's still not connected:???:
I've googled several keywords and I've learned that an iptable command can solve this problem.
I've tried: "iptables -t nat -A POSTROUTING -o eth0 -s 192.168.1.0/2 -j MASQUERADE"
but nothing happens.
I would appreciate your help guys ! :)
thank you for giving me some of your precious time.