• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            斜樹(shù)的空間

            集中精力,放棄一切的去做一件事情,只要盡力了,即使失敗了,你也不會(huì)后悔!

              C++博客 :: 首頁(yè) :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
              47 隨筆 :: 0 文章 :: 12 評(píng)論 :: 0 Trackbacks


            個(gè)人覺(jué)得LINUX的ADSL上網(wǎng)比較安全和穩(wěn)定,以下是在LINUX下配置ADSL上網(wǎng)的方法。

            1、配置Linux下的ADSL 1.1、在命令行中進(jìn)行配置。
            用root帳號(hào)登陸console,在提示符中輸入:
            #adsl-setup。(現(xiàn)在貌似是pppoe-setup)

            該命令是配置ADSL的信息。下面是輸入該命令以后出現(xiàn)的提問(wèn),需要你來(lái)回答一些問(wèn)題。 Welcome to the ADSL client setup. First, I will run some checks on
            your system to make sure the PPPoE client is installed properly...
            The following DSL config was found on your system:
            Device: Name:
            ppp0
            Please enter the device if you want to configure the present DSL config
            (default ppp0) or enter 'n' if you want to create a new one: ppp0 Enter your PPPoE user name :
            輸入ADSL帳號(hào),按回車(chē)。 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):
            輸入ADSL連接網(wǎng)卡的名稱(chēng)。在Linux中網(wǎng)卡的編號(hào)默認(rèn)是eth0,eth1,eth2......,根據(jù)你的實(shí)際情況輸入。如果你的系統(tǒng)中只有一塊 網(wǎng)卡,請(qǐng)輸入eth0然后回車(chē)。

            Please enter 'yes' (two letters, lower-case.) if you want to allow normal user to start or stop DSL connection (default yes):
            是否允許普通用戶共享ADSL,輸入yes。

            Enter the demand value (default no):
            輸入 no,然后回車(chē)。

            Enter the DNS information here:
            你可以輸入你知道的當(dāng)?shù)氐腄NS的名稱(chēng),當(dāng)然,你也可以簡(jiǎn)單的就直接輸入 server。

            Please enter your PPPoE password:
            輸入ADSL帳號(hào)的密碼 ,回車(chē)。
            Please re-enter your Password:
            再次輸入密碼,回車(chē)。

            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): Start this connection at boot time
            Do you want to start this connection at boot time?
            Please enter no or yes (default no):
            是否允許開(kāi)機(jī)運(yùn)行,這里輸入no。
            Choose a type of firewall (0-2):
            輸入 0 ,不使用防火墻,回車(chē)。

            ** Summary of what you entered **
            Ethernet Interface: eth0
            User name: nicry
            Activate-on-demand: No
            Primary DNS: 61.139.2.69
            Secondary
            DNS: 61.139.2.69
            Firewalling: STANDALONE
            User Control: yes
            Accept these settings and adjust configuration files (y/n)?
            你是否確定信息的正確性,如果確定,按y回車(chē),如果不確定就俺你回車(chē)重新輸入。
            好了,在命令行中就完成了ADSL的配置了。

            1.2、在圖形界面中使用系統(tǒng)的配置工具完成配置工作
            注意:該方法只能在redhat中實(shí)現(xiàn)。
            用root帳號(hào)登陸系統(tǒng),運(yùn)行
            redhat-config-network
            或者單擊K或者大腳板(看你是在kde下還是gnome下。這相當(dāng)于MS中的開(kāi)始。)選擇系統(tǒng)設(shè)置,選擇網(wǎng)絡(luò)。
            選擇"xDSL連接",輸入adsl連接的用戶名,密碼。這個(gè)方式很簡(jiǎn)單,就好像是在xp中配置ADSL一樣,看提示就可以操作了。啊哈~

            配置好了的配置文件是存放在
            /etc/ppp/pppoe.conf

            2、如何在Linux中使用ADSL
            要上網(wǎng)的時(shí)候請(qǐng)?jiān)赾onsole中執(zhí)行
            adsl-start adsl-stop
            如果要檢查當(dāng)前adsl的狀態(tài)請(qǐng)輸入
            adsl-status

            好了,現(xiàn)在你就可以方便的使用Linux中的ADSL進(jìn)行上網(wǎng)了,希望大家喜歡


            posted on 2011-04-11 22:36 張貴川 閱讀(470) 評(píng)論(0)  編輯 收藏 引用

            只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。
            網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問(wèn)   Chat2DB   管理


            久久久久久免费视频| 久久99精品国产麻豆| 久久亚洲欧美国产精品| 亚洲精品综合久久| 久久久久久噜噜精品免费直播| 热re99久久6国产精品免费| 久久夜色精品国产亚洲| 日韩久久久久中文字幕人妻| 99久久人人爽亚洲精品美女| 日本道色综合久久影院| 久久国产乱子伦精品免费强| 成人资源影音先锋久久资源网| 久久久av波多野一区二区| 国产免费久久精品99re丫y| 国产精品久久婷婷六月丁香| 综合久久给合久久狠狠狠97色| 亚洲精品无码久久久| 久久人人爽人人人人片av| 国产精品久久久久蜜芽| 久久久久免费精品国产| 日韩精品久久久久久久电影蜜臀| 亚洲香蕉网久久综合影视| 久久精品a亚洲国产v高清不卡| 2021少妇久久久久久久久久| 狠狠色丁香久久综合婷婷| 韩国三级中文字幕hd久久精品| 精品综合久久久久久88小说 | 欧美精品福利视频一区二区三区久久久精品| 丁香久久婷婷国产午夜视频| 久久久青草青青国产亚洲免观| 一级a性色生活片久久无| 人妻少妇久久中文字幕一区二区| 国产一区二区三区久久精品| 久久精品国产72国产精福利| 久久综合视频网| 久久99国产精品久久99果冻传媒| 久久本道综合久久伊人| 久久人人爽人人爽人人片av麻烦| 国产精品美女久久久久网| 久久人人爽人人爽AV片| 伊人久久大香线蕉综合影院首页|