| PLEX86 | ||
|
LiveCd with NFS server capabilites. 2280ArameFarpado It's not as simple as lobbing in a CD. You have to do some work, I'm afraid. Here it goes... (Shamelessly ripped off and made a bit more sense of, from This applies for any Debian-based Live CD (pretty much), eg Knoppix, Kanotix, Gnoppix... Your two systems, I will buttume, boot from Knoppix-Kanotix Live CDs. They are connected via a router, which buttigns them IP addresses via DHCP. You need to know these IP addresses: 192.168.xx.xx 192.168.xx.xy and eg a desktop eg a notebook You also need the following: 1. The IPs for tellingetc-exports who should deal with whom.... 2. a running nfs-kernel-server that is like so many things started byetc-init.d-xx start 3. the portmap daemon has to run too, if not already active 4. a mount-point, where you can find the sharepoint on the other computer. For example, takemnt-desktop on the notebook for the data on the desktop thenmnt-notebook for having the notebooks data on the desktop. As su on the desktop do: mkdirmnt-notebook LiveCd with NFS server capabilites. 2283 Douglas Mayne Hi Douglas Debian, Mandriva ... a little slackware :) I'm still learning linux (don't we all?), but i allready know some basics... on the notebook: mkdirmnt-desktop If you find that the connection is getting saturated, make a little script for starting and stopping this service only when you need it: #!-bin-bash if $(id -u) != 0 ; then echo Error: You must be root to run this script! exit 1 fi 192.168.xx.xx(rw,norootsquash,nosubtreecheck,sync) 192.168.xx.xy(rw,norootsquash,nosubtreecheck,sync) EOT # this line is needed only once if you dont need to deleteetc-exports # so you can do that manually and take out the line here # for a CD or poormans install you would need it echo exports setetc-init.d-portmap start # (if it was not running already)etc-init.d-nfs-kernel-server start echo NFS-Server started mount -t nfs 192.168.xx.xy:-mnt-notebook echo Notebook mounted
This is the script to run on the desktop. Name this script nfsstart, make it executable with chmod +x and copy it tousr-local-bin. Now as su in a shell simply do nfsstart and it will run. LiveCd with NFS server capabilites. 2281 Jim Hi Jim, i thank you for all the trouble with this little howto about nfs exporting :) i've save it in my colecction... The laptop side of the script is simple: subsbreastute the IPs and the mountpoints in the above script. The following is the stop script. Name this nfsstop : #!-bin-bash if $(id -u) != 0 ; then echo Error: You must be root to run this script! exit 1 fi umountmnt-notebook echo Notebook umounted # if you need portmap, dont stop itetc-init.d-portmap stopetc-init.d-nfs-kernel-server stop echo Kernel Server stopped So, in summary: 1. give the computers a mountpoint (both should have one, if you want a connection in both directions) 2. edit the scripts with your own IPs and mountpoints 3. make the scripts executable and copy or move them tousr-local-bin For the system to work, you have to run the start scripts onbothsystems. To use the scripts in a persistent home situation, you need to change a few things. Changemnt tohome-knoppix in all scripts and find the content of the other computer now inhome-knoppix-desktop andhome-knoppix-notebook, respectively of the systems. -- When all else fails... Use a hammer. Problems with Dosemu Bob Hauck Right, I don't see that message anymore. In fact, this disappearance shows that the problem lies elsewhere. xdosemu doesn't seem to be available from Synaptic as a debian package, Google or at... Some people are like Slinkies; They serve no particular purpose, But they bring a smile to your face When you push them down the stairs.
|
||||
LiveCd with NFS server capabilites. 2281 Linux groups from Newsgroups The #1 Usenet Provider on the Internet
|
||||