Difference between revisions of "IoTGateway/BSP/Linux/AM335x/System Service and Usage"

From ESS-WIKI
Jump to: navigation, search
Line 3: Line 3:
  
 
= Service =
 
= Service =
Advantech has built five common network services: tftp service, ftp service, ssh service, telnet
+
 
service and http service.
+
Advantech has built five common network services for am335x advantech platform: tftp service, ftp service, ssh service, telnet service and http service.
  
 
== <span style="color:#0070c0">Tftp Server</span> ==
 
== <span style="color:#0070c0">Tftp Server</span> ==
When boot up the target board, the tftp service is already started by default(On advantech AM335x platform) and the tftp server’s
+
 
working directory is /tftpboot. You need execute “chmod 777 /tftpboot” on target system to let
+
When boot up the target board, the tftp service is already started by default(am335x advantech platform) and the tftp server’s working directory is /tftpboot. You need execute “chmod 777 /tftpboot” on target system to let the tftp server work. Then, user can tftp to target board by tftp client in host PC. Use command to get and put file like this:
the tftp server work. Then, user can tftp to target board by tftp client in host PC. Use command
+
<pre>hostPC$ tftp TARGET_SYSTEM_IP
to get and put file like this:
 
<pre>
 
hostPC$ tftp TARGET_SYSTEM_IP
 
 
tftp>get file1
 
tftp>get file1
 
tftp>put file2
 
tftp>put file2
 
</pre>
 
</pre>
Command “get file1” is to download file1 from tftp server. File “file1” must exist under the
 
directory /tftpboot on your target filesystem;
 
Command “put file2” is to upload file2 to tftp server. If put file2 success, file2 will be put to
 
directory /tftpboot on your target filesystem;
 
  
== <span style="color:#0070c0">Ftp server </span>==
+
Command “get file1” is to download file1 from tftp server. File “file1” must exist under the directory /tftpboot on your target filesystem; Command “put file2” is to upload file2 to tftp server. If put file2 success, file2 will be put to directory /tftpboot on your target filesystem;
 +
 
 +
== <span style="color:#0070c0">Ftp server</span> ==
  
== <span style="color:#0070c0">Ssh server </span>==
+
== <span style="color:#0070c0">Ssh server</span> ==
  
== <span style="color:#0070c0">Telnet Server </span>==
+
== <span style="color:#0070c0">Telnet Server</span> ==
  
== <span style="color:#0070c0">http Server </span>==
+
== <span style="color:#0070c0">http Server</span> ==
  
 
=Other Application=
 
=Other Application=

Revision as of 07:17, 29 September 2016

Service

Advantech has built five common network services for am335x advantech platform: tftp service, ftp service, ssh service, telnet service and http service.

Tftp Server

When boot up the target board, the tftp service is already started by default(am335x advantech platform) and the tftp server’s working directory is /tftpboot. You need execute “chmod 777 /tftpboot” on target system to let the tftp server work. Then, user can tftp to target board by tftp client in host PC. Use command to get and put file like this:

hostPC$ tftp TARGET_SYSTEM_IP
tftp>get file1
tftp>put file2

Command “get file1” is to download file1 from tftp server. File “file1” must exist under the directory /tftpboot on your target filesystem; Command “put file2” is to upload file2 to tftp server. If put file2 success, file2 will be put to directory /tftpboot on your target filesystem;

Ftp server

Ssh server

Telnet Server

http Server

Other Application