Article title: answers to common questions about Linux dial-up Internet access using KPPP. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
To surf the Internet, kppp is an essential dial-up online tool for Linux players. In a Chinese Linux system, the kppp interface is silly enough. you just need to perform some "fill-in exercises" based on your machine settings. But sometimes the problem of kppp is still puzzling, and modem will be as anxious as a fool.
Maybe you are looking for help from a Linux expert. In fact, in a DIY Linux system, as long as you understand some common setting methods and setting files of kppp, you can easily solve some common problems! I have summarized some experiences using kppp of Blue Point 2.0. here I will share with you!
Before solving the problem, you should ......
First, let's take a look at your own level, and then you can upgrade yourself.
Entry level: know the password of the root account. Because a modem is a system device, only the system administrator (root account) can use and set it.
Cainiao: understand the meanings of some of the main configuration options (Chinese Linux is actually completely the name suggests ).
DIY: start reading this article! After reading this article, you will know how to remedy the problem, so that you can put some main settings files (such as/etc/pam. common options of d/kppp and/etc/ppp/options are customized as needed.
If you have not connected ......
When connection is required, kppp requires the root user's account and password.
_ Blue Point 2.0 stipulates that kppp can be called only after the embedded Authentication Module (PAM) is verified. that is, the root account must be used to call kppp.
_ The simplest way to change this problem is to open your/etc/pam. d/kppp file and take the following line:
# Auth sufficient/lib/security/pam_rootok.so
Replace:
Auth sufficient/lib/security/pam_permit.so
I error message: "The daemon died" (background process death ).
This is the most common and troublesome error message. Generally, you should perform the following checks:
_ Pppd is a binary executable program rather than a script );
_ Pppd is started by the root user;
_ Check whether the/etc/ppp/options file has incorrect options. If you are not sure, delete the file;
_ In "settings" = "devices" of kppp, do not select the "use filelock" option ();
_ Delete rows with lock options in the/etc/ppp/options file;
_ If a problem occurs due to the symbolic link file in/dev/modem, use the real port (you can call "settings" = "modem" = "device "), the corresponding port of the selected value is :()
TtyS0 corresponds to COM1 ttyS1 corresponds to COM2
TtyS2 corresponds to COM3 ttyS3 corresponds to COM4
I error message: "Sorry can \ t open modem" (Sorry, you cannot open the modem .)
_ Check whether you have selected the correct modem device (/dev/modem );
_ Do you want to start kppp with a root user account;
I kppp indicates that the connection is successful, but it enters an indefinite waiting period.
_ Change the "line end" setting value under "Settings" = "devices" and try to use different possible settings (CR, LF, or CR/LF )();
_ Click the "modem" tab in "settings" and press the "modem command" button to adjust the time settings for the two "initialization Delays ().
I. When the ppp interface appears, the report times out.
_ Change the value of "line end" (in the "set" = "device" label )();
_ Do not select the "use filelock" option (in the "Settings" = "devices" tab )();
_ Increase the pppd timeout time (in the "set" = "" PPP "label )()
I the remote system requires password verification on its own, but the local host pppd [199] has not set any password for the remote host to use an IP address.
_ This is because the pppd-2.3.10 in Blue Point 2.0 found a default route on the eth0 interface. This error has been clearly stated in the ppp-2.3.11. To eliminate this error, do the following:
_ Edit the file/etc/sysconfig/network and the file/etc/sysconfig/network-scripts/ifcfg-eth0 to delete the content behind all equal signs for GATEWAY = and GATEWAYDEV =.
[1] [2] Next page