===================networks-script/ifcfg-CNC=================== # Please read /usr/share/doc/initscripts-*/sysconfig.txt # for the documentation of these parameters. ONBOOT=no USERCTL=yes IPV6INIT=no PEERDNS=yes TYPE=xDSL DEVICE=ppp0 BOOTPROTO=dialup PIDFILE=/var/run/pppoe-adsl.pid FIREWALL=NONE PING=. PPPOE_TIMEOUT=80 LCP_FAILURE=3 LCP_INTERVAL=20 CLAMPMSS=1412 CONNECT_POLL=6 CONNECT_TIMEOUT=60 PERSIST=yes SYNCHRONOUS=no DEFROUTE=yes USER=YOUR_USERNAME ETH=eth0 PROVIDER=CNC DEMAND=no ========================End===========================
密码保存在什么地方呢? 经过观察发现在这里 ==============/etc/ppp/chap-secrets======================= # Secrets for authentication using CHAP # client server secret IP addresses ####### redhat-config-network will overwrite this part!!! (begin) ########## "YOUR_USERNAME" "CNC" "YOUR_PASS" "YOUR_USERNAME" * "YOUR_PASS" ####### redhat-config-network will overwrite this part!!! (end) ############ ================END==================================
=============/etc/ppp/pap-secrets========================= # Secrets for authentication using PAP # client server secret IP addresses ####### redhat-config-network will overwrite this part!!! (begin) ########## "YOUR_USERNAME" "CNC" "YOUR_PASS" "YOUR_USERNAME" * "YOUR_PASS" ####### redhat-config-network will overwrite this part!!! (end) ############ ==============END======================================