Setting up BandLuxe C179 on Karmic

I’ve recently signed up with Singtel’s mobile broadband, which uses a BandLuxe C179 HSDPA USB modem. Hers’s how I set it up on Ubuntu 9.10:

  • Download Linux driver from http://www.bandrich.com. The file name of the download “C270-Eee-PC_Linux-driver.zip” suggests it’s intended for C270.
  • The product id in bandluxe.fdi is wrong, change it to:
    <match key="usb.vendor_id" int="0x1a8d">
    <match key="usb.product_id" int="0x1009">
  • The kernel module option.ko that comes with the driver doesn’t work with 2.6.31 kernel. And we don’t need it anyway, so comment out its installation from eeepc3g.sh:
    #echo "Backup file option.ko"
    #cp -v ${MODDIR}/kernel/drivers/usb/serial/option.ko ./option-eeepc.ko
    #echo "Add support of Bandluxe Data Card"
    #cp -v option-bandluxe.ko ${MODDIR}/kernel/drivers/usb/serial/option.ko
  • Install the driver:
    $ sudo ./eeepc3g.sh
    $ sudo modprobe option
  • Plug in the modem.
    $ lsusb
    Bus 001 Device 003: ID 1a8d:1009
    ...

    So the modem has been detected. Before installing the driver, we only had 1a8d:1000, which is the USB storage device. We also have some new devices now:

    $ ls /dev/ttyUSB*
    /dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2
  • Update /etc/wvdial.conf:
    [Dialer Defaults]
    Modem = /dev/ttyUSB0
    Baud = 7200000
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
    Init3 =
    Area Code =
    Phone = *99#
    Username = ppp
    Password = ppp
    Ask Password = 0
    Dial Command = ATDT
    Stupid Mode = 1
    Compuserve = 0
    Force Address =
    Idle Seconds = 0
    DialMessage1 =
    DialMessage2 =
    ISDN = 0
    Auto DNS = 1
  • Finally
    $ sudo wvdial
    ...
    $ ifconfig
    ...
    ppp0 Link encap:Point-to-Point Protocol
    inet addr:119.234.175.186 P-t-P:10.64.64.64 Mask:255.255.255.255
    UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
    RX packets:4478 errors:0 dropped:0 overruns:0 frame:0
    TX packets:3518 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:3
    RX bytes:5261965 (5.2 MB) TX bytes:406613 (406.6 KB)
Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s