Go to advanced search

by RaTTuS
Thu Jul 19, 2018 1:31 pm
Forum: Beginners
Topic: open CMD on startup with and eun a command?
Replies: 10
Views: 182

Re: open CMD on startup with and eun a command?

Code: Select all

if [ $(tty) == /dev/tty1 ]; then
   /home/pi/Documents/start.sh
fi
you need the spaces
by RaTTuS
Thu Jul 19, 2018 12:39 pm
Forum: Troubleshooting
Topic: RaspberryPi 3 B +: random reboots caused by "beefy" power supply
Replies: 6
Views: 133

Re: RaspberryPi 3 B +: random reboots caused by "beefy" power supply

is he micro usb lead made out of wet string?
by RaTTuS
Thu Jul 19, 2018 9:19 am
Forum: Graphics, sound and multimedia
Topic: * SIMULTANEOUSLY RECORD 2 VIDEOS *
Replies: 6
Views: 158

Re: * SIMULTANEOUSLY RECORD 2 VIDEOS *

2x raspberry pi will be able to record 2 steams easily - if you want to combine them to one file this is possible but more complex
by RaTTuS
Thu Jul 19, 2018 9:18 am
Forum: Beginners
Topic: open CMD on startup with and eun a command?
Replies: 10
Views: 182

Re: open CMD on startup with and eun a command?

it should be /home/pi/Documents/start.sh >/var/log/jar.log 2>/var/log/jar.eror but TBH don't do it this way either setup a systemd .service system [like https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=7192&p=828947#p828947] or https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=7192&star...
by RaTTuS
Wed Jul 18, 2018 1:17 pm
Forum: Beginners
Topic: Pi 3 model B+ not boot
Replies: 12
Views: 306

Re: Pi 3 model B+ not boot

try a differnt hdmi lead
by RaTTuS
Tue Jul 17, 2018 12:44 pm
Forum: Troubleshooting
Topic: Ethernet Issues
Replies: 5
Views: 146

Re: Ethernet Issues

use the latest version of raspbian lite and see what that says
by RaTTuS
Tue Jul 17, 2018 8:45 am
Forum: Beginners
Topic: BOOT Messages ?
Replies: 1
Views: 75

Re: BOOT Messages ?

dmesg
but also check out .log files in /var/log
by RaTTuS
Tue Jul 17, 2018 7:56 am
Forum: General discussion
Topic: How to change the core file size of raspberry pi3
Replies: 16
Views: 344

Re: How to change the core file size of raspberry pi3

however with the "Too many open files" error
what are you doing to create this i.e. are you opening loads of files and not closing them ?
when does this occur ?
etc...
by RaTTuS
Mon Jul 16, 2018 1:42 pm
Forum: Troubleshooting
Topic: crontab -e format
Replies: 6
Views: 164

Re: crontab -e format

or ...

Code: Select all

0 6,10,14,18,22 * * * /home/pi/zwgarden2/autofill1.py && /home/pi/zwgarden2/autofill2.py && /home/pi/zwgarden2/autofill3.py 
full paths to everything [including python if you want it]
but have #! shebangs in the .py script to point to the correct oine anyway
by RaTTuS
Mon Jul 16, 2018 11:13 am
Forum: Troubleshooting
Topic: 'Extending' USB - not working
Replies: 7
Views: 203

Re: 'Extending' USB - not working

you will need to connect the ground and power to the socket also if I understand what you have done
by RaTTuS
Mon Jul 16, 2018 7:00 am
Forum: Add-ons
Topic: Can I switch one Pi off/on with another?
Replies: 13
Views: 333

Re: Can I switch one Pi off/on with another?

The Watchdog should work fine as it's hardware inside the SOC
so it's always going to reset unless it is told not to - and the ARM is the thing that does the telling - I cannot find a good post to show how it's done ATM,
I'll see if I can fin one and get it working on my Pi3 b+ if I get time
by RaTTuS
Fri Jul 13, 2018 10:12 am
Forum: Add-ons
Topic: Can I switch one Pi off/on with another?
Replies: 13
Views: 333

Re: Can I switch one Pi off/on with another?

