Qt Mobile Hotspot

Turn your N900 into a Wifi/USB hotspot ! This application allows you to use your N900 as a Wifi/USB access point. So far the following configurations are possible : * PC -> Wifi (Ad-Hoc) (Open/WEP) -> N900 -> Internet@2G/3G * PC -> USB (No-mode) -> N900 -> Internet@2G/3G * PC -> USB (No-mode) -> N900 -> Internet@Wifi The internet access can also be disabled, transforming the N900 into a simple local server. Warning : ONLY FOR POWER USERS ! IT IS A WORK-IN-PROGRESS ! The power kernel is required. If you do not know what it is, stay away from this software. You should also know how to reflash your device. And please : READ ALL THE NOTES BELOW. Wifi Hotspot howto : - Recommended : Connect your N900 to your computer using USB, because Ad-Hoc Wifi + 3G costs a lot of power - Choose Wifi in the mode list - Go to the Wifi configuration window, and setup AP name, encryption (5/13 length) and optional MAC address and driver auto-restart - Go to the Network configuration window, and setup your GPRS connection and 2G/3G switcher - Configure plugins if you wish, by taping the application title-bar - Start the hotspot - Connect your PC to your N900's Wifi network - Stop the hotspot once finished USB Hotspot howto : - Windows users should use first the Windows USB Setup Assistant available by taping the title-bar - Disconnect your N900 from your computer, ensure that it isn't in any USB mode (a reboot may be needed in some extreme cases) - Select USB in the mode list - Go to the Network configuration window, and setup your Wifi/GPRS connection and 2G/3G switcher - Configure plugins if you wish, by taping the application title-bar - Start the hotspot, wait for the success notification - Connect your N900 to your PC -- Windows users : everything should be fine if the USB networking driver is installed correctly -- Linux users : some distros do things automatically, some do not, here are some commands in case you need them (tested on a debian squeeze, run them as root) : --- dmesg # show device messages, should tell you if your device is recognized --- ifconfig usb0 up # enable the usb0 network interface --- dhclient -v usb0 # ask for an IP over the usb0 interface, client will stay running in the background and will ask IPs when needed --- route # display routes, a default one should go through the usb0 interface --- ping 8.8.8.8 # (or any IP address) if it does work, you are connected to the internet --- nslookup example.com # (or any website) if it does work, dns resolution is working --- ifconfig usb0 down # disable the usb0 network interface - When you have finished, disconnect your N90300 from your PC, and stop the hotspot (it is better to respect this order) Now featuring : - Wifi Ad-Hoc hotspot (AP name, encryption (WEP/not-encrypted), MAC address (normal/custom/random), Wifi driver auto-restart can be changed) - USB hotspot in USB No-mode (no PC-Suite, no mass-storage, this is important) - Enable/disable internet sharing - Change LAN ip (/24 network is forced, thought) - Automatically change of the 2G/3G enforcement at hotspot startup (it is restored at shutdown) - A post-exec script should detect common problems (wlan driver not loaded, wlan still in ad-hoc mode, wlan down when it is supposed up, no usb or wrong usb module loaded, remaining processes) and solve them after application termination - Some plugins -- Networking fixer (tools for fixing slowdown problems : disable Wifi power-saving (see warnings below), keep Wifi interface up if it goes down) -- Iptables tweaker (add your own iptables rules) -- MAC filter (allow/disallow MACs, may be good for keeping your little brother away from your network) -- DNSMasq tweaker (change DHCP domain and range, enable/disable reading of /etc/hosts, use a custom DNS/DHCP table - may be useful for DNS filtering) -- Embedded Privoxy (for client user-agent editing / proxy-forwarding / content-filtering, may help you into bypassing the user-agent-based filtering used by some phone ISPs) -- Notes -- * This application cannot work with the bleeding-edge wifi driver (the phone reboots when hotspot is started). * Having the hotspot enabled requires a lot of power. Do not undervolt your N900 too much (better, don't undervolt it at all). You should also stop the hotspot as soon as you do not need it anymore. * If you experience a weird system experience after closing the application, a reboot should solve things. * Since version 0.3.3, the application uses available connections instead of saved ones. This may require you to re-select your internet connection if you move to a different place (connection may look the same, but its ID may be different). * Since version 0.3.1, the application uses the g_ether module instead of g_nokia for USB hotspot. It requires you to connect your N900 to your PC in no-mode (no pc-suite, no storage-mode). * The included Windows driver is not designed for PC-Suite mode. It is for the g_ether module which is used by Mad Developper and qtmobilehotspot. * The included g_ether driver for Windows has not been tested against all versions ! Tested architectures are so far : XP-x86, W7-x64. * Disabling Wifi power-saving is done by editing the saved connection (as if you disabled it manually in the hildon control-panel) before connecting to the Wifi access point. * Power-saving is restored when the connection to the access point is effective (or failed). If a crash occurs before this, the default power-saving setting will become 'disabled'. You can change it back to Maximal by using the hildon control-panel. * WEP encryption in ad-hoc mode has been reported to work better with Linux machines than with Windows ones * When using custom / random MACs, the original one is restored at hotspot shutdown. If the hotspot crashes, it will not be restored thought. * The network automatic scan is disabled when the hotspot is started. If you do not stop the hotspot correctly, the scan will become disabled by default. You can get it back using hildon control-panel. Available languages : EN, FR Credits : Eero af Heurlin for the first MobileHotSpot & Robin Lundgren for the icon Want to debug / understand something : run /opt/qtmobilehotspot/util/start.sh in a user terminal (prepare for onscreen spam thought)
Section:
user/network
Maintainers:

