Go to advanced search

by doubleudee1
Sat Sep 14, 2019 10:24 am
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 2287

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

sorry, by mydir as was referring to my actual dir which is 'CCTV_In'. I've just loaded 'sudo apt-get install smbclient', I thought all the stuff to do with Samba would have been loaded together? Thanks, will start checks again. ran that code and got smbclient -L -N Unable to initialize messaging con...
by doubleudee1
Fri Sep 13, 2019 3:41 pm
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 2287

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

Tried changing samba password and rebooting pi and PC but still wont let me in, looks like a full re-install for me.
by doubleudee1
Fri Sep 13, 2019 3:15 pm
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 2287

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

This is what I get running that command
pi@raspberrypi:~ $ sudo smbclient -W WORKGROUP -U pi //localhost/pi
sudo: smbclient: command not found

and without sudo first:-
pi@raspberrypi:~ $ smbclient -W WORKGROUP -U pi //localhost/pi
-bash: smbclient: command not found
by doubleudee1
Fri Sep 13, 2019 1:37 pm
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 2287

Re: ARRRRGGGHHHH Its happened again!

Just ran this:- sudo systemctl status smbd.service ● smbd.service - Samba SMB Daemon Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: ena Active: active (running) since Fri 2019-09-13 12:36:37 BST; 9min ago Docs: man:smbd(8) man:samba(7) man:smb.conf(5) Process: 4069 ExecSta...
by doubleudee1
Fri Sep 13, 2019 1:31 pm
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 2287

Re: ARRRRGGGHHHH Its happened again!

Yes
Samba password made using
sudo smbpasswd -a pi

then entered pwd twice
by doubleudee1
Fri Sep 13, 2019 1:00 pm
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 2287

ARRRRGGGHHHH Its happened again! - Lost Samba settings

Had to reload everything through a lockup with raspian, now I'm at a point where i can see my directory on the Pi from windows 10, but it says 'windows cannot access 'mydir' please check spelling or network blah blah blah....' If someone can help heres my main files:- my entry in 'sudo nano /etc/sam...
by doubleudee1
Thu Sep 12, 2019 11:40 am
Forum: Beginners
Topic: List of users and their rights
Replies: 4
Views: 9693

Re: List of users and their rights

Thanks both
by doubleudee1
Thu Sep 12, 2019 11:13 am
Forum: Beginners
Topic: List of users and their rights
Replies: 4
Views: 9693

List of users and their rights

Is there a way I can list all users with all the directories they own or have access too?
by doubleudee1
Wed Sep 11, 2019 10:51 am
Forum: Troubleshooting
Topic: Plugin or Download for Pi?
Replies: 6
Views: 357

Re: Plugin or Download for Pi?

Thanks for the pointer fruitoftheloom, helps a bit, will run some checks.
FYI :- I own a Static Caravan at Golden Cap, down your way regularly :D
by doubleudee1
Wed Sep 11, 2019 9:55 am
Forum: Troubleshooting
Topic: Plugin or Download for Pi?
Replies: 6
Views: 357

Re: Plugin or Download for Pi?

Thanks, got it loaded, I can see my HDD (formatted in ntfs) but I am unable to mount it, when I check the information on it I can see the following:- File System ntfs size 3.64TB Label (blank) UUID 7A457E8F496DE432 Status NOT MOUNTED Partition Path: /dev/sda1 First Sector 2048 Name: CCTV1 Last Secto...
by doubleudee1
Wed Sep 11, 2019 8:43 am
Forum: Troubleshooting
Topic: Plugin or Download for Pi?
Replies: 6
Views: 357

Re: Plugin or Download for Pi?

Yes thats it, thanks, I'l do a search for it now.
by doubleudee1
Tue Sep 10, 2019 4:48 pm
Forum: Troubleshooting
Topic: Plugin or Download for Pi?
Replies: 6
Views: 357

Plugin or Download for Pi?

I seem to remember downloading from this sit an addon for rasbian, i cannot find it as I cannot remember the name of it, but a member here put the link to it on a post for someone. The link/download in question allows you to use the visual aspect of raspian (loaded from NOOBS) to see and mangae any ...
by doubleudee1
Sun Aug 25, 2019 9:58 am
Forum: Beginners
Topic: user pi refused command without using 'sudo' before command?
Replies: 3
Views: 292

user pi refused command without using 'sudo' before command?

I don't know what I've done wrong but I seem to have lost permissions for user 'pi' to remove a file or folder without using 'sudo' before the command. From root I run ls and get a listing (as I should - see below), and running ls -lr it lists permissions for all, I'm the sole user and thought 'pi' ...
by doubleudee1
Sat Aug 24, 2019 10:08 am
Forum: Beginners
Topic: Problems with External 4TB HDD
Replies: 11
Views: 763

Re: Problems with External 4TB HDD

