N900 Ad-hoc WiFi Hotspot

This method works but is not useable for more than a proof of concept because it suffers 40% packet loss at close range between the N900 and the laptop.

On the N900
/etc/apt/sources.list deb http://repository.maemo.org/extras-devel/ fremantle free apt-get install iptables http://wiki.maemo.org/Kernel_Power#Installation_of_the_stable_kernel_from_extras apt-get install kernel-power-settings echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o gprs0 -j MASQUERADE iwconfig wlan0 mode ad-hoc channel 3 ifconfig wlan0 192.168.4.15 up iwconfig wlan0 essid N900
 * 1) connect using GPRS and not a wifi hotspot

On the laptop
sudo iwconfig wlan0 mode ad-hoc channel 3 sudo ifconfig wlan0 192.168.4.14 up sudo iwconfig essid N900 sudo route add default gw 192.168.4.15