Go to advanced search

by Pete6
Sun Feb 23, 2020 7:07 pm
Forum: Beginners
Topic: AllSky NOIR Camera
Replies: 0
Views: 333

AllSky NOIR Camera

I am trying to build a Pi based astronomy AllSky Camera. This is quite simply a Pi (I'm using a 3B to try and keep the heat down) with a Pi-Cam 2 NOIR and a 185 degree lens. This is all mounted inside a re-purposed security camera housing. I have also fitted a DS18B20 temperature probe on the outsid...
by Pete6
Wed Feb 12, 2020 11:57 pm
Forum: General discussion
Topic: Shell script in init.d
Replies: 9
Views: 803

Re: Shell script in init.d

My little project is beginning to come together nicely. I shall get my new camera tomorrow and that will allow me to finalise exposures within raspistill. Meanwhile I have the problem of how to update the current time so my service script can switch between Dawn, Daylight, Sunrise and Twilight. If I...
by Pete6
Sun Feb 09, 2020 3:34 pm
Forum: Off topic discussion
Topic: Private contact with other forum users
Replies: 13
Views: 1459

Re: Private contact with other forum users

It is a pity that PMs were disabled. I have been getting help from another forum member and I wished to send that member an IP address to access my project. Obviously I am not going to post an IP address in a public forum. So now I have no way to communicate the address,
by Pete6
Sun Feb 09, 2020 3:04 pm
Forum: General discussion
Topic: Shell script in init.d
Replies: 9
Views: 803

Re: Shell script in init.d

This morning it all worked. Here is the completed /etc/init.d shell script. #!/bin/bash # First obtain a location code from: https://weather.codes/search/ # Insert your location. For example LOXX0001 is a location code for Bratislava, Slovakia #Weather location code for Charlotte NC =USNC0121 locati...
by Pete6
Sun Feb 09, 2020 4:36 am
Forum: General discussion
Topic: Shell script in init.d
Replies: 9
Views: 803

Re: Shell script in init.d

Yes, your code worked. Well mostly. The define statement and the file handling did not. I do not know why. I fixed that by simply deriving the Unix epoch sunrise / sunset times from within your script. Fixed. I have spent a good deal if the intervening time learning shell script writing. Your if sta...
by Pete6
Fri Feb 07, 2020 8:51 pm
Forum: General discussion
Topic: Shell script in init.d
Replies: 9
Views: 803

Re: Shell script in init.d

I have it all back working again. The problem seems to have been caused by me when I increased the image size from 800 x 600 to 1024 x 768. That was when it started crashing necessitating a power cycle. Putting the image size back to 800 x 600 has restored stability. Lesson learned. I have a new cha...
by Pete6
Wed Feb 05, 2020 11:00 pm
Forum: General discussion
Topic: Shell script in init.d
Replies: 9
Views: 803

Re: Shell script in init.d

Things are beginning to work, I need to make a cron task to get the daily sunrise and sunset times. Right now, my NOIR Camera seems to have died. It is producing totally black images regardless of what parameters I feed raspistill. I need to go and get it down from the roof to find out what's wrong....
by Pete6
Wed Feb 05, 2020 2:50 am
Forum: General discussion
Topic: Shell script in init.d
Replies: 9
Views: 803

Re: Shell script in init.d

Thank you. As you say, I will need to populate the suntimes file. I found a script online https://linuxconfig.org/how-to-obtain-sunrise-sunset-time-for-any-location-from-linux-command-line and just copied the script. Given my uselessness with programming it may take me a day or so to get this all to...
by Pete6
Tue Feb 04, 2020 9:25 pm
Forum: General discussion
Topic: Shell script in init.d
Replies: 9
Views: 803

Shell script in init.d

I am trying to change a /etc/init.d startup script and I think I need some help please. I have built and, it works a Raspberry Pi 2B project from here https://www.dronkert.net/rpi/webcam.html The project is an All Sky Camera for astronomers using the NOIR camera. It works well. WHilst the major use ...
by Pete6
Sat Jun 14, 2014 3:39 pm
Forum: Media centres
Topic: SqueezePlug Version 7 available
Replies: 459
Views: 118555

Re: SqueezePlug Version 7 available

I fixed it. Here's the command that works from the command line. mount -w -t cifs -o username=pete,password=,_netdev,sec=ntlm //192.168.1.20/public/ /mnt/samba/ This is what you put in to /etc/fstab Edit fstab on squeezeplug with pico /etc/fstab //192.168.1.20/public /mnt/samba/ cifs username=yourus...
by Pete6
Fri Jun 13, 2014 9:53 pm
Forum: Media centres
Topic: SqueezePlug Version 7 available
Replies: 459
Views: 118555

Re: SqueezePlug Version 7 available

Thanks for your reply. Yes, I did type the IP address with / and not .. Silly me. The nfs command line you gave me worked except that the WDMyCloud gave me access denied by server while mounting 192.168.1.20:?DataVolume/shares/Public Using the cifs command also gave me an error saying Retrying with ...
by Pete6
Fri Jun 13, 2014 2:34 pm
Forum: Media centres
Topic: SqueezePlug Version 7 available
Replies: 459
Views: 118555

Re: SqueezePlug Version 7 available

I know this question has come up several times in this very thread. I have read every page of this thread searching for a solution and I have looked at several Debain manual an help pages prior to posting. I am therefore sure that I am doing something very stupid. I have a WDMyCloud which has all my...
by Pete6
Sat Jan 19, 2013 9:08 pm
Forum: General discussion
Topic: Windows on Pi?
Replies: 154
Views: 34150

Re: Windows on Pi?

I'm still intrigued how a confessed computer geek with lots of experience of different systems is unable to use a file open dialog in Linux - is it really that difficult...? I got the feeling that they weren't experienced with lots of different systems. I mean he (I assume you're a he from your nam...
by Pete6
Sat Jan 19, 2013 9:03 pm
Forum: General discussion
Topic: Windows on Pi?
Replies: 154
Views: 34150

Re: Windows on Pi?

PLEASE give me Windows RT even if I have to PAY for it. Did you bother to read this thread at all. This nonsense has already been beat to death. You can't have Win RT even if you want to pay for it. MS only sells it bundled with new devices, and the current per device license right now is somewhere...
by Pete6
Sat Jan 19, 2013 8:54 pm
Forum: General discussion
Topic: Windows on Pi?
Replies: 154
Views: 34150

Re: Windows on Pi?

pluggy wrote:Windows of any description would floor the very limited CPU in the Pi.
I agree. The current Pi/ARM chip does not have the computing power to run Windows. However, ARM make a variety of chips and hopefully one of the next releases will be able to run Windows RT.

I live in hope.
by Pete6
Thu Jan 10, 2013 8:34 pm
Forum: General discussion
Topic: Windows on Pi?
Replies: 154
Views: 34150

Re: Windows on Pi?

changing the Desktop wallpaper are hugely complicated It isn't. It is precisely the same as on Windows, you just misunderstood the file-open dialog. See here for where you went wrong. I did not go wrong at all. I had an image on a USB stick that I wished to use as wallpaper. I had to copy the pic f...
by Pete6
Thu Jan 10, 2013 8:02 pm
Forum: General discussion
Topic: Windows on Pi?
Replies: 154
Views: 34150

Re: Windows on Pi?

ghans wrote:How much do you want to pay ?


ghans
The same as on my laptop and desktop PCs, the full Microsoft license fee. What else did you think?

I believe that you get what you pay for and Linux is free. Worth every cent.
by Pete6
Thu Jan 10, 2013 7:17 pm
Forum: General discussion
Topic: Windows on Pi?
Replies: 154
Views: 34150

Re: Windows on Pi?

Since I have owned my Pi I have come to realize just how much I have Unix and Linux. I first used Unix under BSD 4.2 back in the 1980s. I hated it then. At the time I was a VMS system manager. The faster Windows (even RT) is put on the Pi, the better. Debian Linux is just so PRIMITIVE when compared ...
by Pete6
Wed Jan 09, 2013 9:39 pm
Forum: Troubleshooting
Topic: Root and passwordsit
Replies: 6
Views: 1240

Re: Root and passwordsit

Just type

Code: Select all

sudo set passwrd root
whilst logged in as pi and then set the root password to whatever you want. Now you can login as root and suffer the consequences if you mess up. Basically that just means re-doing the SD Card.
by Pete6
Wed Jan 09, 2013 9:35 pm
Forum: General discussion
Topic: RPi not suitable as a media center [Solved]
Replies: 46
Views: 31047

Re: RPi not suitable as a media center

Loads of people, Pluggy. Well, yes but these were mainly the people making media centers. XBMC does run and it works quite well too. On a $35 board that itself is a near miracle. It is not the fault of the Pi that Netflix have not provided an Add-on for Arm based Debian systems. The OP needs to tak...
by Pete6
Tue Jan 08, 2013 7:46 pm
Forum: General discussion
Topic: Can I add more programming languages?
Replies: 10
Views: 1468

Re: Can I add more programming languages?

C++ is there already. Type it and see.
by Pete6
Tue Jan 08, 2013 7:42 pm
Forum: General discussion
Topic: VGA ever going to be implemented in future revisions?
Replies: 66
Views: 14226

Re: VGA ever going to be implemented in future revisions?

Yes, VGA D-Sub is dead alright. Although my home security DVR has, guess what? Both VGA and a composite video out port. So, My desktop-PC is connected via the DVI port to an A/B switch to the monitor DVI port with the Pi and the DVR is plugged into the monitor's VGA port. I picked up a 7" video moni...
by Pete6
Tue Jan 08, 2013 4:33 pm
Forum: General discussion
Topic: VGA ever going to be implemented in future revisions?
Replies: 66
Views: 14226

Re: VGA ever going to be implemented in future revisions?

This thread never seems to die. There are several ways to connect the Pi to a monitor a at least two ways to access it without a monitor (headless). The headless solution using Putty is perfectly good if you do not want the graphical environment. This is a good solution if you just want to programme...
by Pete6
Tue Jan 08, 2013 4:12 pm
Forum: General discussion
Topic: No sound on 2012-12-16-wheezy-raspian
Replies: 14
Views: 6880

Re: No sound on 2012-12-16-wheezy-raspian

Pete6, Thank you, I owe you a beer. I have spent hours trying to get audio to function. I've tried everything in the Wiki, read the RPi user guide, searched Google and nothing worked. Got rid of pulseaudio as you suggested and that did the trick. Perhaps someone with an account could make a note in...
by Pete6
Tue Jan 08, 2013 9:29 am
Forum: General discussion
Topic: On screen keyboard
Replies: 3
Views: 827

Re: On screen keyboard

This sounds like a candidate for an app that could hit the PiStore if someone wrote it.

Go to advanced search