TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: TAUNO VOIPIO
from: FOKKE NAUTA
date: 2019-07-19 21:40:00
subject: Re: Can`t access share wi

On 19/07/2019 20:53, Tauno Voipio wrote:
> On 19.7.19 20:56, Fokke Nauta wrote:
>> On 19/07/2019 15:19, Joe Beanfish wrote:
>>> On Thu, 18 Jul 2019 16:32:53 +0200, Fokke Nauta wrote:
>>>
>>>> On 18/07/2019 16:23, The Natural Philosopher wrote:
>>>>> On 18/07/2019 14:23, Fokke Nauta wrote:
>>>>>> Hi all,
>>>>>>
>>>>>> I have a Pi in our Windows network.
>>>>>> I created a share on my Pi. I installed samba.
>>>>>> In /etc/samba/smb.conf there is:
>>>>>>
>>>>>> [pishare]
>>>>>> comment = Pi Shared Folder path = /home/pi browseable = yes guest
>>>>>> ok =
>>>>>> yes writeable = yes create mask=0777 directory mask=0777 public = no
>>>>>> only guest = no
>>>>>>
>>>>>> I created a user and password by sudo smbpasswd -a pi.
>>>>>> When I try to access this share from a Windows machine, with using
>>>>>> the
>>>>>> pi name and password, I don't have access.
>>>>>> What can be wrong?
>>>>>>
>>>>>> Fokke Nauta
>>>>>>
>>>>> are the daemons smbd and nmbd running?
>>>>
>>>> How can I check that?
>>>>
>>>> When I type sudo /etc/init.d/samba restart, it says Restarting nmbd
>>>> (via
>>>> systemctl): nmbd.service. The same for smbd.
>>>>
>>>>> Can you see the pi in a network browser?
>>>>
>>>> No
>>>
>>> Perhaps blocked by a firewall running on the pi?
>>>
>>
>> I didn't install any. Is there a firewall by default on the pi?
>
>
> You can check. Log in on the pi, sudo to root and type
>
>   iptables -nvL
>

sudo iptables -nvL
Returns:

Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
  pkts bytes target     prot opt in     out     source
destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
  pkts bytes target     prot opt in     out     source
destination

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
  pkts bytes target     prot opt in     out     source
destination

Does this mean anything to you?

Fokke

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.