我们用的是极速行800,GPRS无线拨号上网
1.linux的内核在2.6以上已经有了cp2101-cp2102,能够支持其USB转串口的要求。具体操作:
a. 插上去应该能自动识别。可以用 dmesg来查看相应的硬件连接情况。
# dmesg
usb 3-2: USB disconnect, address 3
usb 6-2: new full speed USB device using uhci_hcd and address 3
usb 6-2: new device found, idVendor=10c4, idProduct=ea60
usb 6-2: new device strings: Mfr=1, Product=2, SerialNumber=3
usb 6-2: Product: CP2102 USB to UART Bridge Controller
usb 6-2: Manufacturer: Silicon Labs
usb 6-2: SerialNumber: 0001
usb 6-2: configuration #1 chosen from 1 choice
cp2101 6-2:1.0: cp2101 converter detected
usb 6-2: reset full speed USB device using uhci_hcd and address 3
usb 6-2: cp2101 converter now attached to ttyUSB0
可以看出 硬件已经挂载到 /dev/ttyUSB0上。
2.配置wvdial
#vi /etc/wvdial.conf
[Dialer Defaults