在Linux命令行下配置ADSL


#/usr/sbin/adsl-setup

>>> Enter your PPPoE user name: ——此处输入拨号帐号的用户名

>>> 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

>>> Enter the demand value (default no): ——输no

>>> Enter the DNS information here: ——输DNS(视当地运营商的DNS服务器IP而定)

>>> Please enter your PPPoE password: ——输用户口令

>>> Choose a type of firewall (0-2): ——输0

>>> Accept these settings and adjust configuration files (y/n)? ——输y

#/usr/sbin/adsl-start 启动拨号连接

#chkconfig --add adsl 自动拨号

#setup

选中system services

选中ADSL

相关内容