I can see the raspberry pi from windows explorer and I can also see a folder 'cctv1' inside it. But when I right click on it and select to map a network drive, I get the error message 'Windows cant find '//Raspberrypi/cctv1', check network or spelling. So I think it is a neuwork problem somewhere, b...
by doubleudee1
Sat Aug 24, 2019 7:20 am
Forum: Beginners
Topic: Problems with External 4TB HDD
Replies: 11
Views: 763

Re: Problems with External 4TB HDD

It mounted ok, with no problems, should I unmount and start again?
by doubleudee1
Fri Aug 23, 2019 3:25 pm
Forum: Beginners
Topic: Problems with External 4TB HDD
Replies: 11
Views: 763

Re: Problems with External 4TB HDD

Have you tried mounting the share on Linux just to test it? mount -t cifs \\\\127.0.0.1\\CCTV1 /media -o user=sambauseridhere,password=sambauserspasswordhere Have you run sudo testparm to check the syntax and sanity of your samba config? BTW, I'd create a special mount point sudo mkdir /CCTV1 and c...
by doubleudee1
Fri Aug 23, 2019 3:02 pm
Forum: Beginners
Topic: Problems with External 4TB HDD
Replies: 11
Views: 763

Re: Problems with External 4TB HDD

doubleudee1 wrote:
Fri Aug 23, 2019 2:59 pm
still getting 'the network name cannot be found' when trying to log into 'cctv1'?
Yes, unfortunately
by doubleudee1
Fri Aug 23, 2019 2:59 pm
Forum: Beginners
Topic: Problems with External 4TB HDD
Replies: 11
Views: 763

Re: Problems with External 4TB HDD

still getting 'the network name cannot be found' when trying to log into 'cctv1'?
by doubleudee1
Fri Aug 23, 2019 11:47 am
Forum: Beginners
Topic: Problems with External 4TB HDD
Replies: 11
Views: 763

Problems with External 4TB HDD

I have connected up a new HDD (info below), but I cannot see it on the network and my CCTV Cameras (obviously) cannot write to it. I can drill down to it through a putty window and write to it that way, can anyone help me see it through windows 10 by linking it as a network drive? Thanks. Here's all...
by doubleudee1
Fri Aug 09, 2019 12:07 pm
Forum: General discussion
Topic: Swapping HDD for Larger Size in NAS
Replies: 9
Views: 400

Re: Swapping HDD for Larger Size in NAS

I've tried removing the old drive from the external HDD caddie and then inserting the new one, then I powered the caddie up again and did the following:- =========message while trying to mount drive======================================= pi@raspberrypi:~ $ sudo blkid /dev/mmcblk0p1: LABEL="RECOVERY"...
by doubleudee1
Fri Aug 09, 2019 10:44 am
Forum: General discussion
Topic: Swapping HDD for Larger Size in NAS
Replies: 9
Views: 400

Re: Swapping HDD for Larger Size in NAS

This is the results from me entering the command 'cat /etc/fstab' pi@raspberrypi:~ $ cat /etc/fstab proc /proc proc defaults 0 0 /dev/mmcblk0p6 /boot vfat defaults 0 2 /dev/mmcblk0p7 / ext4 defaults,noatime 0 1 # a swapfile is not a swap partition, no line here # use dphys-swapfile swap[on|off] for ...
by doubleudee1
Fri Aug 09, 2019 6:00 am
Forum: General discussion
Topic: Swapping HDD for Larger Size in NAS
Replies: 9
Views: 400

Re: Swapping HDD for Larger Size in NAS

Thanks for your replies (All) FYI I only have a single caddie for external drive, so just swap HDD's? I'm not bothered about copying the images over to the new drive, so no problems there. The Operating system is on the Pi itself. I am the sole owner, and I log in as pi but obviously have changed th...
by doubleudee1
Thu Aug 08, 2019 3:22 pm
Forum: General discussion
Topic: Swapping HDD for Larger Size in NAS
Replies: 9
Views: 400

Swapping HDD for Larger Size in NAS

I have set up a NAS on my pi but am finding the HDD is a little too small (500GB), is it possible to just swap it for a larger drive (4TB) as setting it up in the first place was for testing purposes only. My pi is connected to an external Drive Device (made by inateck - powered from mains) so I can...
by doubleudee1
Thu Aug 08, 2019 3:13 pm
Forum: General discussion
Topic: Unable to run executable .sh file from crontab?
Replies: 9
Views: 398

Re: Unable to run executable .sh file from crontab?

All working fine now, thanks for your help everyone.
WD
by doubleudee1
Thu Aug 08, 2019 12:07 pm
Forum: General discussion
Topic: Unable to run executable .sh file from crontab?
Replies: 9
Views: 398

Re: Unable to run executable .sh file from crontab?

OK, done all above, #!/bin/bash at top of all files, arr=(/home/pi/CCTV/FrontOfHouse/*.jpg) is now the array and crontab changed as below 15 * * * * /home/pi/CCTV/RearOfHouse/CreatejpgDirs.sh 20 * * * * /home/pi/CCTV/FrontOfHouse/CreatejpgDirs.sh Waiting to see what happens.............................

Go to advanced search