Chinaunix首页 | 论坛 | 博客
  • 博客访问: 8014
  • 博文数量: 3
  • 博客积分: 175
  • 博客等级: 入伍新兵
  • 技术积分: 60
  • 用 户 组: 普通用户
  • 注册时间: 2007-10-10 20:26
文章分类
文章存档

2011年(1)

2010年(2)

我的朋友
最近访客

分类: LINUX

2010-02-23 10:52:31

1. adsl-setup
Welcome to the ADSL client setup. First, I will run some checks on
your system to make sure the PPPoE client is installed properly...

LOGIN NAME

Enter your Login Name (default root): 200504933   首先要求输入ISP提供的帐户名

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 ethX, where 'X' is a number.
(default eth0): eth0         输入与ADSL相连的网卡名称,即用于连接Internet的网卡名称。默认为eth0,如果用于连接Internet的网卡是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): no
是否启用闲时断开拨号连接。若输入yes,接下来将设置断开拨号连接的闲置时间,在这段时间内没有数据流,将断开拨号连接。默认为no,不启用该功能,

DNS

Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide dynamic 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: 61.134.1.4
输入ISP提供的DNS服务器地址,默认可以设置两个DNS地址

PASSWORD

Please enter your Password:                      输入ISP提供的密码
Please re-enter your Password:

USERCTRL

Please enter 'yes' (three letters, lower-case.) if you want to allow
normal user to start or stop DSL connection (default yes): yes
设置是否允许普通用户启动、断开ADSL连接,默认为允许(yes)。如果不希望普通用户启动或端口ADSL连接,输入no并回车开始下一步

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): 1

选择防火墙类型。0表示不使用防火墙,对于单机上网可选择1.若此计算机为企业的代理服务器,可选择2,使用IP伪装方式代理内网用户访问Internet。
Start this connection at boot time

Do you want to start this connection at boot time?
Please enter no or yes (default no):yes
设置是否为开机启动ADSL,默认为no。一般情况下设置为yes,省的每次重启计算机后都得启动ADSL。

** Summary of what you entered **
查看我们刚刚配置的概要信息。如果确认无误,输入y完成ADSL的配置
Congratulations, it should be all set up!

Type '/sbin/ifup ppp0' to bring up your xDSL link and '/sbin/ifdown ppp0'
to bring it down.
Type '/sbin/adsl-status /etc/sysconfig/network-scripts/ifcfg-ppp0'
to see the link status.

2.adsl-start 开始拨号
adsl-connect 连接
输入adsl, 按下tab键查看adsl相关的命令
如果不能上网的话 ,检查网关,DNS的设置文件     /etc/sysconfig/network     /etc/resolv.conf
阅读(476) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~