linuxÏÂÐÞ¸ÄÖ÷»úÃû
ÔÚlinuxÏÂÐÞ¸ÄÖ÷»úÃûÓÐÁ½ÖÖ·½·¨£º
Ò»£ºÊ¹ÓÃhostnameÃüÁî
·½·¨£º[root@hening ~]# hostname abc
[root@hening ~]# su
[root@abc ~]#
ÇмɣºÊ¹ÓÃÕâ¸öÃüÁîÐÞ¸ÄÖ÷»úÃûÖ»ÄÜÔÚµ±Ç°shellÓÐЧ£¬Èç¹ûÖØÆôϵͳ¾Í»áʧЧ¡£
¶þ£ºÐÞ¸ÄlinuxÖ÷»úµÄÅäÖÃÎļþ
·½·¨£ºÐÞ¸ÄÅäÖÃÎļþ/etc/sysconfig/network ºÍ /etc/hosts
1.Ê×ÏÈ£¬ÐÞ¸Ä/etc/sysconfig/networkÀïÃæµÄÖ÷»úÃû×Ö¡£
# vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=hcn //ÔÚÕâÐÞ¸Ähostname
NISDOMAIN=eng-cn.platform.com
2.ÐÞ¸Ä/etc/hostsÀïÃæµÄÃû×Ö
££ vi /etc/hosts
127.0.0.1 localhost.localdomain localhost
172.17.33.169 hcn //ÔÚÕâÐÞ¸Ähostname
3.×îºóÔÚÖÕ¶ËÏÂÖ´ÐУº
££hostname hcn
#su
ÎÒʹÓõÄÊÇÐÞ¸Ä/etc/hostsÀïÃæµÄÃû×Ö£¬¿ÉÒÔÐ޸ģ¬ºÇºÇ
Ïà¹ØÎĵµ£º
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ÏÂCÓïÑÔǶÈë»ã±àµÄÎÄÕÂдµÄ·Ç³£È«£¬×ªÔعýÀ´¡£
Using Assembly Language in Linux.
IntelºÍAT&T»ã±àÓï·¨²îÒ죺
1¡£Ç°×º£º
Intel»ã±à¼Ä´æÆ÷ºÍÁ¢¼´ÊýÎÞÐèǰ׺¡£ºóÕ߼ĴæÆ÷ǰ׺Ϊ%£¬Á¢¼´Êýǰ׺Ϊ$¡£
eg£º
Intex Syntax
mov eax,1
mov ebx,0f ......
±àÒë¹ý³Ì¸ÅÊö
Á˽âһЩ±àÒë֪ʶµÄ¶ÁÕ߶¼ÖªµÀ£¬Ëùν±àÒ룬¾ÍÊÇÔÚ±àÒë³ÌÐò¶ÁÈ¡Ô´³ÌÐò£¨×Ö·ûÁ÷£©£¬¶ÔÖ®½øÐдʷ¨ºÍÓï·¨µÄ·ÖÎö£¬½«¸ß¼¶ÓïÑÔÖ¸Áîת»»Îª¹¦ÄܵÈЧµÄ»ã±à´úÂ룬ÔÙÓÉ»ã±à³ÌÐòת»»Îª»úÆ÷ÓïÑÔ£¬²¢ÇÒ°´ÕÕ²Ù×÷ϵͳ¶Ô¿ÉÖ´ÐÐÎļþ¸Ðл¸ñʽµÄÒªÇóÁ´½ÓÉú³É¿ÉÖ´ÐгÌÐò¡£
UNIX»·¾³ÏµÄC±àÒëϵͳËù×ñѵÄÒ²ÊÇÕâôһ¸öÒ»° ......