Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

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)£¬ÊÇÒ»¸öÓû§¿Õ¼äµÄ½ø


Ïà¹ØÎĵµ£º

LinuxÖа²×°Resin3ÊÖ¼Ç

°²×°²½Ö裺
Ø  °²×°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Çý¶¯Ö® ledÇý¶¯

Á·ÊÖ, µÚÒ»¸ö×Ö·ûÇý¶¯.
ÓÃÄ£¿é¼ÓÔØ·½·¨
»ªÇåÔ¶¼û<ǶÈëʽlinuxÉ豸Çý¶¯¿ª·¢Ïê½â>µÄ´úÂëÄÃÀ´¸ÄµÄ.  
±àÒë¹ý³Ì·¢Ïֺܶà´íÎó.
×îºó·¢ÏÖ Õâ±¾Êé´øµÄÇý¶¯´úÂ붼ÊÇ»ùÓÚlinux2.4µÄ...Ä¿Ç°ÎÒÓõÄlinux2.6, ´úÂ벿·ÖÐèÒª×öÐÞ¸Ä.
Îҵİå×ÓÊÇ ÓÑÉÆÖ®±ÛµÄ 2410.  vmware+ubuntu  nfs½»²æ±àÒë
Ê×ÏÈ
lin ......

Cov++ÔÚLinuxϼòµ¥Ê¹Óà Èí¼þ¸²¸ÇÂʹ¤¾ß


Covtool
ÊÇÒ»¸öÓöÔ
C++
´úÂë½øÐÐÔËÐÐʱ¸²¸ÇÂʼì²éµÄ¹¤¾ß£¬¿ÉÒÔÒÔÐÐΪµ¥Î»¼ì²é³öÄÇЩ´úÂëÔÚÔËÐÐÖб»Ê¹Óã¬ÄÇЩûÓÐʹÓá£
1.      
°²×°
make
make tests
make install
½«
/usr/local/covtool
Ìí¼Óµ½
PATH
½«
/usr/local/covtools
Ìí¼Óµ½
MANPATH£¨´Ë²½ºÜÖØÒª£¬ËüµÄman±ÈÎ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