Releases

RepositoryLatest version
Fremantle Extras-devel free armelqtmobilehotspot 0.3.5
Fremantle Extras-testing free armelqtmobilehotspot 0.3.5

Changes

VersionChangesAuthorDate
0.3.5 * Update of the application
   - Post-exec script now runs all the scripts located in /opt/qtmobilehotspot/util/systemprotection.d
   - Wifi configuration now includes MAC changing (normal/custom/random)
   - Re-added the Windows USB Setup Assistant (before it was a plugin)
   - Re-added the 2G/3G switcher (before it was in a plugin)
* Plugins
   - Increased interface version from 0.1.2 to 0.1.3
   - Plugins can now provide some important services to the hotspot (eg : DNS-DHCP server)
   - New : DNSMasq
   -- Settings for the DNSMasq DNS/DHCP server (DHCP domain & range, read/not-read hosts file, DNS/DHCP table)
   - Networking Fixer updates :
   -- Removed the 2g/3g ping function
   -- Removed the 2g/3g switcher (moved back to the application)
   - Removed : Windows USB Setup Assistant (moved back to the application)
Loic Burtin2011-11-21 21:00 UTC
0.3.4 * Update of the application
   - Preinst / Postinst scripts changed
   -- General cleanup
   -- Configuration will not be reset after upgrading the application but only after removing it (for versions >=0.3.4, versions <0.3.4 will have their configuration removed when upgrading to 0.3.4)
   - Graphical UI changes :
   -- Added a language selection dialog, it should be shown when the program is started for the first time
   -- Now using Maemo5 stacked windows (before there were only dialogs)
   -- Plugins can now be controlled in a dedicated window available by taping the menu bar (before there were entries for each plugin in the menu bar)
   - Various changes :
   -- Removed the embedded Windows USB Setup Assistant (it is now a plugin)
   -- Removed the 2g/3g switcher function (moved to Networking Fixer plugin)
   - Bug fixes :
   -- Postinst script did not give privoxy.executable runnable permission due to a typo error (no problem at runtime thought)
   -- Refresh button in internet access window can no longer be clicked while a scan is already running (this was generating an error and causing the display of saved connections)
* Plugins
   - Increased interface version from 0.1.1 to 0.1.2
   -- Plugins now have author, contact, description, icon properties
   -- Plugins can now be enabled/disabled while hotspot is running (if the developer implemented it)
   -- Plugins do not need anymore to have an 'enabled' property or a 'reset' method on their GUIs
   - New : Windows USB Setup Assistant
   -- The driver setup assistant which was previously available via the main menu of Qt Mobile Hotspot
   - Networking Fixer updates :
   -- Restored the old power-saving disabling method for USBtoWifi
   --- Improved : Saved-connection's power-saving is disabled before connection establishment, and is quickly restored after it (less risk to see the default parameter staying as disabled)
   --- CAUTION : Power-saving disabling is done by tweaking stored connections. If the application isn't stopped properly, this may become the default parameter. Check your internet connections if this happens
   -- Now handling the 2g/3g switcher function
   -- Changed 2g/3g ping on/off duration from 10s/10s to 15s/10s
