The USB Modems available in India today use either Huawei or ZTE chips (check the USB Modem - must be mentioned on it!!). Follow the undermentioned procedure to configure your Linux system for using these modems.
1. Connect your USB modem to the USB portGet in touch for any queries!!
2. On a terminal window, run 'lsusb'
3. Check for output like this:
Bus 005 Device 009: ID 12d1:140b Huawei Technologies Co., Ltd.
(for ZTE chips, lookout for ZTE in the out put and note the ID)
4. In the output, the 4 characters after ID is the Vendor ID, and post the next column, the 4 characters is the Product ID.
(you can also find these IDs by reading the 'devices' file cat /proc/bus/usb/devices)
5. Now use 'sudo' to load the usbserial modules
$sudo modprobe usbserial vendor=0×12d1 product=0×140b6. On the terminal type 'dmesg' - and check for which ttyUSB port has been allotted for the modem - maybe ttyUSB0 or ttyUSB1 or ttyUSB2 (if required, remove and reconnect the USB Modem to check for the ttyUSB)
7. Then configure 'wvdial' by modifying the 'wvdial.conf' file using any editor"
$ sudo vim /etc/wvdial.conf
[Modem0]
Modem = /dev/ttyUSB0
Baud = 115200
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
Username = You Phone Number Here
Password = Your Password ... usually same as your phone number
Phone = #777
Stupid Mode = 1
8. Now run 'sudo wvdial' - post some brief message, you would be connected to the net!
http://linuxers.org/howto/how-set-tata-photon-huawei-ec1261-ubuntu-1004-lucid-lynx
ReplyDeleteThis site has some good info