linux下的PPPOE设置

这篇博客详细介绍了如何在终端中配置ADSL连接,包括输入用户名和密码,选择正确的网卡接口,以及设置DNS服务器IP。通过简单的命令行操作,用户可以成功建立和断开ADSL连接,并确保系统的DNS配置正确。
摘要由CSDN通过智能技术生成

1.打开终端
#sudo pppoeconf
进入配置,输入用户名和密码.
2.建立连接
#sudo pon dsl-provider

3.断开连接

#sudo poff dsl-provider

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
#请输入adsl帐户名:
Enter your Login Name (default root):gzdsl123456789

INTERFACE

#哪一块网卡连接的是adsl moden:

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 ethX, where 'X' is a number.

(default eth0): eth1

#输入server自动获取dns服务器IP
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 are

doing and not modify your DNS setup.

Enter the DNS information here:server

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值