|
使用RP-PPPOE 实现ADSL 宽带上网过程
首先运行:# /sbin/adsl-setup
Welcome to the ADSL client setup. First, I will run some checks on your system to make sure the PPPoE client is installed properly..LOGIN NAME Enter your Login Name (default root): ad58029124 INTERFACE Enter the Ethernet interface connected to the ADSLmodem For Solaris, this is likely to be something like /dev/hme0.For Linux, it will be ethX, where 'X' is a number. (default eth0): eth0 Doyou want the link to come up on demand, or stay up continuously?If you want it to come up on demand, enter the idle time in secondsafterwhich the link should be dropped. If you want the link to stay up permanently, enter 'no' (two letters, lower-case.):no
NOTE: Demand-activated links do not interact well with dynamic IPaddresses. You may have some problems with demand-activatedlinks. Enter the demand value (default no): no
DNS
Please enter the IP address of your ISP's primary DNS server.If your ISP claims that 'the server will provide dynamic DNS addresses',enter 'server' (all lower-case) here.(按回车)
If you just press enter, I will assume you know what you aredoing and not modify your DNS setup. Enter the DNS information here: (按回车)
PASSWORD
Please enter your Password: (输入密码)
Please re-enter your Password: (再次输入密码)
USERCTRL
Please enter 'yes' (two letters, lower-case.) if you want to allow normal user to start or stop DSL connection (default yes): yes
FIREWALLING
The firewall choices are:
0 - NONE: This script will not set any firewall rules. You are responsible for ensuring the security of your machine. You areSTRONGLY recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway for a LAN
Choose a type of firewall (0-2): 0
Start this connection at boot time
Do you want to start this connection at boot time?
Please enter no or yes (default no):yes
** Summary of what you entered **
Ethernet Interface: eth0
User name: ad58029913@shtel
Activate-on-demand: No
DNS: Do not adjust
Firewalling: NONE
User Control: yes
Accept these settings and adjust configuration files (y/n)? y
这样每次启动Linux 系统会检测ADSL 宽带设置,自动连接到互联网。 |