Page 3 of 5

Posted: Sat 18 Nov 2006, 19:17
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

Posted: Mon 20 Nov 2006, 16:04
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

Posted: Mon 12 Mar 2007, 22:09
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.

Posted: Sat 12 May 2007, 13:22
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 ........

Posted: Sat 12 May 2007, 19:35
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

Posted: Sat 12 May 2007, 20:05
by giac_fab
hi.

AWESOME !!!! that's what i wanted , thank you !!!!

Posted: Sat 12 May 2007, 20:18
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.

SMB signing problem

Posted: Thu 21 Jun 2007, 19:48
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...

share files and folders between computers

Posted: Wed 27 Jun 2007, 11:03
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]

Read-Write access for FTP login

Posted: Sat 11 Aug 2007, 14:48
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!

Posted: Mon 13 Aug 2007, 18:28
by erikkire
on your puppy menu, click: start-network-RUN-PUREFTPD FTP Server

UNCHECK -- A: Users can only see their files

hope that works.

found a solution

Posted: Wed 29 Aug 2007, 15:54
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

mount -t smbfs

Posted: Wed 05 Sep 2007, 00:12
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

Posted: Wed 05 Sep 2007, 06:32
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.

Posted: Fri 11 Jan 2008, 17:09
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

Posted: Fri 11 Jan 2008, 17:17
by MU
please try this new, very simple to use program:
http://murga-linux.com/puppy/viewtopic.php?t=23464
Mark

Posted: Thu 24 Jan 2008, 15:29
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.

@+

Posted: Fri 25 Jan 2008, 03:53
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

Posted: Fri 25 Jan 2008, 21:49
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

Posted: Fri 25 Jan 2008, 22:08
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)