HOWTO : Share files and folders between Computers

How to do things, solutions, recipes, tutorials
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#41 Post by MU »

Thanks G2, as usual a brilliant suggestions :)
I found it in the samba-dotpup from sunburnt.

Runs without error after creating a symlink, so you don't need to install the whole huge dotpup.

You can get it here:
http://dotpups.de/dotpups/Network/samba-utilities/

I will test it on monday at work.

Thanks!
Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#42 Post by MU »

no, findsmb did not work either.

But it seems that "smbtree" can be used.

./smbtree -N| tr -s " "|cut -f2|grep '\\'

This will list the host.
example:

Code: Select all

sh-3.00# ./smbtree -N| tr -s " "|cut -f2|grep '\\'
\\TORSTEN 
sh-3.00# 
To find the folders:

Code: Select all

sh-3.00# ./smbtree -N| tr -s " "|cut -f3|grep '\\'
\\TORSTEN\Kyocera 
\\TORSTEN\Dokumente 
\\TORSTEN\C 
\\TORSTEN\Exceldateien 
\\TORSTEN\HPOffice 
\\TORSTEN\print$ 
\\TORSTEN\SharedDocs 
\\TORSTEN\IPC$ 
sh-3.00#
I uploaded the binary.

Topic continues in an own thread:
Muppy-SMB to find and mount Windows shared folders
http://www.murga-linux.com/puppy/viewtopic.php?t=12945

Mark

gabriel_007
Posts: 23
Joined: Sat 25 Feb 2006, 13:23
Location: Warsaw

#43 Post by gabriel_007 »

Dear Friends
I tried to follow these steps once again after my xp installations and upgrading to puppy 2.14 (to let puppy see a windows share folder). LinNeighborhood displays this after I try to scan as user:
Error returning browse list: NT_STATUS_OK
I tried to google this, but information I found is simply too complicated for a casual user like me. Could someone be so kind and help me with this? Thank You very much in advance.

giac_fab
Posts: 113
Joined: Thu 25 Jan 2007, 23:15

#44 Post by giac_fab »

Does exist a way to mount puppy share into /mnt/ ????

I have a puppy pc with video files and a pc (also with puppy) connected to my tv; I want stream the video files without download it, with ftp I must download the file before open it ........
:oops: I know, my english is very bad :oops:
Give a man a fish and he eats for a day, teach a man to fish and he eats for a lifetime.

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#45 Post by sunburnt »

Hi giac_fab; I assume you want to stream from the Puppy PC to other local PCs?
One way is to install the Samba server, Puppy & Win. PCs can use the shares.
MU's package is: Muppy-SMB

giac_fab
Posts: 113
Joined: Thu 25 Jan 2007, 23:15

#46 Post by giac_fab »

hi.

AWESOME !!!! that's what i wanted , thank you !!!!
:oops: I know, my english is very bad :oops:
Give a man a fish and he eats for a day, teach a man to fish and he eats for a lifetime.

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#47 Post by sunburnt »

That's okay... English is a vastly overrated language.

And one of the hardest to learn I hear, it's really quite a mess of exceptions.

mrascii
Posts: 4
Joined: Mon 18 Jun 2007, 18:36

SMB signing problem

#48 Post by mrascii »

Hi, thanks for the great step by step but apparently either my puppy laptop or the windows server at my work doesn't play well with others. LinNeighborhood will only display the server name but won't let me at the shared folders that I need, and when I try the command line method I get the following error:

cli_negprot: SMB signing is mandatory and we have disabled it.
8871: protocol negotiation failed
SMB connection failed


Can someone help me fix this? I'm pretty new to linux so keep it simple for me ;) Thanks in advance for your help!


MDB...

NAKABIRI HARRIET
Posts: 1
Joined: Wed 27 Jun 2007, 10:41

share files and folders between computers

#49 Post by NAKABIRI HARRIET »

mounted using linneighborhood, exported mountscript to /etc/rc.local, windows shared folder icon on desktop but does not automount on reboot until;
-linneighborhood is opened.
-or /etc/rc.d/rc.local is executed from console.[/list]

bicarbon8
Posts: 2
Joined: Sat 11 Aug 2007, 14:42

Read-Write access for FTP login

#50 Post by bicarbon8 »

So I've created a new user and assigned their home to an external drive mapped under /mnt/<drivename>. When I login using FTP from an XP machine I am able to see all the files, but I cannot upload new files. The error says something about not having permissions to perform the action. Is there a way that I can enable read-write access to this drive via FTP for this user? I've tried having the new user assigned as the owner of the drive, but was unsuccessful (possibly my command syntax was incorrect). Thanks!

erikkire
Posts: 31
Joined: Thu 09 Nov 2006, 18:01
Location: cebu

#51 Post by erikkire »

on your puppy menu, click: start-network-RUN-PUREFTPD FTP Server

UNCHECK -- A: Users can only see their files

hope that works.

bicarbon8
Posts: 2
Joined: Sat 11 Aug 2007, 14:42

