| 
				   | 
				
| (233 intermediate revisions by the same user not shown) | 
| Line 1: | 
Line 1: | 
 | Software developer over several open source languages
  |  | [[AFT installation]]  | 
 | 
  |  | 
  | 
 | === Setup harness server ===
  |  | [[Manteiner python3-numpy]]  | 
 | ==== Setup NFS ====
  |  | 
 | AFT applies Network file system to share /home/tester directory where images and other files used in flashing for PC-devices can be found.
  |  | 
 | 
  |  | 
  | 
 | ===== NFS is installed ? =====
  |  | [[Arduino Single power control unit]]  | 
 | To check if the NFS server is installed, we can do...
  |  | 
 | <pre>
  |  | 
 | root@testing-harness:~# dpkg -l | grep nfs-kernel-server
  |  | 
 | </pre>
  |  | 
 |    |  | 
 | ===== How to install NFS ? =====
  |  | 
 | To install NFS these are the required packages... 
  |  | 
 | <pre>
  |  | 
 | root@testing-harness:~# aptitude install nfs-kernel-server
  |  | 
 | The following NEW packages will be installed:
  |  | 
 |   keyutils{a} libnfsidmap2{a} libtirpc1{a} nfs-common{a} nfs-kernel-server 
  |  | 
 |   rpcbind{a} 
  |  | 
 | 0 packages upgraded, 6 newly installed, 0 to remove and 459 not upgraded.
  |  | 
 | Need to get 470 kB of archives. After unpacking 1 884 kB will be used.
  |  | 
 | Do you want to continue? [Y/n/?]
  |  | 
 | </pre>
  |  | 
 |    |  | 
 | ===== Sharing /home/tester directory ===== 
  |  | 
 | <pre>
  |  | 
 | root@testing-harness:~# mkdir -p /home/tester
  |  | 
 | root@testing-harness:~# echo '/home/tester 192.168.1.0/24 (crossmnt,ro,root_squash,sync,no_subtree_check)' >> /etc/exports
  |  | 
 | </pre>
  |  | 
 |    |  | 
 |    |  | 
 | ==== Setup DNS cache and DHCP server ====
  |  | 
 | DNSmasq provides two services, either of which can be used independently.
  |  | 
 | # DNS service
  |  | 
 | # DHCP service
  |  | 
 |    |  | 
 | A local DNS cache can speed up internet browsing because the user's applications will not need to access a domain name server when it looks up a domain name the computer has visited before.
  |  | 
 |    |  | 
 | ===== How to install dnsmasq ? =====
  |  | 
 | To install dnsmasq these are the required packages... 
  |  | 
 | <pre>
  |  | 
 | root@testing-harness:~# aptitude  install dnsmasq
  |  | 
 | </pre>
  |  |