Filled Under:

how to install a modem in ubuntu ????

Share

ধাপ সমূহ
১: wvdial install করূন ।
wvdial install করার জন্য আপনাকে আরো ৩ টি package install করতে হবে।
package গুলো হল
a.libwvstreams4.6-base_4.6-2_i386.deb
b.libwvstreams4.6-extras_4.6-2_i386.deb
c.libuniconf4.6_4.6-2_i386.deb
আমি যে ভাবে সাজিযেছি সেই ভাবে install করেন।
সবার পরে wvdial_1.60.1+nmu2ubuntu1_i386.deb install করেন।
offline এ install করার জন্য এখান থেকে download করতে পারেন।
download now

আপনার যদি internet connection থাকে তাহলে terminal এ গিযে লেখেন
sudo apt-get install wvdial
install হয়ে যাবে।

২: type in terminal: lsusb
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 012: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. Mass Storage Device
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

৩: type sudo /sbin/modprobe usbserial vendor=0x(vid) product=0x(pid)
আমার vid হল 12d1 এবং pid হল 1001 :

৪:type in terminal: wvdialconf create

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0   S1   S2   S3  
ttyUSB1<Info>: Device or resource busy
Modem Port Scan<*1>: USB1
WvModem<*1>: Cannot get information for serial port.
ttyUSB2<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB2<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB2<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyUSB3<*1>: ATQ0 V1 E1 -- OK
ttyUSB3<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB3<*1>: Modem Identifier: ATI -- Manufacturer: huawei
ttyUSB3<*1>: Speed 9600: AT -- OK
ttyUSB3<*1>: Max speed is 9600; that should be safe.
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttyUSB3.
Modem configuration written to create.
ttyUSB3<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"


৫: type in terminal:sudo gedit /etc/wvdial.conf
text ফাইল খূলবে সেখানে এটা paste করবেন
[Dialer Defaults]
Modem = Your Modem Name(eg, /dev/ttyACM0 in my case)
Baud = ur max speed(460800 in my case)
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Phone = *99#
Username = username
Password = password
Stupid Mode = 1

0 মন্তব্য(সমূহ):

Post a Comment