fedora7 adsl设置成功!有问题的进来参考下!!

 
作者: wisefox  发布日期: 2007-7-20    查看数: 494   出自: http://www.linuxdiyf.com
QUOTE:
Fedora 7系统中adsl拨号


终端中:
#pppoe-setup

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

** 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即可
配置完成!
启动拨号:pppoe start
停止断网:pppoe stop

我就试了试 (这时候没删除默认的连接) 结果不行 用pppoe start命令的时候 出现乱码
我又重新用pppoe-setup命令从头到尾弄了下 用pppoe start还是乱码 结果到睡觉时间了 就睡觉了

今天早上起来 进入系统 --管理--网络 既然发现有3个连接 一个是 本来的默认的eth0 下面有两个 (是我后来用命令加上的 命令中
QUOTE:
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

这一步 虽然你输入eth0 但是好像还是新建了连接)
发现问题 于是立刻删除三个连接 进入控制台 用pppoe-setup命令( 注意:请用root帐号 不然好像提示脚本错误 提示你 需要有root权限)
过程昨天一样
但是 过程中会有其他两个选项:1是 问你是否开机自动连接 我选的是yes
2是 问你是否允许其他帐号修改连接 我选的是 yes
剩下的和上面的一样 设置好adsl帐号和密码就ok了 设置完毕后 (我没用pppoe staart命令嗯 默认是设置完毕后自动激活的 ) 系统--管理 --网络 会发现 eth0已经处于激活状态了 !!!!!打开 firefox 哦也!好了

我是linux超级新手一个(昨天才知道怎么进控制台 才知道ctrl+alt+f1了以后怎么“变”回来 别笑我阿) 希望这点经历对那些还没有设置好的人有所帮助!!
 

你可能感兴趣的:(linux,server,Solaris,user,basic,interface)