60031b7511f9e1858.jpg_fo742.jpg

which pppd #看是否存在,若没有则需安装
yum install rp-pppoe #安装ppoe客户端
#配置文件/etc/ppp/pppoe.conf,也可如下配置
/usr/sbin/adsl-setup #开始配置
#user name : 输入ADSL帐号的用户名
#输入网卡 默认eth0
#Enter the demand value (default no): 输入 no
#Enter the DNS information here: 输入 server ,这表示使用ADSL拨号自动获得的DNS服务器IP地址
#Please enter your PPPoE password: 输入ADSL帐号的密码
#Choose a type of firewall (0-2): 输入 0 ,不使用防火墙
#Accept these settings and adjust configuration files (y/n)? 如果输入的信息正确,输入 y ,完成配置,否则,输入 n 重新输入

/usr/sbin/adsl-start 启动Linux PPPOE客户端
/usr/sbin/adsl-stop 关闭和ISP的连接
/usr/sbin/adsl-status 查看当前连接的状态

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code