You are not logged in.

#1 2012-10-07 23:03:37

d3Xt3r
Member
Registered: 2012-09-08
Posts: 15

Unable to connect with Huawei E586E 3G Modem

Hi all,

I just purchased an Huawei E586E 3G Modem but I've had no success in getting it to work under Arch / Linux (works fine in Windows though). I have followed the wiki and ensured all the necessary packages are installed (ppp, usb_modeswitch etc).

NetworkManager does detect my modem and I'm able to create a new connection, but when I try to connect, the progress bar (circle?) goes busy (as if it's attempting to connect) and then it disconnects - no error messages.

I then tried wvdial and here's the output:

--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
OK
--> Sending: AT+CGDCONT=1,"IP","internet.telecom.co.nz"
AT+CGDCONT=1,"IP","internet.telecom.co.nz"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Mon Oct  8 01:16:22 2012
--> Pid of pppd: 2826
--> Using interface ppp0
--> pppd: [1e][7f]
--> pppd: [1e][7f]

--> pppd: [1e][7f]
--> pppd: [1e][7f]
--> pppd: [1e][7f]
--> Disconnecting at Mon Oct  8 01:16:52 2012
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 5 seconds
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
--> Disconnecting at Mon Oct  8 01:17:14 2012

Output of another try:

--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
ATQ0 V1 E1 S0=0 &C1 &D2
OK
--> Sending: AT+CGDCONT=1,"IP","internet.telecom.co.nz"
AT+CGDCONT=1,"IP","internet.telecom.co.nz"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Mon Oct  8 01:31:26 2012
--> Pid of pppd: 4695
--> Using interface ppp0
--> pppd: [7f]
--> pppd: [7f]
^CCaught signal 2:  Attempting to exit gracefully...
--> Terminating on signal 15
--> pppd: [7f]
--> Disconnecting at Mon Oct  8 01:31:30 2012

wvdial.conf :

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 = AT+CGDCONT=1,"IP","internet.telecom.co.nz"
Modem Type = Analog Modem
Phone = *99#
ISDN = 0
Username = ''
Password = ''
Stupid Mode = 1
Modem = /dev/ttyUSB1
Baud = 9600
Carrier Check = 0

Output of usbmodeswitch:

usb_modeswitch -H -v 12d1 -p 1c1e

Looking for default devices ...
   found matching product ID
   adding device
 Found device in default mode, class or configuration (1)
Accessing device 008 on bus 001 ...
Getting the current device configuration ...
 OK, got current device configuration (1)
Using interface number 0
Using endpoints 0x0f (out) and 0x8f (in)
Not a storage device, skipping SCSI inquiry

USB description data (for identification)
-------------------------
Manufacturer: HUAWEI
     Product: HUAWEI Mobile
  Serial No.: not provided
-------------------------
Sending Huawei control message ...
 OK, Huawei control message sent
-> Run lsusb to note any changes. Bye.

lsusb, when device is in modem mode:

Bus 001 Device 021: ID 12d1:1c1e Huawei Technologies Co., Ltd. 

dmesg:

[    8.218443] USB Serial support registered for GSM modem (1-port)
[    8.218598] option 1-1:1.0: >GSM modem (1-port) converter detected
[    8.219747] usb 1-1: >GSM modem (1-port) converter now attached to ttyUSB0
[    8.219861] option 1-1:1.2: >GSM modem (1-port) converter detected
[    8.220214] usb 1-1: >GSM modem (1-port) converter now attached to ttyUSB1

Also, my device isn't listed under /lib/udev/rules.d/40-usb_modeswitch.rules

When I added it in manually, following the same syntax as the other Huawei devices listed there, it made matters worse - the modem doesn't even get detected by wvdial or network manager..

I also tried Sakis3g, but it hangs at "preparing modem".

Any help will be much appreciated, thanks!

Last edited by d3Xt3r (2012-10-07 23:08:37)

Offline

#2 2012-10-09 07:33:29

plustwo
Member
From: South Africa, ZA
Registered: 2012-09-13
Posts: 32

Re: Unable to connect with Huawei E586E 3G Modem

i use sakis3g on k3565 USB modem and without problems. i start sakis3g with "/usr/bin/sakis3g --interactive".

how do you invoke your modem using sakis3g? and did you select the option to compile your modem on the sakis3g options?

Offline

#3 2012-10-09 07:49:19

d3Xt3r
Member
Registered: 2012-09-08
Posts: 15

Re: Unable to connect with Huawei E586E 3G Modem

plustwo wrote:

i use sakis3g on k3565 USB modem and without problems. i start sakis3g with "/usr/bin/sakis3g --interactive".

how do you invoke your modem using sakis3g? and did you select the option to compile your modem on the sakis3g options?

Yes, I start it with --interactive as well. I just went with the options in the menu (USB connection, choose the device and pretty much whatever option made sense). Also, how exactly do I compile my modem in?

Offline

#4 2012-10-09 08:04:12

plustwo
Member
From: South Africa, ZA
Registered: 2012-09-13
Posts: 32

Re: Unable to connect with Huawei E586E 3G Modem

in the "select action" menu dialogue, coose "More options..." then "Compile embedded Usb-ModeSwitch". that should the compiling for your modem. then you prepare your modem. once that is done, you can try connecting. make sure your modem is detected before you hit the "Connect with 3G".

NOTE: you might to run this inside the /usr/bin folder as root, if you cannot run them as normal user.

Offline

Board footer

Powered by FluxBB