Random ...
 
December 2017
S M T W T F S
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Tags ...
Links



Linux++:::: Huawei E220 on Fedora 9
Posted at 17.Aug,2008 00:27  Comments 0 / Trackbacks 0 / Like this post!
Technorati tag(s):

Got myself a HuaWei E220 usb modem. Well not mine per se, but I got to use it.

Setting up in Fedora 9 is a easy enough. Plug in the usb modem, wait a bit, and connect using NetworkManager.

Here's my /var/log/messages:

  Aug 16 23:38:27 tokey kernel: hub 1-0:1.0: unable to enumerate USB device on port 2
 Aug 16 23:38:27 tokey kernel: usb 2-2: new full speed USB device using uhci_hcd and address 2
 Aug 16 23:38:27 tokey kernel: usb 2-2: configuration #1 chosen from 1 choice
 Aug 16 23:38:27 tokey kernel: usb 2-2: New USB device found, idVendor=12d1, idProduct=1003
 Aug 16 23:38:27 tokey kernel: usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
 Aug 16 23:38:27 tokey kernel: usb 2-2: Product: HUAWEI Mobile
 Aug 16 23:38:27 tokey kernel: usb 2-2: Manufacturer: HUAWEI Technologies
 Aug 16 23:38:28 tokey kernel: Initializing USB Mass Storage driver...
 Aug 16 23:38:28 tokey kernel: scsi3 : SCSI emulation for USB Mass Storage devices
 Aug 16 23:38:28 tokey kernel: usbcore: registered new interface driver usb-storage
 Aug 16 23:38:28 tokey kernel: USB Mass Storage support registered.
 Aug 16 23:38:28 tokey kernel: hub 1-0:1.0: unable to enumerate USB device on port 2
 Aug 16 23:38:28 tokey kernel: usb 2-2: USB disconnect, address 2
 Aug 16 23:38:28 tokey kernel: usb 2-2: new full speed USB device using uhci_hcd and address 3
 Aug 16 23:38:28 tokey kernel: usb 2-2: configuration #1 chosen from 1 choice
 Aug 16 23:38:28 tokey kernel: usb-storage: probe of 2-2:1.0 failed with error -5
 Aug 16 23:38:28 tokey kernel: usb-storage: probe of 2-2:1.1 failed with error -5
 Aug 16 23:38:28 tokey kernel: scsi6 : SCSI emulation for USB Mass Storage devices
 Aug 16 23:38:28 tokey kernel: usb 2-2: New USB device found, idVendor=12d1, idProduct=1003
 Aug 16 23:38:28 tokey kernel: usb 2-2: New USB device strings:  Mfr=1, Product=2, SerialNumber=0
 Aug 16 23:38:28 tokey kernel: usb 2-2: Product: HUAWEI Mobile
 Aug 16 23:38:28 tokey kernel: usb 2-2: Manufacturer: HUAWEI Technologies
 Aug 16 23:38:28 tokey kernel: usbcore: registered new interface driver usbserial
 Aug 16 23:38:28 tokey kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
 Aug 16 23:38:28 tokey kernel: usbcore: registered new interface driver usbserial_generic
 Aug 16 23:38:28 tokey kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core
 Aug 16 23:38:28 tokey kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
 Aug 16 23:38:28 tokey kernel: option 2-2:1.0: GSM modem (1-port) converter detected
 Aug 16 23:38:28 tokey kernel: usb 2-2: GSM modem (1-port) converter now attached to ttyUSB0
 Aug 16 23:38:28 tokey kernel: option 2-2:1.1: GSM modem (1-port) converter detected
 Aug 16 23:38:28 tokey kernel: usb 2-2: GSM modem (1-port) converter now attached to ttyUSB1
 Aug 16 23:38:28 tokey kernel: usbcore: registered new interface driver option
 Aug 16 23:38:28 tokey kernel: drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
 Aug 16 23:38:29 tokey NetworkManager: <info>  ttyUSB0: Device is fully-supported using driver 'option'.
 Aug 16 23:38:29 tokey NetworkManager: <info>  Found new Modem device 'ttyUSB0'.
 Aug 16 23:38:29 tokey NetworkManager: <info>  (ttyUSB0): exported as /org/freedesktop/Hal/devices/usb_device_12d1_1003_noserial_if0_serial_usb_0
 Aug 16 23:38:33 tokey NetworkManager: <info>  (ttyUSB0): device state change: 1 -> 2
 Aug 16 23:38:33 tokey NetworkManager: <info>  (ttyUSB0): deactivating device.
 Aug 16 23:38:33 tokey NetworkManager: nm_system_device_flush_ip4_routes_with_iface: assertion `iface_idx >= 0' failed
 Aug 16 23:38:33 tokey NetworkManager: <info>  (ttyUSB0): device state change: 2 -> 3
 Aug 16 23:38:33 tokey kernel: scsi 6:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
 Aug 16 23:38:33 tokey kernel: sr1: scsi-1 drive
 Aug 16 23:38:33 tokey kernel: sr 6:0:0:0: Attached scsi generic sg3 type 5
 Aug 16 23:38:41 tokey NetworkManager: <info>  Activation (ttyUSB0) starting connection 'Auto GSM network connection'
 Aug 16 23:38:41 tokey NetworkManager: <info>  (ttyUSB0): device state change: 3 -> 4
 Aug 16 23:38:41 tokey NetworkManager: <info>  Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled...
 Aug 16 23:38:41 tokey NetworkManager: <info>  Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started...
 Aug 16 23:38:41 tokey NetworkManager: <info>  Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete.
 Aug 16 23:38:42 tokey NetworkManager: <info>  Registered on Home network
 Aug 16 23:38:42 tokey NetworkManager: <info>  Associated with network: +COPS: 1,0,"MY CELCOM",0
 Aug 16 23:38:42 tokey NetworkManager: <info>  Connected, Woo!
 Aug 16 23:38:42 tokey NetworkManager: <info>  Activation (ttyUSB0) Stage 2 of 5 (Device Configure) scheduled...
 Aug 16 23:38:42 tokey NetworkManager: <info>  Activation (ttyUSB0) Stage 2 of 5 (Device Configure) starting...
 Aug 16 23:38:42 tokey NetworkManager: <info>  (ttyUSB0): device state change: 4 -> 5
 Aug 16 23:38:42 tokey NetworkManager: <info>  Starting pppd connection
 Aug 16 23:38:42 tokey NetworkManager: <info>  Activation (ttyUSB0) Stage 2 of 5 (Device Configure) complete.
 Aug 16 23:38:42 tokey pppd[3075]: Plugin /usr/lib/pppd/2.4.4/nm-pppd-plugin.so loaded.
 Aug 16 23:38:42 tokey kernel: PPP generic driver version 2.4.2
 Aug 16 23:38:42 tokey pppd[3075]: pppd 2.4.4 started by root, uid 0
 Aug 16 23:38:42 tokey pppd[3075]: Using interface ppp0
 Aug 16 23:38:42 tokey pppd[3075]: Connect: ppp0 <--> /dev/ttyUSB0
 Aug 16 23:38:42 tokey NetworkManager: <WARN>  impl_ppp_manager_need_secrets(): Cleared secrets, but setting didn't need any secrets.
 Aug 16 23:38:42 tokey pppd[3075]: Unable to obtain CHAP password for tokey.kedai.com.my on UMTS_CHAP_SRVR from plugin
 Aug 16 23:38:42 tokey pppd[3075]: No CHAP secret found for authenticating us to UMTS_CHAP_SRVR
 Aug 16 23:38:42 tokey pppd[3075]: CHAP authentication succeeded
 Aug 16 23:38:42 tokey pppd[3075]: CHAP authentication succeeded
 Aug 16 23:38:42 tokey NetworkManager: <info>  (ttyUSB0): device state change: 5 -> 7
 Aug 16 23:38:42 tokey kernel: PPP Deflate Compression module registered
 Aug 16 23:38:53 tokey pppd[3075]: Could not determine remote IP address: defaulting to 10.64.64.64
 Aug 16 23:38:53 tokey pppd[3075]: local  IP address 10.58.128.67
 Aug 16 23:38:53 tokey pppd[3075]: remote IP address 10.64.64.64
 Aug 16 23:38:53 tokey pppd[3075]: primary   DNS address 10.11.12.13
 Aug 16 23:38:53 tokey pppd[3075]: secondary DNS address 10.11.12.14
 Aug 16 23:38:53 tokey NetworkManager: <info>  PPP manager(IP Config Get) reply received.
 Aug 16 23:38:53 tokey NetworkManager: <info>  Activation (ttyUSB0) Stage 4 of 5 (IP Configure Get) scheduled...
 Aug 16 23:38:53 tokey NetworkManager: <info>  Activation (ttyUSB0) Stage 4 of 5 (IP Configure Get) started...
 Aug 16 23:38:53 tokey NetworkManager: <info>  Activation (ttyUSB0) Stage 5 of 5 (IP Configure Commit) scheduled...
 Aug 16 23:38:53 tokey NetworkManager: <info>  Activation (ttyUSB0) Stage 4 of 5 (IP Configure Get) complete.
 Aug 16 23:38:53 tokey NetworkManager: <info>  Activation (ttyUSB0) Stage 5 of 5 (IP Configure Commit) started...
 Aug 16 23:38:54 tokey NetworkManager: <info>  (ttyUSB0): device state change: 7 -> 8
 Aug 16 23:38:54 tokey NetworkManager: <info>  Policy set (ttyUSB0) as default device for routing and DNS. 
 Aug 16 23:38:54 tokey NetworkManager: <info>  Activation (ttyUSB0) successful, device activated.
 Aug 16 23:38:54 tokey NetworkManager: <info>  Activation (ttyUSB0) Stage 5 of 5 (IP Configure Commit) complete.

Initially, the connection was dang slow. The usb led was green, which meant that I'm connected via gprs. Not good.

After moving around a bit in the house, i got blue (3g) and cyan (hsdpa). Once I got cyan, I don't move. I don't even breath :P

When led is cyan, a test at speedtest.net gave a 1.7Mbps d/l and about 100 kb upload.

When connected via gprs, I can only cuss.

I have not tried connecting while on the move; i.e in the car or the ERL. If / when I do, I'll report my experience and compare to EDGE.


Bookmark and Share

Is this entry helpful? Comments/Donate/Click some google ads.  
Trackback is http://myzope.kedai.com.my/blogs/kedai/201/tbping 

Comments
Post a comment