pxf.hit
Posts: 3
Joined: Mon Jul 17, 2017 1:17 pm

windows cannot access raspberrypi

Mon Jul 17, 2017 1:29 pm

c01.JPG
c01.JPG (26.6 KiB) Viewed 2505 times
as shown in this figure. I am using Win10 to access raspberry failed. cannot access.
c02.JPG
c02.JPG (24.39 KiB) Viewed 2505 times
My pi's IP is 192.168.2.104. So I tried to use the IP address to access it.
But it's failed again.
I also try to ping the IP, and it works.
c03.JPG
c03.JPG (34.19 KiB) Viewed 2505 times
So, my issue is that, I can find the Raspberry share folder on the network, but cannot access it.
Some one please help me, thanks.

drgeoff
Posts: 9912
Joined: Wed Jan 25, 2012 6:39 pm

Re: windows cannot access raspberrypi

Mon Jul 17, 2017 6:16 pm

pxf.hit wrote: So, my issue is that, I can find the Raspberry share folder on the network, but cannot access it.
Some one please help me, thanks.
What is your evidence for "I can find the Raspberry share folder on the network"? Being able to ping the RPi is not it.

I suspect that samba server is not running on your RPi. Is it even installed?

pxf.hit
Posts: 3
Joined: Mon Jul 17, 2017 1:17 pm

Re: windows cannot access raspberrypi

Tue Jul 18, 2017 6:58 am

Thanks for your reply.
Use the windows network to view the shared computers in LAN.
And I have installed the samba.

User avatar
LetHopeItsSnowing
Posts: 357
Joined: Sat May 26, 2012 6:40 am
Location: UK
Contact: Website

Re: windows cannot access raspberrypi

Tue Jul 18, 2017 8:25 am

Is windows firewall restricting access?
"am I getting slower, or is stuff more complicated; either way I now have to write it down - stuffaboutcode.com"

mattmiller
Posts: 2130
Joined: Thu Feb 05, 2015 11:25 pm

Re: windows cannot access raspberrypi

Tue Jul 18, 2017 8:50 am

How did you install samba
What is your smb.conf file

I use this one

Code: Select all

#======================= Global Settings =======================
[global]
workgroup = WORKGROUP
wide links = yes
unix extensions = no
dns proxy = no
#### Debugging/Accounting ####
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
####### Authentication #######
security = user
map to guest = Bad User
guest account = pi
#======================= Share Definitions =======================
[root]
comment = Admin Config Share
path = /
browseable = yes
force user = root
force group = root
admin users = pi
writeable = yes
read only = no
guest ok = yes
create mask = 0777
directory mask = 0777
#-------------------------------------------------------------------
[pi]
comment = pi user /homepi folder
path = /home/pi
browseable = yes
force user = pi
force group = pi
admin users = pi
writeable = yes
read only = no
guest ok = yes
create mask = 0777
directory mask = 0777

drgeoff
Posts: 9912
Joined: Wed Jan 25, 2012 6:39 pm

Re: windows cannot access raspberrypi

Tue Jul 18, 2017 1:17 pm

Is the samba server running?

pxf.hit
Posts: 3
Joined: Mon Jul 17, 2017 1:17 pm

Re: windows cannot access raspberrypi

Mon Sep 11, 2017 2:24 am

Thank you all for your kind reply.
I have solve the issue of access. The problem is from the user credentials. Cause the first time I use the option of remenbering password.
After I clear the Windows Credentials. It's ok to access the samba.

Return to “Troubleshooting”