Go to advanced search

by doubleudee1
Thu Sep 12, 2019 11:40 am
Forum: Beginners
Topic: List of users and their rights
Replies: 4
Views: 213

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: 213

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: 218

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: 218

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: 218

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: 218

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: 197

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: 559

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: 559

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: 559

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: 559

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: 559

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: 559

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: 282

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: 282

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: 282

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: 282

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: 271

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: 271

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.............................
by doubleudee1
Thu Aug 08, 2019 11:40 am
Forum: General discussion
Topic: Unable to run executable .sh file from crontab?
Replies: 9
Views: 271

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

Thanks all, will give it a shot now.
WD
by doubleudee1
Thu Aug 08, 2019 11:04 am
Forum: General discussion
Topic: Unable to run executable .sh file from crontab?
Replies: 9
Views: 271

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

Apologies, I have 2 CCTV cams, 'FrontOfHouse' and 'RearOfHouse' where the files are sent from, I may have mixed up Front, for Rear above, but there are two identical scripts with minor changes to suit either. A file may come in as '/home/pi/CCTV/RearOfHouse/ARC20190315080521.mp4', so how would the a...
by doubleudee1
Thu Aug 08, 2019 10:55 am
Forum: General discussion
Topic: Unable to run executable .sh file from crontab?
Replies: 9
Views: 271

Unable to run executable .sh file from crontab?

Hi I have writen the code below and would like to automate it so I have aded a line to crontab. ## this file is being ran from the directory on the HDD '/CCTV/RearOfHouse/' (which is connected to the pi) # create an array with all the files/dir inside ~/CCTV/RearOfHouse/ #!/bin/bash arr=(~/CCTV/Rear...
by doubleudee1
Fri Apr 12, 2019 12:04 pm
Forum: Beginners
Topic: How to run an executable file from CRON?
Replies: 5
Views: 265

Re: How to run an executable file from CRON?

Thanks all
Thats cleared it up for me.

WD
by doubleudee1
Fri Apr 12, 2019 10:19 am
Forum: Beginners
Topic: How to run an executable file from CRON?
Replies: 5
Views: 265

How to run an executable file from CRON?

I have a couple of executable files in different directories that I would like to run at a set time, I have already got a cron file which I have a couple of commands I run in the mornings but how do I run an executable at a set time within the same cron file? e.g. my executable is in /dir1/dir2/dir3...
by doubleudee1
Thu Apr 11, 2019 11:03 am
Forum: Other programming languages
Topic: nested 'if' statements in a shell script?
Replies: 6
Views: 870

Re: nested 'if' statements?

http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-6.html else: is not else So I have to have one 'if' ....... 'fi' statement for every change I want to make? I only used the elif as I thought I could nest all changes in one 'if' ...... 'fi' statement, or is there an alternataive statement I should be usi...

Go to advanced search