| The tested card is a Orange Option GlobeTrotter 3G+(model GT 3G+ EMEA). |
This card is also known as : "GT 3G+"
This PC Card provides a serial port (module nozomi) to communicate to the UMTS Modem. The main difference with a regular modem is that you first have to type-in your pin code !
The easy way: Gnome users : install the package hal-device-manager, then launch "Device from Gnome System Menu/Administration/Device Manager. Browse your pc :
You can also use :
lspci | grep "UMTS"
16:00.0 Network controller [0280]: Option N.V. Qualcomm MSM6275 UMTS chip [1931:000c]
The nozomi module seems to have been included in kernel 2.6.25. I haven't tested it, though :
$ uname -r 2.6.25-2-686
$ modinfo nozomi filename: /lib/modules/2.6.25-2-686/kernel/drivers/char/nozomi.ko description: Nozomi driver license: Dual BSD/GPL alias: pci:v00001931d0000000Csv*sd*bc*sc*i* depends: vermagic: 2.6.25-2-686 SMP mod_unload 686 parm: debug:int
The nozomi module (from http://www.pharscape.org/) has been packaged under debian ( 1) using module-assistant. To compile it, simply use :
apt-get install module-assistant
m-a prepare
m-a update
m-a a-i nozomi
Before you can use this card, you need to type your SIM card's PIN. There are (at least) three ways, but remeber:
Install the package minicom, then run "minicom -s", then adjust the setting to pick the correct noz* port.
Then type the command "AT+CPIN=0000" (where 0000 is your PIN code).
Install the gcom package, then run
gcom -d /dev/noz0
Enter PIN number: 0000 Waiting for Registration..(120 sec max)..... Registered on Home network: "Orange F",2 Signal Quality: 31,99
Even though it is possible to insert "AT+CPIN=0000" in ppp's chat script, i wouldn't recommend it : If you change your pin code later, you would lock you chip at the third connection attempt.
I won't explain how to setup the actual connection, since many websites explains it, like :
FYI, my /etc/ppp/peers/gprs (note the speed : "2304000"... your using HSDPA!)
noauth connect "/usr/sbin/chat -v -f /etc/chatscripts/gprs" debug /dev/noz0 2304000 defaultroute noipdefault usepeerdns
and my /etc/chatscripts/gprs file.
# ispauth chat # abortstring ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED # modeminit '' ATZ #Add gprs specific stuffs. # Check SIM pin should return ready OK-AT-OK "AT+CPIN?" # Select APN OK ATE1 OK 'AT+cgdcont=1,"IP","orange"' # ispnumber OK-AT-OK "ATDT*99***1#" # ispconnect CONNECT '' # prelogin # end of pppconfig stuff
I have quickly tested different tools, which seemed to work :
...That it would be nice to have...
lspci -d 1931:000c -vvnn
16:00.0 Network controller [0280]: Option N.V. Qualcomm MSM6275 UMTS chip [1931:000c] Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Interrupt: pin A routed to IRQ 20 Region 0: Memory at 88000000 (32-bit, non-prefetchable) [size=2K]
syslog:
kernel: pccard: CardBus card inserted into slot 0 kernel: [1487] nozomi_card_init(): Init, cards_found: 1 kernel: [1373] nozomi_get_card_type(): Card type is: 2048 kernel: PCI: Enabling device 0000:16:00.0 (0000 -> 0002) kernel: ACPI: PCI Interrupt 0000:16:00.0[A] -> GSI 16 (level, low) -> IRQ 20 kernel: Nozomi driver nozomi_tty<6>Initializing Nozomi driver 2.1 (build date: Oct 9 2007 21:32:45) kernel: [836] nozomi_read_config_table(): Version of card: 3 kernel: [828] nozomi_read_config_table(): Initialization OK! kernel: Nozomi driver nozomi_tty<6>Initializing Nozomi driver 2.1 (build date: Oct 9 2007 21:32:45) kernel: [836] nozomi_read_config_table(): Version of card: 3 kernel: [828] nozomi_read_config_table(): Initialization OK!
/dev/noz0
ls -al /dev/noz* /dev/usb/tts/
crw-rw---- 1 root dialout 241, 0 2007-10-09 23:39 /dev/noz0 crw-rw---- 1 root dialout 241, 1 2007-10-09 23:36 /dev/noz1 crw-rw---- 1 root dialout 241, 2 2007-10-09 23:36 /dev/noz2 crw-rw---- 1 root dialout 241, 3 2007-10-09 23:28 /dev/noz3 /dev/usb/tts/: total 0 drwxr-xr-x 2 root root 120 2007-10-09 23:28 . drwxr-xr-x 3 root root 80 2007-10-09 23:28 .. lrwxrwxrwx 1 root root 10 2007-10-09 23:28 0 -> ../../noz0 lrwxrwxrwx 1 root root 10 2007-10-09 23:28 1 -> ../../noz1 lrwxrwxrwx 1 root root 10 2007-10-09 23:28 2 -> ../../noz2 lrwxrwxrwx 1 root root 10 2007-10-09 23:28 3 -> ../../noz3
hal-find-by-property --key 'info.product' --string 'Qualcomm MSM6275 UMTS chip' | xargs -n 1 lshal -l -u
udi = '/org/freedesktop/Hal/devices/pci_1931_c' info.bus = 'pci' (string) info.linux.driver = 'nozomi' (string) info.parent = '/org/freedesktop/Hal/devices/pci_104c_ac56' (string) info.product = 'Qualcomm MSM6275 UMTS chip' (string) info.subsystem = 'pci' (string) info.udi = '/org/freedesktop/Hal/devices/pci_1931_c' (string) info.vendor = 'Option N.V.' (string) linux.hotplug_type = 2 (0x2) (int) linux.subsystem = 'pci' (string) linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0' (string) pci.device_class = 2 (0x2) (int) pci.device_protocol = 0 (0x0) (int) pci.device_subclass = 128 (0x80) (int) pci.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0' (string) pci.product = 'Qualcomm MSM6275 UMTS chip' (string) pci.product_id = 12 (0xc) (int) pci.subsys_product_id = 0 (0x0) (int) pci.subsys_vendor_id = 0 (0x0) (int) pci.vendor = 'Option N.V.' (string) pci.vendor_id = 6449 (0x1931) (int)
AT I Manufacturer: Option N.V. Model: GlobeTrotter 3G+ Revision: 3.19.0Hd (Date: May 31 2006, Time: 15:49:25) AT +CGMI Option N.V. OK AT +CGMM GlobeTrotter 3G+ OK AT +CGMR 3.19.0Hd (Date: May 31 2006, Time: 15:49:25) OK AT+CPAS=? +CPAS: (0,3,4) OK AT+COPS? +COPS: 0,0,"Limited Service",2 OK AT+CIMI +CME ERROR: SIM failure AT+CPAS +CPAS: 0 OK AT+CPIN=0000 OK AT+CIMI 123456789123456 OK AT+COPS? +COPS: 0,0,"Orange F",0 OK
You can identify/detect your device using hardinfo.
Gnome's Application Menu > System Tools > Hardinfo