Go to advanced search

by Martin Frezman
Thu Oct 12, 2017 11:28 am
Forum: General discussion
Topic: Wireless button
Replies: 8
Views: 2375

Re: Wireless button

Dash works - I had a bit of fun with it myself - but be aware that it isn't fast (i.e., instantaneous). There is an unavoidable few second delay between when you press it and when the other end (i.e., the Pi) picks up on it. Still, if you can live with that, it's not bad.
by Martin Frezman
Tue Oct 10, 2017 6:33 pm
Forum: Debian
Topic: CRON addition
Replies: 3
Views: 1473

Re: CRON addition

Note that this is something forum participants tend to be a bit schizophrenic about. On the one hand, they all say (as noted in the previous thread responses) that they would never do this on any of their machines, but yet they recommend to all newbies that they run the "update/upgrade" dance as oft...
by Martin Frezman
Tue Oct 10, 2017 6:29 pm
Forum: Troubleshooting
Topic: FTP server
Replies: 24
Views: 3711

Re: FTP server

Amplifying on the previous post... There are basically two ways to do this, based on the 'ssh' protocol. But, as you've noted, the first thing is to get ssh itself going between your server (the pi) and your client(s) (people out there on the Internet). Other people have hinted at how to do this - I...
by Martin Frezman
Tue Oct 10, 2017 1:47 pm
Forum: General discussion
Topic: How to measure current draw of the RPi
Replies: 31
Views: 5091

Re: How to measure current draw of the RPi

Of all the ideas presented so far, I think the "USB Power Meter" idea is probably going to be the most workable. Having looked at them on Amazon, the thing that is curious is the difference in price between seemingly (more or less) identical devices. For example, the one at the link posted earlier (...
by Martin Frezman
Tue Oct 10, 2017 12:21 pm
Forum: Troubleshooting
Topic: FTP server
Replies: 24
Views: 3711

Re: FTP server

The problem with FTP is it requires two channels to transfer data. One is the command channel (normally port 21), and the other is the data channel (port). Port forwarding to a FTP server through a router is difficult at best. Exactly. This is very high on the list of reasons why you shouldn't do t...
by Martin Frezman
Mon Oct 09, 2017 8:33 pm
Forum: General discussion
Topic: How to measure current draw of the RPi
Replies: 31
Views: 5091

Re: How to measure current draw of the RPi

For a more useful answer, Agree with your observation that the previous response was, er, less than useful. you can buy power measuring devices that plug into your wall outlet. They're normally designed for measuring how expensive your TV is or an fridge, etc, but they can also tell you watt draw, ...
by Martin Frezman
Mon Oct 09, 2017 7:23 pm
Forum: General discussion
Topic: How to measure current draw of the RPi
Replies: 31
Views: 5091

How to measure current draw of the RPi

Two related questions: 1) Is there any easy way to measure how much current the Pi is drawing at the moment. Something like the way we measure what its CPU temperature is. Is there any way to do it that doesn't involve splicing cables? 2) Suppose you have a charger that is rated 2.5A, but claims to ...
by Martin Frezman
Mon Oct 09, 2017 6:00 pm
Forum: Troubleshooting
Topic: FTP server
Replies: 24
Views: 3711

Re: FTP server

