- 上海千樱信息科技-上海兆樱集团-动态IP和PPTP云主机首页
- 客服中心
- 新闻中心
- centos动态IP云主机配置ADSL拨号教程
此时执行ifconfig会多出一个ppp0的网卡接口
===============
断开PPPoE拨号命令 ifdown ppp0
==============
检查当前外网 ip命令,确认ip是否更换 curl icanhazip.com
附:全新安装配置CentOS ADSL拨号教程
先安装pppoe的软件包:yum install rp-pppoe
配置拨号设置 adsl-setup
===================
设置拨号网口,默认是ppp0
输入宽带账号ad00000000
当出现 >>> 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): 一般输入 eth1 ,这是ADSL相连的网卡的名字。具体通过ifconfig查询网卡找到动态拨号网卡对应名称。
当出现 >>> 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 重新输入。
上海千樱信息科技@2015