i'm trying to setting up a Fake Ap with an Asus EEEPC 1000HE, Backtrack 4 and a huawei e169 internet key.

I followed the g0tmi1k method and i can make it work with the ethernet connection.

Now i'm trying to use the ppp0 over the internet key but when i change the following command

iptables -t nat -A PREROUTING -p udp -j DNAT --to $gatewayip
iptables --table nat --append POSTROUTING --out-interface $internet_interface -j MASQUERADE
i set internet_interface to ppp0
and the gatewayip is giving me all the trouble because i cannot get anywere the the gateway ip that the internet key is using.

Anyone can help me to use ppp0 instead of eth0 so i can use the fake ap without my home connection?

thanks a lot!