This guide is written for people who want to use their UMTS/HSDPA Card with Gentoo/Linux. The first part of this guide will tell you what kernel options you will need to get the hardware working. The next part will be the configuration for the datacard to establish a ppp connection to your provider. In my case it's T-Mobile Austria.
[edit] Prologue
I got a HSDPA data card for my work and was bored that I've to switch to win if I want to use the card. So I thought I'll give it a try and try to get it to work with Gentoo. After googling around I discovered that there were hardly any tutorials about that card. What I discovered (from Win) was, that the card is/uses it's own USB Controller, where the UMTS/HSDPA modem is connected to.
[edit] Kernel prerequesits
To use this PC Card, see this guide.
Because of the USB Controller you need the OHCI. Furthermore you need USB to Serial converter for the Modem.
代码:
Linux Kernel Configuration: USB Support
Device Drivers --->
USB support --->
<M> OHCI HCD support
<M> USB Serial Converter support --->
USB Generic Serial Driver
<M> USB driver for GSM and CDMA modems
This was my worst Problem, cause I've a Centrino Notebook which uses the UHCI support, so I thought, the USB thing has to be ok. With these options enabled, the Hardware should work.
To check this, lspci should show the USB Contoller:
# lspci -v | grep NEC
04:00.0 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI])
04:00.1 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI])
Vendor and Product ID can be found by typing lsusb command
After this operation links to usb should appear ind /dev/tts directory
To establish the PPP connection to the provider, ppp support has to be enabled in the kernel:
代码:
Linux Kernel Configuration: PPP Support
Device Drivers --->
Network device support --->
<M> PPP (point-to-point protocol) support
<M> PPP support for async serial ports
[edit] Software
To initialize the card, enter the PIN code and login into the network, there is a small program on sourceforge which does that: Linux UMTS/GPRS command-line tool
Download that tool and install it by typing make and make install in the source directory.
To Log into the Network, show Homenetwork and Signal strength:
# comgt
Trying list of devices
SIM ready
Waiting for Registration..(120 sec max)
Registered on Home network: "23203",2
Signal Quality: 17,99
Ok, your card is ready, now you need to establish a PPP connection to your provider. I'm using kppp, but you can use any pppd frontend you want. This is my configfile for kppp:
Don't forget to change the Access Point Name (APN) value on the InitString1=AT+CGDCONT=1,"IP","gprsinternet","",0,0 line from "gprsinternet" to the actual Internet APN. If you don't know the Internet APN, ask your service provider.
Now you have to start Kppp and simply push on connect. If you haven't entered the PIN yet, a window pops up where you have to enter it. After that, the card gets initialized and the PPP connection gets established. In your panel you can see a little icon (world) which shows you the activity. By right clicking on it you can get the actual status of your connection and disconnect from the network.
This HOWTO should also work for Huawei E620 and E618 data cards, however with that card you may experience lock-ups after you insert and reboots after you remove the card. In that case, you have to get a newer hardware revision of the card.
EDIT: Chris Wiggins had to remove the wait for dial tone option which was causing pppd to die unexpectedly with exit status 1:
KPPP > Configure > Modems > Huawei > Modem > Uncheck wait for dialtone before dialing
I hope this will help you. Here are two links where I got information:
[edit] Links
I've found this two tutorials on the net.
* HOWTO by Samiux
* HOWTO by Tazz_Tux
Discussion forum about the Huawei E620 Data Card problems:
* HUAWEI E620/Laptop Hangs (Vodacom3G)?
---KeX- 14:52, 1 February 2007 (UTC)
Retrieved from "http://gentoo-wiki.com/Huawei_E630"
Category: UMTS