I have been written about a piratebox.
So, this is my implementation for Maemo devices: nokia n900 and n810.
You do not need to carry heavy suitcase anymore.
What to do:
This manual explains how to turn your N810 or N900 Maemo device into a PirateBox.
Install web server
Basicly what we need is a web server and wireless-tools.
apt-get install lighttpd wireless-tools
I also edited the server’s config file
and changed document root directory to /media/mmc1/www
server.document-root = "/media/mmc1/www/"
put your website data there and start http server if it’s not started.
Start access point
So, dnsmasq is available in maemo out of the box. It is a dns and dhcp server. As a root, start the following script:
#!/bin/bash set -x IFACE=wlan0 ESSID=welcome_to_norayrs_mobile_server #set this yourself MYTEMPHOSTNAME=maemo ADDR=22.214.171.124 NETMASK=255.255.255.0 ADDR_MIN=126.96.36.199 ADDR_MAX=188.8.131.52 INT=1 ifconfig $IFACE down sleep $INT iwconfig $IFACE mode ad-hoc sleep $INT ifconfig $IFACE up sleep $INT iwconfig $IFACE essid $ESSID ifconfig $IFACE $ADDR netmask $NETMASK up /usr/sbin/dnsmasq -i $IFACE -a $ADDR -I lo -z -d -x /var/run/dnsmasq.$IFACE.pid --dhcp-range=$ADDR_MIN,$ADDR_MAX,12h --address=/#/$ADDR --no-resolv
option is used in order to forward all the requests (i. e. to google or facebook) to the local web server.
This is it, now anybody can connect to your access point, type any address in the browser’s address bar, and see your personal PirateBox on your n900 or n810 running under maemo
This manual is also available at maemo wiki
Upd: I also found other implementation for n900, however it requires custom kernel. This solution is much simpler and works with maemo default kernels.