HOWTO : Share files and folders between Computers

How to do things, solutions, recipes, tutorials
Message
Author
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)

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

#61 Post by vezuve »

Hello,
paulh177 wrote:BusyBox adduser is broken in Puppy 3.
Download TinyLogin using PetGet and try

Code: Select all

tinylogin adduser -h /root/Linux toma
(see here)
Large a mercy has you and also with my friend google for the translation.
Finally a perfect marriage .........

Un grand merci a toi et aussi à mon ami google pour la traduction.
Enfin un mariage parfait………

@+

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

#62 Post by rarsa »

Thank you paul! I will update the original post with this information.
[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
alienjeff
Posts: 2265
Joined: Sat 08 Jul 2006, 20:19
Location: Winsted, CT - USA

#63 Post by alienjeff »

I can't seem to find the original post where I discovered PureFTPd (damn phpBB search engine), but PureFTPd is a wonderful gem for my humble needs of sharing files and folders between computers on my home LAN. At least on my Puppy v2.12, local information on PureFTPd is sparse at best, so I strongly advise forgetting about the GUI and go hardcore commando with the command line. For this there's appropriate linkage at bottom of the post.

Here's some dope:

1) On my main desktop computer, I start PureFTPd daemonized from /root/.jwm/jwmrc-personal with this: <StartupCommand>pure-ftpd BADk 90</StartupCommand>

2) Being a hopeless dinosaur from the MS-DOS and CP/M days, I use LFTP - a great command line ftp app made by some clever Russian coders.

3) Set up usernames and passwords for each of the "satellite" computers on the main computer.

4) Set up machine alias names in LFTP's bookmarks file with login scripts, which enables me to have quick network access with the simple command: lftp <machine alias name>

5) Network consists of a hardware router connecting three computers, all via ethernet.

Related courtesy linkage:

http://download.pureftpd.org/pub/pure-ftpd/doc/README

http://lftp.yar.ru/

http://www2.papamike.ca:8082/tutorials/pub/lftp.html
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]

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

#64 Post by MU »

To mount folders of a german windows-machine, I had to use this, to display the characters correct in Rox-Filer in Puppy3 (Muppy 0083):

Code: Select all

smbmount //192.168.100.158/COMMON /mnt/COMMON/ -o "username=,password=,codepage=cp850,iocharset=utf8"
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

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

#65 Post by HairyWill »

Mark
Do you know if that has any implications for other languages? It works in english. Should those always be the default in pnethood if it is using smb?
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]

Post Reply