Yes! This is one of the problems I have been facing and here is a possible solution. Looking at your lsusb
output, I find the following:
Bus 002 Device 004: ID 19d2:1405 ZTE WCDMA Technologies MSM
This indicates that the Vendor ID is 0x19d2
and the Product ID is 0x1405
. I would advise you the following steps:
(1) Create a bash
script as follows. This bash script is to be run, everytime you would like to use your mobile modem CDMA connection. Let us suppose that the name of the bash
script is `myModem.sh. Do this by typing:
sudo nano ~/myModem.sh
Type in the following lines here:
#!/bin/bash
sudo /sbin/modprobe usbserial vendor=0x19d2 product=0x1405
Save your script and exit from nano
. Type:
sudo chmod +x ~/myModem.sh
(2) Run the following commands:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install wvdial
sudo apt-get install usb-modeswitch usb-modeswitch-data
(4) Type the following:
sudo nano /etc/udev/rules.d/90-zte.rules
and type in the following line (it is a single line and no carriage returns please):
SUBSYSTEM=="block",SUBSYSTEM=="scsi",ATTRS{model}=="USB Storage 1405",ACTION=="add",RUN+="/sbin/modprobe usbserial vendor=0x19d2 product=0x1405"
Save the file and exit from nano
.
(5) Now run your bash script from your home directory:
sudo ~/myModem.sh
(6) Now we have to configure wvdial
.
sudo wvdialconf /etc/wvdial.conf
This will detect the modem and create a configuration file.
(7) Edit the configuration file to adjust the setting according to your country/service provider. Especially change the dialing phone number, username and password. Do this by typing
sudo nano /etc/wvdial.conf
Remove the semicolons before the phone, username and password. The semicolons tell wvdial that these lines are commented. Save your file and exit from nano
.
(8) Now create your connection. Make sure you check the Connect Automatically option.
I hope this will set your modem working.
Best Answer
Open terminal window and type:
Then copy and paste this (Change for your needs):
Note: Replace the
<Your Mobile Broadband Connection Name Here>
with the name of your connection.Change the permissions of this file for execution:
To run this script has a service, do:
The script is registered as a system startup service so you can start, stop, or check the status of the script with :
Reboot to complete installation and auto connect.
Done ...