Here are the steps to connect Broadband USB Modem with Ubuntu.
I have Reliance Netconnect , I followed these steps it worked for me.
1.
Open /etc/apt/sources.list
add following lines over there
deb-src http://ppa.launchpad.net/wader/ppa/ubuntu hardy main
deb http://ppa.launchpad.net/wader/ppa/ubuntu hardy main
2.
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com
sudo apt-get update
sudo apt-get install usb-modeswitch
3.
attach your Datacard
now run
lsusb
You should able to see your datacard in that list, I got following entry over there
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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 004 Device 003: ID 12d1:140b Huawei Technologies Co., Ltd.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
that bold line is in list is my datacard information
12d1 is vendor id and 140b is product id
4.
Now run following command to get detail of usb_modeswitch
usb_modeswitch --help
I ran following command
sudo usb_modeswitch -v 0x12d1 -p 0x140b -d 1
this detach usb storage driver
Then run:
sudo usb_modeswitch -v 0x12d1 -p 0x140b -H 1
this enable usb modem mode
5.
following entry should be in /etc/wvdial.conf .
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = USB Modem
ISDN = 0
Phone = #777
New PPPD = yes
Modem = /dev/ttyUSB0
Username = [10 digit number]
Password = [10 digit number]
Baud = 460800
5. Now run
sudo wvdial
This command will connect INTERNET by your modem
Thursday, November 5, 2009
Subscribe to:
Posts (Atom)