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

Linux @ VMWare ÏÂÐÞ¸ÄMACµØÖ·µÄ·½·¨£¨Ç××Ôʵ¼ù£©

½ñÌ쿽±´ÁËÐéÄâ»úÔÚÁíÍâһ̨µçÄÔÉÏʹÓ㬷¢ÏÖMACµØÖ·³åÍ»£¬ÓÚÊÇÈ¥ÍøÉÏÕÒÐ޸ķ½·¨¡£¿É°´ÕÕËù˵µÄ£¬ÎÒ²¢Ã»ÓкÜ˳ÀûÐ޸ijɹ¦¡£
ÏÂÃæÎÒ½«¹ý³Ìд³öÀ´£¬ÀïÃæÓÐЩµØ·½ÐèҪעÒâһϡ£
ÏÂÃæÊÇÎÒ´ÓÍøÉÏËÑË÷µ½´ó²¿·ÖµÄ×ö·¨ÈçÏ£¬ºìÉ«²¿·ÖÊÇÎÒ×¢Ê͵ģ¬ÐèҪעÒâµÄµØ·½£º
VMwareÐéÄâ»úÖÐÐÞ¸ÄLinux MACµØÖ·µÄ·½·¨£º
1¡¢ÐÞ¸ÄÐéÄâ»úµÄ*.vmxÎļþ.
ÕâÖÖ·½·¨×îÖµµÃÍƼö£¬ÒòΪÕâÑù¾ÍÀàËÆÓÚÖØГÉÕ¼”ÁËVMwareÐéÄâ»úµÄ“ÎïÀíÍø¿¨ROM”¡£
·½·¨ÊÇ£º
·ÖÁ½ÖÖÇé¿ö£º
a£º
ethernet0.addressType="static"
ethernet0.Address="00:50:56:0A:0B:0C"
"static"˵Ã÷VMµÄ"ÎïÀíÍø¿¨"µÄMACÊǾ²Ì¬É趨µÄ£¬Äã¿ÉÒԸijÉÒ»¸öÒÔ005056¿ªÍ·µÄÁíÍâÒ»¸öMAC¼´¿É¡£¸ÄÍêÆô¶¯VMʱÈç¹ûÎÊÄãSSIDµÄ»°£¬Ñ¡Ôñ“KeepAlways”¡£
ÕâÖÖ·½·¨ÎÒûÓÐÊÔÑé³É¹¦£¬Ñϸñ°´ÕÕÕâ¸ö·½·¨Ð޸Ķ¼Ò»Ö±Î´Ð޸ijɹ¦£¬ÎÒÒ²²»ÖªµÀΪʲô£¬Èç¹ûÓÐÈËÖªµÀΪʲôÇë¸æËßÎÒ£¬Ð»Ð»£¡
b£º
ethernet0.addressType="generated"
uuid.location="564ddcf1ffaa75ea-f1b9ee0d689c655c"
uuid.bios="564ded23138c9691-7c68b2098baabbcc"
ethernet0.generatedAddress="00:0c:29:aa:bb:cc"
"generated"˵Ã÷VMµÄ"ÎïÀíÍø¿¨"µÄMACÊÇϵͳËæ»ú¶¯Ì¬É趨µÄ£¬Äã¿ÉÒÔͨ¹ý½«uuid.biosºóÁùλ¼°ethernet0.generatedAddressºóÁùλ¸Ä³ÉÄãÏëÒª¸Ä³ÉµÄÒÔ000c29¿ªÍ·µÄMAC¼´¿É¡£
2¡¢ÐÞ¸ÄLinuxϵͳÀïÏà¹Ø/etc/sysconfig/network-scripts/ifcfg-eth0ÎļþMACÖµ.
vi/etc/sysconfig/network-scripts/ifcfg-eth0
MACADDR=xx:xx:xx:xx:xx:xx
:wq±£´æÍ˳ö
reboot
ÕâÖÖ·½·¨Ò²ÓÐÐèҪעÒâµÄµØ·½£¬
I)   ÔÚÐÞ¸Ä ifcfg-eth0 ÎļþµÄʱºòÈç¹ûÓÐ HWADDR Ï¼ÇµÃÒ»¶¨ÒªÉ¾³ý¸ÃÏ·ñÔòÐ޸IJ»³É¹¦¡£
II)  MACADDR ÓÐÒ»¸ö·¶Î§£¬
MACADDR = 00:50:56:XX:YY:ZZ
XXÐ޸ķ¶Î§Îª£º00£­3F£»
YYÓëZZµÄÐ޸ķ¶Î§Îª£º00£­FF£»
“00:50:56”Õ⼸¸öÊDz»ÄÜÐ޸ĵģ»
ÎÒ×îÖÕÊÇÓÃÕâ¸ö·½·¨Ð޸ijɹ¦µÄ¡£
3¡¢ÐÞ¸ÄLinuxϵͳÀïÏà¹Ørc.localÎļþMACÖµ.
´ËΪVMwareÐéÄâ»úÖÐÐÞ¸ÄLinux MACµØÖ·µÄ¼¸ÖÖ·½·¨£¬·Ç³£¼òµ¥Ò×ÐС£
Õâ¸ö·½·¨ÎÒ¾ÍûÊÔ¹ýÁË£¬Èç¹ûÓÐÐËȤµÄ¿ÉÒÔÊÔһϡ£


