zgyin的个人博客分享 http://blog.sciencenet.cn/u/zgyin

博文

fedora16实现拨号上网

已有 2430 次阅读 2013-6-3 16:18 |系统分类:科研笔记

我使用的操作系统是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









https://wap.sciencenet.cn/blog-783377-696177.html

上一篇:2013年射电天文暑期学校(火热招生中)
下一篇:精确定位像素点
收藏 IP: 202.101.72.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-3-29 05:08

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部