分类
基于RedHat系统ADSL上网配置指南‖
ADSL拨号上网的详细过程,
希望可以给遇到此困难的朋友以
帮助。
| 首先应该确定您是否安 adsl-setup命令启动adsl | 装了pppoe的应用程序。如果确 配置,提示过程为英文。大概为 | 实已经安装了,可以在终端用 : |
| [root@localhost root]# adsl-setup |
| Welcome to the ADSL | client setup. First, I will | run some checks on |
| your system to make sure the PPP | oE client is installed properly... |
| The following DSL config was fou | nd on your system: |
| Device: Name: |
| ppp0 DSLppp0 |
| Please enter the dev | ice if you want to configure | the present DSL config |
| (default ppp0) or enter 'n' if y | ou want to create a new one: ppp0 //默认为ppp0 |
| LOGIN NAME |
| Enter your Login Nam 替我的anthrax:) | e (default SJ00411210A1): an | thrax //这里用你自己的用户名代 |
| INTERFACE |
| Enter the Ethernet i | nterface connected to the AD | SL modem |
| For Solaris, this is | likely to be something like | /dev/hme0. |
| For Linux, it will be ethX, wher | e 'X' is a number. |
| (default eth0): eth0 //默认网卡设备为eth0 |
| Do you want the link to come up want it to come up on demand, enter should be dropped. If you want the l letters, lower-case.) | on demand, or stay up continuously?If you the idle time in seconds after which the link ink to stay up permanently, enter 'no' (two |
| NOTE: Demand-activat You may have some proble | ed links do not interact wel ms with demand-activated lin | l with dynamic IP addresses. ks. |
| Enter the demand val 拨号。 | ue (default no): no //这里使 | 用默认no就可以了,断线后不自动 |
| DNS |
| Please enter the IP address of y claims that 'the server will provide lower-case) here. If you just press doing and not modify your DNS setup. 202.96.134.133 //主DNS地址设置,根据 | our ISP's primary DNS server.If your ISP dynamic DNS addresses',enter 'server' (all enter, I will assume you know what you are Enter the DNS information here: 您的具体情况替换。 |
| Please enter the IP | address of your ISP's second | ary DNS server. |
| If you just press en | ter, I will assume there is | only one DNS server. |
| Enter the secondary DNS server a 。 | ddress here: 202.96.134.133 //第二DNS地址设置 |
| PASSWORD |
| Please enter your Pa 不要认为您的键盘出了毛病 | ssword: //这里设置密码,和un :) | ix规则一样,密码并不回显,因此 |
| Please re-enter your Password: |
| //确认密码 |
| USERCTRL |
| Please enter 'yes' (two letters, user to start or stop DSL connection 。 | lower-case.) if you want to allow normal (default yes): yes //是否允许普通用户共享ADSL |
| FIREWALLING |
| Please choose the fi basic. You are strongly however, these will prov your machine, you must c the firewall rules will ftp, etc. If you are usi which allocate a privile | rewall rules to use. Note th encouraged to use a more sop ide basic security. If you a hoose 'NONE' and set up fire deny access to all standard ng SSH, the rules will block ged source port. | at these rules are very histicated firewall setup; re running any servers on walling yourself. Otherwise, servers like Web, e-mail, outgoing SSH connections |
| The firewall choices are: |
| 0 - NONE: This scrip for ensuring the securit some kind of firewall ru | t will not set any firewall y of your machine. You are S les. | rules. You are responsible TRONGLY recommended to use |
| 1 - STANDALONE: Appropriate for | a basic stand-alone web-surfing workstation |
| 2 - MASQUERADE: Appr LAN | opriate for a machine acting | as an Internet gateway for a |
| Choose a type of firewall (0-2): | 1 //配置防火墙等级,根据您的需要选择。 |
| Start this connection at boot time |
| Do you want to start this connec | tion at boot time? |
| Please enter no or y 则系统启动速度太慢! | es (default no):no //是否允 | 许开机自动加载,这里选择no,否 |
| ** Summary of what you entered ** |
| Ethernet Interface: eth0 |
| User name: anthrax |
| Activate-on-demand: No |
| Primary DNS: 202.96.134.133 |
| Secondary |
| DNS: 202.96.134.133 |
| Firewalling: STANDALONE |
| User Control: yes |
| Accept these setting | s and adjust configuration f | iles (y/n)? |
| 选择y,配置完成。您可以用 adsl- | start命令启动,可以用adsl-stop命令停止。 |
| 为了方便,可以在桌面建立一个应用 那个快捷图标就可以建立adsl链接了,跟 | 程序链接,命令就使用adsl-start。这样每次双击 windows中一样方便。 |
| 好了,现在就开始您的网络之旅吧。(技巧:如果依据本文内容操作扔不能链接网络,可以尝试在"系统设置->网路"中删除当前的网卡,重新配置adsl项。) |