nfs and ssh
时间:2010-12-22 来源:旅人
1. sudo mkdir -p /home/evanwei/tests/factory
2. sudo apt-get install nfs-kernel-server
3. sudo echo "/home/evanwei/tests/factory *(rw,sync,no_root_squash,insecure,no_subtree_check)" >> /etc/exports
4. sudo echo "ALL: ALL" >> /etc/hosts.allow
5. sudo /etc/init.d/nfs-kernel-server restart
6.
Device:
1. press U) to export the usb drive
2. Copy file: USBnet.xml to the mass storage, then umount it.
3. then you select X) to exit diags and go to the login prompt
4. run : /opt/factory/system_diags -x all_tests.xml
5. select Z) to go to usb net mode ;
(do from PC:: sudo ifconfig usb0 192.168.15.201 netmask 255.255.255.0, then ssh [email protected] )
6. mkdir -p /opt/gen3/factory
7.mount -o /opt/gen3/factory
8. cd /opt/gen3/factory
9.