LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   how to connect to ZTE AC2746 to rhel5(x86_64) (https://www.linuxquestions.org/questions/mandriva-30/how-to-connect-to-zte-ac2746-to-rhel5-x86_64-a-833327/)

ranvir03 09-20-2010 07:50 AM

how to connect to ZTE AC2746 to rhel5(x86_64)
 
hi!! this is ranvir...
i'm using rhel5(x86_64) and i want to connect it to ZTE AC2746 but a operating system not detect it as a data card
here is my karnel message & other configration....
please help....

[root@localhost ~]# sudo tail /var/log/messages
Sep 18 06:45:25 localhost kernel: Type: CD-ROM ANSI SCSI revision: 02
Sep 18 06:45:26 localhost kernel: sr0: scsi-1 drive
Sep 18 06:45:26 localhost kernel: sr 6:0:0:0: Attached scsi generic sg1 type 5
Sep 18 06:45:26 localhost kernel: Vendor: ZTE Model: USB Storage FFF1 Rev: 2.31
Sep 18 06:45:26 localhost kernel: Type: Direct-Access ANSI SCSI revision: 02
Sep 18 06:45:26 localhost kernel: sd 6:0:0:1: Attached scsi removable disk sdc
Sep 18 06:45:26 localhost kernel: sd 6:0:0:1: Attached scsi generic sg2 type 0
Sep 18 06:45:26 localhost ztemtvcdromd: receive a SIGUSR1
Sep 18 06:45:26 localhost ztemtvcdromd: open /dev/sgZTEMT CD-ROM Success
Sep 18 06:45:27 localhost hald: mounted /dev/scd0 on behalf of uid 0
[root@localhost ~]# lsusb
Bus 004 Device 001: ID 0000:0000
Bus 004 Device 002: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
Bus 001 Device 001: ID 0000:0000
Bus 005 Device 004: ID 19d2:fff5 ONDA Communication S.p.A.
Bus 005 Device 001: ID 0000:0000
Bus 006 Device 003: ID 15d9:0a33 Trust International B.V. Optical Mouse
Bus 006 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 003: ID 04f2:b016 Chicony Electronics Co., Ltd VGA 30fps UVC Webcam
Bus 007 Device 001: ID 0000:0000
[root@localhost ~]# cat /etc/usb_modeswitch.conf
# /etc/usb_modeswitch.conf
#
# Configuration for usb_modeswitch, a mode switching tool for controlling
# flip flop (multiple device) USB gear
#
# Triggers the switching of several known UMTS modems from storage device mode
# ("ZeroCD" under MS Windows) to modem (serial) device mode
#
# Detailed instructions and a friendly forum on the homepage:
# http://www.draisberghof.de/usb_modeswitch


# What it all means:
#
# * DefaultVendor
# * DefaultProduct
#
# This is the ID the USB device shows after having been plugged in.
# The tool looks for this; if not found -> no action.
#
# * TargetVendor
# * TargetProduct (both optional)
#
# This is the ID the USB device after successful mode switching.
# The tool looks for this; if found -> no action.
#
# * MessageEndpoint
#
# A kind of address inside the interface to which the "message"
# (the sequence that does the actual switching) is directed
#
# * MessageContent
#
# A hex string containing the "message" sequence; it will be
# sent as a USB bulk transfer
#
# * ResponseEndpoint
# * NeedResponse (Default: no)
#
# Some devices need to receive the response of the bulk
# transfer to do the switching properly
#
# * DetachStorageOnly (Default: no)
#
# Some devices just need to be detached from the usb-storage
# driver to initiate the mode switching
#
# All other entries are just ignored ...
#
#
# For filling in all this information for an unknown device,
# note its Vendor and Product ID after plugging in (usb-storage)
# from /proc/bus/usb/devices (or from the output of "lsusb"), then
# try spying on the USB communication to this device inside a
# Micro$oft OS. Recommended tool: "SniffUSB"
#
# If you find working codes and configurations, please contribute
# them!



#######################################################
# Option GlobeSurfer Icon (aka "Vodafone EasyBox")

DefaultVendor= 0x05c6
DefaultProduct= 0x1000

TargetVendor= 0x0af0
TargetProduct= 0x6600

MessageEndpoint=0x05
MessageContent="55534243706ede860000000000000601000000000000000000000000000000"


#######################################################
# Option GlobeSurfer Icon 7.2
#
# Contributor: The Pharscape Forum

;DefaultVendor= 0x05c6
;DefaultProduct= 0x1000

;TargetVendor= 0x0af0
;TargetProduct= 0x6901

;MessageEndpoint=0x05
;MessageContent="55534243706ede860000000000000601000000000000000000000000000000"


########################################################
# Option GlobeTrotter GT MAX 3.6 (aka "T-Mobile Web'n'walk Card Compact II")
#
# Contributor: Bernd Holzm

;DefaultVendor= 0x05c6
;DefaultProduct= 0x1000

;TargetVendor= 0x0af0
;TargetProduct= 0x6600

;MessageEndpoint=0x05
;MessageContent="55534243d0d78d850000000000000601000000000000000000000000000000"

;ResponseEndpoint=0x84
;NeedResponse=1


########################################################
# Option GlobeTrotter GT MAX "7.2 Ready"
#
# Timing is an issue here when automated with udev. See homepage!
#
# Contributor: Lucas Benedicic

;DefaultVendor= 0x05c6
;DefaultProduct= 0x1000

;TargetVendor= 0x0af0
;TargetProduct= 0x6701

;MessageEndpoint=0x05
;MessageContent="5553424308e0f8840800000080000a4a010000000000000800000000000000"



########################################################
# Option GlobeTrotter EXPRESS 7.2 (aka "T-Mobile wnw Express II")
#
# Working reliably. NeedResponse now confirmed
#
# Contributor: Fridtjof Busse

;DefaultVendor= 0x05c6
;DefaultProduct= 0x1000

;TargetVendor= 0x0af0
;TargetProduct= 0x6701

;MessageEndpoint=0x05
;MessageContent="55534243d0d78d850000000000000601000000000000000000000000000000"

;ResponseEndpoint=0x84
;NeedResponse=1


########################################################
# Huawei E220 (aka "Vodafone EasyBox II", aka "T-Mobile wnw Box Micro")
#
# Two options now: 1. removal of "usb-storage" 2. the special control
# message found by Miroslav Bobovsky
#
# Contributor: Hans Kurent, Denis Sutter

;DefaultVendor= 0x12d1;
;DefaultProduct= 0x1003

# choose one of these:
;DetachStorageOnly=1
;HuaweiMode=1


########################################################
# Huawei E630 (Experimental)
#
# Beware: there are modem-only variants around - no storage,
# no switching necessary!
#
# Caveat: this is untested and may present problems. You might
# try to use the new Huawei sequence with it
#
# Contributor: Joakim Wenrgren

;DefaultVendor= 0x1033
;DefaultProduct= 0x0035

;TargetVendor= 0x12d1
;TargetProduct= 0x1003

;DetachStorageOnly=1


########################################################
# ZTE MF620 (Experimental)
#
# Message string taken from a sniffer log. Untested!
#
# Contributor: Fl�vio Moringa

;DefaultVendor= 0x19d2
;DefaultProduct= 0x2000

;TargetVendor= 0x19d2
;TargetProduct= 0x0001

;MessageEndpoint=0x04
;MessageContent="5553424308a0b7870000000000000600000000000000000000000000000000"

########################################################
# ZTE AC2746 (Experimental)
#
# Message string taken from a sniffer log. Untested!
#
# Contributor: Fl�vio Moringa

DefaultVendor= 0x19d2
DefaultProduct= 0xfff5

TargetVendor= 0x19d2
TargetProduct= 0xfff1
MessageEndpoint=0x0a

MessageContent="5553424312345678c00000008000069f010000000000000000000000000000"


[root@localhost ~]#

jkerr82508 09-20-2010 10:50 AM

I have a ZTE device (different model). "Ejecting" the "storage device" (I use dolphin in Mandriva) results in the device being properly recognised. I read somewhere the series of commands that you can send to a ZTE device to cause it to be properly recognized. I forget where. Perhaps on an Ubuntu forum.

Jim

ranvir03 09-20-2010 01:13 PM

A lot of thanx to you..!!
hay i'm just ejecting it & now run this command
#wvdialconf /etc/wvdial.conf
now its work sucessfully...


All times are GMT -5. The time now is 12:16 PM.