<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9"> <TITLE>Thin Client: New User Guide: Network files system</TITLE> <LINK HREF="Thinclient-HOWTO-6.html" REL=next> <LINK HREF="Thinclient-HOWTO-4.html" REL=previous> <LINK HREF="Thinclient-HOWTO.html#toc5" REL=contents> </HEAD> <BODY> <A HREF="Thinclient-HOWTO-6.html">Next</A> <A HREF="Thinclient-HOWTO-4.html">Previous</A> <A HREF="Thinclient-HOWTO.html#toc5">Contents</A> <HR> <H2><A NAME="NFS"></A> <A NAME="s5">5. Network files system</A></H2> <P> <P>The Client requests to mount <CODE>/tftpboot/</CODE><I><IP address of client></I> as its <CODE>/</CODE> by NFS from server. You must export this from the server,(maybe symlink to /tftpboot/<CODE><I>client</I></CODE> to be safe.) <P><EM>NFS</EM> is a big topic there is a HOWTO and two mini Howto's. <P>first you need to create a copy of your current system under /tftpboot ken has written two scripts that do all your work, I called them makefirst and makecopy. my first client takes 20-30mb and the copy less. I used du -h to look for large unnecesary files. <P>see etherboot-4.2/doc/html/diskless-5.html <P>the following seem to me to be the critical files here <P> <H2><A NAME="ss5.1">5.1 server specific</A> </H2> <P> <HR> <PRE> #/etc/exports /tftpboot/elite elite(rw,no_root_squash) /tftpboot/elite gordon(rw,no_root_squash) /usr *.gundog.net(ro) /home *.gundog.net(rw) /mnt/cdrom (ro) run exportfs -a to reread the exports file after changes /usr/sbin/exportfs --help #/etc/sysconfig/network NETWORKING=yes FORWARD_IPV4="no" HOSTNAME="snoball" <----------- GATEWAYDEV="" GATEWAY="" #/etc/sysconfig/network-scripts/ifcfg-eth0 IPADDR="192.168.53.1" <----------- BOOTPROTO=none </PRE> <HR> <P> <H2><A NAME="ss5.2">5.2 client specific</A> </H2> <P> <HR> <PRE> #tftpboot/elite/etc/fstab snoball:/tftpboot/elite / nfs rw 1 1 none /proc proc defaults 0 0 snoball:/usr /usr nfs ro 1 1 snoball:/home /home nfs rw 1 1 #tftpboot/elite/etc/sysconfig/network NETWORKING=yes FORWARD_IPV4=nomore HOSTNAME=elite GATEWAYDEV= GATEWAY="192.168.53.1" <----------- #/tftpboot/elite/etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 USERCTL=yes ONBOOT=yes BOOTPROTO=none BROADCAST=192.168.53.255 NETWORK=192.168.53.0 NETMASK=255.255.255.0 IPADDR=192.168.53.23 <----------- </PRE> <HR> <P>#odd fiddles #itemize> #item>fast... #item>cp /usr/bin/xargs /tftpboot/client/bin/xargs #/itemize> <P> <HR> <A HREF="Thinclient-HOWTO-6.html">Next</A> <A HREF="Thinclient-HOWTO-4.html">Previous</A> <A HREF="Thinclient-HOWTO.html#toc5">Contents</A> </BODY> </HTML>