logo elektroda
logo elektroda
X
logo elektroda

[Solved] Troubleshooting Huawei E3372 Modem with Ubuntu: Configuring USB-Modeswitch, WvDial & Drivers

Xerof0p 4254 4
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 17265749
    Xerof0p
    Level 20  
    I have a bug while launching wvdial and my modem doesn't work. I know there are 3 things to install and configure:
    drivers, usb-modeswitch and wvdial.

    I've already installed and configured everything several times, so I don't know what's set up and what's not.

    Please give me a hint on how to check if I have a properly configured usb-modeswitch, an installed driver and a properly configured wvdial?

    I supply the output from wvdial and lsusb and the file wvdial. The modem was working on Windows, so there is no simlock.

    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# 

    Thank you in advance
  • ADVERTISEMENT
  • #2 17265930
    senseii659
    Level 2  
    For me, the modem works without anything, I plug it in and it works. then I don't know what can be done with your modem. Regards
  • ADVERTISEMENT
  • #3 17265951
    Xerof0p
    Level 20  
    You haven't installed anything and it works? Also on Ubuntu 16.04?
  • ADVERTISEMENT
  • #4 17266343
    makosuu
    Network and Internet specialist
    Because you have an ordinary a @ senseii659 HiLink.
  • #5 17361613
    Xerof0p
    Level 20  
    This modem is not suitable for wvdial configuration.
ADVERTISEMENT