|
我使用的操作系统是fedora16(64bit)通过下面的方法我实现了pppoe拨号上网
第一步:
安装pppoe:yum install rp-pppoe
第二步:
pppoe-setup
其中
INTERFACE
Enter the Ethernet interface connected to the PPPoE modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethX, where 'X' is a number.
(default em1):
我输入的是em1(因为我在终端中输入:ifconfig ,我看到的是:em1 Link encap:Ethernet HWaddr)
接下来填账号,密码,DNS服务器名称:serve,防火墙级别:0,其他选项使用默认值
在终端中输入:/sbin/ifup ppp0建立链接
在终端中输入:/sbin/ifdown ppp0关闭链接
在终端中输入:/sbin/pppoe-status /etc/sysconfig/network-scripts/ifcfg-ppp0查看链接的状态
如果想要建立另外一个链接只需要在
Please enter the device if you want to configure the present DSL config
(default ppp0) or enter 'n' if you want to create a new one:
的时候给一个新的名字就可以啦
卸载pppoe:yum remove rp-pppoe
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-10-19 23:04
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社