Go to advanced search

by seamus
Wed Apr 11, 2018 2:12 pm
Forum: Camera board
Topic: New 8MP Camera - Q&A thread
Replies: 450
Views: 195213

Re: New 8MP Camera - Q&A thread

Oh dear, I need to rant! On reading the response from Eban I have now returned 4 V2 cameras inc 2 NOIR because they don't focus very well at all. At well over £20 each for a drop in replacement that claims to be better, but which in most aspects is worse, I feel cheated. I will canabalise the two I...
by seamus
Tue Apr 10, 2018 10:16 pm
Forum: Advanced users
Topic: How to read Amperage from a 230V AC line - not with a clamp
Replies: 16
Views: 2471

Re: How to read Amperage from a 230V AC line - not with a clamp

Reading current from AC mains is not hard, and needn't be dangerous (assuming you have some experience with it - and if you don't, you should STAY AWAY FROM IT). The "best" (good accuracy, stability, low cost) sensor for this sort of thing is called a "Rogowski coil". You can make your own, or you c...
by seamus
Tue Apr 10, 2018 10:01 pm
Forum: Beginners
Topic: networking tools & configuration in 'stretch'
Replies: 2
Views: 331

Re: networking tools & configuration in 'stretch'

is there a high-level change log, or some form of notification that comes out with each release that summarizes "what's new"? If so, where can that be found? Raspberry has a Release Notes file, maintained as a historical record for reference. http://downloads.raspberrypi.org/raspbian/release_notes....
by seamus
Tue Apr 10, 2018 6:37 pm
Forum: Beginners
Topic: networking tools & configuration in 'stretch'
Replies: 2
Views: 331

networking tools & configuration in 'stretch'

When I search around the Internet for solutions and "how-tos" for (in this case) networking on Raspberry Pi, I frequently encounter suggestions and advice that reference utilities such as ifplugd and ifupdown , and refer to /etc/network/interfaces , etc, etc. I've used some of these in "pre-stretch"...
by seamus
Sun Apr 08, 2018 5:12 pm
Forum: Troubleshooting
Topic: [SOLVED] “mount error(112): Host is down” on stretch, but not jessie! Why?
Replies: 19
Views: 37309

Re: [SOLVED] “mount error(112): Host is down” on stretch, but not jessie! Why?

n67 wrote:
Sun Apr 08, 2018 4:16 pm

Code: Select all

mount error(112): Host is down
isn't really very helpful.
Welcome to Unix.
Indeed! But I suppose as users of an open source system, that puts some of the responsibility for maintenance on us, eh?
by seamus
Sun Apr 08, 2018 4:45 pm
Forum: Troubleshooting
Topic: [SOLVED] “mount error(112): Host is down” on stretch, but not jessie! Why?
Replies: 19
Views: 37309

Re: “mount error(112): Host is down” on stretch, but not jessie! Why?

samba security tightened up between jessie and stretch, and I've had the "Host is down" report for hosts that are so very up indeed. Adding these options to the fstab line made a formerly disappeared host work for me: sec=ntlm,noserverino,vers=2.0 I have no idea why these worked. Yes, I read that t...
by seamus
Sun Apr 08, 2018 3:22 pm
Forum: Troubleshooting
Topic: [SOLVED] “mount error(112): Host is down” on stretch, but not jessie! Why?
Replies: 19
Views: 37309

Re: “mount error(112): Host is down” on stretch, but not jessie! Why?

Are you using mount //192.168.1.250/PASSPORT2TB /home/pi/mntPassport -o guest,vers=1.0,... or mount //192.168.1.250/PASSPORT2TB /home/pi/mntPassport -o username=guest,password=,vers=1.0,... I have tried: sudo mount -t cifs //192.168.1.250/PASSPORT2B /home/pi/mntPassport sudo mount -t cifs //192.168...
by seamus
Sun Apr 08, 2018 2:30 pm
Forum: Troubleshooting
Topic: [SOLVED] “mount error(112): Host is down” on stretch, but not jessie! Why?
Replies: 19
Views: 37309

Re: “mount error(112): Host is down” on stretch, but not jessie! Why?

