Stuck with having no internet connection nearby, but 3G via your trusty N900? Not a problem, you can turn your N900 into a moving WiFi hotspot, which will allow you to share your 3G (or maybe GPRS, if you’re really stuck) for the wireless devices to connect. In this post we’ll go through a few ways to do this.
Note: All following methods require you to have kernel-power installed. If you don’t have it, refer to this article in order to install a stable kernel. Do know, that kernel-power is targeted at power-users and if you’re not one, you’re advised to stay away from it’s configuration. Default configs are pretty sane and you shouldn’t experience problems.
GUI Option: QtMobileHotspot
First option is the qtMobileHotspot application. Install the package with:
sudo gainroot; apt-get install qtmobilehotspot
from your X Terminal. Launch the app and you’ll be presented with a menu as on the screenshot above. Now all you have to do is to connect to the 3G/GPRS network and press Start. If you’re confident, you may wish to fiddle around with the settings by pressing the “Wifi…” button near the top. The default password to the hotspot is thirteen zeros (000000000000) and the SSID is N900 Hotspot.
Alternatively, try the paid Joikuspot app from the Ovi Market.
CLI Option: jebba’s Script
Now, an experienced user may go at me and tell that mobilehotspot also has a CLI interface. Well, the script written by jebba and 9000 is far more simple and consumes less power, allowing you to keep your hotspot active for a longer time! Here’s how you set it up:
If you don’t have iptables and wireless-tools, install them with
Download this script to MyDocs, then go to your terminal and run these commands:
cp 52NuntpC.txt /usr/bin/hotspotstart
chmod +x /usr/bin/hotspotstart
After this, run the hotspot by typing in sudo gainroot; hotspotstart into your terminal or bind it to Queen BeeCon/Desktop Command Execution widgets. Again, note that the script must be run as root.
The default SSID is honeypot and the password is also thirteen zeros. You can change them by modifying the ESSID and PASSWORD values in the beginning of the script. Make sure the password is exactly thirteen characters, though, or else it will be rejected.
To turn the hotspot off, simply use any WiFi on/off widget or follow our tutorial on turning WiFi off here.
Have a problem? A suggestion? Leave us a message on our Facebook page, leave a comment or write me an email.