Loic Burtin2011-10-27 15:20 UTC
0.3.3 * Update of the application
   - Networks list now shows available networks instead of saved ones (those are displayed only if network scanning fails) and can be refreshed
   - Preparation/unpreparation of the WLAN interface now includes reloading the wl12xx driver (can be disabled)
   - Post-exec script now reloads the wl12xx driver if something is detected
   - Bug fixes :
   -- DNS queries are allowed only if internet sharing is enabled (before it was possible to do DNS requests even if internet wasn't allowed, browsing was impossible thought)
* Plugins
   - Increased interface version from 0.1 to 0.1.1
   -- Display of plugins entries when hotspot is running/stopped can be enabled/disabled separately (so now there are less entries while hotspot is running)
   - Networking Fixer updates :
   -- Can now regularly check the state of the WLAN interface in WifiToGPRS, and turn it up if it went down (occurs when an application scans for available networks using ICD2, ex : user lists available connections)
   -- Changed the way WLAN power-saving is disabled in USBToWifi, now it is done by regularly turning it off (before it was done by tweaking saved connections power-saving setting)
   --- This should take some time after hotspot startup (<= 1 minute usually) and requires some activity from the client to be fully effective, but is safer for the end user
   -- Changed GPRS ping on/off duration from 40s/10s to 10s/10s, should reduce ping-spam related problems (may change this later thought)
Loic Burtin2011-10-09 16:00 UTC
0.3.2 * Update of the application
   - When unloading g_ether, switch to g_file_storage (before it was g_nokia, which caused Windows to (try to) install a PC-Suite driver)
   - Power-saving handling removed (moved to a plugin)
   - Added a system checker post-exec script, should solve standard problems due to bad termination (wlan ad-hoc, wlan down, usb modules, remaining processes)
   - Bug fixes :
   -- USB MAC no more changes after updates (should be good for versions >=0.3.2, versions <0.3.2 will have their MAC changed when updating to 0.3.2)
   -- Power-saving disabling for USBtoWifi should work correctly now (it was working only when power-saving for the WLAN interface was disabled before starting)
   -- Corrected 2G/3G switcher (was always switching to Double if the current mode was the same as the one we wanted to get)
   -- Fixed crash which occured after closing the networking GUI when there was 0 element in the list
* Plugins
   - New : Networking Fixer (disable Wifi power-saving, regularly ping a server while on gprs)
   - Iptables tweaker updates :
   -- It is now possible to load/save rules from/to files
   - MAC filter updates :
   -- It is now possible to load/save configuration from/to files
   - Embedded Privoxy updates :
   -- The port can be changed (8118 is the default)
   -- The default action files (default.action, match-all.action) can be enabled, the files qtmh.action.qtmh & user.action will always be used
   -- Proxy forwarding is possible for all Privoxy traffic (ip:port can be set, default is 127.0.0.1:10000)
Loic Burtin2011-10-04 19:13 UTC
0.3.1 * Update of the application
   - USB hotspot now uses the g_ether module instead of g_nokia (like Mad Developer). This should make USB networking easier
   -- In consequence the USB hotspot now requires No-mode, unlike before when it was PC-Suite
   - Added a setup-assistant for installing g_ether driver on Windows
   - Added the g_ether driver for Windows in /opt/qtmobilehotspot/docs folder and MyDocs/QtMobileHotspot-Driver (extracted from MADDE, see related wiki entry)
   - The USB interface's MAC is now fixed to a random value generated the first time qtmobilehotspot is started (it will stay even if the program is updated)
* Plugins
   - Privoxy : util folder cleanup (moved files to util/qtmhprivoxy), added templates
Loic Burtin2011-10-02 21:20 UTC

Package events

PackageRepositoryEvent typeUserTimestamp
qtmobilehotspot 0.3.5Fremantle Extras-testing free armelPromotion unlockedSystem2012-01-30 21:07 UTC
qtmobilehotspot Fremantle Extras-testing free armelOld version cleaned by repository managementSystem2011-12-03 01:46 UTC
qtmobilehotspot Fremantle Extras-devel free armelOld version cleaned by repository managementSystem2011-12-02 22:53 UTC
qtmobilehotspot Fremantle Extras-testing free armelPackage is in testingSystem2011-12-02 14:47 UTC
qtmobilehotspot Fremantle Extras-devel free armelPackage importedSystem2011-12-02 14:45 UTC
qtmobilehotspot 0.3.5Fremantle Extras-testing free armelPackage is in testingSystem2011-11-24 16:46 UTC
qtmobilehotspot 0.3.5Fremantle Extras-devel free armelPackage promotedLoic Burtin2011-11-24 16:27 UTC
qtmobilehotspot 0.3.4Fremantle Extras-devel free armelOld version cleaned by repository managementSystem2011-11-22 01:45 UTC
qtmobilehotspot 0.3.5Fremantle Extras-devel free armelPackage importedSystem2011-11-21 21:42 UTC
qtmobilehotspot 0.3.5Fremantle Extras-devel free armelBuild succeededSystem2011-11-21 21:16 UTC
qtmobilehotspot 0.3.5Fremantle Extras-devel free armelBuildingSystem2011-11-21 21:14 UTC
qtmobilehotspot 0.3.3Fremantle Extras-devel free armelOld version cleaned by repository managementSystem2011-10-27 20:14 UTC
qtmobilehotspot 0.3.4Fremantle Extras-devel free armelPackage importedSystem2011-10-27 16:12 UTC
qtmobilehotspot 0.3.4Fremantle Extras-devel free armelBuild succeededSystem2011-10-27 15:42 UTC
qtmobilehotspot 0.3.4Fremantle Extras-devel free armelBuildingSystem2011-10-27 15:40 UTC
qtmobilehotspot 0.3.2Fremantle Extras-devel free armelOld version cleaned by repository managementSystem2011-10-09 20:47 UTC
qtmobilehotspot 0.3.3Fremantle Extras-devel free armelPackage importedSystem2011-10-09 16:44 UTC
qtmobilehotspot 0.3.3Fremantle Extras-devel free armelBuild succeededSystem2011-10-09 16:11 UTC
qtmobilehotspot 0.3.3Fremantle Extras-devel free armelBuildingSystem2011-10-09 16:10 UTC
qtmobilehotspot 0.3.1Fremantle Extras-devel free armelOld version cleaned by repository managementSystem2011-10-05 01:47 UTC
qtmobilehotspot 0.3.2Fremantle Extras-devel free armelPackage importedSystem2011-10-04 21:42 UTC
qtmobilehotspot 0.3.2Fremantle Extras-devel free armelBuild succeededSystem2011-10-04 21:22 UTC
qtmobilehotspot 0.3.2Fremantle Extras-devel free armelBuildingSystem2011-10-04 21:20 UTC
qtmobilehotspot 0.3Fremantle Extras-devel free armelOld version cleaned by repository managementSystem2011-09-29 03:45 UTC
qtmobilehotspot 0.3.1Fremantle Extras-devel free armelPackage importedSystem2011-09-28 23:43 UTC
qtmobilehotspot 0.3.1Fremantle Extras-devel free armelBuild succeededSystem2011-09-28 23:02 UTC
qtmobilehotspot 0.3.1Fremantle Extras-devel free armelBuildingSystem2011-09-28 23:00 UTC
qtmobilehotspot 0.2Fremantle Extras-devel free armelOld version cleaned by repository managementSystem2011-09-25 21:16 UTC
qtmobilehotspot 0.3Fremantle Extras-devel free armelPackage importedSystem2011-09-25 17:13 UTC
qtmobilehotspot 0.3Fremantle Extras-devel free armelBuild succeededSystem2011-09-25 16:55 UTC
qtmobilehotspot 0.3Fremantle Extras-devel free armelBuildingSystem2011-09-25 16:54 UTC
qtmobilehotspot 0.2Fremantle Extras-devel free armelPackage importedSystem2011-09-21 23:41 UTC
qtmobilehotspot 0.2Fremantle Extras-devel free armelBuild succeededSystem2011-09-21 23:03 UTC
qtmobilehotspot 0.2Fremantle Extras-devel free i386Build failedSystem2011-09-21 22:19 UTC
qtmobilehotspot 0.2Fremantle Extras-devel free armelBuild succeededSystem2011-09-21 22:19 UTC
qtmobilehotspot 0.2Fremantle Extras-devel free i386Build failedSystem2011-09-21 21:59 UTC
qtmobilehotspot 0.2Fremantle Extras-devel free i386BuildingSystem2011-09-21 21:58 UTC
qtmobilehotspot 0.2Fremantle Extras-devel free armelBuild succeededSystem2011-09-21 21:57 UTC
qtmobilehotspot 0.2Fremantle Extras-devel free armelBuildingSystem2011-09-21 21:56 UTC