Share files (LAN) between two Puppy computers? [SOLVED]
Share files (LAN) between two Puppy computers? [SOLVED]
Most of what I've read on the forum deals with Windows to Puppy or vice versa or seems out of date - how do I set up a shared directory on a Puppy PC and connect to it from another Puppy?
I've tried YASSM with username 'root' and password '' and the correct host name but how do I set a directory as 'shared' ?(maybe to do with permissions/groups??).
Or do I need to install something else? This is on Slacko 5.5 btw.
Cheers
Paul
I've tried YASSM with username 'root' and password '' and the correct host name but how do I set a directory as 'shared' ?(maybe to do with permissions/groups??).
Or do I need to install something else? This is on Slacko 5.5 btw.
Cheers
Paul
Last edited by PaulR on Wed 29 May 2013, 17:29, edited 1 time in total.
Re: How to share files on a LAN between two Puppy computers
YASSM is Samba client software - you need to set up a Samba server. Read here for a simple method.PaulR wrote:how do I set up a shared directory on a Puppy PC and connect to it from another Puppy?
I've tried YASSM with username 'root' and password '' and the correct host name but how do I set a directory as 'shared' ?(maybe to do with permissions/groups??)
That looks pretty straightforward.
Would it be possible to edit smb.conf such that an automatically mounted USB drive was shared? I'm trying to set up a single point to store all our home photos, videos, documents etc. and thought I could put them on a (large capacity) portable drive plugged into an old netbook PC and have that share the contents of the drive (a sort of DIY NAS!).
Performance isn't an issue as it would be for fairly infrequent access.
Paul
Would it be possible to edit smb.conf such that an automatically mounted USB drive was shared? I'm trying to set up a single point to store all our home photos, videos, documents etc. and thought I could put them on a (large capacity) portable drive plugged into an old netbook PC and have that share the contents of the drive (a sort of DIY NAS!).
Performance isn't an issue as it would be for fairly infrequent access.
Paul
The instructions worked with one minor alteration:
On the client I'm using YASSM's Samba share select. The 'server' value in 'samba-select.dat' needed setting to the server's hostname rather than the netbios name (pupserver). So, my client entry looks like this:
Next up, auto-start the server and auto-mount the disk!
Paul
On the client I'm using YASSM's Samba share select. The 'server' value in 'samba-select.dat' needed setting to the server's hostname rather than the netbios name (pupserver). So, my client entry looks like this:
Code: Select all
EeePC Share,root,woofwoof,pupshare,eeepc
Paul
Having just read up on the mount command, not fully understanding how Puppy's file system works and taking your hint I realise I'd made a mistake. I've corrected it and the device is now being mounted within the script.
does the trick.
Thanks once again for YASSM and the hand-holding!
Paul
Code: Select all
mount /dev/sdb /mnt
Thanks once again for YASSM and the hand-holding!
Paul
That doesn't make any sense. It should look likePaulR wrote:Code: Select all
mount /dev/sdb /mnt
Code: Select all
mount /dev/sdb1 /mnt/sdb1
Code: Select all
mkdir /mnt/sdb1
mount /dev/sdb1 /mnt/sdb1
Well, as per my earlier post, I was using mount /dev/sdb /mnt/sdb (which worked from a terminal but not in the start up script). After reading several pages I gathered that the mount point (directory) had to exist but wasn't sure if I could create it under /mnt or if so whether it would be persistent across boots.
In any event mount /dev/sdb /mnt does work even if it's not supposed to!
If I look in /mnt it contains just the directories on the USB device. If I then mount sda1 that appears in the correct place... /mnt/sda1
That said I'd rather do it the right way so I'll create the directory and mount it 'properly'.
Paul
In any event mount /dev/sdb /mnt does work even if it's not supposed to!
If I look in /mnt it contains just the directories on the USB device. If I then mount sda1 that appears in the correct place... /mnt/sda1
That said I'd rather do it the right way so I'll create the directory and mount it 'properly'.
Paul
- Attachments
-
- capture12306.png
- (124.04 KiB) Downloaded 1318 times
I don't think I've ever used that option when formatting; in fact the health warning within Puppy has always made me avoid it!
I've changed the relevant lines of the script to:
I've also removed the sleep command and the device is now being mounted properly without destroying/hiding all the other 'standard' mount points.
Thanks once more
Paul
I've changed the relevant lines of the script to:
Code: Select all
mkdir /mnt/sdb
mount /dev/sdb /mnt/sdb
Thanks once more
Paul