Search This Blog

Surfe.be - Banner advertising service

Installation of ZTE AC682 Modem in Ubuntu (Linux)

 



Operating System (OS) : Linux - Ubuntu, Mint



Step 1] Plug-in the ZTE AC682 modem and open Terminal to execute the following two commands to the whether ZTE AC682 modem is identified by operating system
ZoomUltra@Citycell:~$ lsusb
Bus 003 Device 002: ID 09da:000a A4 Tech Co., Ltd Port Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 19d2:ffde ONDA Communication S.p.A.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Here we get vendor id (19d2) and product id (ffde) of ZTE AC682 modem. However product id as ffde means that the modem acts as a storage device or a CD-ROM rather than as a modem.


Step 2] Now, we need to eject CD-ROM named as Zoom by right clicking on the icon. or execute the following command.

ZoomUltra@Citycell:~$ sudo eject





Note: USB mode switch software not necessary for this modem.






Step 3] Now execute lsusb command again to confirm whether product id changed from ffde to ffdd.
ZoomUltra@Citycell:~$ lsusb
Bus 003 Device 002: ID 09da:000a A4 Tech Co., Ltd Port Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 002 Device 004: ID 19d2:ffdd ONDA Communication S.p.A.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note: if product id not changed then unplug the ZTE AC682 device and re-plug it and execute the command again.


Step 4] Now give parameters to kernel for identification of the modem and to do this use the following command
ZoomUltra@Citycell:~$ sudo  modprobe   usbserial  vendor=0x19d2  product=0xffdd



Step 5] Execute wvdialconf command to modify the file, /etc/wvdial.conf on the basis of ZTE AC682 modem identified by kernel.
ZoomUltra@Citycell:~$ sudo wvdialconf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
….........................
…..........................
ttyUSB0<*1>: ATQ0 V1 E1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB0<*1>: Modem Identifier: ATI -- Manufacturer: QUALCOMM INCORPORATED
ttyUSB0<*1>: Speed 9600: AT -- OK
ttyUSB0<*1>: Max speed is 9600; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
…............................Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.
ttyUSB0: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

Step 6] Before execute the final command we have to modify the /etc/wvdial.conf file to set phone number, user name and password based on ISP requirement
ZoomUltra@Citycell:~$ sudo gedit /etc/wvdial.conf
[Dialer citycell]
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Phone = #777
ISDN = 0Username = waps
Init1 = ATZPassword = waps
Modem = /dev/ttyUSB0
Baud = 9600


Step End] Execute the wvdail command to get Citycell Ultra Zoom connection
ZoomUltra@Citycell:~$ sudo wvdial citycell
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!} } }=}!}$}%\}"}&} } } } }#}%B#}%}%}&hk#>}'}"}(}" !~
--> PPP negotiation detected.
--> Starting pppd at Fri Dec 3 23:01:31 2010
--> Pid of pppd: 1647
--> Using interface ppp0
--> pppd: ���[08]���[08]
--> pppd: ���[08]���[08]
--> pppd: ���[08]���[08]
--> pppd: ���[08]���[08]
--> pppd: ���[08]���[08]
--> local IP address 10.1.63.194
--> pppd: ���[08]���[08]
--> remote IP address 2.2.2.2
--> pppd: ���[08]���[08]
--> primary DNS address 117.18.224.146
--> pppd: ���[08]���[08]
--> secondary DNS address 117.18.224.147
--> pppd: ���[08]���[08]

To disconnect the Modem, just press Ctrl+C



Note: The following commands need to executive if security purpose unable to run the pppd called by wvdail in normal user mode rather than administration.
ZoomUltra@Citycell:~$ ls -l /usr/sbin/pppd
-rwsr-xr-- 1 root dip 273312 2010-03-07 09:59 /usr/sbin/pppd
ZoomUltra@Citycell:~$ sudo chmod o+x /usr/sbin/pppd
ZoomUltra@Citycell:~$ ls -l /usr/sbin/pppd
-rwsr-xr-x 1 root dip 273312 2010-03-07 09:59 /usr/sbin/pppd


Note: To check IP addresses and connection related other information then execute the following command
ZoomUltra@Citycell:~$ ifconfig
ppp0 Link encap:Point-to-Point Protocol
inet addr:10.1.105.59 P-t-P:2.2.2.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:4 errors:1 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:64 (64.0 B) TX bytes:97 (97.0 B)