Ïà¹ØÎĵµ£º

Linux ÎÞÏßÍøÂç¼¼Êõ: WLAN

µ±½ñ£¬²»¿¼ÂÇ Linux ºÍÎÞÏßÍøÂç¼¼ÊõµÄ»°£¬¾ÍÎÞ·¨Ì¸µ½¼ÆËã»úºÍÍøÂç¡£ÔÚÕâƪÎÄÕÂÖУ¬Sreekrishnan Venkateswaran ÓÃ
Linux ¹Ûµã²ûÊÍÁËͨ¹ý WLAN¡¢Bluetooth¡¢GPRS¡¢GSM ÒÔ¼° IrDA
ʵÏÖÎÞÏßÁªÍø¡£ËûʹÓø÷ÖÖ²»Í¬µÄÎÞÏßÉ豸ºÍÏàÓ¦µÄÄں˲㣬ÒÔ¼°Óû§¿Õ¼ä¹¤¾ßÀ´Ê¾·¶ËüÃÇÔÚ Linux ÏÂÈçºÎ¹¤×÷¡£
ÎÞÏß¼¼Êõ£¬ÀýÈç
WLAN (Wireles ......

Linux²é¿´È«²¿½ø³ÌµÄÃüÁî

ÔÚ³¬¼¶Óû§ÏÂÏÔʾLinuxϵͳÖÐÕýÔÚÔËÐеÄÈ«²¿½ø³Ì£¬Ó¦Ê¹ÓõÄÃüÁî¼°²ÎÊýÊÇ ps -aux ¡£
Linux psÃüÁîÏê½â£º
    1)ps a ÏÔʾÏÖÐÐÖն˻úϵÄËùÓгÌÐò,°üÀ¨ÆäËûÓû§µÄ³ÌÐò.
    2)ps -A ÏÔʾËùÓгÌÐò.
    3)ps c Áгö³ÌÐòʱ,ÏÔʾÿ¸ö³ÌÐòÕæÕýµÄÖ¸ÁîÃû³Æ,¶ø²»°üº¬Â·¾¶,²ÎÊý»ò³ ......

Interrupt in Linux£¨Ó²¼þƪ£©—— PIC


±¾ÎÄÀ´×Ô£ºhttp://blog.chinaunix.net/u2/66786/showart.php?id=601766
1.1Ê·Ç°µÄPIC
8259AÊǼ´ÎÒÃÇͨ³£ËµµÄPIC£¬Èçͼ1-1Ëùʾ£º
 
ͼ1-1 8259A
ÆäÖÐ×îÖØÒªµÄ¹Ü½ÅÊÇIR0~IR7£¨Interrupt Request0~7£¬ÓÃÓÚÁ¬½ÓÉ豸£©¡¢INT£¨Á¬½ÓCPU,µ±ÓÐÖжÏÇëÇóʱ£¬À­¸ß¸Ã¹Ü½ÅÒÔ֪ͨCPUÖжϵĵ½À´£©¡¢INTA£¨Á¬½ÓCPU£¬CPUͨ¹ý¸Ã¹Ü½ ......

Interrupt in Linux£¨Ó²¼þƪ£©—— APIC

1.2ÏÖ´úµÄAPIC
APICËäºÅ³ÆÏÖ´ú£¬µ«Ò²³öÏÖ10¼¸ÄêÁË£¬PC»úÊг¡×ÜÊǺÜÍí²ÅÄܽӴ¥µ½Ðµļ¼Êõ£¬Ç°Ãæ˵ÁË£¬ÎÒµÄT42ÓõĻ¹ÊÇPICÄØ¡£APICÏà½ÏÓÚPICÀ´Ëµ£¬×î´óµÄÓŵãÊÇÄÜÊÊÓÃÓÚMPƽ̨£¬µ±È»£¬¹Ü½Å¶àÊÇËüÁíÒ»¸öÓŵ㡣APICÓÉÁ½²¿·Ö×é³É£¬Ò»¸ö³ÆΪLAPIC£¨Local APIC£¬±¾µØ¸ß¼¶ÖжϿØÖÆÆ÷£©£¬Ò»¸ö³ÆΪIOAPIC£¨I/O APCI£¬I/O¸ß¼¶ÖжϿØÖÆ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