anik wrote:
Sun Apr 08, 2018 12:11 am
Try changing vers=1.0 to vers=3.0 (or 2.0). Microsoft has deprecated 1.0, though I'm not sure why it would work on one system but not another.
Tried that - didn't work, but I do get different error messages. :) But thanks anyway.
by seamus
Sat Apr 07, 2018 6:39 pm
Forum: Troubleshooting
Topic: [SOLVED] “mount error(112): Host is down” on stretch, but not jessie! Why?
Replies: 19
Views: 37309

Re: “mount error(112): Host is down” on stretch, but not jessie! Why?

Do you know the samba configuration on your OpenWRT device, are any shares public and don't need a userid/password? Take a look with the following commands nmblookup __SAMBA__ nmblookup -S __SAMBA__ nmblookup '*' nmblookup -S '*' nmblookup -S WORKGROUP For that last command you can use your own wor...
by seamus
Sat Apr 07, 2018 5:18 pm
Forum: Troubleshooting
Topic: [SOLVED] “mount error(112): Host is down” on stretch, but not jessie! Why?
Replies: 19
Views: 37309

Re: “mount error(112): Host is down” on stretch, but not jessie! Why?

1.Are you sure that //192.168.1.250/PASSPORT2TB is shared? 2. Are you sure that a root userid exists on the CIFS/Samba server? Samba uses a seperate password file. Since OpenWRT is a Linux system it supports NFS for shared filesystems. Since it does then mounting an NFS export is a) more secure, b)...
by seamus
Sat Apr 07, 2018 3:41 am
Forum: Troubleshooting
Topic: [SOLVED] “mount error(112): Host is down” on stretch, but not jessie! Why?
Replies: 19
Views: 37309

[SOLVED] “mount error(112): Host is down” on stretch, but not jessie! Why?

