HOWTO : Share files and folders between Computers

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

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

#66 Post by MU »

no, the codepage is regionspecific.

cp850 will display german filenames correctly, but not french.
So it should not be set as default.

Here in the company I currently write some scripts to mount folders at startup, but the country-settings and foldernames are very specific, so I will not post them.

For a general use, pnethood from zigbert atually is the best solution.
It is in newer versions of Puppy already I think.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#67 Post by disciple »

pnethood is from HairyWill :)
I guess he was asking in case it could be improved...
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

DoubleAA
Posts: 4
Joined: Tue 11 Aug 2009, 05:20

#68 Post by DoubleAA »

post moved here

311311
Posts: 2
Joined: Wed 20 Jan 2010, 07:17

#69 Post by 311311 »

error :?

I tried to edit a new post, but edited the old post.
as a result of the old post got lost .. :oops:
Last edited by 311311 on Tue 02 Feb 2010, 10:38, edited 3 times in total.

DMcCunney
Posts: 889
Joined: Tue 03 Feb 2009, 00:45

#70 Post by DMcCunney »

311311 wrote:I want to access from windows xp to the folder
/mnt/home/dddd

<...>

I created new users, has launched pure-ftpd to allow anonymous / not allow anonymous = no access to /mnt/home/dddd

and in general - create by me, users do not have any access at all!

how do I get access to the folder /mnt/home/dddd ?
Puppy is explicitly single-user, where you always run as root, and the infrastructure to support multiple users is broken.

You shouldn't use ftp for this in any case.

Look at Samba instead. Samba is a free, open source package that implements the SMB protocol used by Microsoft Networking on *nix machines. Using Samba, you can share selected directories with XP. XP will see them as network resources, and you can mount Samba enabled directories as network drives in Windows, appearing in My Computer.

There are several PET packages for Samba 3.X for Puppy. A Forum search should find likely candidates.
______
Dennis

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#71 Post by disciple »

The "official" samba package in petget should work fine. What you'll need to search for is howtos for configuring it. e.g. http://murga-linux.com/puppy/viewtopic.php?t=22363
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

311311
Posts: 2
Joined: Wed 20 Jan 2010, 07:17

#72 Post by 311311 »

Thank you, I was able to connect via samba (use ch-min-samba-3.0.26.sfs)
But I can not Share a folder on a flash drive!
the fact that:

my puppy boot from flashdrive via grub4dos,
MENU.LST:

title Puppy-420-ru-k2.6.25.16-opera
rootnoverify (hd0,0)
kernel /Puppy-420-ru-k2.6.25.16-opera/vmlinuz root=/dev/ram0 psubdir=Puppy-420-ru-k2.6.25.16-opera
initrd /Puppy-420-ru-k2.6.25.16-opera/initrd.gz

puppy sees my flash drive as sda1 "/mnt/home"
but the "/mnt/home" is a link to "/initrd/mnt/dev_save"

If I allow access to the folder "/" there is no
"/initrd/mnt/dev_save"

[public]
comment = Public Stuff
path = /
;mnt/home/Dmisc
public = yes
writable = yes
printable = no
;write list = @staff

If I allow access to the folder "/initrd/mnt/dev_save",
then the system hangs and I do not know what's going on (communication with puppy through x11vnc)

How do I get access to the folder on the flashdrive in my case?

Dani17
Posts: 10
Joined: Sat 29 Jan 2011, 19:54

#73 Post by Dani17 »

Hello.
I'm trying to share a partition formatted with NTFS in windows.
The partition is named / mnt/sda2.
I create the user "localuser" with path / mnt/sda2.
From windows, I write ftp://192.168.1.3. And user and password "localuser" and password.
But I do not open anything.
But if I create the user "localuser" with path / I can log in from windows, but under the directory / mnt not find / sda2 !!!!!
Why?
can you help me please?
thanks.

MACE1
Posts: 12
Joined: Wed 07 Sep 2011, 19:05

Not available on Wary 5.1.1

#74 Post by MACE1 »

Want to connect to my Download Server to retrieve and save files.
Wary 5.1.1 does not appear to have either of the tools listed here.
What do I use ?

NB: No apparent support in RDESKTOP 1.6 to allow me to mount Laptop drive when connected remotely! So far only USB to transfer files !

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Re: Not available on Wary 5.1.1

#75 Post by rcrsn51 »

MACE1 wrote:Want to connect to my Download Server to retrieve and save files. Wary 5.1.1 does not appear to have either of the tools listed here. What do I use ?
What networking protocol is your server using? SMB? FTP?

Is this server on your LAN?

MACE1
Posts: 12
Joined: Wed 07 Sep 2011, 19:05

Windows Shares

#76 Post by MACE1 »

Standard access to Windows Server Shares required = SMB.
FTP is available but not used for this.
The above discussion is what is required however as an old discussion, the wary 5.1.1 I have does not appear to be provided with these tools.
As I am very new to all this, I need to know WHAT I should be looking for to easily browse to Windows Network Shares or Linux Shares using puppy wary?

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#77 Post by rcrsn51 »

Look in the menus under Network. You should see "Pnethood Samba Shares" and maybe "lameSMBxplorer Samba browser".

MACE1
Posts: 12
Joined: Wed 07 Sep 2011, 19:05

#78 Post by MACE1 »

:D
I had tried this particular utility before but having entered suitable network credentials for a listed server I got a mounted prompt but did not appreciate I would not then see a shared drive / mount / folder without using the show within the utility. (I've been spoiled by Ubuntu)

Is there a command line component to this which I could utilise to create a script file to mount a series of usual shares for regular access ?
How would I create desktop or similar icons to point to these shares or allow ROX-filer easier access.

In a similar way to the set of console command line scripts I have created and made executable for RDESKTOP to different machines !

Do I assume BASH is the default scripting language for Puppy ?

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#79 Post by rcrsn51 »

Have a look at YASSM. It doesn't automount shares at bootup - although that is possible to set up. However, it puts the mount points in your home directory, so they are easier to find with ROX.

ton
Posts: 59
Joined: Sat 01 Feb 2014, 15:23

#80 Post by ton »

I typed smbmount unfortunatelly, it says

smbmount : command not found. ????

What should I do??
I just installed puppy linux in virtual pc, windows 7.
Havent installed dev.sfs because i can't share folders.
So, i dont know how to access my host pc.


thanks for help

Post Reply