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.
Thank you in advance
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