First, some background: the CIFS drive I am trying to mount: `PASSPORT2TB` is connected via USB to a small wifi AP running [OpenWRT](https://openwrt.org/), and it is shared via the Samba server on that (OpenWRT) host. I want to connect to `PASSPORT2TB` from my two RPi boxes; one runs `jessie`, the o...
by seamus
Mon Mar 26, 2018 5:35 pm
Forum: General discussion
Topic: thepihut.com ??
Replies: 15
Views: 1259

Re: thepihut.com ??

Is this shop (https://thepihut.com/) sanctioned by or affiliated with the Raspberry Pi organization? I ask because I am having an unbelievably horrible experience with them over an order I placed. Thanks for any feedback, ~S Nothing to do with RPT /RPF and this forum is not the place to discuss gri...
by seamus
Mon Mar 26, 2018 5:33 pm
Forum: General discussion
Topic: thepihut.com ??
Replies: 15
Views: 1259

Re: thepihut.com ??

Thank you all for your responses. I feel better about them, but... I still wonder why the only phone number they publish is an "08" number (the caller is billed for calling to sort an issue!).
by seamus
Mon Mar 26, 2018 3:57 pm
Forum: General discussion
Topic: thepihut.com ??
Replies: 15
Views: 1259

thepihut.com ??

Is this shop (https://thepihut.com/) sanctioned by or affiliated with the Raspberry Pi organization?

I ask because I am having an unbelievably horrible experience with them over an order I placed.

Thanks for any feedback,
~S
by seamus
Sun Mar 25, 2018 7:59 pm
Forum: Raspbian
Topic: STICKY: New to Raspbian and Linux? Start here...
Replies: 58
Views: 207335

Re: STICKY: New to Raspbian and Linux? Start here...

My #1 suggestion... For anyone new to using Raspbian on the Pi, I would highly recommend the getting and reading "The Debian Administrator's Handbook". An electronic copy of the book can be downloaded for free (they do ask for a small gift though), or a printed copy purchased at a very reasonable p...
by seamus
Sat Mar 24, 2018 7:58 pm
Forum: Advanced users
Topic: Send SMS Messages from Raspberry Pi
Replies: 27
Views: 121416

Re: Send SMS Messages from Raspberry Pi

Hello all. I am the owner of that repo. I was pleasantly surprised to find that people are using it. Unfortunately, Google is going to block unauthorized apps (i.e. us) from using the unofficial Google Voice APIs very soon. I think it will be unlikely that I will be able to find a work-around to th...
by seamus
Fri Mar 23, 2018 2:45 pm
Forum: General discussion
Topic: PyGoogleVoice
Replies: 4
Views: 714

Re: PyGoogleVoice

Thanks again, topguy! I'm making progress (I think), but I feel a bit like I've begun pulling a loose thread on my jumper :) Here's what happened: pi@antobanrpi ~ $ sudo apt-get install libpython-dev make ... make is already the newest version. The following NEW packages will be installed: libpython...
by seamus
Fri Mar 23, 2018 12:36 pm
Forum: General discussion
Topic: PyGoogleVoice
Replies: 4
Views: 714

Re: PyGoogleVoice

Thank you for that, topguy :) I was only partly successful, however. python-setuptools installed fine, but it seems that easy-install gets source code from pypi - at least that's the case with simplejson . Here's the error I got: sudo easy_install simplejson ... fatal error: Python.h: No such file o...
by seamus
Fri Mar 23, 2018 12:25 am
Forum: General discussion
Topic: pip install permission issues
Replies: 1
Views: 507

Re: pip install permission issues

I've resolved the permissions error by running the install as the su; i.e. : sudo pip3 install PyGoogleVoice But that leads to another question: why is sudo needed? Elsewhere in the RPI documentation [REF1] it says that sudo isn't needed for installations done with pip. This seems to be a regular po...
by seamus
Thu Mar 22, 2018 11:11 pm
Forum: General discussion
Topic: pip install permission issues
Replies: 1
Views: 507

pip install permission issues

This command: $ pip3 install PyGoogleVoice yielded this error: error: could not create '/usr/local/lib/python3.4/dist-packages/googlevoice': Permission denied and the permissions are as follows: drwxrwsr-x 2 root staff 4096 Mar 21 23:46 dist-packages Are my permissions wrong - or is it something els...
by seamus
Thu Mar 22, 2018 7:29 pm
Forum: General discussion
Topic: PyGoogleVoice
Replies: 4
Views: 714

PyGoogleVoice

I'd like to have a go at using the PyGoogleVoice library to send a receive SMS messages on my RPI. Unfortunately for me, the documentation specifies use of 'yum' and 'easy-install' to install the module, and I think those won't work in Raspbian [REF1]. Has anyone tried (successfully, or unsuccessful...
by seamus
Mon Oct 17, 2016 9:01 pm
Forum: Beginners
Topic: run py script from cron @reboot
Replies: 7
Views: 7813

Re: run py script from cron @reboot

For troubleshooting, just log from the cronjab itself. You can redirect its output from the crontab like this: @reboot /usr/bin/python3 /home/pi/email_on_reboot.py > /home/pi/cronjoblog 2>&1 Oh - very cool! I imagined that what I saw in the logfile was all I was going to get! And it appears that yo...
by seamus
Mon Oct 17, 2016 12:48 pm
Forum: Beginners
Topic: run py script from cron @reboot
Replies: 7
Views: 7813

Re: run py script from cron @reboot

Just guessing: It's possible that an @reboot cron job gets executed before the network is fully set up. Have you tried checking for connectivity in your script before sending the email? Excellent idea, but how would I do that? I mean, there could be several issues... the Internet connection itself ...
by seamus
Mon Oct 17, 2016 12:05 pm
Forum: Beginners
Topic: run py script from cron @reboot
Replies: 7
Views: 7813

Re: run py script from cron @reboot

Thanks for the suggestions. I tried them in several combinations, but none of it worked. But, oddly, this *does* work: 37 * * * * /usr/bin/python3 /home/pi/email_on_reboot.py& I've no expertise in this, but this would seem to suggest that the problem is unique to the "@reboot" specification, since t...
by seamus
Mon Oct 17, 2016 12:28 am
Forum: Beginners
Topic: run py script from cron @reboot
Replies: 7
Views: 7813

run py script from cron @reboot

I've written a short python3 script that sends an email with a timestamp in the message body. I can run this successfully from the command line/terminal. The script is named 'email_on_reboot.py'. Since I want the email to be sent whenever my RPi reboots, I added a line to the crontab: @reboot python...

Go to advanced search