Linux PPP Êý¾ÝÊÕ·¢Á÷³Ì
Linux PPP Êý¾ÝÊÕ·¢Á÷³Ì
תÔØʱÇë×¢Ã÷³ö´¦ºÍ×÷ÕßÁªÏµ·½Ê½£ºhttp://blog.csdn.net/absurd
×÷ÕßÁªÏµ·½Ê½£ºÀîÏȾ²<xianjimli at hotmail dot com>
¸üÐÂʱ¼ä£º2007-5-4
PPP£¨Point-to-Point£©ÌṩÁËÒ»ÖÖ±ê×¼µÄ·½·¨ÔÚµã¶ÔµãµÄÁ¬½ÓÉÏ´«Êä¶àÖÖÐÒéÊý¾Ý°ü£¬Ëü×î³£¼ûµÄÓÃ;¿ÉÄÜÊÇ´«Í³µÄ²¦ºÅÉÏÍøÁË(¾Ý˵ÏÖÔڵĿí´ø½ÓÈëÒ²ÓвÉÓÃPPPOE·½Ê½µÄ)¡£ÔÚLinux Mobile PhoneÉÏ£¬ÍøÂçÓ¦ÓóÌÐòʹÓÃPPP×÷ΪÓëGSMÄ£×éÖ®¼äµÄͨÐÅÐÒ飬×î½üÓöµ½ÁËÒ»µã¹ØÓÚPPPµÄÂé·³£¬ËùÒÔ»¨Á˵ãʱ¼äÈ¥Ñо¿Ëü¡£
PPPÐÒé¿Ï¶¨²»ÊÇ×ÔÓµÄÍøÂçÐÒ飬²»¹ýpppd¡¢chat¡¢tty¡¢socket¡¢ccp¡¢chap¡¢pap¡¢eap¡¢ecp¡¢ipcpºÍºÜ¶àÆäËü¸ÅÄî½ÁÔÚÒ»ÆðÖ®ºó£¬Ë¶¼»á±»¸ãµÃÔÎͷתÏò¡£ÎÒ¹ØÐĵÄÆäʵÊÇPPPÐÒéÖи÷¸öʵÌåÖ®¼äµÄÐ×÷¹Øϵ£¬¶ø²»ÊÇÐÒéµÄ״̬ת»»»òÕß·þÎñµÄÅäÖã¬ÓÉÓÚûÓÐÕÒµ½Õâ·½ÃæµÄ×ÊÁÏ£¬Ö»ºÃÈ¥¶ÁRFC£¬Äںˡ¢pppdºÍһЩÍøÂ繤¾ßµÄ´úÂë¡£
PPPÐÒéÌṩÁ½¸öʵÌåÖ®¼äµÄÊý¾ÝÁ´Â·Á¬½ÓµÄ½¨Á¢¡¢Î¬³ÖºÍÊÍ·Å£¬¸ºÔðÁ÷Á¿ºÍ²î´í¿ØÖƵȵȹ¦ÄÜ£¬ËùÒÔËüÓ¦¸ÃÊÇÊôÓÚÊý¾ÝÁ´Â·²ãÐÒéµÄ¡£
PPPÐÒéÖ®ÏÂÊÇÒÔÌ«ÍøºÍ´®¿ÚµÈÎïÀí²ã£¬Ö®ÉÏÊÇIPÐÒéµÈÍøÂç²ã¡£ÕâÀ¶ÔÓÚϲ㣬ÎÒÃÇÖ»ÌÖÂÛ´®¿ÚµÄÇé¿ö£¬¶ÔÓÚÉϲ㣬ÎÒÃÇÖ»ÌÖÂÛTCP/IPµÄÇé¿ö¡£·¢ËÍʱ£¬TCP/IPÊý¾Ý°ü¾¹ýPPP´ò°üÖ®ºó¾¹ý´®¿Ú·¢ËÍ¡£½ÓÊÕʱ£¬´Ó´®¿ÚÉÏÀ´µÄÊý¾Ý¾PPP½â°üÖ®ºóÉϱ¨¸øTCP/IPÐÒé²ã¡£
ÍøÂçÐÒéÊÇ·Ö²ãʵÏֵģ¬ÉϲãÒ»°ãÖ»ÐèÒªÖªµÀÆäÖ±½Óϲ㣬ֻÓÐÔÚ¼«ÉÙÊý¾ÝÇé¿ö²ÅʹÓüä½ÓϲãµÄ½Ó¿Ú¡£±ÈÈ磬²ÊÐÅ¡¢ä¯ÀÀÆ÷ºÍÓʼþµÈÓ¦ÓóÌÐòʹÓÃsocket½Ó¿Ú±à³Ì£¬ËüÃÇÖ»ÐèÒªÖªµÀTCP/IPÐÒ飬¶øÎÞÐèÒªÖªµÀPPPÐÒéµÄ´æÔÚ¡£ÕâÖÖ·Ö²ãÉè¼Æ¼ò»¯ÁËÐÒéµÄʵÏÖºÍÓ¦ÓóÌÐòµÄ¿ª·¢¡£
ÎÊÌâÀ´ÁË£ºPPPÐÒé²»Ö»ÊÇÌṩÁ˼òµ¥µÄÊý¾ÝÁ´Â·²ã¹¦ÄÜ£¬Ëü»¹ÌṩÁËÖîÈç¼øȨ(ÈçPAP/CHAP)£¬Êý¾ÝѹËõ/½âѹ(ÈçCCP)ºÍÊý¾Ý¼ÓÃÜ/½âÃÜ£¨ÈçECP£©µÈÀ©Õ¹¹¦ÄÜ¡£Ó¦ÓóÌÐòÒªÇóʹÓÃ͸Ã÷»¯£¬²»¹ØÐÄÕâЩÀ©Õ¹¹¦ÄܵĴæÔÚ£¬¶ø·´¹ýÀ´£¬PPPÐÒé´¦ÀíÄ£¿é±¾ÉíÓÖÎÞ·¨´¦ÀíÕâЩ²ßÂÔÐԵĶ«Î÷£¬ÒòΪËü²»ÖªµÀÓû§Ãû/ÃÜÂ룬²»ÖªµÀÊÇ·ñÒª½øÐÐѹËõ£¬²»ÖªµÀÊÇ·ñÒª½øÐмÓÃÜ¡£
Ôõô°ì£¿ÈçºÎÔÚ¶ÔÓ¦ÓóÌÐò͸Ã÷µÄÇé¿öÏÂʹÓÃÀ©Õ¹¹¦ÄÜÄØ£¿ÉϵÛ˵£¬Õâ¸öÎÊÌâ±ØÐë½â¾ö£¡ÓÚÊÇpppd¾Í³öÏÖÁË¡£pppdÊÇÒ»¸öºǫ́·þÎñ½ø³Ì(daemon)£¬ÊÇÒ»¸öÓû§¿Õ¼äµÄ½ø
Ïà¹ØÎĵµ£º
°²×°²½Ö裺
Ø °²×°resinÇ°ÏÈÒª±£Ö¤°²×°ÁËJDK£¬¿ÉÒÔÓÃÃüÁî²é¿´ÊÇ·ñ°²×°ÁËJDK£º
[root@wxr webapps]# java -versions
java version "1.6.0_19"
Java(TM) SE Runtime Environment (build 1.6.0_19-b04)
Java HotSpot(TM) Client VM (build 16.2-b04, mixed mode, sharing)
Ø ÏÂÔØRes ......
Á·ÊÖ, µÚÒ»¸ö×Ö·ûÇý¶¯.
ÓÃÄ£¿é¼ÓÔØ·½·¨
»ªÇåÔ¶¼û<ǶÈëʽlinuxÉ豸Çý¶¯¿ª·¢Ïê½â>µÄ´úÂëÄÃÀ´¸ÄµÄ.
±àÒë¹ý³Ì·¢Ïֺܶà´íÎó.
×îºó·¢ÏÖ Õâ±¾Êé´øµÄÇý¶¯´úÂ붼ÊÇ»ùÓÚlinux2.4µÄ...Ä¿Ç°ÎÒÓõÄlinux2.6, ´úÂ벿·ÖÐèÒª×öÐÞ¸Ä.
Îҵİå×ÓÊÇ ÓÑÉÆÖ®±ÛµÄ 2410. vmware+ubuntu nfs½»²æ±àÒë
Ê×ÏÈ
lin ......
Covtool
ÊÇÒ»¸öÓöÔ
C++
´úÂë½øÐÐÔËÐÐʱ¸²¸ÇÂʼì²éµÄ¹¤¾ß£¬¿ÉÒÔÒÔÐÐΪµ¥Î»¼ì²é³öÄÇЩ´úÂëÔÚÔËÐÐÖб»Ê¹Óã¬ÄÇЩûÓÐʹÓá£
1.
°²×°
make
make tests
make install
½«
/usr/local/covtool
Ìí¼Óµ½
PATH
½«
/usr/local/covtools
Ìí¼Óµ½
MANPATH£¨´Ë²½ºÜÖØÒª£¬ËüµÄman±ÈÎ ......