Skip to main content

Tethering or how to use your android as an internet modem

Did you know that you can use your android mobile phone as an internet modem?

This can be handy when you are in a spot where there is no internet connectivity through wifi, for instance in a hotel.

Just follow these simple steps:

  1. Install Proxoid from the marketplace
  2. On your android go to Menu - Settings/Instellingen - Applications/Toepassingen - Development/Ontwikkeling and enable USB debugging/USB foutopsporing
  3. As root on your pc, connect your phone with USB, type 'lsusb' and note the ID number for your phone. There will be two 4-digit numbers
  4. Again as root, create a file called '/etc/udev/rules.d/11-android.rules' and fill it as follows:
SUBSYSTEM=='usb',
SYSFS{idVendor}=="0bb4",
SYSFS{idProduct}=="00ff9",
MODE="0666",OWNER="yourname"

replacing the 2 numbers and your username

Next:

  1. Install the Android SDK. Preferably through your packagemanager, or download from 'developer.android.com/sdk'. Extract the tarball to your homedir
  2. Reconnect your phone.
  3. Then, goto the 'andriod-sdk-linux_86/tools' directory and run './adb forward tcp:8080 tcp:8080'.
  4. Start Proxoid on your android
  5. Configure your browser to access the internet through a proxy called 'localhost' on port 8080 and your done!

If you want to stop using your phone, simply turn off the proxy in your browser