Monthly Archives: June 2010

HUAWEI K3765 and Fonera 2.0N

Recently my ISP has been acting up, so I decided to setup a “backup” Internet connection that I can activate by simply plugging a USB stick into my Fonera 2.0N router.
fonera and huawei k3765
Unfortunately my HUAWEI K3765 3G modem is not compatible with Fonera 2.0N wifi router out of the box, at least not with the current stable version of the firmware (2.3.6.0 aka Gari the Hummingbird).

Here is what I had to do to make the USB modem work with Fonera 2.0N:

  • for some crazy reason, my 3G modem refuses to work on Fonera 2.0N if there are some SMS stored on it. Plug the 3G modem into your PC and remove any SMS you may have received. YMMV.
  • upgrade your Fonera 2.0N to the latest 2.3.6.0 firmware, choosing the “developer” image. You need the developer version to ssh into your Fonera 2.0N.
  • ssh into your Fonera 2.0N router.
  • edit /etc/config/umtsd:

  • plug the HUAWEI K3765 into the Fonera 2.0N router
  • wait a few seconds and then run:

Visit http://fonera/luci/fon_devices/fon_umts and check the status of your 3G modem.

If it still doesn’t work, you may have to follow the instructions provided by stex1967:

Create the file /etc/usb-modeswitch.conf with the following content:

DefaultVendor= 0x12d1
DefaultProduct= 0x1520
TargetVendor= 0x12d1
TargetProduct=0x1465
MessageContent="55534243123456780000000000000011060000000000000000000000000000"

Also create the file /etc/rc.d/k3765:


#!/bin/sh /etc/rc.common
START=90
usb_modeswitch
sec=2
sleep $sec
echo "0x12d1 0x1465" >/sys/bus/usb-serial/drivers/option1/new_id

Finally run:


chmod 755 /etc/init.d/k3765
/etc/init.d/k3765 enable

and reboot. Thumbs up!

An updated list of supported 3G USB modems is available at http://wiki.fon.com/wiki/3G_compatibility

Share

Vodafone Mobile Connect: HUAWEI K3765

I recently purchased a HUAWEI K3765 HSDPA modem with Vodafone brand. It’s possible to use to this USB stick with any operator, by simply downloading the Mobile Connect software from HUAWEI (just google for it).

There is no need to flash a new firmware on it, just uninstall the Vodafone Mobile Connect software and replace it with the standard one from HUAWEI: you will be able to configure the software to use any APN you like.

You’ll still experience a small glitch though, at least under MacOSX: everytime you plug the modem into the USB port, you will see a popup asking you to install Vodafone Mobile Connect.

There is a simple solution to this problem:

  • find out the UUID of your USB stick: diskutil info /Volumes/Vodafone\ Mobile\ Broadband/ | grep UUID
  • create a new entry for this disk in /etc/fstab with the noauto flag turned on:
    • open /etc/fstab in your favourite editor (create it if it doesn’t exist yet): sudo vi /etc/fstab
    • add a line like the following to /etc/fstab:
      UUID=A46AA80A-97B9-3B47-91A4-8128A9458A31 none hfs rw,noauto 0 0

Replace the UUID with your own UUID.

Thumbs up! Now unplug your USB stick and plug it again: no annoying popup this time!

Share