use a watchdog on that RPi so it resets itself
by RaTTuS
Fri Jul 13, 2018 7:32 am
Forum: General discussion
Topic: Need help with camera not supported in camera libraries
Replies: 6
Views: 212

Re: Need help with camera not supported in camera libraries

jamesh wrote:
Tue Jul 10, 2018 4:11 pm
Something like this?

https://www.ebay.co.uk/itm/USB-2-0-Type ... SwUxhbOifj
they wont work - please edit this post
by RaTTuS
Thu Jul 12, 2018 8:16 am
Forum: C/C++
Topic: Autorun C program on Raspberry Pi
Replies: 5
Views: 223

Re: Autorun C program on Raspberry Pi

why are you using wheezy ?
it make more sense to make a new Stretch version but
viewtopic.php?t=7192
will help
by RaTTuS
Fri Jul 06, 2018 1:09 pm
Forum: Troubleshooting
Topic: Raspbian fails to load
Replies: 3
Views: 117

Re: Raspbian fails to load

flash a new copy of raspbian from https://www.raspberrypi.org/downloads/raspbian/
onto the sccard and boot that
by RaTTuS
Thu Jul 05, 2018 1:07 pm
Forum: Beginners
Topic: Updating or Replacing?
Replies: 3
Views: 157

Re: Updating or Replacing?

take a new sdcard - load latest raspbain lite onto it
put it into the machine and boot it
then add all the stuff you need to make it work
by RaTTuS
Thu Jul 05, 2018 12:27 pm
Forum: General discussion
Topic: Proposal: Raspberry Pi Zero W with 2GB / 4GB embedded
Replies: 28
Views: 813

Re: Proposal: Raspberry Pi Zero W with 2GB / 4GB embedded

I am not sure that 2GB/4GB microSD are not available on market. They can be missing in the local store selling phones and TVs. 4Gb is the lowest you can get on aliexpress https://www.aliexpress.com/item/Class10-128GB-64GB-SDXC-32GB-Memory-Card-SDHC-16GB-8GB-4GB-micro-sd-card-TF-card/32845438931.htm...
by RaTTuS
Thu Jul 05, 2018 8:10 am
Forum: Compute Module
Topic: What would be the next step up from CM3?
Replies: 29
Views: 1303

Re: What would be the next step up from CM3?

fruitoftheloom wrote:
Thu Jul 05, 2018 7:35 am
...
The BCM283x SoC are sourced from Broadcom, you would need to ask them if they are willing to sell to you, though considering HardKernel an established company only managed to purchase 500 would not hold your breath:...
500 would be the size of a sample batch for a potential project IMO
by RaTTuS
Wed Jul 04, 2018 2:59 pm
Forum: Beginners
Topic: external HDD does this need to be in USB 3 or in USB 2
Replies: 4
Views: 130

Re: external HDD does this need to be in USB 3 or in USB 2

either will work {YMMV] post a link to any you are wanting to and we'll possibly say for sure
by RaTTuS
Wed Jul 04, 2018 1:49 pm
Forum: Camera board
Topic: camera v2.1in the dim light
Replies: 1
Views: 129

Re: camera v2.1in the dim light

use the NOIR version and flood the area with and IR lamp
by RaTTuS
Tue Jul 03, 2018 2:56 pm
Forum: Raspbian
Topic: Crontab configuration
Replies: 11
Views: 272

Re: Crontab configuration

edit the users crontab with
crontab -e
edit the root crontab with
sudo crontab -e
by RaTTuS
Tue Jul 03, 2018 2:46 pm
Forum: Raspbian
Topic: Crontab configuration
Replies: 11
Views: 272

Re: Crontab configuration

mine cat /etc/crontab # /etc/crontab: system-wide crontab # Unlike any other crontab you don't have to run the `crontab' # command to install the new version when you edit this file # and files in /etc/cron.d. These files also have username fields, # that none of the other crontabs do. SHELL=/bin/sh...
by RaTTuS
Tue Jul 03, 2018 10:53 am
Forum: Raspbian
Topic: Crontab configuration
Replies: 11
Views: 272

Re: Crontab configuration

a lot of things....

what files are you editing ?
is this the main system cron i.e. /etc/crontab ? if so why have you edited it

what wrong with the right way if using cron [sic]

Go to advanced search