http://blog.csdn.net/crazyleen/article/details/21986541
USB 3G网卡默认模式为闪存设备,使用usb-modeswitch切换3G网卡为usbserial模式,最终使用pppd拨号上网。
只需选上ppp和usbserial
DeviceDrivers --->
[*] Network device support-->
<*> PPP (point-to-point protocol) support
[*] PPP multilink support (EXPERIMENTAL)
[*] PPP filtering
<*> PPP support for async serial ports
<*> PPP support for sync tty ports
<*> PPP Deflate compression
<*> PPP BSD-Compress compression
<*> PPP MPPE compression (encryption) (EXPERIMENTAL)
[*]USB support --->
<*> USB Serial Converter support --->
[*] USB Generic Serial Driver
<*> USB driver for GSM and CDMA modems
ppp
chat
comgt
libpthread
librt
libusb-1.0
usb-modeswitch
zlib
网络配置文件/etc/config/network
configinterface wan
optionifname 'ppp0'
optionservice 'evdo'
optiondevice '/dev/ttyUSB0'
optionusername '[email protected]'
optionpassword 'vnet.mobi'
optionproto 3g
optionauto 1
chat配置文件/etc/chatscripts/evdo.chat
ABORT BUSY
ABORT 'NO CARRIER'
ABORT ERROR
REPORT CONNECT
TIMEOUT10
'' AT
'OK-+++\c-OK'ATH0
TIMEOUT40
'' AT
OK 'ATDT#777'
CONNECT''