|
|
发表于 2007-6-20 19:19:07
|
显示全部楼层
我的是用西门子手机边接的,先用在NET设置为ppp0, 然后用kppp拨号,
- GNU nano 2.0.2 File: /etc/conf.d/net
- # This blank configuration will automatically use DHCP for any net.*
- # scripts in /etc/init.d. To create a more complete configuration,
- # please review /etc/conf.d/net.example and save your configuration
- # in /etc/conf.d/net (this file :]!).
- dns_domain_lo="home"
- # config_eth0=( "adsl" )
- # adsl_user_eth0="username"
- # config_eth0=( "dhcp" )
- # dhcp_eth0="nodns nontp nonis"
- # config_eth0=( "192.168.1.2 netmask 255.255.255.0 brd 192.168.1.255" )
- # routes_eth0=( "default gw 192.168.1.1" )
- config_ppp0=( "ppp" )
- link_ppp0="/dev/ttyUSB0"
复制代码
kppp的modem commands设置:
- pre-init delay(sec/100): 50
- initialization string 1: ATZ
- initialization string 2; AT+CGDCONT=1,IP,CMNET
- Post-init delay(sec/100): 50
- Dialing speed(sec/100): 70
- Init response: OK
- No dial tone detection: ATX3
- Dial string: ATDT
- Connect response: CONNECT
- Busy response: BUSY
- No carrier response: NO CARRIER
- No dial tone response: NO DIALTONE
- Hangup string: +++ATH
- Hangup response: OK
- answer string: ATA
- Ring response: RING
- Answer response CONNECT
- DLP response: DIGITAL L.INE DETECTD
- Escape string: +++
- Escape response: OK
- Guard time(sec/50): 50
- Volume off/low/high: M0L0 M1L1 M1L3
复制代码 |
|