[root@test ppp]# wvdialconf /etc/wvdial.confScanning your serial ports for a modem.ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 4800 baudttyS0<*1>: ATQ0 V1 E1 -- failed with 4800 baud, next try: 9600 baudttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 19200 baudttyS0<*1>: ATQ0 V1 E1 -- failed with 19200 baud, next try: 57600 baudttyS0<*1>: ATQ0 V1 E1 -- OKttyS0<*1>: ATQ0 V1 E1 Z -- OKttyS0<*1>: ATQ0 V1 E1 S0=0 -- OKttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OKttyS0<*1>: ATQ0 V1 E1 S0=0 & C1 &D2 -- OKttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OKttyS0<*1>: Modem Identifier: ATI – Siemens Mc35 Gprs ModemttyS0<*1>: Max speed is 57600; that should be safe.ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OKFound a modem on /dev/ttyS0.Modem Configuration written to /etc/wvdial.conf.ttyS0: Speed 57600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" If the result is different from the above, please try again, the system will always be Successfully found the modem
9.vi /etc/wvdial.conf, modify this file as follows:[Dialer Defaults]Modem = /dev/ttyS0Baud = 57600Init1 = ATZInit2 = ATQ0 V1 E1 S0=0 & C1 &D2 +FCLASS=0ISDN = 0Modem Type = Analog ModemPhone = *99***1#Username = Password =10. Edit /etc/chap-secrets and /etc/pap-secrets to put the contents of both files Change to "" * "" Note that the first pair of quotes is the user name, the * sign indicates no restrictions on the server name, and the second pair of quotes is the check password. 11. Run wvdial and you can see the result as follows:[root@test ppp]# wvdial--> WvDial: Internet dialer version 1.53--> Initializing modem.--> Sending: ATZATZOK--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0OK--> Modem initialized.--> Sending: ATDT*99***1#--> Waiting for carrier.ATDT*99 ***1#CONNECT--> Carrier detected. Waiting for prompt.~[7f]}#@!}!}!} }7}"}&} } } } }#}%B#}%}% }&I=}3[18]}(}"}^}#~--> PPP negotiation detected.--> Starting pppd at Thu May 13 17:47:11 2004--> pid of pppd : 1953512. Open another terminal, run ifconfig to see that the ppp0 device has appeared in the interface, as shown below:ppp0 Link encap: Point-to-Point Protocolinet addr: 220.192.68.149 PtP: 220.192.64.1 Mask :255.255.255.255UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1RX packets:3 errors:0 dropped:0 overruns:0 frame:0TX packets:4 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:3RX Bytes:66 (66.0 b) TX bytes:84 (84.0 b) can see already Got the dynamic address 220.192.68.149 13. At this time you need to manually add a default route: route add default ppp0, after the completion of the addition can ping the remote address to try whether it is really online, for example, on the public network can ping 166.111.8.238 It should pass; 14. If you want to hang up the ppp connection, it is very simple, just switch to the terminal where wvdial is located, then press Ctrl + C, you can also kill the wvdial process, the result is as follows:Caught signal # 2! Attempting to exit gracefully...--> Disconnecting at Thu JULY 13 17:58:26 2004[root@test ppp]# ppp0 Link encap:Point-to-Point Protocol
got a long time (about 3 days), and finally got through. At first I wanted to give up but slowly beg
busybox is a Linux command box that integrates many of the tools and commands that compress Linux.
Windows CE is an embedded operating system developed by Microsoft that can be used in a variety of e
The web server avoids some unnecessary troubles. You can not display the version information of apa
Linux ssh related configuration
Problems with installing small input methods under centos
The difference between switching users su and su in Linux Shell
Linux using fdisk tool SSH command line partition and mount using partition tutorial
Vmware Server installation notes for Linux and Windows
How popular is Ubuntu Linux? Data tells you
Basic application tutorial for iptables firewall on Linux
CentOS 6.2 firewall opens, closes, and opens designated ports
Win10 preview version boot black screen how to fix
Rookie talk: DOS virtual floppy disk repair hard disk bad road
Win7 system due to template damage caused by Word can not open the solution
Windows 8 desktop multi-window fast equalization tile
How does the Win7 system adjust the graphics card fan speed?
Top 10 upgrade reasons for Windows 7
Win7 boot landing screen background setting graphic tutorial
Win10 system update driver timeout solution
Win8.1 desktop new gameplay Enter the traditional desktop has a coup
Unrecognized USB device processing method summary [group map]