11 comments:

  1. Give feedback whether this processes could be followed to install the modem

    ReplyDelete
  2. Stuck in step 2 : eject is not turning ffde to ffdd ..

    Ubuntu : 11.04

    any idea ?

    ReplyDelete
  3. Can anyone plz help on TOHIN's question?
    I am also fetching same problem.

    thanks in advance.

    ReplyDelete
  4. the step 2 should be as follows:
    $sudo eject /dev/sr*
    *) can be checked as follows:
    $ dmesg|grep cd
    see
    what number on the list is your modem CD-ROM is?
    if you have 1 CD ROM Drive in your computer, then $sudo eject /dev/sr1
    then follow the rest.
    The detailized can be read on yangnong.blogspot.com

    ReplyDelete
  5. Now we eject the CD-ROM drive TSB

    ZoomUltra@Citycell: ~ $ sudo eject / dev/sr1

    Note: USB mode switch is not required for this modem. SR1 in clay from the results of dmesg



    Type lsusb to find out the id of the product changes to ffdd ffde.

    ZoomUltra@Citycell: ~ $ lsusb
    Bus 003 Device 002: ID 09da: 000a A4 Tech Co.., Ltd. Port Mouse
    Bus 003 Device 001: ID 1d6b: 0001 Linux Foundation 1.1 root hub
    Bus 002 Device 004: ID 19d2: ffdd Onda Communication SpA
    Bus 002 Device 001: ID 1d6b: 0001 Linux Foundation 1.1 root hub
    Bus 001 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub
    Note: if there is no change in the product, unplug the modem and then colokin again.


    Input parameters to the kernel
    ZoomUltra@Citycell: ~ $ sudo modprobe usbserial vendor = 0x19d2 product = 0xffdd



    Type wvdialconf to create the file / etc / wvdial.conf. (If there is no wvdial, download them first and dependenciesnya)

    ZoomUltra@Citycell: ~ $ sudo wvdialconf
    Editing `/ etc / wvdial.conf '.
    Scanning your serial ports for a modem.
    ... ... ... ... ... ... ... ... ....
    ... ... ... ... ... ... ... ... ... ..
    ttyUSB0: ATQ0 V1 E1 - OK
    ttyUSB0: ATQ0 V1 E1 Z - OK
    ttyUSB0: ATQ0 V1 E1 S0 = 0 - OK
    ttyUSB0: ATQ0 V1 E1 S0 = 0 & C1 - OK
    ttyUSB0: ATQ0 V1 E1 S0 = 0 & C1 & D2 - OK
    ttyUSB0: ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0 - OK
    ttyUSB0: Modem Identifier: ATI - Manufacturer: QUALCOMM INCORPORATED
    ttyUSB0: Speed ​​9600: AT - OK
    ttyUSB0: Max speed is 9600; That Should Be safe.
    ttyUSB0: ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0 - OK
    ... ... ... ... ... ... ... ... ... .... Found a modem on / dev/ttyUSB0.
    Modem configuration written to / etc / wvdial.conf.
    ttyUSB0: Speed ​​9600; init "ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0"
    Step 6:
    Edit the file / etc / wvdial.conf

    ReplyDelete
  6. I am having some problems with this modem. I am using ubuntu 10.04.03. I have tried everything you have suggested. Everything goes okay but every the terminal shows the carrier detected, carrier signal lost. retrying ....
    I added two line "carrier check=off" and "stupid mode=on". Then once it showed connected but after a few seconds it showed the ppp daemon has died (exit code 17) but now the modem is not getting anything. I installed wvdial with dependencies like libwvstreams base, libwvstreams extras, libunicon,and libxplc. I installed gnome ppp also. Still no result. please help

    ReplyDelete
  7. Cd room ejected but...that cd room isnt named zoom......is there any cd i need for this? where i can find?

    ReplyDelete
  8. Thank U very much....

    VEry...Very helpfull..........

    ReplyDelete
  9. I have been able to connect for 3/4 time but after that is shows the following problem:
    -------------------
    CONNECT 3100000
    --> Carrier detected. Starting PPP immediately.
    --> Starting pppd at Sat Jan 7 07:17:00 2012
    --> Pid of pppd: 3965
    --> Using interface ppp0
    --> Disconnecting at Sat Jan 7 07:17:31 2012
    --> The PPP daemon has died: A modem hung up the phone (exit code = 16)
    --> man pppd explains pppd error codes in more detail.

    I think the modem is buggy.

    ReplyDelete
  10. In Ubuntu 11.10, 12.04, 12.10 and later this instruction would not work by 100%.

    We will have to disable USB Modeswitch and then use udisks --mount /dev/sr1 command to mount it then use sudo eject /dev/sr1. USB Modeswitch has poor configuration which hampers the detection of modem. And the mount is necessary due to the recent changes in the kernel.

    I have writtent a post about it here:
    http://adnan360.blogspot.com/2013/01/connect-zte-ac682-zoom-ubuntu.html

    It is possible to connect ATE AC682 with zoom on Knoppix, Puppy Linux, Slitaz, Linux Mint and more...

    ReplyDelete
  11. In ubuntu 12.04 LTS ubuntu not let me see the USB ZTE modem :(
    How can solve this problem ?
    please help...

    ReplyDelete

Surfe.be - Banner advertising service