Configuring Huawei E220 Broadband Modem in Mandrivia Spring 2009
You will need a package comgt. Download the rpm rom the Internet or install it via Install and remove software.
Install the package by typing:
[root@localhost ~]# rpm -ivh comgt-0.32-7mdv2009.1.rpm
To read more details of the package, type:
[root@localhost ~]# rpm -qa | grep comgt
comgt-0.32-7mdv2009.1
[root@localhost ~]# rpm -ivh comgt-0.32-7mdv2009.1.rpm
[root@localhost ~]# rpm -qi comgt-0.32-7mdv2009.1
Name : comgt Relocations: (not relocatable)
Version : 0.32 Vendor: Mandriva
Release : 7mdv2009.1 Build Date: Saturday 07,March,2009 12:52:58 AM GMT
Install Date: Monday 17,August,2009 10:49:23 AM GMT Build Host: n2.mandriva.com
Group : Communications Source RPM: comgt-0.32-7mdv2009.1.src.rpm
Size : 62467 License: GPL
Signature : DSA/SHA1, Thursday 23,April,2009 08:10:59 PM GMT, Key ID e7898ae070771ff3
Packager : Antoine Ginies <aginies@mandriva.com>
URL : http://www.pharscape.org/content/view/46/70/
Summary : GPRS/EDGE/3G/HSDPA datacard control tool
Description :
comgt is a datacard control tool for Option GlobeTrotter
GPRS/EDGE/3G/HSDPA and Vodafone 3G/GPRS.
It is a scripting language interpreter useful for establishing
communications on serial lines and through PCMCIA modems as well as
GPRS and 3G datacards
Now plug in the USB modem and type:
[root@localhost ~]# comgt info
##### Wireless WAN Modem Configuration #####
Trying list of devices
Unable to locate default devices, try the -d option.
[root@localhost ~]# comgt info -d /dev/ttyUSB0
##### Wireless WAN Modem Configuration #####
Product text:
====
Manufacturer: huawei
Model: E220
Revision: 11.110.01.03.00
IMEI: 351827013762670
+GCAP: +CGSM,+DS,+ES
OK
====
Manufacturer: huawei
IMEI and Serial Number: 351827013762670
Manufacturer’s Revision:
11.110.01.03.
Hardware Revision: NOT
Network Locked: 0
Customisation: NOT SUPPORT
Band settings: (NOT)
APN: 1,”IP”,”sunsurf”,”",0,0
##### END #####
To get help anytime, type:
comgt help
To read the signal of the modem, type:
[root@localhost ~]# comgt sig -d /dev/ttyUSB0
Signal Quality: 12,99
To register the modem, type:
[root@localhost ~]# comgt reg -d /dev/ttyUSB0
Waiting for Registration
Registered on Home network: “SGP-M1-3GSM”,2
TO connect to the Internet, go to Network Center and if your modem is detected, you will see an entry like GPRS/Edge/3G showing the Huawei modem. You may want to click configure and enter the access point name, account and password. My access point name is sunsurf and the account login and password is user123. In fact you can key in any value you want. Make sure you check the “Allow users to manage the connection “and “Start the connection at boot” checkboxes.NOw, click the Connect button and you will be connected to the Internet.
Verifiy the connection by typing:
[root@localhost ~]# ip route show
10.64.64.64 dev ppp0 proto kernel scope link src 116.197.231.134 metric 40
default dev ppp0 scope link metric 40
and you can also type:
[root@localhost ~]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1062 errors:0 dropped:0 overruns:0 frame:0
TX packets:1062 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:58456 (57.0 KiB) TX bytes:58456 (57.0 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:some ip address Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:19 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1332 (1.3 KiB) TX bytes:796 (796.0 b)
Recent Comments