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

LinuxÏ°²×°telnet·þÎñ±Ê¼Ç£¨×ª£©

°²×°telnet-server…,±ØÐëÏÈ×°xinetd        
°²×°telnet·þÎñ:rpm -ihv telnet-server…         
Æô¶¯:service xinetd start         
         
¿ª»úÆô¶¯:setup->system services-¹´ÉÏtelnet»òchkconfig telnet on                 
´íÎó Temporary failure in name resolution:Illegal seek        
½â¾ö 1.ÉèÖÃÕýÈ·µÄDNS·þÎñÆ÷/etc/resolv.conf        
 "2¡¢É趨ָ¶¨µÄ¿Í»§Ö÷»úºÍIP
³öÏָôíÎ󣬿ÉÒÔ˵ҲÊÇÒ»ÖÖ°²È«ÏÞÖÆ°É¡£Ê¹ÓÃtelnet·ÃÎÊ·þÎñ¶ËµÄ¿Í»§¶ËÐèÒªÔÚ·þÎñÆ÷ÉÏÓÐÖ÷»úÃûºÍIP¶ÔÓ¦ÐÅÏ¢¡£¼ÈÈ»ÕâÑù£¬Èç¹ûÄãûÓÐÅäÖÃDNS·þÎñÆ÷£¬ÄÇÖ»Òª°ÑÒª·ÃÎÊtelnetµÄ¿Í»§¶ËµÄIPºÍÖ÷»úÃû¼Óµ½/etc/hostsÎļþÖУ¬ÀýÈ磺
# cat /etc/hosts
192.168.48.1 test
ÕâÑù£¬¸Ã¿Í»§¶ËIPΪ192.168.48.1µÄ»úÆ÷¾Í¿ÉÒÔͨ¹ýtelnet·ÃÎÊ·þÎñÆ÷ÁË¡£"        
 "3¡¢ÐÞ¸ÄNISÉ趨Îļþ
ÈôÓдóÁ¿µÄ¿Í»§¶ËÐèÒª·ÃÎÊ·þÎñÆ÷£¬µÚ¶þÖÖ·½·¨¾ÍºÜÂé·³ÁË¡£Õâʱ£¬Ö»ÒªÐÞ¸Ä/etc/nsswitch.confÎļþ£¬ÕÒ£º
ÒýÓÃ
#hosts:     db files nisplus nis dns
hosts:      files dns
ÐÞ¸ÄΪ£º
ÒýÓÃ
#hosts:     db files nisplus nis dns
hosts:      files
±£´æºó£¬¾ÍÔÙÒ²²»»á³öÏÖ¿ªÍ·µÄ´íÎóÁË¡£
¡ù ×¢Ò⣬¸ÃÐ޸ĻᵼÖÂÔÚ/etc/resolv.confÖÐÉèÖõÄDNSʧЧ¡£Çë¸ù¾Ýʵ¼ÊÇé¿öÑ¡ÔñÉÏÊöÆäÖÐÒ»¸ö·½·¨¡£ " 


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨Èý£© HCI²ã±à³Ì

1. HCI²ãЭÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI)  ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈЭÒé ......

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

¡¶Linux diffÓëpatchµÄÉîÈë·ÖÎö¡·

diffµÄÊä³ö¸ñʽ·ÖΪ´«Í³¸ñʽºÍͳһ¸ñʽ
1)diffµÄ´«Í³¸ñʽÊä³ö.
############################################
cat before.txt
Êä³ö:
This is a line to be deleted
This is a line that will be changed
This is a line that will be unchanged
cat after.txt
Êä³ö:
This is a line that has been changed
Thi ......

linux¶ÁдÎļþËٶȲâÊÔ

Ò». ÎļþÒ»´Î¶ÁÈëËÙ¶È
linux϶ÁÎļþÕⶫÎ÷×îºó¶¼ÊÇҪͨ¹ýϵͳµ÷ÓÃsys_read(fd,buf,count)À´ÊµÏֵģ¬ËùÒÔÈç¹ûÒªÌá¸ßËٶȣ¬¾ÍÊÇ×î¼òµ¥µØµ÷ÓÃsys_readµÄ·â×°£¬±ÈÈçÖ±½ÓÓÃread()»òfread()¡£ÏÂÃæÊÇÎÒÔÚlinuxϵļ¸¸ö²âÊÔ¡£
Ê×ÏÈ´´½¨Ò»¸ö130MÊý¾ÝÎļþ dd if=/dev/zero of=data bs=1024k count=130
[dd if=/dev/zero of=data b ......

ÉîÈëÀí½âlinuxϵͳµ÷ÓÃÓëʹÓÃÖ®ÕûÀíƪ

ÉîÈëÀí½âlinuxϵͳµ÷ÓÃÓëʹÓÃÖ®ÕûÀíƪ
Ò»¡¢ ʲôÊÇϵͳµ÷ÓÃ
      ÔÚLinuxµÄÊÀ½çÀÎÒÃǾ­³£»áÓöµ½ÏµÍ³µ÷ÓÃÕâÒ»ÊõÓËùνϵͳµ÷Ó㬾ÍÊÇÄÚºËÌṩµÄ¡¢¹¦ÄÜÊ®·ÖÇ¿´óµÄһϵÁеĺ¯Êý¡£ÕâЩϵͳµ÷ÓÃÊÇÔÚÄÚºËÖÐʵÏֵģ¬ÔÙͨ¹ýÒ»¶¨µÄ·½Ê½°Ñϵͳµ÷ÓøøÓû§£¬Ò»°ã¶¼Í¨¹ýÃÅ(gate)ÏÝÈë(trap)ʵÏÖ¡£ÏµÍ³µ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