我前两天一直用单位的固定IP 直接设置一下就能上网,最近回答家里用联通宽带拨号上,但是还没来得及配置
网上查看了两种方法,大家帮我看看 是这样配置吗?
fedora 16 怎么上网? pppoe拨号方式
(一)
在root下:
1、yum install rp-pppoe
2、pppoe-setup
3. 开始在终端输入命令设置宽带(超级用户下) :
# pppoe-setup (设置宽带,在ubuntu下的命令是 sudo pppoeconf)
Welcome to the Roaring Penguin ADSL client setup. First, I will run some checks on your system to make sure the PPPoE client is installed properly… Looks good! Now, please enter some information:
USER NAME
>;>;>; Enter your PPPoE user name (default XXX): (在这里输入ADSL用户名 )
INTERFACE
>;>;>; 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): (输入网卡接口名,如果只有一个网卡就在这里输入eth0 )
Do you want the link to come up on demand, or stay up continuously? If you want it to come up on demand, enter the idle time in seconds after which the link should be dropped. If you want the link to stay up permanently, enter ‘no’ (two letters, lower-case.) NOTE: Demand-activated links do not interact well with dynamic IP addresses. You may have some problems with demand-activated links. >;>;>; Enter the demand value (default no): (直接回车)
DNS
Please enter the IP address of your ISP’s primary DNS server. If your ISP claims that ‘the server will provide 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 即自动获得DNS )
PASSWORD
>;>;>; Please enter your PPPoE password: (输入ADSL密码)
>;>;>; Please re-enter your PPPoE password: (再输入一次 )
FIREWALLING
Please choose the firewall rules to use. Note that these rules are very basic. You are strongly encouraged to use a more sophisticated firewall setup; however, these will provide basic security. If you are running any servers on your machine, you must choose ‘NONE’ and set up firewalling yourself. Otherwise, the firewall rules will deny access to all standard servers like Web, e-mail, ftp, etc. If you are using SSH, the rules will block outgoing SSH connections which allocate a privileged source port.
The firewall choices are:
0 - NONE: This script. will not set any firewall rules. You are responsible for ensuring the security of your machine. You are STRONGLY recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway for a LAN
>;>;>; Choose a type of firewall (0-2): ( 这里是设置防火墙的,0:表示不设置防墙, 为是最好连上网,这里就选择0 )
** Summary of what you entered **
Ethernet Interface: eth0
User name: XXX
Activate-on-demand: No
DNS: Do not adjust
Firewalling: MASQUERADE
>;>;>; Accept these settings and adjust configuration files (y/n)? (这里输入y即可,输入n就是重头设置过。)
配置完成!
(二)
Fedora 15 ADSL拨号
Fedora 15桌面右上角的网络连接里面不能设置ADSL拨号,需要点桌面左上角的活动----》应用程序----》其他----》网络连接,或者在终端里面启动nm-connection-editor。
然后在桌面右上角的小电脑图标上点击ADSL ,即可实现拨号上网。
sand1981 于 2011-12-13 07:16:37发表:
发现了 原来拨号上网比win的设置还简单 直接用第二种方法设置就行
alick 于 2011-12-12 23:37:36发表:
第一种是命令行方式,通过命令行工具实现。
第二种是GUI方式,通过NetworkManager实现。
正常情况下,二者选择其一即可。
looeta 于 2011-12-12 14:52:30发表:
要不是客户端直接网络连接跟WIN的一样配,能认网卡就能上