Modem 3G ZTE 626
Wesley Miranda
lista at freebsdconsult.com.br
Mon Aug 3 00:22:49 UTC 2009
hi all,
I'm trying to connect my modem HSDPA USB ZTE 626
Install the FreeBSD 8.0Beta2
Download at usb_modeswitch-1.0.2.tar.bz2
running gcc -l usb -o usb_modeswitch usb_modeswitch.c
edit it usb_modeswitch.conf
Descoment ventor
DefaultVendor= 0x19d2
DefaultProduct= 0x2000
0x01
MessageContent="55534243123456782000000080000c85010101180101010101000000000000"
MessageContent="5553424312345678000000000000061b000000030000000000000000000000"
Running /usr/sbin/usb_modeswitch
Ok Modem is UP.
My other problems too:
----
Jan 12 01:34:59 idxbox kernel: ugen4.3: <ZTE, Incorporated> at usbus4 (disconnected)
Jan 12 01:34:59 idxbox kernel: umass1: at uhub1, port 2, addr 3 (disconnected)
Jan 12 01:34:59 idxbox kernel: (cd0:umass-sim1:1:0:0): lost device
Jan 12 01:34:59 idxbox kernel: (cd0:umass-sim1:1:0:0): removing device entry
Jan 12 01:35:05 idxbox root: Unknown USB device: vendor 0x19d2 product 0x0031 bus uhub1
Jan 12 01:35:05 idxbox kernel: ugen4.3: <ZTE, Incorporated> at usbus4
Jan 12 01:35:05 idxbox kernel: umass1: <ZTE, Incorporated ZTE CDMA Technologies MSM, class 0/0, rev 2.00/0.00, addr 3> on usbus4
Jan 12 01:35:05 idxbox kernel: umass1: SCSI over Bulk-Only; quirks = 0x0000
----
running ppp -ddial vivo
other problems:
---
Jan 12 01:55:33 idxbox ppp[1349]: Phase: Using interface: tun0
Jan 12 01:55:33 idxbox ppp[1349]: Phase: deflink: Created in closed state
Jan 12 01:55:33 idxbox ppp[1349]: tun0: Command: default: set device /dev/cuau1
Jan 12 01:55:33 idxbox ppp[1349]: tun0: Command: default: set speed sync
Jan 12 01:55:33 idxbox ppp[1349]: tun0: Command: default: set dial ABORT BUSY TIMEOUT 2 "" AT OK-AT-OK AT+CFUN=1 OK-AT-OK AT+CMEE=2 OK-AT-OK
AT+CSQ OK AT+CGDCONT=1,\"IP\",\"internet\" OK AT+CGACT? OK-AT-OK AT+CGATT? OK AT+CGCLASS? OK AT+COPS? OK ATD*99# CONNECT
Jan 12 01:55:33 idxbox ppp[1349]: tun0: Phase: PPP Started (interactive mode).
Jan 12 01:55:50 idxbox ppp[1349]: tun0: Command: /dev/pts/1: dial
Jan 12 01:55:50 idxbox ppp[1349]: tun0: Phase: bundle: Establish
Jan 12 01:55:50 idxbox ppp[1349]: tun0: Phase: deflink: closed -> opening
Jan 12 01:55:50 idxbox ppp[1349]: tun0: Phase: deflink: Connected!
Jan 12 01:55:50 idxbox ppp[1349]: tun0: Phase: deflink: opening -> dial
Jan 12 01:55:50 idxbox ppp[1349]: tun0: Chat: deflink: Dial attempt 1 of 1
Jan 12 01:55:50 idxbox ppp[1349]: tun0: Chat: Send: AT^M
Jan 12 01:55:50 idxbox ppp[1349]: tun0: Chat: Expect(2): OK
Jan 12 01:55:52 idxbox ppp[1349]: tun0: Chat: Expect timeout
Jan 12 01:55:52 idxbox ppp[1349]: tun0: Chat: Send: AT^M
Jan 12 01:55:52 idxbox ppp[1349]: tun0: Chat: Expect(2): OK
Jan 12 01:55:54 idxbox ppp[1349]: tun0: Chat: Expect timeout
Jan 12 01:55:54 idxbox ppp[1349]: tun0: Warning: Chat script failed
Jan 12 01:55:54 idxbox ppp[1349]: tun0: Phase: deflink: dial -> hangup
Jan 12 01:55:54 idxbox ppp[1349]: tun0: Phase: deflink: Disconnected!
Jan 12 01:55:54 idxbox ppp[1349]: tun0: Phase: deflink: Connect time: 4 secs: 0 octets in, 0 octets out
Jan 12 01:55:54 idxbox ppp[1349]: tun0: Phase: deflink: 0 packets in, 0 packets out
Jan 12 01:55:54 idxbox ppp[1349]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sun Jan 12 01:55:50 2003
Jan 12 01:55:54 idxbox ppp[1349]: tun0: Phase: deflink: hangup -> closed
Jan 12 01:55:54 idxbox ppp[1349]: tun0: Phase: bundle: Dead
----
----
my ppp.conf this way:
default:
set log Phase Chat LCP IPCP CCP tun command
set device /dev/cuau1
set speed sync
set dial "ABORT BUSY TIMEOUT 2 \
\"\" \
AT OK-AT-OK \
AT+CFUN=1 OK-AT-OK \
AT+CMEE=2 OK-AT-OK \
AT+CSQ OK \
AT+CGDCONT=1,\\\"IP\\\",\\\"internet\\\" OK \
AT+CGACT? OK-AT-OK \
AT+CGATT? OK \
AT+CGCLASS? OK \
AT+COPS? OK \
ATD*99# CONNECT"
vivo:
set authname vivo
set authkey vivo
set phone *99#
set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: ppp word: ppp"
set timeout 0
set ifaddr 192.168.1.0/0 127.0.0.1/0 255.255.255.0 0.0.0.0
# add default HISADDR
enable dns
-----
Could not connect someone help me please?
Thanks.
Wesley Miranda
FreeBSD Consult
www.freebsdconsult.com.br
More information about the freebsd-usb
mailing list