Linux設定ADSL撥接上網

[ken@linux ~]# 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): tXXXXXXX

--->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 ethX, where 'X' 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):

-->這裡按 Enter 確定不要即可



DNS

Enter the DNS information here: xxx.xxx.xxx.xxx

Enter the secondary DNS server address here: xxx.xxx.xxx.xxx

--->這兩個設定會影響 /etc/resolv.conf 的內容喔!



PASSWORD

Please enter your Password:

-->這裡則是輸入您的ADSL密碼

Please re-enter your Password:

-->再一次密碼



USERCTRL

Please enter 'yes' (two letters, lower-case.) if you want to allow

normal user to start or stop DSL connection (default yes): no

--->不讓使用者可以啟動或關閉 ADSL 的設定比較好吧!



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

--->先不要密碼!後面我們會使用 Linux 本機的防火牆!



Start this connection at boot time

Do you want to start this connection at boot time?

Please enter no or yes (default no):yes

--->是否要開機的時候就撥接?



Ethernet Interface: eth0

User name: tXXXXXXX

Activate-on-demand: No

Primary DNS: xxx.xxx.xxx.xxx

Secondary DNS: xxx.xxx.xxx.xxx

Firewalling: NONE

User Control: no

Accept these settings and adjust configuration files (y/n)? y

--->如果沒有問題就按下 y 開始寫入設定檔!

留言

這個網誌中的熱門文章

名言-神劍闖江湖

[VPN] windows 7上用bat 自動連接PPTP VPN 並設定ROUTE

[php] 裁切圖片並縮小至指定大小