初学,关于3G在arm板上的拨号问题
本文导语: 我用的是一个山寨的3G上网卡,现在3G在开发板上已经认了: # mount -t usbfs none /proc/dev/bus mount: mounting none on /proc/dev/bus failed # mount -t usbfs none /proc/bus/usb # eject /dev/sr0 sr0: Hmm, seems the drive doesn't support multi...
# mount -t usbfs none /proc/dev/bus
mount: mounting none on /proc/dev/bus failed
# mount -t usbfs none /proc/bus/usb
# eject /dev/sr0
sr0: Hmm, seems the drive doesn't support multisession CD's
usb 1-1: USB disconnect, address 2
# usb 1-1: new full speed USB device using s3c2410-ohci and address 3
usb 1-1: configuration #1 chosen from 1 choice
scsi1 : SCSI emulation for USB Mass Storage devices
option 1-1:1.1: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
option 1-1:1.2: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
option 1-1:1.3: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
option 1-1:1.4: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
usb 1-1: New USB device found, idVendor=1bbb, idProduct=000f
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: Product: Qualcomm CDMA Technologies MSM
usb 1-1: Manufacturer: Qualcomm, Incorporated
# scsi 1:0:0:0: CD-ROM Qualcomm MMC Storage 2.31 PQ: 0 ANSI: 2
sr0: scsi-1 drive
sr 1:0:0:0: Attached scsi generic sg0 type 5
# mdev -s
然后我交叉编译了ppp,把pppd,pppump,pppstat,chat放进了arm的/usr/sbin里面
却发现:./sbin
-sh: ./sbin: Permission denied
于是我单独执行pppd
#./pppd call evdo
/usr/sbin/pppd: unrecognized option '-f'
pppd version 2.4.4
Usage: /usr/sbin/pppd [ options ], where options are:
Communicate over the named device
Set the baud rate to
: Set the local and/or remote interface IP
addresses. Either one may be omitted.
asyncmap Set the desired async map to hex
auth Require authentication from peer
connect
Invoke shell command
to set up the serial line
crtscts Use hardware RTS/CTS flow control
defaultroute Add default route through interface
file Take options from file
modem Use modem control lines
mru Set MRU value to for negotiation
See pppd(8) for more options.
请问这是什么原因啊,不知道怎么办了啊,请大虾们帮帮忙啊.
我的脚本是:
evdo:/dev/ttyUSB0
115200
crtscts
show-password
debug
usepeerdns
noauth
noipdefault
novj
novjccomp
noccp
defaultroute
ipcp-accept-local
ipcp-accept-remote
user "card"
password "card"
connect '/usr/sbin/pppd -f /etc/ppp/evdo-connect-chat'
evdo-connect-chat:
#/etc/ppp/evdo-connect-chat
#chat script for China Mobile,used ETCOM CDMA module.
TIMEOUT 15
ABORT "DELAYED"
ABORT "BUSY"
ABORT "ERROR"
ABORT "NO CARRIER"
TIMEOUT 30
" rAT
OK ATS0=0
OK ATE0V1
OK at^prefmode=8
OK ATDT#777
|
connect '/usr/sbin/chat -f /etc/ppp/evdo-connect-chat'
|
-sh: ./sbin: Permission denied
改权限:chmod 777 -Rf ./sbin