Linux tftp ÃüÁî
In my embedded platform, I want to use tftp command,
run tftp, it will output:
Usage: tftp [OPTION]... HOST [PORT]
Transfer a file from/to tftp server
Options:
-l FILE Local FILE
-r FILE Remote FILE
-g Get file
-p Put file
-b SIZE Transfer blocks of SIZE octets
I try serveral times, I find:
tftp -r hello.o -g 192.169.1.99
#comment:
My embedded platform is 192.168.1.168
I have a Linux PC, ip is 192.168.1.99
In Linux PC, hello.o put in folder /tftpboot/
Ïà¹ØÎĵµ£º
»ù±¾¸ÅÄ
1> tty(ÖÕ¶ËÉ豸µÄͳ³Æ):
ttyÒ»´ÊÔ´ÓÚTeletypes£¬»òteletypewriters£¬ÔÀ´Ö¸µÄÊǵ紫´ò×Ö»ú£¬ÊÇͨ¹ý´®ÐÐÏßÓôòÓ¡»ú¼üÅÌͨ¹ýÔĶÁºÍ·¢ËÍÐÅÏ¢µÄ¶«Î÷£¬ºóÀ´Õâ¶«Î÷±»¼üÅ̺ÍÏÔʾÆ÷È¡´ú£¬ËùÒÔÏÖÔÚ½ÐÖն˱ȽϺÏÊÊ¡£
ÖÕ¶ËÊÇÒ»ÖÖ×Ö·ûÐÍÉ豸£¬ËûÓжàÖÖÀàÐÍ£¬Í¨³£Ê¹ÓÃttyÀ´¼ò³Æ¸÷ÖÖÀàÐ͵ÄÖÕ¶ËÉ豸¡£
2> pty£¨ÐéÄâÖ ......
ÊÐÃæÉÏÓеÄÒ»±¾½éÉܶàÏ̵߳ÄÊé¡¶Posix ¶àÏ̱߳à³Ì¡·£¬ËüÊÇÓ¢Îİ桶Programming with POSIX Muiltthread¡·ÖÐÒë±¾£¬ÕâÒ²ÊǰëÄêǰÎÒËùÄÜÕÒµ½µÄΨһרÌâ½éÉܶàÏ̱߳à³ÌµÄÊé¡£ÎÒ¸öÈ˸оõÕâ±¾ÊéµÄÇ°Ãæ1/3Ö®Ò»µÄÄÚÈÝдµÄ»¹ÊDz»´íµÄ£¬µ«ÊǺóÃæµÄ¶«Î÷¾Í·Ç³£»Þɬ²¢ÇÒÓкܶàÃ÷ÏÔµÄÎÄ×Ö´íÎ󡣿´¿´Õâ±¾ÊéµÄ·ÒëÕßÊǺü¸¸öÈË£¬¹À¼ÆÃ¿¸öÈ ......
ËÞÖ÷»ú£ºWindows XP Professinoal SP2
VMware:Red Hat Linux 9
ÍøÂ磺ADSL¾ÖÓòÍø512M
ËùÓÃÈí¼þ£º
VMware-workstation-6.0.0-45731.exe
Red Hat Linux 9
°²×°¹ý³Ì£º
1.°²×°VMware-workstation-6.0.0-45731.exe
2.¿ªÆôVMware.°²×°Linux.
°²×°Ê±¿ÉÖ±½ÓÓÃÓ²ÅÌisoÎļþ.
VMware=>VM=>Settings=> ......
1.²é¿´Linuxϵͳµ±Ç°µ¥¸ö¹²ÏíÄÚ´æ¶ÎµÄ×î´óÖµ£¨ÃüÁ
ipcs -m
ipcs -a
2.ÓÃʲôÃüÁî²éѯָ¶¨IPµØÖ·µÄ·þÎñÆ÷¶Ë¿Ú
ÌâÒâÓ¦¸ÃÊÇ nmap ºÍnbtscan ÃüÁîÀ´É¨°É¡£
3.crontabÖÐÓÃʲôÃüÁÒåij¸ö³ÌÐòÖ´ÐеÄÓÅÏȼ¶±ð
nice/renice£º½ø³ÌÖ´ÐÐÓÅÏȼ¶
¸ÅÄ
½ø³ÌÓÅÏȼ¶£ºÏµÍ³°´½ø³ÌÓÅÏȼ¶µÄ²»Í¬·ÖÅäCPUʱ¼ä£¬ÓÅÏȼ¶¸ßµÄ ......
Çý¶¯±à³ÌºËÐÄÀíÂÛÖ®²¢·¢¿ØÖÆ
²¢·¢£¬¾¹Ì¬µÄÀí½â£ºÒ²¾ÍÊÇLinuxµÄ¶«Î÷ÔÚʱ¼äºÍ¿Õ¼ä±»Í¬Ê±Ê¹Óõ¼ÖµÄÎÊÌâ
LinuxϵͳÌṩµÄ½â¾ö·½°¸£º
ÖÐ¼ÌÆÁ±Î
Ô×Ó²Ù×÷
×ÔÐýËø
ÐźÅÁ¿
1,ÖÐ¶ÏÆÁ±Î
Ê×ÏÈÕâ¸öÒÀÀµ ......