¡¾Linux¡¿LinuxΪÍø¿¨¾²Ì¬ÅäÖÃIPµØÖ·µÈ
linuxÖÐÓÃifconfigΪÍø¿¨ÅäÖÃIPµØÖ·µÈ£¬ÔÚϵͳÖØÆôºó¾ÍʧЧÁË¡£ÎªÁ˱£Ö¤ÅäÖÃÓÀ¾ÃÉúЧ£¬ÐèÒª²ÉÓÃÐÞ¸ÄÅäÖÃÎļþµÄ¾²Ì¬ÅäÖ÷½·¨£¬×ܽáÈçÏ£º
1. cd /etc/sysconfig/network-scripts¡£
2. vi ifcfg-eth0(Ò²¿ÉÄÜÊÇeth1£¬eth2£¬·Ö±ð¶ÔÓ¦²»Í¬µÄÍø¿¨)
3. ÅäÖÃÄÚÈÝÈçÏ£º
DEVICE=eth0 //Íø¿¨É豸Ãû³Æ£¬²»ÄÜÐÞ¸Ä
BROADCAST=192.168.6.255 //¹ã²¥µØÖ·£¬¿ÉÒÔÐÞ¸Ä
HWADDR=E2:68:E7:CD:03:29 //MACµØÖ·£¬Ó¦¸Ã²»ÄÜÐÞ¸Ä
IPADDR=192.168.6.120 //IPµØÖ·£¬¿ÉÒÔÐÞ¸Ä
IPV6ADDR= //IPV6µØÖ·£¬²»ÅäÖÃ
IPV6PREFIX= //²»ÅäÖÃ
NETMASK=255.255.255.0 //×ÓÍøÑÚÂ룬¿ÉÒÔÐÞ¸Ä
NETWORK=192.168.6.0 //ËùÊô×ÓÍø£¬¿ÉÒÔÐÞ¸Ä
GATEWAY=192.168.6.1 //ĬÈÏÍø¹Ø£¬¿ÉÒÔÐ޸ġ£Èç¹û²»ÅäÖÃÍø¹Ø£¬Ö»Äܺͱ¾Íø¶Î»¥Áª£¬²»ÄÜÁ¬½ÓÆäËûÍø¶Î
ONBOOT=yes/no //ÊÇ·ñËæϵͳÆô¶¯£¬¿ÉÒÔÐÞ¸Ä
4. ÅäÖÃÍê³Éºó£¬ÖØÐÂÆô¶¯ÍøÂç·þÎñ: service network restart
Ïà¹ØÎĵµ£º
ǶÈëʽLinuxϲÊÉ«LCDÇý¶¯µÄÉè¼ÆÓëʵÏÖ
ÕªÒª£º±¾ÎĽéÉÜÁËÈçºÎÔÚǶÈëÔÚ¿ª·¢²ÊÉ«LCDÏÔʾÇý¶¯µÄ·½·¨£¬²¢¶ÔLinuxÖеÄÏÔʾÇý¶¯³ÌÐò½á¹¹ºÍ¿ò¼Ü×÷Ò»½éÉÜ¡£
³¤ÆÚÒÔÀ´£¬ÔÚ³£¼ûµÄÕÆÉϵçÄÔ£¨PDA£©µÈСÐÍÊÖ³ÖʽÉ豸ÉÏ£¬ÓÉÓÚÓ²¼þÌõ¼þµÈµÄÏÞÖÆ£¬ÎÒÃÇ¿´µ½µÄÏÔʾÆ÷¼þͨ³£Êǵ¥É«LCD£¬Óû§½çÃæÒ²·Ç³£¼òµ¥£¬¼¸ºõ¿´²»µ½ PC ......
Linux USBÇý¶¯¿ò¼Ü·ÖÎö£¨Ò»£©
³õ´Î½Ó´¥ÓëOSÏà¹ØµÄÉ豸Çý¶¯±àд£¬¸Ð¾õ»¹Í¦ÓÐÒâ˼µÄ£¬ÎªÁ˲»ÖÁÓÚÍüµô¿´¹ýµÄ¶«Î÷£¬±Ê¼Ç¸ú×ܽᵱȻ²»¿Éȱ£¬¸üºÎ¿öÎÒ¾ö¶¨ÎªÇ¶ÈëʽÂôÃüÁË¡£ºÃ£¬ÑÔ¹éÕý´«£¬ÎÒ˵һ˵Õâ¶Îʱ¼äµÄÊÕ»ñ£¬¸ú´ó¼Ò·ÖÏíÒ»ÏÂLinuxµÄÇý¶¯¿ª·¢¡£µ«Õâ´ÎÖ»ÏÈÕë¶ÔLinuxµÄUSB×Óϵͳ×÷·ÖÎö£¬ÒòΪÖÜÎåÑÐÌÖÀÏ°å´ß» ......
Linux 2.6ÏÂSPIÉ豸ģÐÍ
--------»ùÓÚAT91RM9200·ÖÎö
Atmel¹«Ë¾µÄARM ATϵÁУ¬ÆäSPIÇý¶¯ÔÚkernel 2.6.23ÀïÒѾ°üº¬¡£Èç¹ûÄã´òÁËat91-patch²¹¶¡µÄ»°£¬ÔòÔÚÄÚºËÅäÖÃʱҪСÐÄ¡£ÔÚDevice Drivers---- > Character devices ---- >È¡ÏûÑ¡ÖÐSPI Driver(legacy) for at91rm9200 pro ......
2009-10-27
1£¬ÖØÆô reboot
2009-10-28
1,Íü¼ÇÁËrootÓû§ÃÜÂëµÄ½â¾ö°ï
Æô¶¯ºó°´esc½øÈëÐÞ¸´Ä£Ê½£¬Ñ¡ÔñÐÞ¸´£¬²¢Ñ¡Ôñ×îºóÒ»¸ö¡£root£¬½øÈ¥ºó£¬¸ü¸ÄÃÜÂ룺passwd root
È»ºó¸ù¾ÝÌáʾÊäÈëÁ½´ÎÃÜÂë¾ÍÐÐÁË¡£
2009-10-29
1,ls
ls -a ²é¿´ËùÓÐÎļþ
ls -l ²é¿´ÏêϸµÄÊôÐÔ
&nbs ......
2¡¢Ï̵߳ÄÖÕÖ¹
Èç¹û½ø³ÌÖÐÈκÎÒ»¸öÏß³ÌÖе÷ÓÃexit£¬_Exit,»òÕßÊÇ_exit£¬ÄÇôÕû¸ö½ø³Ì¾Í»áÖÕÖ¹£¬
Óë´ËÀàËÆ£¬Èç¹ûÐźŵÄĬÈϵĶ¯×÷ÊÇÖÕÖ¹½ø³Ì£¬ÄÇô£¬°Ñ¸ÃÐźŷ¢Ë͵½Ï̻߳áÖÕÖ¹½ø³Ì¡£
Ï̵߳ÄÕý³£Í˳öµÄ·½Ê½£º
(1) Ïß³Ì ......