Can't connect with Huawei E156G

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

Can't connect with Huawei E156G

Postby afirr3 » Mon Oct 10, 2011 19:26

Hi. I'm using Sabayon 6 64bit with KDE since yesterday. I did equo update, upgrade and conf update. My Huawei E156G modem was detected properly and i was able to connect to internet without any problems. But then i wanted to install gnome. I downloaded all necesary packages and since then when i was starting KDE two network managers were starting - KDE's knetworkmanager and gnome's nm-applet. I managed to disable nm-applet on KDE, but internet is not working anyway. When i click on my network icon in knetworkmanager, it shows "Preparing to connect" for a moment, but then it goes "Not connected". I removed modemmanager, networkmanager and knetworkmanager with --configfiles flag and then installed them again, but it didn't helped at all.

Code: Select all
# lsusb
Bus 001 Device 009: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E230/E270 HSDPA/HSUPA Modem


Code: Select all
# dmesg
[  106.758284] usb 1-1: Product: HUAWEI Mobile
[  106.758286] usb 1-1: Manufacturer: HUAWEI Technology
[  113.390171] usb 1-1: Product: HUAWEI Mobile
[  113.390173] usb 1-1: Manufacturer: HUAWEI Technology
[  114.406158] scsi 12:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[  114.406804] scsi 13:0:0:0: Direct-Access     HUAWEI   MMC Storage      2.31 PQ: 0 ANSI: 2


Code: Select all
# cat /proc/bus/usb/devices
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 13 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=12d1 ProdID=1003 Rev= 0.00
S:  Manufacturer=HUAWEI Technology
S:  Product=HUAWEI Mobile
C:* #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=81(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms


I also tried to connect by wvdial - installed wvdial and usb_modeswitch, added
Code: Select all
# Huawei E156G
# Contributor: Dale Lane
DefaultVendor=  0x12d1
DefaultProduct= 0x1001
DetachStorageOnly=0
HuaweiMode=1

to /etc/usb_modeswitch.conf and copied wvdial.conf file which was working fine with this modem on openSUSE.

Code: Select all
[Dialer pin]
Modem = /dev/ttyUSB0
Init1 = AT+CPIN=9304
[Dialer umts]
Modem = /dev/ttyUSB0
Baud = 460800
New PPPD = yes
Dial Command = ATDT
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+cgdcont=1,"IP","www.plusgsm.pl"
ISDN = 0
Modem Type = Analog Modem
Phone = *99***1#
Username = iplus
Password = iplus
Timeout = 120
Stupid Mode = yes
Idle Seconds = 500


(As you can see there are username and password, and phone number is "*99***1#". I'm not sure why, because when knetworkmanager worked it was enough to give APN, PIN and phone number "*99#", but it was working so i didn't care. Also APN, PIN, and *99# way works fine on Ubuntu's LiveCD)

But that's what i get

Code: Select all
# wvdial --config wvdial.conf pin
--> WvDial: Internet dialer version 1.61
--> Cannot open /dev/ttyUSB0: Device or resource busy
--> Cannot open /dev/ttyUSB0: Device or resource busy
--> Cannot open /dev/ttyUSB0: Device or resource busy


Then I ran wvdialconf:

Code: Select all
# wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
ttyS1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S2   S3   
ttyUSB0<Info>: Device or resource busy
Modem Port Scan<*1>: USB0
ttyUSB1<Info>: Device or resource busy
Modem Port Scan<*1>: USB1


Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?

Please read the FAQ at http://alumnit.ca/wiki/?WvDial


Internet doesn't also connect on gnome by nm-applet. Just like on KDE it says sth like "Connect failed" moment after connecting starts. So, I ran out of ideas and decided to ask if someone here have some more. :)
afirr3
Baby Hen
 
Posts: 1
Joined: Mon Oct 10, 2011 18:24

Re: Can't connect with Huawei E156G

Postby svantoviit » Mon Oct 10, 2011 21:08

Have you tried Sakis3G? >> http://www.sakis3g.org/
User avatar
svantoviit
Technological Hen
 
Posts: 417
Joined: Sun Feb 28, 2010 17:55


Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 3 guests