Search found 164 matches
- Tue Sep 17, 2019 9:05 am
- Forum: Beginners
- Topic: how do I give pi ownership of this folder?
- Replies: 5
- Views: 354
how do I give pi ownership of this folder?
pi@raspberrypi:~ $ ls -lh total 40K lrwxrwxrwx 1 pi pi 16 Sep 16 16:30 '~CCTV_In' -> /home/pi/CCTV_In drwxrwxrwx 1 root root 4.0K Sep 17 09:09 CCTV_In drwxr-xr-x 2 pi pi 4.0K Jul 10 01:42 Desktop drwxr-xr-x 2 pi pi 4.0K Jul 10 01:42 Documents drwxr-xr-x 2 pi pi 4.0K Jul 10 01:42 Downloads drwxr-xr-...
- Mon Sep 16, 2019 3:02 pm
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
in billnbevs-pc log I get a whole lot of [2019/09/16 15:37:13.104588, 0] ../source3/smbd/service.c:782(make_connection_$ make_connection_snum: canonicalize_connect_path failed for service CCTV_In, p$ [2019/09/16 15:37:13.107577, 0] ../source3/smbd/service.c:782(make_connection_$ make_connection_snum...
- Mon Sep 16, 2019 2:32 pm
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
yes I had ntfs 3-g loaded. I just decided to start from scratch, followed this guide https://www.juanmtech.com/samba-file-sharing-raspberry-pi/ The only change I made to the guide was to put 'mkdir ~/CCTV_In' where it says to put 'mkdir ~/share'. Weird thing is, I got as far as 'STEP 6' and then ope...
- Mon Sep 16, 2019 11:19 am
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
in log.billnbevs-pc I have:-
[2019/09/16 10:54:34.459688, 0] ../source3/smbd/service.c:782(make_connection_$
make_connection_snum: canonicalize_connect_path failed for service CCTV_In, p$
[2019/09/16 10:54:34.459688, 0] ../source3/smbd/service.c:782(make_connection_$
make_connection_snum: canonicalize_connect_path failed for service CCTV_In, p$
- Mon Sep 16, 2019 9:53 am
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
OK thanks, this time I get :- smbclient -L localhost -N Unable to initialize messaging context Anonymous login successful Sharename Type Comment --------- ---- ------- CCTV_In Disk Incoming File From CCTV Cameras print$ Disk Printer Drivers IPC$ IPC IPC Service (Samba 4.9.5-Debian) Reconnecting with...
- Mon Sep 16, 2019 9:32 am
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
OK, enough of this, I think I've wasted enough of you guys time (sorry and thanks). I'm gonna try one or two things again then if they don't work I'm going to reload the lot from scratch, go back to the load screen of NOOBS and press the UP key to reload it all. Will let yo know if it's successfull....
- Mon Sep 16, 2019 9:21 am
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Thanks, running
smbclient -L localhost -N
Unable to initialize messaging context
Anonymous login successful
tree connect failed: NT_STATUS_ACCESS_DENIED
? still like earlier problem?
smbclient -L localhost -N
Unable to initialize messaging context
Anonymous login successful
tree connect failed: NT_STATUS_ACCESS_DENIED
? still like earlier problem?
- Mon Sep 16, 2019 9:11 am
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
I've even re-entered it in windows just to be sure
![Image]()
- Mon Sep 16, 2019 8:48 am
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
This shows when windows 10 deprecated features:-
https://www.ghacks.net/2017/12/20/wind ... homegroup/
https://www.ghacks.net/2017/12/20/wind ... homegroup/
- Mon Sep 16, 2019 8:38 am
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
I'm beginning to wonder whether this is something to do with windows 10 deprecating Workgroups? When did they do that ? I have these lines in smb.conf: client min protocol = SMB2_02 server min protocol = SMB2_02 I run wsdd.py from here: https://github.com/christgau/wsdd Everything works :) if you r...
- Mon Sep 16, 2019 8:22 am
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Here's my setup
![Image]()
- Mon Sep 16, 2019 8:14 am
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Now getting:- smbclient -L localhost -N Unable to initialize messaging context Anonymous login successful tree connect failed: NT_STATUS_ACCESS_DENIED ??????????? Strange, on my rpi I get: Unable to initialize messaging context Anonymous login successful Sharename Type Comment --------- ---- ------...
- Mon Sep 16, 2019 5:11 am
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
I'm beginning to wonder whether this is something to do with windows 10 deprecating Workgroups?
- Sun Sep 15, 2019 1:03 pm
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Do you have to do that straight after loading Samba? If so, that's where I slipped up as I loaded a couple of other things onto my pi before I did that.
- Sun Sep 15, 2019 1:00 pm
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
yes, did that at an earlier stage, used the same pwd as my pi logon for my initial logon to pi.
- Sun Sep 15, 2019 12:48 pm
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
and if I try to connect from windows through 'Map Network Drive' I get:-
![Image]()
- Sun Sep 15, 2019 12:37 pm
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
I have a firewal running, it comes with my BT Router and it's McCafee, my pi is 192.168.1.227, I tried the command you gave me and this came back:-
?
Code: Select all
sudo ufw allow to any from 192.168.1.0/24
sudo: ufw: command not found
- Sun Sep 15, 2019 10:05 am
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Now getting:-
smbclient -L localhost -N
Unable to initialize messaging context
Anonymous login successful
tree connect failed: NT_STATUS_ACCESS_DENIED
???????????
smbclient -L localhost -N
Unable to initialize messaging context
Anonymous login successful
tree connect failed: NT_STATUS_ACCESS_DENIED
???????????
- Sun Sep 15, 2019 9:20 am
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
That first parameter I added (perferred master = yes) seemed to be ignored when I queried the system with 'smbclient -L localhost -N' here's my smb.conf now:- testparm rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) Load smb config files from /etc/samba/smb.conf rlimit_max:...
- Sun Sep 15, 2019 9:10 am
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
OK further progress going through the Samba logs:- ######################################## /var/log/samba $ ls cores log. log.127.0.0.1 log.192.168.1.110 log.192.168.1.195 log.2a00_23c7_3c88_e601_1d0f_993d_a33c_a388 log.2a00_23c7_3c88_e601_742d_412c_a181_d244 log.2a00_23c7_3c88_e601_79b0_f3ca_d34b_...
- Sat Sep 14, 2019 1:13 pm
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
OK, thanks for that, there are files and I will go through them asap
- Sat Sep 14, 2019 11:53 am
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
oops should have been sudo, but all I get is an empty file?
- Sat Sep 14, 2019 11:49 am
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Sorry for being stupid but where is that file? I triedDougieLawson wrote: ↑Sat Sep 14, 2019 11:40 amWhen things fail what do you get in /var/log/samba/log.*?
sudu nano /var/log/samba/log
-bash: sudu: command not found
?
Thanks
- Sat Sep 14, 2019 11:46 am
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Disk setup looking through gparted =
Partition = /dev/sda1
Name = CCTV_In
File System - ntfs
Mount Poit = /home/pi/CCTV_In
Label = CCTV
Size = 3.64
used = 180.93 MiB
Unused = 3.64 TiB
Flag = msfdata
Mounted on /home/pi/CCTV_In
Cheers
Partition = /dev/sda1
Name = CCTV_In
File System - ntfs
Mount Poit = /home/pi/CCTV_In
Label = CCTV
Size = 3.64
used = 180.93 MiB
Unused = 3.64 TiB
Flag = msfdata
Mounted on /home/pi/CCTV_In
Cheers
- Sat Sep 14, 2019 11:29 am
- Forum: Beginners
- Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
- Replies: 46
- Views: 2430
Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings
here's the results:- testparm rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) Processing section "[printers]" Processing section "[CCTV_In...