[K12OSN] My Laptop

Rob Owens robowens at myway.com
Thu Nov 18 16:33:49 UTC 2004


What you need to do is mount the server's shares via NFS when you are booted into a standalone Linux on your laptop.

I believe NFS is already running on the server (sorry, I'm not very experienced w/ LTSP yet).  Check these files and their man pages:
/etc/exports
/etc/hosts.allow
/etc/hosts.deny

To put it quickly, "exports" lists all directories that are exported via NFS and what hostnames and/or IP address are permitted to receive them, and can apply certain restrictions such as read-only.  "hosts.allow" lists all hostnames and/or IP addresses that are permitted to connect to certain services, and "hosts.deny" is used to deny certain services to certain hostnames and/or IP addresses.  Note that if nothing appears in either hosts.allow or hosts.deny, the system defaults to allowing everything to anyone (of course firewall rules may interfere with this).

Once the server is set up to allow your laptop to mount its shares, issue the mount command from your laptop.  Something like this (but you'd better double-check my syntax):

mount -t nfs servername:/sharename /laptop_mount_point
note that /laptop_mount_point must be an existing, empty directory on your laptop.

Now supposedly adding this after "-t nfs" makes things a little faster:  -o rsize=8192,wsize=8192

I've left out some basic stuff like permissions and running as root, etc.  Let me know if you run into trouble.

-Rob



 --- On Thu 11/18, Liam Marshall < lsrpm at mts.net > wrote:
From: Liam Marshall [mailto: lsrpm at mts.net]
To: k12osn at redhat.com
Date: Thu, 18 Nov 2004 09:53:45 -0600
Subject: [K12OSN] My Laptop

I am the teacher/tech person at our school.  I have the lab set up with <br>the core1 version of LTSP.  Things have more or less stabalized.  Things <br>are working at an acceptable level, except for sound on the thin clients <br>which I have yet to get working, but I can live with that.  There are a <br>few other minor annoyances which I can also live with.<br><br>I use my laptop at my desk connected to a projector, to model/show the <br>lessons.  In order to show them exactly how it should look I connect to <br>the ltsp by hitting F12 and booting off the network, effectively making <br>my laptop a temporary thin client. <br><br>The problem I have is that taking student work home to mark is <br>troublesome.  What I do now is boot my laptop into windows at the end of <br>the day.  I have the server also running SAMBA and have a share <br>established for the student home directories.  I connect to this share <br>and run a batch file on it that copies all the data files from t!
heir <br>home directories onto my laptop's hard drive.  then I take it home and <br>mark it.<br><br>I am now comfortable/confident enough with Linux that I would like to <br>set my laptop up to be a single boot of say Fedora Core 2 or 3.  <br>Everything I do at home or school I can do in Linux.<br><br>But I want to be able to continue using the laptop to model the lessons <br>to the students through the projector.  This means I need to be able to <br>connect to the server's linux drive(s)/shares, and I need to be able to <br>dump the student's work to my laptop hard drive so I can take it home to <br>mark.<br><br>How can I connect to the server's shares while my laptop is booted up <br>through a stand-alone Linux distro?  And access my laptop hard drive, <br>and my laptop burner?<br><br>Thanks for your time and effort in response to this querry.<br><br><br>_______________________________________________<br>K12OSN mailing list<br>K12OSN at redhat.com<br>https://www.redhat.com/ma!
ilman/listinfo/k12osn<br>For more info see <http://www.k12os.!
 org><br>


_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way your home on the Web - http://www.myway.com




More information about the K12OSN mailing list