华为E261 3D上网卡拨号上网脚本的设置问题
拨号总是不成功,求助这个有官方求助渠道没有?
============调试信息如下=============# usb_modeswitch -c /etc/usb_modeswitch.d/12d1:1446
Look for target devices ...
No devices in target mode or class found
Look for default devices ...
product ID matched
Found devices in default mode (1)
Access device 002 on bus 002
Current configuration numberusb 2-1: USB disconnect, address 2
is 1
Use interface number 0
Use endpoints 0x01 (out) and 0x81 (in)
USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Technology
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Warning: MessageContent/StandardEject ignored; can't combine with special mode
Using standard Huawei switching message
Looking for active driver ...
OK, driver detached
Set up interface 0
Use endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
Device seems to have vanished right after sending. Good.
Device is gone, skip any further commands
Check for mode switch (max. 20 times, once per second) ...
Search for target devices ...
Search for target devices ...
Search for target devices ...
Search for target devices ...
usb 2-1: new high speed USB device using ehci-omap and address 3
option 2-1:1.0: GSM modem (1-port) converter detected
usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
option 2-1:1.3: GSM modem (1-port) converter detected
usb 2-1: GSM modem (1-port) converter now attached to ttyUSB1
option 2-1:1.4: GSM modem (1-port) converter detected
usb 2-1: GSM modem (1-port) converter now attached to ttyUSB2
scsi7 : usb-storage 2-1:1.5
scsi8 : usb-storage 2-1:1.6
Search for target devices ...
product ID matched
Found target device, open it
Found correct target device
Mode switch succeeded. Bye!# pppd call wcdma &
timeout set to 5 seconds
abort on (NO CARRIER)
abort on (ERROR)
abort on (NODIALTONE)
abort on (BUSY)
abort on (NO ANSWER)
send (^MAT^M)
expect (OK)
AT^M^M
OK
-- got it
send (^MATZ^M)
expect (OK^MAT+CGDCONT=1,"IP","3gnet",,0,0)
^M
ATZ^M^M
OK^M
alarm
Failed
Script /usr/sbin/chat -s -v -f /etc/ppp/peers/chat-wcdma-connect finished (pid 1736), status = 0x3
Connect script failed拨号脚本如下
wcdmadebug
nodetach
/dev/ttyUSB0
115200
usepeerdns
noauth
noipdefault
novj
novjccomp
noccp
defaultroute
ipcp-accept-local
ipcp-accept-remote
connect '/usr/sbin/chat -s -v -f/etc/ppp/peers/chat-wcdma-connect'
disconnect '/usr/sbin/chat -s -v-f/etc/ppp/peers/chat-wcdma-disconnect'
chat-wcdma-connectTIMEOUT 5
ABORT 'NO CARRIER'
ABORT 'ERROR'
ABORT 'NODIALTONE'
ABORT 'BUSY'
ABORT 'NO ANSWER'
'' \rAT
OK \rATZ
OK\rAT+CGDCONT=1,"IP","3GNET",,0,0
OK-AT-OK ATDT*99#
CONNECT \d\c
再次移植,发现又搜到自己的文章。
这是缺少另外两个脚本的原因
chap-secrets
pap-secrets
页:
[1]