I’m on my way to my hometown now for this 4 days CNY break, and thanks to this Huawei E600 UMTS data card, I’m able to post this blog entry while having some light meal on the roadside. I’m a registered Celcom 3G unlimited plan, and with it I can enjoy 3G connection with my laptop wherever possible, with GPRS as fallback if 3G is not available in the area.
Setting up the data card is supposed to be a very easy task in Linux, but before I get to know the right way to actually get it to work, I screw up the data card for few times that I need to send it for warranty to have the firmware flashed after following some online guides. It was not a pleasant journey, and I hope with this post others wouldn’t need to go through the path that I’ve been to.
The first thing to do is to make sure you have PCMCIA support in the kernel.
Bus options (PCI, PCMCIA, EISA, MCA, ISA) —> PCCARD (PCMCIA/CardBus) support —>
PCCard (PCMCIA/CardBus) support CardBus yenta-compatible bridge support
and you also need the driver for your data card
Device Drivers —> USB support —>
OHCI HCD support USB Serial Converter support —> USB Serial Converter support [*] USB Generic Serial Driver USB driver for GSM and CDMA modems
and support for PPP connection
Device Drivers —> Network device support —>
PPP (point-to-point protocol) support PPP support for async serial ports
That’s all needed in the kernel, and now it’s time to install the required software. As I’m using comgt and kppp, the rest of the post will be specific to these 2 applications, though there are other methods in establishing the connection.
Let’s first install comgt:
wget http://optusnet.dl.sourceforge.net/sourceforge/comgt/comgt.0.32.tgz tar xvzf comgt.0.32.tgz cd comgt.0.32 make sudo make install
kppp is a KDE application to handle ppp connections and your distro might already have it installed in your system. Here’s the configuration file used to establish the connection (copied from the net, but some parts of it are not important as comgt will fetch the pre-set settings from the data card itself, in our case specific to Celcom):
root@herugrim ~ # cat .kde/share/config/kppprc
BeforeConnect=xterm -e /usr/local/bin/comgt -x -d /dev/ttyUSB2
DLPResponse=DIGITAL LINE DETECTED