½éÉÜLinuxϾµäµÄÎļþ´«Ê乤¾ß: lrzsz
¹«Ë¾ÓиöÓÃARM940T×öµÄÊÖ³Öʽ²úÆ·£¬ÎÒÃÇÒÆÖ²ÁËÒ»¸öuClinuxÉÏÈ¥£¬ÏµÍ³»¹ÊÇÔËÐв»´íµÄ¡£
ÒòΪûÓдøÍø¿Ú£¬Ö»ÓÐUSBת´®¿Ú¿ÉÒÔʹÓã¬ËùÒÔÏëÑ°ÕÒÒ»¸öÎȶ¨µÄ´«Êä;¾¶£¬ÔÚhostºÍdeviceÖ®¼ä½»»»Îļþ¡£ÎÊÁ˺ܶàÈ˶¼²»Çå³þ£¬»¹ÊÇÒª¿¿×Ô¼ºÕÒ½â¾ö·½·¨¡£
ÔÚgoogleÉÏÕÒÁË°ëÌ죬ÖÕÓÚÕÒµ½ÁËÒ»¸ö¿ÉÒÔͨ¹ý´®¿Ú´«ËÍÎļþµÄÈí¼þ£¬Õâ¾ÍÊǹŶ¼¶µÄUnix¹¤¾ß:lrzsz¡£lrzsz¿ÉÒÔͨ¹ýXmodem,Ymodem,ZmodemÐÒé´«ËÍÎļþ¡£
ÔÚuClinuxµÄuserĿ¼Ï£¬ÎÒÕÒµ½ÁËÕâ¸ölrzszĿ¼£¬ËµÃ÷uClinuxÓ¦¸ÃÊÇ¿ÉÒÔÔËÐÐlrzszµÄ¡£±àÒëuClinuxµÄʱºò£¬Ñ¡ÉÏlrzsz£¬±àÒ룬ÉÕ¼½ø¿ª·¢°å£¬Éϵ磬ÔËÐУ¬ÆäÖÐlrzsz±àÒë³öÀ´Á½¸öÎļþ£¬Ò»¸öÊÇlrzÓÃÓÚ½ÓÊÕÎļþ£¬Ò»¸öÊÇlszÓÃÓÚ·¢ËÍÎļþ¡£
ÔÚWindowsÉÏÓ󬼶Öն˴ò¿ª´®¿Ú£¬Á¬ÉÏuClinux£¬ÊäÈëÒÔÏÂÃüÁ
cd /bin
lsz *
µÚÒ»¸öÃüÁîÊǽøÈëbinĿ¼£¬µÚ¶þ¸ölszÃüÁîÊÇ·¢ËÍÈ«²¿Îļþ¡£
ÊäÈëÒԺ󣬳¬¼¶ÖÕ¶ËÁ¢¿Ìµ¯³öÒ»¸ö½çÃ棬ÏÔʾһ¸öÎļþÕýÔÚ´«ËÍÖУ¬°üÀ¨½ø¶È£¬ÎļþÃû£¬Ê¹ÓõÄÐÒéÊÇzmodem£¬¹þ¹þ£¬ºÜ¿áŶ£¡
È«²¿Îļþ·¢ËÍÍê±Ïºó£¬¶¼·ÅÔÚÁËÒ»¸öĬÈÏĿ¼ÏÂÃæ¡£
´Óhost¶Ë·¢ËÍÎļþµ½device¶Ë£¬Ò²ÊǺÜÈÝÒ׵ģ¬µ«ÊÇÒª±£Ö¤RamDiskÓÐ×ã¹»µÄ¿Õ¼ä¡£ÎÒÒ»¿ªÊ¼Ã»ÓÐ×¢ÒâRamDiskÖ»ÓÐ128KB£¬È´´«ËÍÁË1MBµÄÎļþ£¬½á¹û´«ËÍÍê±Ïºó£¬ÏµÍ³¾Í¹ÒÁË£¬×¢Òâ×¢Ò⣡
²ÉÓÃÕâ¸öÃüÁ
cd /var
lrz -Z
µÚÒ»¸öÃüÁîÊǽøÈëRamDisk,Ó¦¸Ã±£Ö¤Õâ¸öĿ¼ÊÇ¿ÉдµÄ£¬²¢ÇÒ±£Ö¤´óСӦ¸Ã³¬¹ý´«Ë͵ÄÎļþ¡£
µÚ¶þ¸öÃüÁîÊǽÓÊÕÎļþ£¬Ê¹ÓÃZmodemÐÒé¡£
ÔËÐÐÃüÁîºó£¬ÔÚ³¬¼¶ÖÕ¶ËÏÂÑ¡Ôñ“·¢ËÍÎļþ”£¬Ñ¡Ôñ“ZmodemÐÒ锣¬Ñ¡ÔñÒ»¸öÎļþ£¬¼´¿É½«Îļþͨ¹ý´®¿Ú·¢Ë͵½deviceµÄvarĿ¼Ï¡£
ÔÚWindowsÏ¿ÉÒÔÓ󬼶Öնˣ¬ÔÚLinuxÏÂÓ¦¸ÃÓÃʲôÖն˹¤¾ß£¿
´ð°¸ÊÇ£ºc-Kermit£¬ÎÒÔÚubuntuÏÂ×°ÁËminicom£¬µ«ÊÇÅܲ»ÆðÀ´£¬ÆäÖÐu-bootµÄÍøÒ³ÉÏҲ˵minicom²»Ò»¶¨ÄÜÓá£ÏÂÔØÒ»¸öc-kermit£¬¾Í¿ÉÒÔÓëdeviceͨѶÁË¡£¾Í²»ÔÙ¶à˵À²£¡
2009.06.19:
²¹³äÒ»ÏÂ, kermit ¿ÉÒÔÉèÖÃΪÓÃij¸öÐÒé·¢ËͺͽÓÊÕÎļþ£¬Èç¹ûÒª´ÓPC·¢ËÍÎļþµ½¿ª·¢°å£¬±ØÐëÉ趨Õâ¸öÖØÒªµÄprotocol.
ÕâÊÇÎÒµÄ.kermrcÎļþ£º
set line /dev/ttyS0
set speed 38400
set carrier-watch off
set handshake none
set flow-control none
robust
set file type bin
set file name lit
set rec pack 1024
set send pack 1024
set window 5
set prot
Ïà¹ØÎĵµ£º
1 Îļþ¹ÜÀí # ls ls -a Áгöµ±Ç°Ä¿Â¼ÏµÄËùÓÐÎļþ£¬°üÀ¨ÒÔ.Í·µÄÒþº¬Îļþ
Îļþ¹ÜÀí # ls ls -l»òll Áгöµ±Ç°Ä¿Â¼ÏÂÎļþµÄÏêϸÐÅÏ¢
Îļþ¹ÜÀí # pwd pwd ²é¿´µ±Ç°ËùÔÚĿ¼µÄ¾ø¶Ô·¾
Îļþ¹ÜÀí # cd cd .. »Øµ±Ç°Ä¿Â¼µÄÉÏÒ»¼¶Ä¿Â¼
Îļþ¹ÜÀí # cd cd - »ØÉÏÒ»´ÎËùÔÚµÄĿ¼
Îļþ¹ÜÀí # cd cd ~ »ò cd »Øµ±Ç°Óû§µÄËÞÖ÷Ŀ¼
......
LinuxÏÂÅäÖð²×°NFS
http://blog.chinaunix.net/u1/34252/showart_264236.html
1.1NFS¸ÅÊö
NFS(Network File System)ÊÇÒ»ÖÖ·Ö²¼Ê½Îļþϵͳ£¬ÔÊÐíÍøÂçÖеݲװ²»Í¬²Ù×÷ϵͳµÄ¼ÆËã»ú¼ä¹²ÏíÎļþºÍÍâÉ裬ËùÒÔËüµÄͨѶж¨Éè¼ÆÓëÖ÷»ú¼°×÷ҵϵͳÎÞ¹Ø. ËüÊÇÓÉSUN¹«Ë¾ÓÚ1984ÄêÍƳö£¬Ê¹µÃ¿ÉÒÔ±¾µØ»úÒ»ÑùµÄʹÓÃÁíһ̨ÁªÍø¼ÆËã»úµÄÎ ......
Òý×Ô£ºhttp://server.it168.com/a2009/0309/267/000000267918.shtml
4.1.7 LinuxµÄµÚÒ»¸ö½ø³Ì£ºinit£¨1£©
initÊÇLinuxϵͳִÐеĵÚÒ»¸ö½ø³Ì£¬½ø³ÌIDΪ1£¬ÊÇϵͳËùÓнø³ÌµÄÆðµã£¬Ö÷ÒªÓÃÀ´Ö´ÐÐһЩ¿ª»ú³õʼ»¯½Å±¾ºÍ¼àÊÓ½ø³Ì¡£LinuxϵͳÔÚÍê³ÉÄÚºËÒýµ¼ÒÔºó¾Í¿ªÊ¼ÔËÐÐinit³ÌÐò£¬init³ÌÐòÐèÒª¶ÁÈ¡ÅäÖÃÎļþ/etc/inittab¡£init ......
×î½ü×ölinuxϵͳ²Ã¼ô£¬ÐÞ¸ÄǶÈëʽϵͳµÄinittabÎļþʱÎ󽫱¾»úinittabÎļþÐ޸ġ£
rebootºó³öÏÖ
INIT: /etc/inittab[2]: missing id field
INIT: /etc/inittab[3]: missing id field.
Enterrunlevel:
ÊäÈë3,»ò1£¬»òsinggleºó³öÏÖ
INIT: no more processess left in this runlevel
ϵͳֹͣ¡£
google£¬baiduµ½Ò»ÆªÒý ......