What's your dev environment? I am using the Termius program and using the raspberrypi IP address to program it.
Here's a picture of the pi connected to the camera and I am using this pdf to step by step how to program it.
I am stuck on page 12 when I write RPi_Cam_Web_Interface/./install.sh I let it process and I click yes to start the camera, but then it says access denied.
My main goal after detecting the camera is to record wildlife or any animal activity.
I don’t know much about this because I’m a chemistry major and my biology professor is forcing us to wing this. Sorry if I am not that detailed about this. I am trying to, I just don’t even know how to ask for help for this type of thing.
#Programming a raspberry pi
1 messages · Page 1 of 1 (latest)
Try running the command with sudo
sudo [command]. It's going to prompt you a password and then you can run it.
You can also change the execution right to allow every user to run it by doing sudo chmod +x install.sh
I tried the sudo and then the command after but it still give me the error message
I will try the second command
it says command not found
You need a space between the chmod and the +
You need to put the full path. I didn't just to make the example short
wait so how do I write again??
It would he something like this
sudo chmod +x RPi_Cam_Web_Interface/install.sh
sudo chmod +x install.sh RPi_Cam_Web_Interface/./install.sh would it be that?
oh okie let me try
same thing
You did wrong again
Look carefully or even copy and paste the command I've sent
Looking at your image it worked the first time when. You did it correctly
Now you can try to start the script as you guide say
It doesn't matter, you already did it before getting and error and it worked
so what do I write now?
You continue with your guide
Execute the script
It was something like that RPi_Cam_Web_Interface/./install.sh
you mean this right. I will try to write this again
That were you got the error right? If so then yes
You just need to do the last command
The git clone won't won't work because you already have it
but the last command is the one when I get the error 
Exactly why I said it's the only one you need to execute
but I can't because how am I going to tell it to start the camera
I don't understand what you mean. You are stuck because when you run this RPi_Cam_Web_Interface/./install.sh it said permission denied right?
yes
The easiest way would've been to do this sudo RPi_Cam_Web_Interface/./install.sh but it didn't work right?
yes
Can you try and show me please?
Run this sudo RPi_Cam_Web_Interface/./install.sh and send me screenshot of the error
okie I will
Thank you
I can share my screen I don't mind
Can I see the directory pls
sudo chmod 777 /var/www/macros/error_hard.sh
its on the pdf page 12
Okay wait a sec!! Plz
Git was cloned right
Can you use cmd
ls
Just type "ls" to show the directories
Try running "sudo raspi-config" and ensure that "camera" has been enabled
Go to display
I think there was no usb device driver installed on raspi
Or it could have been detected
I will try to get this topic on class tmrw, this is getting on my nerves!
Bye bye
loll same
So the raspberrypi was broken
that’s why I was getting that error
I got a new one it worked and stared recording flowers 🌸
Awesome, I'm happy to hear that. It makes a lot of sense.
YOU FILMED FLOWERS
For real, congrats. It's really awesome
I KNOW I'M A GIGA CHAD
