Go to advanced search

by chorlton2080
Sun Dec 01, 2013 1:58 pm
Forum: Python
Topic: Issue commands via email
Replies: 10
Views: 2445

Issue commands via email

Hello folks Can anyone provide an example script which will allow me to issue commands to my Pi via email? I'm very reluctant to open ports to allow external SSH, but I do have an occasional need to do a reboot of my motion detecting RPi on command, along with other sundry tasks which might prove us...
by chorlton2080
Sun Nov 24, 2013 4:59 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Checking my understanding of "ground"
Replies: 11
Views: 2950

Re: Checking my understanding of "ground"

Thanks: yes this makes sense.

But a return path for the current? I always had a sense of bewilderment at that - what if the circuit was connected to true ground, i.e. Earth?
by chorlton2080
Sun Nov 24, 2013 4:46 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Checking my understanding of "ground"
Replies: 11
Views: 2950

Checking my understanding of "ground"

Hi folks I have two circuits, both with independent power supplies of different voltages (5V and 9V). I need to send a signal (a short pulse) from the 5V to the 9V circuit: this replaces the same 5V signal which would otherwise have been generated by the 9V board after a voltage reduction step (I th...
by chorlton2080
Mon Nov 18, 2013 10:41 pm
Forum: Networking and servers
Topic: Huawei E3131 on Wheezy
Replies: 44
Views: 188894

Re: Huawei E3131 on Wheezy

Yes, undoubtedly. But since Three UK are generous with data I don't see that to be a problem. For 35 pounds I got the dongle and the first 3GB together. Are you outside the UK.
by chorlton2080
Mon Nov 18, 2013 10:33 pm
Forum: Networking and servers
Topic: Huawei E3131 on Wheezy
Replies: 44
Views: 188894

Re: Huawei E3131 on Wheezy

I bought mine from Three in the UK. It works well.
by chorlton2080
Tue Nov 12, 2013 10:48 am
Forum: Automation, sensing and robotics
Topic: Wireless rain alarm
Replies: 3
Views: 2088

Wireless rain alarm

I have a need to create a wireless rain alarm - I'm surprised something doesn't already exist at low cost (that I can find, anyway). I've bought a rain detector: simply a PCB with traces which will short when in contact with a conductive material (water). I can interface to the RPi and it will send ...
by chorlton2080
Mon Nov 11, 2013 9:01 pm
Forum: Automation, sensing and robotics
Topic: Rain sensor
Replies: 2
Views: 2886

Re: Rain sensor

Did you get anywhere with this?
by chorlton2080
Wed Nov 06, 2013 10:37 pm
Forum: Other projects
Topic: Car Security Camera System
Replies: 25
Views: 23018

Re: Car Security Camera System

I'll post something this weekend if you can wait?
by chorlton2080
Sat Nov 02, 2013 9:13 pm
Forum: Raspberry Pi OS
Topic: Variable result using rc.local to run python script at boot
Replies: 6
Views: 1754

Re: Variable result using rc.local to run python script at b

Could be racing something... Maybe just try sleeping for a minute (either in Python, or in a bash wrapper which calls the Python) before you run it? Yes. This is something I've noticed with other automated scripts. It can be possible to execute a script in startup without the dependencies having ye...
by chorlton2080
Sat Nov 02, 2013 9:10 pm
Forum: Raspberry Pi OS
Topic: Variable result using rc.local to run python script at boot
Replies: 6
Views: 1754

Re: Variable result using rc.local to run python script at b

Thanks folks. I think all your responses provide some good practice, I've learnt a lot about getting programs to log their activities from your replies. Thanks also to the last post. There are circumstances it seems when rc.local is not a good idea and I understand now why. In fact, the behaviour I'...
by chorlton2080
Sat Nov 02, 2013 7:30 pm
Forum: Raspberry Pi OS
Topic: Variable result using rc.local to run python script at boot
Replies: 6
Views: 1754

Variable result using rc.local to run python script at boot

I know people have their views about using rc.local to run commands at boot, I'm not sure whether it is just arrogant/snobbish purism or if there is good reasoning: but I'm thinking the latter. I have a motion detect routine that I need to run on boot. It generally (80% of the time) initiates when t...
by chorlton2080
Sat Nov 02, 2013 2:38 pm
Forum: Raspberry Pi OS
Topic: Can't enable RSA key login to SSH
Replies: 6
Views: 3151

Re: Can't enable RSA key login to SSH

Thanks. I'm using putty, but perhaps I have misunderstood the concept. If it is up to the client which method of connection the SSH server (my Pi) uses, then this is not what I want. I want the server to force RSA passphrase login, rather than a comparatively weak password. If I've understood correc...
by chorlton2080
Sat Nov 02, 2013 2:17 pm
Forum: Raspberry Pi OS
Topic: Can't enable RSA key login to SSH
Replies: 6
Views: 3151

Can't enable RSA key login to SSH

Hi folks I followed a number of Debian tutorials on enabling RSA passphrase only login to SSH, such as: https://help.ubuntu.com/community/SSH/OpenSSH/Keys Unfortunately when I SSH in to my Pi it still prompts for a password. I have set the following in the SSHD configuration: RSAAuthentication yes P...
by chorlton2080
Mon Oct 28, 2013 8:14 pm
Forum: Raspberry Pi OS
Topic: Wifi adapter sleeping after prolonged router power off
Replies: 5
Views: 2084

Re: Wifi adapter sleeping after prolonged router power off

Hi

I tried the first and the last.

Isn't network-manager a Ububtu-thing?
by chorlton2080
Mon Oct 28, 2013 1:45 pm
Forum: Raspberry Pi OS
Topic: Wifi adapter sleeping after prolonged router power off
Replies: 5
Views: 2084

Re: Wifi adapter sleeping after prolonged router power off

Yeah. I've done that - its in my post above
by chorlton2080
Mon Oct 28, 2013 9:56 am
Forum: Raspberry Pi OS
Topic: Wifi adapter sleeping after prolonged router power off
Replies: 5
Views: 2084

Wifi adapter sleeping after prolonged router power off

Hello folks I have a RPi set as a security cam which logs motion events from the camera. I leave this running full-time. I've added a facility whereby the latest picture is emailed, via WiFi, periodically using a cron job. Now, I am someone who switches my router off at night. Using "wpa_suppli...
by chorlton2080
Sun Oct 20, 2013 11:32 am
Forum: Raspberry Pi OS
Topic: wpa_gui error and need for 2 wifi wpa2 connections
Replies: 0
Views: 395

wpa_gui error and need for 2 wifi wpa2 connections

Hi Folks: I'm struggling here. I need to set up WiFi to auto connect to either of 2 DHCP routers. I can't use wicd-curses because I need 2 ethernet ports (1 of which is a virtual eth1 port created by a 3g dongle). Wicd only seems to support one. I can't seem to be able to have a configuration which ...
by chorlton2080
Sat Oct 19, 2013 2:16 pm
Forum: Other projects
Topic: Car Security Camera System
Replies: 25
Views: 23018

Re: Car Security Camera System

I have. I use a Python motion capture script and a 3G dongle to email both latest and motion detect images.

If you are interested I'll post more details.
by chorlton2080
Fri Oct 11, 2013 8:49 pm
Forum: Troubleshooting
Topic: WiFi not working using command line [Raspbian]
Replies: 7
Views: 41638

Re: WiFi not working using command line [Raspbian]

How might you do this so that you have both of the the following available:

1. a wifi connection with a static IP to Router 1 (but not using the router's MAC IP reservation function)
2. a wifi connection with a DHCP connection to Router 2
by chorlton2080
Fri Oct 11, 2013 7:20 pm
Forum: Networking and servers
Topic: Huawei E3131 on Wheezy
Replies: 44
Views: 188894

Re: Huawei E3131 on Wheezy

I've reposted this from another thread I've created, but it's relevant here too. I needed a static IP on my home router with a 192.168.0.x address space (as my router didn't do MAC IP assignment reliably). I also needed to use DHCP on the 3G dongle, or add a static IP within the 192.168.1.x address ...
by chorlton2080
Fri Oct 11, 2013 7:17 pm
Forum: Raspberry Pi OS
Topic: Unruly 3G adapter changing nameserver file
Replies: 3
Views: 1232

Re: Unruly 3G adapter changing nameserver file

Ok. I thought I would share how I sorted this. To recap I needed a static IP on my home router with a 192.168.0.x address space (as my router didn't do MAC IP assignment reliably). I also needed to use DHCP on the 3G dongle, or add a static IP within the 192.168.1.x address space. The problem was th...
by chorlton2080
Fri Oct 11, 2013 2:31 pm
Forum: Raspberry Pi OS
Topic: Unruly 3G adapter changing nameserver file
Replies: 3
Views: 1232

Re: Unruly 3G adapter changing nameserver file

Thanks. But as I stated, the 3G dongle will only accept DHCP; the Netgear wireless router is also fickle and unreliable in reserving static IP addresses, so I have to specifiy a static IP on the Pi
by chorlton2080
Thu Oct 10, 2013 9:12 pm
Forum: Beginners
Topic: Configure wifi for both static and DHCP access points
Replies: 0
Views: 319

Configure wifi for both static and DHCP access points

I have configured my RPi for a static IP over WiFi at home. It works fine. However, I need to be able to automatically connect to a WiFi connection at another location via DHCP. The home router will not reliably allow me to reserve an IP address, otherwise I could simply set a DHCP connection for bo...
by chorlton2080
Thu Oct 10, 2013 8:02 pm
Forum: Raspberry Pi OS
Topic: Unruly 3G adapter changing nameserver file
Replies: 3
Views: 1232

Unruly 3G adapter changing nameserver file

Hi Folks I have a Model A which I intend to use in a mobile and home environment, with a 3G dongle and wifi adapter respectively. Individually these adapters work fine, but I'm struggling to create an environment within Raspbian where they can both live happily depending on which adapter is plugged ...
by chorlton2080
Sun Oct 06, 2013 10:48 am
Forum: Automation, sensing and robotics
Topic: PIR activated soundboard: problems with audio
Replies: 0
Views: 401

PIR activated soundboard: problems with audio

Basing my project on two Adafruit tutorials (PIR sensing and playing sounds), I managed to get audio through the 2.5mm audio output for about 5 minutes. The PIR activated the mp3 player (mpg321) successfully and the sound was clear. However, the output soon failed. To investigate the cause (Python s...

Go to advanced search