• <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>

            斜樹的空間

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

              C++博客 :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
              47 隨筆 :: 0 文章 :: 12 評論 :: 0 Trackbacks


            個人覺得LINUX的ADSL上網比較安全和穩定,以下是在LINUX下配置ADSL上網的方法。

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

            該命令是配置ADSL的信息。下面是輸入該命令以后出現的提問,需要你來回答一些問題。 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帳號,按回車。 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連接網卡的名稱。在Linux中網卡的編號默認是eth0,eth1,eth2......,根據你的實際情況輸入。如果你的系統中只有一塊 網卡,請輸入eth0然后回車。

            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,然后回車。

            Enter the DNS information here:
            你可以輸入你知道的當地的DNS的名稱,當然,你也可以簡單的就直接輸入 server。

            Please enter your PPPoE password:
            輸入ADSL帳號的密碼 ,回車。
            Please re-enter your Password:
            再次輸入密碼,回車。

            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):
            是否允許開機運行,這里輸入no。
            Choose a type of firewall (0-2):
            輸入 0 ,不使用防火墻,回車。

            ** 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回車,如果不確定就俺你回車重新輸入。
            好了,在命令行中就完成了ADSL的配置了。

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

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

            2、如何在Linux中使用ADSL
            要上網的時候請在console中執行
            adsl-start adsl-stop
            如果要檢查當前adsl的狀態請輸入
            adsl-status

            好了,現在你就可以方便的使用Linux中的ADSL進行上網了,希望大家喜歡


            posted on 2011-04-11 22:36 張貴川 閱讀(475) 評論(0)  編輯 收藏 引用
            亚洲中文字幕伊人久久无码| 久久水蜜桃亚洲av无码精品麻豆| 久久国产精品99精品国产987| 精品综合久久久久久888蜜芽| 99久久亚洲综合精品成人| 久久久久亚洲AV综合波多野结衣| 午夜欧美精品久久久久久久| 99久久综合国产精品二区| 思思久久精品在热线热| 91精品无码久久久久久五月天| 国产精品久久久久久久app| 色综合久久中文综合网| 亚洲AV无码成人网站久久精品大| 日韩亚洲欧美久久久www综合网| 久久久久久精品久久久久| 91精品久久久久久无码| 99久久99这里只有免费的精品| 中文字幕精品久久| 久久人妻少妇嫩草AV无码蜜桃| 久久99国产精品一区二区| 日韩精品久久无码人妻中文字幕| 欧美久久综合九色综合| 国产一区二区三精品久久久无广告| 久久国产色AV免费观看| 伊人久久无码中文字幕| 狠狠色丁香婷婷久久综合| 99久久夜色精品国产网站| 久久青青草原国产精品免费 | 无码国产69精品久久久久网站| 国产精品欧美亚洲韩国日本久久 | 国产亚洲色婷婷久久99精品91| 国产精品久久99| 久久久国产乱子伦精品作者| 青草国产精品久久久久久| 亚洲午夜久久久久久久久电影网| 婷婷久久五月天| 亚洲色婷婷综合久久| 久久丫精品国产亚洲av不卡| 久久亚洲私人国产精品| 国产精品久久久久无码av| 欧美久久综合性欧美|