LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ZTE AC2627 USB MODEM not working in fedora 9 (https://www.linuxquestions.org/questions/linux-newbie-8/zte-ac2627-usb-modem-not-working-in-fedora-9-a-795499/)

baig 03-15-2010 06:55 AM

ZTE AC2627 USB MODEM not working in fedora 9
 
Hi, I have no luck in configuring zte ac2627 so for, have searched many threads but no luck yet. need your help. thanks in advance
Code:

[root@Wazirkutz ~]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 006: ID 19d2:fff5 ONDA Communication S.p.A.
Bus 004 Device 002: ID 15d9:0a33 
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 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[root@Wazirkutz ~]#

Then i do "usb_modeswitch"
conf is:

Code:

DefaultVendor=  0x19d2
DefaultProduct= 0xfff5

TargetVendor=  0x19d2
TargetProduct=  0xfff1

MessageEndpoint=0x0a
MessageContent="5553424312345678c00000008000069f030000000000000000000000000000"


Code:

[root@Wazirkutz ~]# usb_modeswitch

 * usb_modeswitch: tool for controlling "flip flop" mode USB devices
 * Version 0.9.4 (C) Josua Dietze 2008
 * Works with libusb 0.1.12 and probably other versions

Looking for target devices
 No target device found
Looking for default devices
 Found default devices (1)
Prepare switching, accessing latest device
Looking for active default driver to detach it
 OK, driver found ("usb-storage")
 OK, Driver "usb-storage" successfully detached
Setting up communication with device
Trying to send the message
 OK, message successfully sent.
-> See /proc/bus/usb/devices (or call lsusb) for changes. Bye

Now i can see change

Code:

[root@Wazirkutz ~]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 006: ID 19d2:fff1 ONDA Communication S.p.A.
Bus 004 Device 002: ID 15d9:0a33


wvdialconf /etc/wvdial.conf

Code:

[root@Wazirkutz ~]# wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1  S2  S3  USB0


Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?

Please read the FAQ at http://open.nit.ca/wiki/?WvDial

If you still have problems, send mail to <wvdial-list@lists.nit.ca>.


still no ttyUSB0 in /dev/


thanks in advance

John VV 03-16-2010 12:01 AM

download the fedora 12 LIVE cd and install that
Fedora 9 is WAY past it's END OF LIFE and is no longer supported.

SemiBeard 03-16-2010 06:04 PM

usb modem
 
see if the /etc/syslog[.log] or /etc/messages[.log] files have any clues as to which port it is at.

Quote:

Originally Posted by baig (Post 3898898)
Hi, I have no luck in configuring zte ac2627 so for, have searched many threads but no luck yet. need your help. thanks in advance
Code:

[root@Wazirkutz ~]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 006: ID 19d2:fff5 ONDA Communication S.p.A.
Bus 004 Device 002: ID 15d9:0a33 
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 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[root@Wazirkutz ~]#

Then i do "usb_modeswitch"
conf is:

Code:

DefaultVendor=  0x19d2
DefaultProduct= 0xfff5

TargetVendor=  0x19d2
TargetProduct=  0xfff1

MessageEndpoint=0x0a
MessageContent="5553424312345678c00000008000069f030000000000000000000000000000"


Code:

[root@Wazirkutz ~]# usb_modeswitch

 * usb_modeswitch: tool for controlling "flip flop" mode USB devices
 * Version 0.9.4 (C) Josua Dietze 2008
 * Works with libusb 0.1.12 and probably other versions

Looking for target devices
 No target device found
Looking for default devices
 Found default devices (1)
Prepare switching, accessing latest device
Looking for active default driver to detach it
 OK, driver found ("usb-storage")
 OK, Driver "usb-storage" successfully detached
Setting up communication with device
Trying to send the message
 OK, message successfully sent.
-> See /proc/bus/usb/devices (or call lsusb) for changes. Bye

Now i can see change

Code:

[root@Wazirkutz ~]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 006: ID 19d2:fff1 ONDA Communication S.p.A.
Bus 004 Device 002: ID 15d9:0a33


wvdialconf /etc/wvdial.conf

Code:

[root@Wazirkutz ~]# wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1  S2  S3  USB0


Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?

Please read the FAQ at http://open.nit.ca/wiki/?WvDial

If you still have problems, send mail to <wvdial-list@lists.nit.ca>.


still no ttyUSB0 in /dev/


thanks in advance


baig 03-21-2010 12:35 PM

Solved
 
install usb_modeswitch from fedora repos.
since /etc/usb_modeswitch.conf is old in repos replace it with new updated config file or append lines below at the end of usb_modeswitch.conf

Code:

DefaultVendor= 0x19d2
DefaultProduct= 0xfff5
TargetVendor= 0x19d2
TargetProduct= 0xfff1
#DetachStorageOnly=1
MessageEndpoint=0x0a
MessageContent="5553424312345678c00000008000069f010000000000000000000000000000"
#ResponseEndpoint=0x84
#NeedResponse=1

now as root issue the following command.

Code:

usb_modeswitch
It would say something like
Code:

Looking for target devices
 No target device found
Looking for default devices
 Found default devices (1)
Prepare switching, accessing latest device
Looking for active default driver to detach it
 OK, driver found ("usb-storage")
 OK, Driver "usb-storage" successfully detached
Setting up communication with device
Trying to send the message
 OK, message successfully sent.
-> See /proc/bus/usb/devices (or call lsusb) for changes. Bye


then issue following command as root

Code:

modprobe usbserial vendor=0x19d2 product=0xfff1
now see if the product has changed from 0xfff5 to fff1 using

Code:

lsusb

then issue as root
Code:

wvdialconf /etc/wvdial.conf
and once its done

Code:


       
Code:

       
wvdial



then output should be
Code:


--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CRM=1
AT+CRM=1
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Sun Mar 21 22:07:17 2010
--> Pid of pppd: 2565
--> Using interface ppp0
--> pppd: 3
--> pppd: 3
--> pppd: 3
--> pppd: 3
--> local  IP address xx.103.xx.182
--> pppd: 3
--> remote IP address 10.0.225.49
--> pppd: 3
--> primary  DNS address xx.1xx.156.118
--> pppd: 3
--> secondary DNS address 202.xx5.153.xx
--> pppd: 3

now
Code:

echo "nameserver xx.xx.xx.xx" >> /etc/resolv.conf
echo "nameserver xx.xx.xx.xx" >> /etc/resolv.conf

where xx.xx.xx.xx is the primary and secondary DNS addresses produced by your wvdial.

John VV 03-21-2010 07:32 PM

baig is this still the unsupported and DEAD fedora 9 .
IF SO install fedora 12 or 13 ( 13 will be out very soon)

baig 03-22-2010 03:04 PM

I don't know what do you mean by DEAD? :) I still get updates from fedora 9 servers across the globe. Yes indeed it the same fedora 9.

Cheers!!

John VV 03-22-2010 04:17 PM

YOU DO NOT i repeat YOU DO NOT get updates for fedora 9
fedora 9 has BEEN UNSUPPORTED for a year now
There have BEEN NO UPDATES it it
and there will NEVER be any updates to it EVER .

baig 03-23-2010 11:51 AM

Thanks for your "CLEAR" declaration ;) I will soon switch to fedora 12 or 13. But I would still ask "Why fedora 9 mirrors are up, to this date then?

Cheers!!


All times are GMT -5. The time now is 05:00 AM.