Hi,
I try to get an connection with my Huawei E220 UMTS USB Modem
on Ubuntu 6.10 Edgy Eft. While searching for an working method I found different possibilities.
Some Infos:
My Connection script:
My wvdial.conf
line: Init1 = AT+CPIN=0000 -> my pin is entered instead
My Progress:
It stops there until I brake it with STRG+C.
I was surprised to get that far and tried connection by trying to browse google but no result. My Network Connection on my desktop shows me ppp0 with 7 pakets sent and 7 pakets received. I've got an IP-Address and all seems fine, but where is the problem then?
thanks and regards
musicones
I try to get an connection with my Huawei E220 UMTS USB Modem
on Ubuntu 6.10 Edgy Eft. While searching for an working method I found different possibilities.
Some Infos:
- Under Windows all works fine and I can connect and browse through web. Modem is OK.
- I use the cable with the two use connectors.
- I noticed me all Information from Windows connection, that is the reason for example why I use *99# as phone number etc.
My Connection script:
Code:
#/bin/sh
echo "\nGet off USB-Device as Drive..."
sleep 5
sudo rmmod usb-storage
echo "\nGet USB-Device as Modem..."
sleep 5
sudo modprobe usbserial vendor=0x12d1 product=0x1003
echo "\nLoad driver..."
sleep 15
sudo /home/musicones/Downloads/huaweiAktBbo-i386.out
echo "\nConnect..."
sleep 10
sudo wvdial huawei_e220 && pin && sleep 5 && eplus
My wvdial.conf
Code:
# wvdial for Huawei_e220 UMTS Connection
[Dialer Defaults]
#tuxx: Phone = *99***1#
Phone = *99#
Username = eplus
Password = gprs
Stupid Mode = 1
Dial Command = ATDT
[Dialer pin]
Init1 = AT+CPIN=0000
[Dialer huawei_e220]
Modem = /dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
[Dialer eplus]
Init5 = AT+CGDCONT=1,"IP","internet.eplus.de"
line: Init1 = AT+CPIN=0000 -> my pin is entered instead
My Progress:
Code:
sudo conUMTS
Get off USB-Device as Drive...
^[[A
musicones@musicones-laptop:/usr/bin$ sudo gedit conUMTS
musicones@musicones-laptop:/usr/bin$ sudo conUMTS
USB-Device als Laufwerk entfernen...
ERROR: Module usb_storage does not exist in /proc/modules
Get USB-Device as Modem...
Load driver...
Hladam HUAWEI E220 a prepnem na modem - bbo 06
4 set feature request returned 0
Prepnute-OK, Mas ttyUSB0 ttyUSB1 (cez usbserial vendor=0x12d1 product=0x1003)
pozri /proc/bus/usb/devices
Connect...
--> WvDial: Internet dialer version 1.56
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Wed Mar 21 11:17:59 2007
--> Pid of pppd: 8338
--> Using interface ppp0
--> pppd: Č©
--> [06][08]
--> [06][08]
--> pppd: Č©
--> [06][08]
--> [06][08]
--> pppd: Č©
--> [06][08]
--> [06][08]
--> pppd: Č©
--> [06][08]
--> [06][08]
--> pppd: Č©
--> [06][08]
--> [06][08]
--> pppd: Č©
--> [06][08]
--> [06][08]
--> pppd: Č©
--> [06][08]
--> [06][08]
--> local IP address 10.161.130.193
--> pppd: Č©
--> [06][08]
--> [06][08]
--> remote IP address 10.64.64.64
--> pppd: Č©
--> [06][08]
--> [06][08]
--> primary DNS address 212.23.97.2
--> pppd: Č©
--> [06][08]
--> [06][08]
--> secondary DNS address 212.23.97.3
--> pppd: Č©
--> [06][08]
--> [06][08]
It stops there until I brake it with STRG+C.
I was surprised to get that far and tried connection by trying to browse google but no result. My Network Connection on my desktop shows me ppp0 with 7 pakets sent and 7 pakets received. I've got an IP-Address and all seems fine, but where is the problem then?
thanks and regards
musicones