Page 1 of 1
Can't connect to smb drives
Posted: Tue Jun 14, 2022 9:19 pm
by BrianTheBrain
I've had openvpn set up for a while on my raspi and always been able to connect to my smb drives (also hosted on it) through the vpn. Recently the sd card on the ras pi decided to take a crap... and i didn't have a backup. I redid my openvpn installation and smb on a new drive and just now im trying to access my smb server on windows through open vpn. windows even lets me login with username and password, recognizes the servers through browse, just spits me back out saying that the network name could not be found.
smb.conf relevant info:
Code: Select all
[NetServer1]
path = /media/pi/FirstBackup
writeable=Yes
create mask=0777
directory mask=0777
public=No
hosts allow=127.0. 10.88. 192.168.
thanks
Re: Can't connect to smb drives
Posted: Wed Jun 15, 2022 12:10 pm
by TinCanTech
BrianTheBrain wrote: ↑Tue Jun 14, 2022 9:19 pm
the network name could not be found
Which means you need a name resolution solution, like DNS or WINS.
Re: Can't connect to smb drives
Posted: Wed Jun 15, 2022 7:03 pm
by BrianTheBrain
Thanks for responding.
TinCanTech wrote: ↑Wed Jun 15, 2022 12:10 pm
BrianTheBrain wrote: ↑Tue Jun 14, 2022 9:19 pm
the network name could not be found
Which means you need a name resolution solution, like DNS or WINS.
I'm not sure what you mean. I have a DNS, and thats the setting thats used in the OVPN profiles. Are you saying i should put the dns name in the windows drive setup?
Re: Can't connect to smb drives
Posted: Wed Jun 15, 2022 9:04 pm
by TinCanTech
Your name: BrianTheBrain, would suggest that you already know.
Re: Can't connect to smb drives
Posted: Thu Jun 16, 2022 6:19 am
by BrianTheBrain
Alas, while i might be a brain, i am a low iq one, ergo, all help would be appreciated
Re: Can't connect to smb drives
Posted: Thu Jun 16, 2022 3:55 pm
by TinCanTech
I believe there is a section for this in the howto.