[code][bash-3.0]#adsl-setup
Welcome to the Roaring Penguin ADSL client setup. First, I will run
some checks on your system to make sure the PPPoE client is installed
properly...
Looks good! Now, please enter some information:
USER NAME
>>> Enter your PPPoE user name :输入你的adsl账号
>>> Enter the Ethernet interface connected to the ADSL modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethn, where 'n' is a number.
(default eth0):如果只有一个网卡,在这里输入eth0,有多网卡的输入相应接口
Do you 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 seconds
after which the link should be dropped. If you want the link to
stay up permanently, enter 'no' (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP
addresses. You may have some problems with demand-activated links.
>>> Enter the demand value (default no):这里按一下回车就行
DNS
Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide DNS addresses',
enter 'server' (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
>>> Enter the DNS information here: 输入第一个DNS
Please enter the IP address of your ISP's secondary DNS server.
If you just press enter, I will assume there is only one DNS server.
>>> Enter the secondary DNS server address here:第二个DNS
>>> Please enter your PPPoE password:输入adsl的密码
>>> Please re-enter your PPPoE password:再输一次密码
>>> Choose a type of firewall (0-2):随你选择什么,不懂E文的翻翻字典,免得说老刀害人
>>> Accept these settings and adjust configuration files (y/n)? 按y[/code]
设置好后用adsl-start来启动adsl,用adsl-stop断线,还有几个工具,自已打入adsl后按几下tab键自己看吧
至此设置结束
申明:我是在slackware下设定的,但我敢肯定红帽系列配置也一样
如果没有adsl-setup命令的自已去当一个rp-pppoe装上去