Since we seem to have been successful in moving you from old-fashioned (and insecure) FTP to the new way of ssh, let me put in a plug here for sshfs. sshfs is like samba or nfs, but is based on an ssh connection. It requires Linux on the client side, but works with any SSH server (needs ssh version ...
by Martin Frezman
Mon Oct 09, 2017 2:06 pm
Forum: Beginners
Topic: Scripting Advice
Replies: 4
Views: 488

Re: Scripting Advice

Is SSH an option?

As you say, FTP is completely insecure - as well as hard to implement (if this comment makes no sense to you, just ignore it).

If SSH is usable, then there are several possibilities there - including (best) sshfs.
by Martin Frezman
Mon Oct 09, 2017 1:42 pm
Forum: General programming discussion
Topic: I hadn't thought about ln -s for this..
Replies: 6
Views: 1569

Re: I hadn't thought about ln -s for this..

and I use ln -s in this case as it is uses across file systems, and mostly so I don't rm the original by mistake. Actually, that is a prime reason for using hard links rather than symlinks. When I first read the OP, my first thought was that if you use hard links, you are less likely to accidentall...
by Martin Frezman
Mon Oct 09, 2017 1:08 pm
Forum: Troubleshooting
Topic: Is it common for RPi images to slowly fail?
Replies: 9
Views: 787

Re: Is it common for RPi images to slowly fail?

Rubbish back at ya.

And I'm sure I'll get banned for posting this.
by Martin Frezman
Mon Oct 09, 2017 12:46 pm
Forum: Troubleshooting
Topic: Is it common for RPi images to slowly fail?
Replies: 9
Views: 787

Re: Is it common for RPi images to slowly fail?

My experience, FWIW, is that there's no problems with the images or the SD cards, but there is a "fading" effect on the Pi hardware itself (including the power supply). Usually, a reboot fixes it - so there's no real cause for alarm. BTW, I've seen this effect on some machines, but not all. Like man...
by Martin Frezman
Mon Oct 09, 2017 12:31 pm
Forum: Beginners
Topic: Scripting Advice
Replies: 4
Views: 488

Re: Scripting Advice

I think it would be simpler to use a shared directory method instead of FTP. Easiest is to make the directory on the server (which I'm guessing is either Windows or Linux) shared, then have your picture taking routine write files directly to that directory. BTW, I've used FTP a lot back in the day -...
by Martin Frezman
Sat Oct 07, 2017 8:11 pm
Forum: Raspbian
Topic: How much often update raspbian?
Replies: 26
Views: 4013

Re: How much often update raspbian?

I don't believe the built-in SDCard cloning tool is available when running headless.
It is - in that the GUI clicky thing is just a pointer to running some command line utility, whose name escapes me at the moment. I'm sure it just a few Google clicks away.
by Martin Frezman
Sat Oct 07, 2017 4:49 pm
Forum: Troubleshooting
Topic: WD Pidrive - problems
Replies: 21
Views: 2942

Re: WD Pidrive - problems

Much as I appreciate what you're saying, if you've nothing helpful to say in resolution of this issue please find another thread. If I wanted to boot from SD card I wouldn't have bought this hard drive. This thread is about how to learn enough to get it booting from USB alone. I've done many more a...
by Martin Frezman
Sat Oct 07, 2017 1:29 pm
Forum: Beginners
Topic: 6V power supply on pi3?
Replies: 18
Views: 1924

Re: 6V power supply on pi3?

An ordinary silicon diode will drop 0.7 volts. Wiring that in series with your 6V power supply may well do the trick.
by Martin Frezman
Sat Oct 07, 2017 1:26 pm
Forum: Troubleshooting
Topic: WD Pidrive - problems
Replies: 21
Views: 2942

Re: WD Pidrive - problems

Unless you plan to unsolder the SD card reader from the board - and we've seen from a recent thread what a good idea *that* is (de-soldering components from the Pi board for weird/esoteric/no reasons) - I don't see any reason not to use it to boot from. It's not like you're going to be using for any...
by Martin Frezman
Sat Oct 07, 2017 10:46 am
Forum: Troubleshooting
Topic: WD Pidrive - problems
Replies: 21
Views: 2942

Re: WD Pidrive - problems

Just use an SD card. It's a lot simpler. It's what I do with my PiDrive. The usual /boot stuff is on the SD card; the rootfs is on the hard disk. This is one of those "XY Problems". OP thinks he needs to solve a problem one way, when it is really easier to solve the underlying problem another way. U...
by Martin Frezman
Fri Oct 06, 2017 10:39 pm
Forum: Advanced users
Topic: Predicable names on stretch are confusing me
Replies: 29
Views: 3914

Re: Predicable names on stretch are confusing me

The Orwellian naming scheme only affects USB devices.

eth0 is a USB device (even though it is "on-board').

The on-board wireless (on the 3B or the 0W) isn't.
by Martin Frezman
Fri Oct 06, 2017 8:35 am
Forum: General discussion
Topic: Can't SSH to rasperry Pi with public ip address
Replies: 4
Views: 770

Re: Can't SSH to rasperry Pi with public ip address

Raspbian Operating System includes RealVNC Connect;
Of course, you've now handed over all of your network security to every employee, past and future, of VNC.
by Martin Frezman
Fri Oct 06, 2017 7:10 am
Forum: Beginners
Topic: Question on WD PiDrive
Replies: 9
Views: 1038

Re: Question on WD PiDrive

I have the PiDrive 1G and am quite happy with it, except for one thing. This fits in with the theme of the previous response and with my general feeling that the weakest link - the part most likely to wear out - in a Pi setup is the power supply. Anyway, the Pi in question is hooked up with the supp...
by Martin Frezman
Wed Oct 04, 2017 4:37 pm
Forum: Beginners
Topic: Setting up headless Pi Zero W
Replies: 5
Views: 1907

Re: Setting up headless Pi Zero W

apt-get install heirloom-mailx
by Martin Frezman
Tue Oct 03, 2017 2:01 pm
Forum: Troubleshooting
Topic: When are Predictable Network Interface Names Assigned? - Stretch
Replies: 19
Views: 5110

Re: When are Predictable Network Interface Names Assigned? - Stretch

It's predictable in the sense that the outcome of the next Super Bowl is predictable. I.e., if you are in possession of complete knowledge of all relevant variables, then you can accurately predict the outcome. As I've pointed out many times, the use of the word predictable here is absolutely Orwell...
by Martin Frezman
Mon Oct 02, 2017 10:33 am
Forum: General discussion
Topic: If you built a fully loaded Raspbian
Replies: 18
Views: 1887

Re: If you built a fully loaded Raspbian

major contributors to Linux
Be careful what you wish for. Do the words embrace/extend/extinguish mean anything to you?
by Martin Frezman
Mon Oct 02, 2017 3:19 am
Forum: General discussion
Topic: ssh to current session
Replies: 11
Views: 1117

Re: ssh to current session

The most straightforward solution to this is to use Real VNC server/viewer and use the "low level" stuff in the Real VNC server. Then you should be able to VNC in from elsewhere and see exactly what is on the screen of the Pi.

Go to advanced search