1

Temat: Modem HUAWEI E3372 na Ubuntu 16.04

Nie działa mi modem usb. Pokazuje się błąd przy odpalaniu wvdiali. Wiem, że są 3 rzeczy do zainstalowania i konfiguracji:
driver, usb-modeswitch i wvdial.

Wszystko już instalowałem i konfigurowałem po kilka razy, więc nie wiem, co mam skonfigurowane, a co nie.

Proszę o podpowiedź, jak sprawdzić, czy mam dobrze skonfigurowany usb-modeswitch, zainstalowany driver i właściwie skonfigurowany wvdial?

Podaję output z wvdial i z lsusb oraz plik wvdial.conf. Modem działał na Windows, więc nie ma simlocka.

root@my:/home/m# wvdial orange
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: AT+CGDCONT=1,"IP","internet","",0,0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Fri Jun  8 21:23:52 2018
--> Pid of pppd: 4191
--> Using interface ppp0
--> Disconnecting at Fri Jun  8 21:24:23 2018
--> 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
^CCaught signal 2:  Attempting to exit gracefully...
--> Modem not responding.
--> Disconnecting at Fri Jun  8 21:24:41 2018
root@my:/home/m# 
root@my:/home/m# lsusb
Bus 002 Device 002: ID 12d1:1506 Huawei Technologies Co., Ltd. Modem/Networkcard
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0bf8:1004 Fujitsu Siemens Computers 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@my:/home/m# 
root@my:/home/m# cat /etc/wvdial.conf
[Dialer orange]
Modem = /dev/ttyUSB0
Phone = *99#
Username = "internet";
Password = "internet";
Init1 = ATZ
Init3 = AT+CGDCONT=1,"IP","internet","",0,0
Auto DNS = on
Carrier Check = off
Stupid Mode = on

root@my:/home/m# 

Z góry dziękuję

2

Odp: Modem HUAWEI E3372 na Ubuntu 16.04

Try again and look into /var/log/messages ...

Na początek wywal ten username i password. Zobacz też odpowiedź z https://unix.stackexchange.com/question … it-code-16

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Modem HUAWEI E3372 na Ubuntu 16.04

Zainstalowałem debiana i dalej kiszka. Teraz to wygląda tak:

root@debian:/home/b# cat /etc/wvdial.conf
[Dialer orange]
Modem = /dev/ttyUSB1
Phone = *99#
Username =;
Password =;
Init1 = ATZ
Init2 = AT+CGDCONT=1,"IP","internet","",0,0
Auto DNS = on
root@debian:/home/b# 
root@debian:/home/b# dmesg | grep tty
[    0.000000] console [tty0] enabled
[    4.288912] usb 2-8: GSM modem (1-port) converter now attached to ttyUSB0
[    4.288990] usb 2-8: GSM modem (1-port) converter now attached to ttyUSB1
root@debian:/home/b# 
root@debian:/home/b# wvdial orange
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: AT+CGDCONT=1,"IP","internet","",0,0
AT+CGDCONT=1,"IP","internet","",0,0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
ERROR
--> Invalid dial command.
wvdial: utils/wvtask.cc:303: static int WvTaskMan::yield(int): Assertion `*current_task->stack_magic == WVTASK_MAGIC' failed.
Aborted
root@debian:/home/b#

4

Odp: Modem HUAWEI E3372 na Ubuntu 16.04

How do I unlock a HUAWEI E3372?