found a solution

#52 Post by bicarbon8 »

So the problem ended up being that by default the mounter that puppy used would only mount USB drives in read only mode. I added a setting to the /etc/fstab file that specified the file should be mounted in Read-Write mode and that fixed it.

Of course then I upgraded to the next version of puppy which didn't have the same mount script and so everything worked without the need for an entry in the /etc/fstab file (go figure).

For anyone else having this problem you'll need to create an entry in your /etc/fstab file similar to the following:

Code: Select all

/dev/drive-to-mount    /mnt/location-to-mount-to    vfat    defaults,rw    0    0

wmb@firmworks.com
Posts: 17
Joined: Tue 04 Sep 2007, 21:22

mount -t smbfs

#53 Post by wmb@firmworks.com »

I'm trying to mount an SMB FS share from a Mac Mini with Puppy 2.16.

This works:

Code: Select all

smbmount //MACMINI/space1 /mnt/data -o username=wmb
This, which should be equivalent, fails:

Code: Select all

mount -t smbfs //MACMINI/space1 /mnt/data -o username=wmb
The error message is:
mount: Mounting //MACMINI/space1 /mnt/data failed: Invalid argument
The same thing happens with:

Code: Select all

busybox mount -t smbfs //MACMINI/space1 /mnt/data -o username=wmb
Apparently the busybox mount command doesn't support SMB.
So I tried mount-FULL, i.e.:

Code: Select all

mount-FULL -t smbfs //MACMINI/space1 /mnt/data -o username=wmb
It fails with different error messages, but I finally got that mount-FULL command to work by doing this:

Code: Select all

  ln -s /usr/sbin/smbmnt  /usr/bin
  ln -s /usr/sbin/smbmount /sbin/mount.smbfs
  ln -s /usr/sbin/smbmount /sbin/mount.smb

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#54 Post by HairyWill »

Well done I didn't realise that you could use smbmount to provide the necessary extension for mount.

Code: Select all

ln -s /usr/sbin/smbmnt  /usr/bin 
doesn't do anything, and a good job to. There is already a directory with this name, replacing it would be disasterous.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

kneda
Posts: 20
Joined: Mon 02 Jul 2007, 16:24

#55 Post by kneda »

LinNeighborhood:
1. From the start menu select "Network | LinNeighborhood Samba client"
2. Click the "Add" button.
3. Leave Machine and Group empty
4. on IP address type the IP address of your Windows computer.
5. Click the "query" button.
6. You should receive the message "query host... done". If not, check that the IP address is correct and that your network is working OK and repeat step 5.
7. Click OK. The Windows computer should appear on the main window list.
8. Right click on the computer name/address and select "scan as user"
9. Leave domain empty, username as root and password empty. You should see the list of shares on the main window list
10. Right click in the share you want to use and click "mount"
12. Set the parameters for the mount or accept the defaults. The "mount point" is the puppy folder under which you will see the contents of the shared folder. (write down that path so you remember where it's mounted)
13. Click "Mount". Rox should open on that folder
Done!
I can only make OK the 8 first steps
I don't have any password or user in my windows pc, I can see the PC and I "scan as user" with root
Appears the clock icon for few seconds but nothing happen. NOTHING :(

What I have to do? I can see those folders from other windows pc

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#56 Post by MU »

please try this new, very simple to use program:
http://murga-linux.com/puppy/viewtopic.php?t=23464
Mark

User avatar
vezuve
Posts: 1291
Joined: Thu 24 Jan 2008, 15:09

#57 Post by vezuve »

Hello,
(translation on line)
Tests of doggie linux with Cd live and safeguards my data on my hard disk. The access to the PC is good I reads and writes above. But when I test what you wrote for the order of adduser that does not function at home as this image shows it.
Image
I have to create in French a tuto explaining my different problems here.

(original text)
Essais de toutou linux avec le cd live et sauvegarde de mes données sur mon disque dur.
L'accès au PC est bon je lis et écris dessus.
Mais quand j'essaye ce que tu as écrit pour la commande de adduser ça ne fonctionne pas chez moi comme le montre cette image.
Image
J'ai créer en français un tuto expliquant mes différent problèmes ici.

@+

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#58 Post by rarsa »

It's strange that you want to make / your start folder but I will trust that you know what you are doing.

Have you tried adding the option -H?

Code: Select all

adduser -H -h /  alain
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

User avatar
vezuve
Posts: 1291
Joined: Thu 24 Jan 2008, 15:09

#59 Post by vezuve »

Thank you to answer me, but its does not function.
I will try to give more details, I take again since the beginning the procedure: By taking your example:
To add has to use called “mp3shares

User avatar
paulh177
Posts: 975
Joined: Tue 22 Aug 2006, 20:41

#60 Post by paulh177 »

BusyBox adduser is broken in Puppy 3.
Download TinyLogin using PetGet and try

Code: Select all

tinylogin adduser -h /root/Linux toma
(see here)

Post Reply