Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 01 Sep 2014, 20:27
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Puppy 528 unable to access Samba share
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [20 Posts]   Goto page: 1, 2 Next
Author Message
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Mon 11 Feb 2013, 08:22    Post subject:  Puppy 528 unable to access Samba share  

I set up Samba on my Laptop. I installed Samba-Full 3.6.3-s. I am using Puppy Linux 5.2.8. When I go to my other computer, I can see the share but when I open it, I receive the following window. What should I do?
juju.png
 Description   
 Filesize   12.07 KB
 Viewed   273 Time(s)

juju.png

Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 9066
Location: Stratford, Ontario

PostPosted: Mon 11 Feb 2013, 09:46    Post subject:  

What operating system is running on the "other computer"? What tool did you use on it to mount the share?
Back to top
View user's profile Send private message 
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Mon 11 Feb 2013, 10:26    Post subject:  

I am running Mint 14 xfce. All of my other shares work except for this one. All I do is click on the network icon in my sidebar and mount it that way. Should I try smb://the ip address?
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 9066
Location: Stratford, Ontario

PostPosted: Mon 11 Feb 2013, 10:33    Post subject:  

rmcellig wrote:
All of my other shares work except for this one.

Do you mean other shares on the Puppy machine or shares on other machines?

Is JUJU the name of the Puppy server or the name of the share?
Back to top
View user's profile Send private message 
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Mon 11 Feb 2013, 10:45    Post subject:  

Shares on my other machines work fine. The server name is juju. The share name is puppyshare.

This is what I get:


Code:
randy@hprandymint ~ $  /usr/bin/smbclient -L 192.168.2.13
Enter randy's password:
Connection to 192.168.2.13 failed (Error NT_STATUS_CONNECTION_REFUSED)
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 9066
Location: Stratford, Ontario

PostPosted: Mon 11 Feb 2013, 11:00    Post subject:  

Try this command instead
Code:
/usr/bin/smbclient -NL 192.168.2.13


Does that see the share?

If the Puppy server is set up in "security=user" mode, then it requires authentication. But I'm assuming that the "randy" password you are entering is for Randy on the Mint machine.

No such Randy user exists on the Puppy Samba server. So you will need to create it.

What happens if you login to the Puppy server using "root-woofwoof"?

Try running a Puppy client machine and accessing the share through Pnethood or YASSM.
Back to top
View user's profile Send private message 
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Mon 11 Feb 2013, 11:14    Post subject:  

No. That didn't work. Here are the contents of my smb.conf file.

I cannot see 192.168.2.13 (juju) at all when I start up pnethood. I see all of my other shares.


Code:
#this is a very simple smb.conf to get you started
#coutesy rcrsn51 and gcmartin
[global]
   workgroup = Workgroup
   
   server string = Puppy Samba Server
   security = user
   map to guest = Bad Password
   printing = cups
   printcap name = cups
   load printers = yes
   max protocol = smb2

[puppyshare]
   path = /root/my-documents
   writable = yes

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes

setup.png
 Description   
 Filesize   33.43 KB
 Viewed   265 Time(s)

setup.png

Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 9066
Location: Stratford, Ontario

PostPosted: Mon 11 Feb 2013, 11:31    Post subject:  

Your smb.conf should have a line like
Code:
netbios name = juju
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9066
Location: Stratford, Ontario

PostPosted: Mon 11 Feb 2013, 12:05    Post subject:  

Quote:
Samba-Full 3.6.3-s

Is this a Slacko package? Is it compatible with Lupu?

Run "ps". Are the "smbd" and "nmbd" processes running?
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4238
Location: Earth

PostPosted: Mon 11 Feb 2013, 12:47    Post subject:  

If the JUJU name was set at firstrun, the netbios line is probably not the problem because the system name is already JUJU.

You share that the other systems cannot "see" your JUJU machine on your LAN.

Could you do the following and post back. Open an terminal on JUJU and exactly type
Code:
ip addr
smbclient -U% -L localhost
The ip addr command will return your LAN IP address. Assuming you do NOT get any errors on the smbclient line, I would like you to run one other command on the JUJU machine in the terminal. Using your real IP address (instead of "theJUJUipAddress"), Run
Code:
smbclient -U% -L theJUJUipAddress
If you get the same answer (no errors) when you run the last command, post them back here.

Finally, at any other LAN PC (not the JUJU SAMBA PC), open a terminal and type (exact same command you used on the JUJU PC...no difference!)
Code:
smbclient -U% -L theJUJUipAddress
If you get ANY OTHER ANSWER OTHER THAN what you got on the JUJU machine, post the answer back here.

Here to help.

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Mon 11 Feb 2013, 13:05    Post subject:  

Code:

sh-4.1# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:1d:72:67:38:0e brd ff:ff:ff:ff:ff:ff
    inet 192.168.2.13/24 brd 192.168.2.255 scope global eth0
sh-4.1# smbclient -U% -L localhost

Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.3]

   Sharename       Type      Comment
   ---------       ----      -------
   puppyshare      Disk     
   IPC$            IPC       IPC Service (Puppy Samba Server)
   CUPS-PDF        Printer   CUPS-PDF
   pdf_writer      Printer   PDF
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.3]

   Server               Comment
   ---------            -------
   JUJU                 Puppy Samba Server

   Workgroup            Master
   ---------            -------
   WORKGROUP            JUJU
sh-4.1#
sh-4.1# smbclient -U% -L 192.168.2.13   
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.3]

   Sharename       Type      Comment
   ---------       ----      -------
   puppyshare      Disk     
   IPC$            IPC       IPC Service (Puppy Samba Server)
   CUPS-PDF        Printer   CUPS-PDF
   pdf_writer      Printer   PDF
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.3]

   Server               Comment
   ---------            -------
   JUJU                 Puppy Samba Server

   Workgroup            Master
   ---------            -------
   WORKGROUP            JUJU
sh-4.1#

Back to top
View user's profile Send private message Visit poster's website 
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Mon 11 Feb 2013, 13:06    Post subject:  

Here is what the other machine says:

Code:

randy@hprandymint ~ $ smbclient -U% -L 192.168.2.13
Connection to 192.168.2.13 failed (Error NT_STATUS_CONNECTION_REFUSED)
randy@hprandymint ~ $

Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 9066
Location: Stratford, Ontario

PostPosted: Mon 11 Feb 2013, 13:34    Post subject:  

Do you have the Puppy firewall turned on?
Back to top
View user's profile Send private message 
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Mon 11 Feb 2013, 13:52    Post subject:  

Yes I do even though I am able to ping 192.168.2.13 no problem or is that something else?

That worked! I am able to connect but it is asking me for a user/password. Where do I set this up?
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 9066
Location: Stratford, Ontario

PostPosted: Mon 11 Feb 2013, 13:58    Post subject:  

rmcellig wrote:
Yes I do even though I am able to ping 192.168.2.13 no problem or is that something else? That worked! I am able to connect but it is asking me for a user/password. Where do I set this up?

From which client machine? Try from a Puppy client and see what login credentials work - probably root:woofwoof.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [20 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1674s ][ Queries: 12 (0.0854s) ][ GZIP on ]