Linuxϵͳ¹ÜÀíʵ¼ù(8)£ºÍøÂçÅäÖà (Ðø)
12¡¢ÍøÂç½ÓÈëµÄÅäÖùý³Ì£º
ÏÖÔÚµÄLinuxÒ»°ãÔÚÆô¶¯Ê±»á×Ô¶¯ÅäÖúÃÍø¿¨£¨ÓÐÏßÍø¿¨»òÎÞÏßÍø¿¨£©£¬Ö»ÒªÖ±½ÓÉèÖúõÄËüµÄIP£¨¿ÉÒÔÓÃDHCP£©¡¢×ÓÍøÑÚÂ롢ĬÈÏ·ÓÉ£¨¼´Ä¬ÈÏÍø¹Ø£©¡¢ÓÐʱ»¹ÒªÉèÖÃÒ»ÏÂDNS£¬¾Í¿ÉÒÔÉÏÍøÁË¡£ÕâЩÅäÖÃÏÖÔÚ¶¼ÓÐͼÐÎÓû§½çÃ棬һ°ãÔÚϵͳÀ¸µÄ×óÉϽǣ¬Ö±½Ó´ò¿ªËü£¬¾Í»á¿´µ½ÓÐÏßÁ¬½Ó»òÎÞÏßÁ¬½ÓµÄÉèÖýçÃæ¡£ÕâÀïÖ÷Òª½éÉÜͨ¹ýÃüÁîºÍÅäÖÃÎļþÀ´ÅäÖÃÍøÂçµÄ½ÓÈë¡£
£¨1£©ÅäÖÃÉæ¼°µ½µÄÎļþ£º
RedHat/Fedora£º
Ö÷»úÃû¡¢Ä¬ÈÏ·ÓÉ£º/etc/sysconfig/network
Íø¿¨IPµØÖ·¡¢ÍøÂçÑÚÂë¡¢¹ã²¥µØÖ·£º/etc/network_scripts/ifcfg-ifname£¨Èçifcfg-eth0£©
SUSE:
Ö÷»úÃû¡¢IPµØÖ·¡¢ÍøÂçÑÚÂëµÈ£º/etc/rc.config
ĬÈÏ·ÓÉ£º/etc/route.conf
Debian/Ubuntu£º
Ö÷»úÃû£º/etc/host/hostname
Íø¿¨IPµØÖ·¡¢ÍøÂçÑÚÂ롢ĬÈÏ·ÓÉ£º/etc/network/interfaces
£¨2£©·ÖÅäΨһµÄÖ÷»úÃûºÍIPµØÖ·£º·ÖÅäÖ÷»úÃûÓÃhostnameÃüÁ·ÖÅäDNSÓòÃûÓÃdnsdomainnameÃüÁÏÖÔÚ´ó¶àÊýϵͳһ°ã»á·ÖÅäÈ«Ãû£¬¼È°üº¬Ö÷»úÃû£¬ÓÖ°üº¬DNSÓòÃû¡£hostnameºÍdnsdomainnameÃüÁîÒ»°ã»áÔÚϵͳÆô¶¯Ê±´ÓÆô¶¯½Å±¾ÖÐÖ´ÐУ¬ÒÔ»ñµÃÖ÷»úÈ«Ãû£¬Èç¹ûÖ®ºóÄãÏë¸Ä±äÖ÷»úÃû£¬¿ÉÒÔʹÓÃÕâÁ½¸öÃüÁî¡£Íø¿¨IPµØÖ·¿ÉÊÖ¹¤·ÖÅ䣬¼´Ö±½ÓÔÚÉÏÃæÁгöµÄÏàÓ¦ÎļþÖÐÉèÖþ²Ì¬IP£¬Èç¹ûÓö¯Ì¬IP£¬ÔòÓÉDHCP×Ô¶¯·ÖÅä¡£ÏÖÔںܶàÕ¾µã»áÖ±½ÓʹÓÃLDAPÊý¾Ý¿âÀ´¹ÜÀíËüÃǵÄÖ÷»úÃûºÍIPµØÖ··ÖÅäÊÂÎñ¡£
£¨3£©ÅäÖÃÍøÂç½Ó¿Ú²ÎÊý£º¿ÉÓÃifconfigÃüÁîÀ´ÉèÖÃÍøÂç½Ó¿ÚµÄ²ÎÊý¡£¸ñʽΪifconfig interface address options ...£¬ÀýÈçifconfig eth0 192.168.1.13 netmask 255.255.255.0 up¡£ÆäÖÐeth0ΪÍø¿¨½Ó¿ÚÃû£¬Ó²¼þ±êʶÃûÓëÉ豸Çý¶¯³ÌÐòµÄÓ³Éä¹Øϵ±£´æÔÚ/etc/modules.confÖУ¬»Ø»·½Ó¿ÚΪlo¡£ÅäÖûػ·½Ó¿Ú³£ÓÃifconfig lo 127.0.0.1 up¡£³£ÓÃÑ¡Ï
netmask£ºÉèÖýӿڵÄ×ÓÍøÑÚÂë
broadcast£ºÉèÖýӿڵÄIP¹ã²¥µØÖ·
up/down£ºÆô¶¯/¹Ø±Õ½Ó¿Ú£¬Ã»ÓÐÖ¸¶¨¸ÃÑ¡ÏîʱĬÈÏΪ¿ªÆô¡£
£¨4£©ÅäÖÃÍøÂç½Ó¿ÚµÄÐÉÌģʽºÍÆäËûÌØÐÔ£ºÓÃmii-toolÃüÁËüÓÃÀ´²éѯ»òÉèÖÃÌض¨ÓÚ½éÖʵIJÎÊý£¬±È
Ïà¹ØÎĵµ£º
ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......
Áù¡¢ÁíÀà·ç¸ñµÄmakefile
¼´È»ÎÒÃǵÄmake¿ÉÒÔ×Ô¶¯ÍƵ¼ÃüÁÄÇôÎÒ¿´µ½ÄǶÑ[.o]ºÍ[.h]µÄÒÀÀµ¾ÍÓе㲻ˬ£¬ÄÇô¶àµÄÖظ´µÄ[.h]£¬Äܲ»ÄÜ°ÑÆäÊÕ£ÆðÀ´£¬ºÃ°É£¬Ã»ÓÐÎÊÌ⣬Õâ¸ö¶ÔÓÚmakeÀ´ËµºÜÈÝÒ×£¬Ë½ÐËüÌṩÁË×Ô¶¯ÍƵ¼ÃüÁîºÍÎļþµÄ¹¦ÄÜ ÄØ£¿À´¿´¿´×îзç¸ñµÄmakefile°É¡£
objects = main.o kbd.o command.o ......
ARM Linux¸ùÎļþϵͳ£¨Root Filesystem£©µÄÖÆ×÷
2008Äê01ÔÂ06ÈÕ ÐÇÆÚÈÕ 22:28
http://xianzilu.spaces.live.com/blog/fakehandlerpage.aspx?wa=wsignin1.0
http://xianzilu.spaces.live.com/blog/cns!4201FDC93932DDAF!290.entry
¹ØÓÚ¸ùÎļþϵͳµÄÖÆ×÷£¬ÍøÂçÉÏÓкܶàÎÄÕ£¬´ó¶àÊý¶¼Ö»½²µ½½¨¼¸¸öĿ¼£¬È»ºóÓÃBusyb ......
LinuxÔÚϵͳÒýµ¼ÆÚ¼ä²éÕÒrootfs
×÷ΪһÃûLinux¹ÜÀíÔ±£¬Äú¿ÉÄÜ»áÔÚÔö¼ÓÍⲿ´æ´¢¾íÖ®ºó»òÕßÉõÖÁÔÚ°²×°Ð Linux ²Ù×÷ϵͳ֮ºó£¬³¢ÊÔÖØÐÂÆô¶¯·þÎñÆ÷ʱÓöµ½ÖîÈç cannot mount rootfs ºÍ kernel panic Ö®ÀàµÄ rootfs ´íÎó¡£±¾ÎĽ«¸ÅÒª½éÉÜ x86 ƽ̨É쵀 Linux Òýµ¼½ø³Ì£¬ÏÔʾ³öÏÖ´ËÎÊÌâµÄÔÒò£¬²¢Ìṩ±ÜÃâ»òÐÞÕý´ËÎ ......
linuxϵÄÎļþ½á¹¹£¬¿´¿´Ã¿¸öÎļþ¼Ð¶¼ÊǸÉÂðÓõÄ
/bin ¶þ½øÖÆ¿ÉÖ´ÐÐÃüÁî
/dev É豸ÌØÊâÎļþ
/etc ϵͳ¹ÜÀíºÍÅäÖÃÎļþ
/etc/rc.d Æô¶¯µÄÅäÖÃÎļþºÍ½Å±¾
/home Óû§Ö÷Ŀ¼µÄ»ùµã£¬±ÈÈçÓû§userµÄÖ÷Ŀ¼¾ÍÊÇ/home/user£¬¿ÉÒÔÓÃ~user±íʾ
/lib ±ê×¼³ÌÐòÉè¼Æ¿â£¬Óֽж¯Ì¬Á´½Ó¹²Ïí¿â£¬×÷ÓÃÀàËÆwindowsÀïµÄ.dllÎ ......