Use your Android Phone as a Wireless Adapter for your Computer

So my Linux install going messed up somehow and I was left with no wireless driver installed. I know that you can use Android phones to USB tether mobile data (e.g. 3G/4G/LTE) but I didn’t know that you can do the same over WiFi!

Image

Image

Now while in OSX I’m pretty sure it worked out of the box previously, it seems that you need now need to download the HoRNDIS driver. With Linux (Ubuntu) it worked out of the box and in my previous usage of USB tethering, Windows should work automatically as well.

USB Modem Lock-in: The Reason to buy a 3rd party 3G USB modem

What happens when you put a DST SIM card into a b-mobiled branded TechFaith Flying Angel 46 USB 3G modem as shown below?

You get a bunch of fail as the modem is locked. This is a reason to buy a 3rd party 3G USB modem as it should support any SIM card and thus will be useful for bringing overseas as well. I contacted b-mobile who told me to contact the manufacturer. I tried to email but did not get any response from them. Perhaps it’s round 2 for trying to contact them or try to learn the inner workings for locking and unlocking modems.

Bmobile’s 1st Generation 3.5G HSDPA Modem in Ubuntu/Linux

bmobile's 1st Generation 3.5G HSDPA modem

bmobile's 1st Generation 3.5G HSDPA modem

Ever since I had the opportunity of using bmobile‘s 3.5G modem to get mobile broadband (via Zoom!) I was curious to see whether it would work in Linux. After much testing, I did manage to get it to work but it wasn’t consistent (it only seemed to work when the modem was tied to /dev/ttyUSB0, so I kepted plugging it in and out and redialed to see if it worked).

For the newer bmobile modem check out this page courtesy of @jikam

Test system: Running Ubuntu 9.04.

  1. Get usb_modeswitch (in Ubuntu / Debian you can “apt-get install usb_modeswitch” which makes things much easier)
  2. Get the usb_modeswitch.conf file and put it in /etc/
  3. The modem is identified an Alcatel One Touch X020 / X030 / MDB-100HU / Nuton 3.5G (lsusb will show ) so search usb_modeswitch.conf and uncomment the section for DefaultVendor, DefaultProduct, TargetVendor, TargetProduct and MessageContent

    ########################################################
    # Alcatel One Touch X020 (aka OT-X020, aka MBD-100HU, aka Nuton 3.5G), works with Emobile D11LC
    # Alcatel One Touch X030 (aka OT-X030, aka Nuton NT36HD)
    #
    # Contributor: Aleksandar Samardzic, Marcelo Fernandez

    ;DefaultVendor= 0x1c9e
    ;DefaultProduct= 0x1001

    ;TargetVendor= 0x1c9e
    ;TargetProduct= 0x6061

    # only for reference and 0.x versions
    # MessageEndpoint=0x05

    ;MessageContent="55534243123456780000000000000606f50402527000000000000000000000"

    ########################################################

    to

    ########################################################
    # Alcatel One Touch X020 (aka OT-X020, aka MBD-100HU, aka Nuton 3.5G), works with Emobile D11LC
    # Alcatel One Touch X030 (aka OT-X030, aka Nuton NT36HD)
    #
    # Contributor: Aleksandar Samardzic, Marcelo Fernandez

    DefaultVendor= 0x1c9e
    DefaultProduct= 0x1001

    TargetVendor= 0x1c9e
    TargetProduct= 0x6061

    # only for reference and 0.x versions
    # MessageEndpoint=0x05

    MessageContent="55534243123456780000000000000606f50402527000000000000000000000"

    ########################################################

  4. Do the actual mode switch for the modem to change the device from USB storage to modem mode:
    sudo usb_modeswitch
  5. Create the USB serial device for dial up:
    sudo modprobe usbserial vendor=0x1c9e product=0x6061
    This step created 3 devices (/dev/ttyUSB0, /dev/ttyUSB1, /dev/ttyUSB2) on my system.
  6. Use the Network Manager Applet to configure a new broadband modem connection with the B-Mobile configuration (APN: bmobilewap)

As mentioned this does not work consistently, so if it doesn’t seem to connection try plugging the USB modem out and back in and retry. I will try find a way to get this more consistent, but hopefully this will help those who are trying to get it to work

Using your phone as a modem via USB

image35

Though Bluetooth is a nice wireless way to use your phone as a modem, Bluetooth has it’s issues and sometimes it’s just not worth it when you can connect your phone via USB easily and without fuss. Using a USB cable would ensure faster transfer speeds over Bluetooth, if the maximum Bluetooth speed is capping your speed, and would also utilize less battery from your phone thereby giving advantages if you don’t mind the wires flowing around

Requirements:

  • Ensure your phone is configured to be able to connect to the Internet (example for DSTCom Brunei)
  • Drivers for the phone to be recognized as a modem on your computer (should be on CD that comes with the phone, or in the installed software, or possibly find it online)

Notes:

  • Following guide is done on Windows XP, if you need a Mac version, do lend me your Mac and I can tried make 1 for you =)
  • To obtain maximum connection speeds, the modem’s maximum speed to maximum as detailed here

 

For All Phones

  1. Connect the phone and install necessary drivers to recognize phone as a modem
  2. Open up “Network Connections” in the “Control Panel” and a new connection should be created
    image41
  3. Use that connection and dial *99# to connect to the Internet
     

For Nokia Phones

Continue reading