ºìÁªLinuxÃÅ»§
Linux°ïÖú
µ±Ç°Î»ÖÃ: ºìÁªLinuxÃÅ»§ > Debian

DebianÖÐADSL²¦ºÅµÄÉèÖÃ

·¢²¼Ê±¼ä:2008-01-24 00:28:01À´Ô´:ºìÁª×÷Õß:beainm
½ñÌìÔÚDebian etchÉÏ°²×°²¢ÅäÖÃÁËADSL²¦ºÅÈí¼þpppoe£¬¼Ç¼һϹý³Ì¡£

1¡¢°²×°²¦ºÅÈí¼þ
# apt-get install pppoeconf

2¡¢ÔËÐÐÅäÖÃÃüÁ½øÈëÅäÖÃÏòµ¼
# pppoeconf

3¡¢½øÈë¡°ALL DEVICDS FOUND?¡±»­Ã棬´Ë»­ÃæÁоٳöÁ˱¾»ú°²×°µÄËùÓÐÍø¿¨£¬²¢Ñ¯ÎÊÄãÊÇ·ñÁоÙÍêÕû£¿ÎҵĵçÄÔÖ»ÓÐÒ»¸öÍø¿¨¡°eth0¡±£¬Ñ¡Ôñ¡°YES"¡£½ÓÏÂÀ´ÏµÍ³»á¶ÔÍø¿¨½øÐÐɨÃ裬ɨÃèÍê³Éºó½øÈëÏÂÒ»²½¡£
4¡¢½øÈë¡°OKAY TO MODIFY¡±»­Ã棬ȷÈϽ«ÒªÐÞ¸Ä/etc/ppp/peers/dsl-providerÎļþ£¬Ñ¡Ôñ¡°YES¡±¡£
5¡¢ÔÚ¡°POPULAR OPTIONS¡±»­ÃæÖУ¬Ñ¯ÎÊÄãÊÇ·ñʹÓñȽϳ£ÓõIJ¦ºÅÉèÖã¬ÕâÀïÒ»¶¨Ñ¡Ôñ¡°NO¡±£¬·ñÔò¾Í²¦²»ÉÏÈ¥¡£
6¡¢½øÈë¡°ENTER USERNAME¡±»­Ã棬ÊäÈëADSLÓû§Ãû¡£
7¡¢½øÈë¡°ENTER PASSWORD¡±»­Ã棬ÊäÈëADSLÃÜÂë¡£
8¡¢½øÈë¡°USE PEER DNS¡±»­Ã棬ѡÔñ¡°YES¡±£¬ÕâÒ»²½ÊÇ×Ô¶¯Ê¹ÓÃISPÌṩµÄDNSµØÖ·£¬»áÐÞ¸Ä/etc/resolv.confÎļþ¡£µ±È»Ò²¿ÉÒÔ×Ô¼ºÐÞ¸ÄÕâ¸öÎļþʹÓÃ×Ô¼ºµÄDNS¡£
9¡¢½øÈë¡°LIMITED MSS PROBLEM¡±»­Ã棬»­ÃæÉϵÄÌáʾÐÅϢ˵¡°Èç¹ûÄã²»Ã÷°×¾ÍÑ¡Ôñ¡®YES¡¯¡±£¬ÄǾÍÑ¡Ôñ¡°YES¡±¡£
10¡¢½øÈë¡°DONE¡±»­Ã棬ѯÎÊÊÇ·ñÔÚϵͳÆô¶¯Ê±×Ô¶¯²¦ºÅÁ¬½Ó£¬»Ø´ð¡°YES¡±¡£
11¡¢½øÈë¡°ESTABLISH A CONNECTION¡±»­Ã棬ѯÎÊÊÇ·ñÏÖÔھͽøÐÐÁ¬½Ó£¬Ñ¡Ôñ¡°YES¡±¡£
12¡¢Íê³É£¡enjoy it£¡
13¡¢Ïà¹ØÃüÁ

£¨£±£©ÊÖ¹¤²¦ºÅ
# pon /etc/ppp/xxx/dsl-provider

£¨2£©²é¿´ÈÕÖ¾
# plog

£¨3£©¶Ï¿ªÁ¬½Ó
# poff
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