Editing Linuxstamp

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 65: Line 65:
  
 
Now to make sure the service is enabled run (this won't work on Ubuntu):
 
Now to make sure the service is enabled run (this won't work on Ubuntu):
$ '''serviceconf''' and make sure '''nfs''' and '''nfs lock''' are checked
+
*$ '''serviceconf''' and make sure '''nfs''' and '''nfs lock''' are checked
 
Now edit '''/etc/exports''' you should add a line like this '''/path_to_nfs_root/ *(rw,no_root_squash,insecure)'''. Now restart nfs.
 
Now edit '''/etc/exports''' you should add a line like this '''/path_to_nfs_root/ *(rw,no_root_squash,insecure)'''. Now restart nfs.
 
  $ '''sudo /etc/init.d/nfs restart'''
 
  $ '''sudo /etc/init.d/nfs restart'''
Line 72: Line 72:
  
 
You can test this from a remote system with
 
You can test this from a remote system with
$ '''mount -t nfs server_name:/path_to_nfs_root /path_to_test_mount'''
+
*$ '''mount -t nfs server_name:/path_to_nfs_root /path_to_test_mount'''
 
Now on to tftp. Make sure it is installed.
 
Now on to tftp. Make sure it is installed.
$ '''yum install tftp-server'''
+
*$ '''yum install tftp-server'''
 
This will create a file '''/etc/xinetd.d/tftp'''. In this file you will want to change '''disable''' from '''yes''' to '''no'''.
 
This will create a file '''/etc/xinetd.d/tftp'''. In this file you will want to change '''disable''' from '''yes''' to '''no'''.
 
Now make a test file.
 
Now make a test file.
$ '''cd /tftpboot'''
+
*$ '''cd /tftpboot'''
$ '''echo hello > file'''
+
*$ '''echo hello > file'''
 
Now we can test it  
 
Now we can test it  
$ '''tftp -v server_name -c get tmp'''
+
*$ '''tftp -v server_name -c get tmp'''
 
Now with u-boot we can load image files
 
Now with u-boot we can load image files
> '''tftpboot 20800000 uImage'''
+
*> '''tftpboot 20800000 uImage'''
 
And boot them
 
And boot them
 
  > '''bootm 20800000'''
 
  > '''bootm 20800000'''

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)