Page 2 of 5

Posted: Thu 28 Sep 2006, 14:43
by r__hughes
fluxit wrote:wget -r url will recurse directories. ---------
Thanks - I'll look into that.

Help - I'm really thick!

Posted: Mon 13 Nov 2006, 00:54
by ICanoe2
I have tried following rarsa's instructions and gone through this thread numerous times however with limited success in file sharing.

Problem 1 - Seeing my XP machine
Linneighbourhood works great => no problems
In Lineighbourhood I can see the following
Service: //DININGROOM/Denise
Mountpoint: /root/mnt/DININGROOM/Denise
Command line => problems
I tried the following commands
smbmount //192.168.0.188/Denise/mnt/DININGROOM
result = cannot resolve mount point
smbmount//192.168.0.188/Denise/mnt/DININGROOM
result = no such file or directory
I'm still not sure if there should be a space between smbmount and // :?

After reading further in the post I tried various permutations of the smbmount command as above with the exception being that I replaced the IP address with DININGROOM (the computer name) with results similar to the above.
HELP PLEASE
:oops:

Problem 2 - Seeing Puppy via my XP machine - SOLVED (see below)
I again followed the instructions in the thread.
I tried to add a user named "localuser" via the following command
adduser -h/root localuser
result = login already in use
I tried to add a user named "share" via thr following command
adduser -h/root share
result = SUCCESS :D
I then added name and password and optimism was high.
I went to my XP machine and explored to this location but the only thing I can see is the readme file called betaftpd.anon
How do I see my files and where do I enter this username and password information?
PLEASE HELP! :?

*After posting I played some more on my XP machine and found "Login as... in the file menu. Oops :oops:
Hurray, I can see all of my files both ways. No it's just the command line so that I can make this available with start-up

Posted: Mon 13 Nov 2006, 14:49
by trapster
If your xp machine is //192.168.0.188/Denise
and you have a directory /mnt/DININGROOM on your puppy box.

Then:

Code: Select all

smbmount //192.168.0.188/Denise /mnt/DININGROOM
should work.

note the <space> after Denise.

Posted: Mon 13 Nov 2006, 19:13
by MU
Very nice Howto, it should be added to Linuxneighbourhood in Puppy.

I have a problem though:
Connecting to the XP-machine works fine, and I can copy files among Puppy and XP.
But special characters are shown wrong.

As this is a common problem in applications based on Gtk1 (Rox-filer 1.2), I tried it in the Gnome-Filemanager Nautilus (that can display unicode, as it is based on Gtk2).
Still no joy, even after installing some truetype-fonts (the free dejavu, and tahoma from Windows).

In Nautilus, I can create a file like test-

Posted: Tue 14 Nov 2006, 20:44
by MU
ok, without linneighbourhood I found a solution:

smbmount //MACHINE/folder /root/mnt/MACHINE/folder -o guest,codepage=cp437

I'm writing a script at work that scans the network for shares, and then automatically mounts all available folders in /root/LocalNetwork/ (those without password). Will continue/finish it in 2 days I think.

this is how the script looks like at moment:
http://dotpups.de/tests/Muppy-SMB
It does not work at moment, as I added some test-code, and were interrupted then.

Mark

Posted: Wed 15 Nov 2006, 02:35
by gliezl
Wow, it's an improved smblogin script.
Just tell me Mark when its ready, I'll be glad to test it. :-)

Posted: Wed 15 Nov 2006, 07:17
by pakt
Very interesting, Mark. Your script looks like a good example of what can be done with PuppyBasic.

Hmm, I have been planning to write a script that will run on a MicroClientJr with a remote control interface to turn house lamps on and off. PuppyBasic looks like it might be a good candidate for the job! :)

Paul

Posted: Wed 15 Nov 2006, 08:05
by John Doe
MU wrote:Does someone know, if there maybe is a parameter that can be used to mount the share with a different charset or codepage?
This looks pretty complicated. You are getting into some RFC level stuff here.

Here are some links I stumbled on:

http://samba.org/samba/docs/man/Samba-H ... icode.html

http://www.adaptec.com/en-US/_whitepape ... wp.htm#4.1

http://lists.samba.org/archive/samba-te ... 42008.html

http://lists.samba.org/archive/samba-te ... 42010.html

http://lists.samba.org/archive/jcifs/20 ... 01721.html

http://lists.mplayerhq.hu/pipermail/mpl ... 34818.html

Perhaps it's been worked out since then? Last time I got down to the socket/character level was about three years ago.

It sure would be great to make sure Puppy had this worked out, if it's a problem.

Posted: Sat 18 Nov 2006, 12:28
by MU
my script will not work because of a logical error :?

I wanted to use netstat, to determine the PCs, that are in the network.
Then I could try to run smbclient on the found IP-adresses, to look up, if there are Shares.
This worked during my first test, as I already were connected to the XP machine using LinNeighbourHood or smbclient.
But if you don't run those first, the XP-machine is not visible in netstat.
So of course my "auto-detection" can not work.

I found no solution yet.
Only a hint, that in KDE you can type smb:/ in Konqueror, to list all Windows-shares.

So it must be possible somehow, the question is:
how do I do it without the KDE-mechanisms?

More googling and tests are required, don't expect a quick solution.

Mark

Posted: Sat 18 Nov 2006, 13:36
by GuestToo

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!