Go to advanced search

by TideMan
Thu Sep 06, 2018 8:51 pm
Forum: Troubleshooting
Topic: Can't connect to website via external IP
Replies: 4
Views: 111

Re: Can't connect to website via external IP

Sounds to me like a problem with your router.
To connect to your site using an external IP, the router must do what's called "hairpin routing".
Not all routers have this capability.
Maybe your router can do it, but not well.

Can you connect to your site from outside of your LAN?
by TideMan
Mon Jul 30, 2018 9:52 pm
Forum: General discussion
Topic: Dropbox_Uploader from php
Replies: 1
Views: 93

Re: Dropbox_Uploader from php [SOLVED]

I found the answer myself!! If you issue this command in php echo "User = " . trim(shell_exec('whoami')); it will tell you www-data. So this is the user you must execute under to register dropbox_uploader, first making /var/www writeable (this is where .dropbox_uploader is stored): sudo chmod 777 /v...
by TideMan
Sun Jul 29, 2018 11:49 pm
Forum: Troubleshooting
Topic: ssh connection without password
Replies: 8
Views: 216

Re: ssh connection without password

I use WinSCP for copying files to/from PC to RPi. You can use a script and run it on a schedule. Here is a typical script in a file called sync.txt: open pi:[email protected].168.1.13 cd /home/pi/Rain/RiccartonHagley synchronize remote close exit which you can execute from DOS using: "c:\Program Files ...
by TideMan
Sun Jul 29, 2018 9:42 pm
Forum: General discussion
Topic: Dropbox_Uploader from php
Replies: 1
Views: 93

Dropbox_Uploader from php

I want to execute dropbox_uploader from within a .php routine using exec: exec("/home/pi/BashFiles/dropbox_uploader.sh download /Public/Jul18log.txt Log.txt",$output,$result) Now, when I run dropbox_uploader the first time from ~/, it asks for my Dropbox authorisation number which it writes into ~/....
by TideMan
Mon Jul 23, 2018 10:27 pm
Forum: Networking and servers
Topic: mDNS with Win 10 1803
Replies: 2
Views: 234

Re: mDNS with Win 10 1803

/etc/avahi/avahi-daemon.conf has both IPv4 and IPv6 enabled, so I don't think that's it.
Also, mDNS worked fine until the Win 10 upgrade, so it's likely something in Windows, not Raspbian.
by TideMan
Mon Jul 23, 2018 8:59 pm
Forum: Networking and servers
Topic: mDNS with Win 10 1803
Replies: 2
Views: 234

mDNS with Win 10 1803

I run my RPis headless from a Win 10 machine using either VNC or PuTTY. Up until the latest Win 10 version (1803), I could refer to my RPis using name.local, having installed Bonjour on the PC. But since the latest version, this no longer works: ping web.local - could not find host ping -6 web.local...
by TideMan
Sun Jul 22, 2018 11:09 pm
Forum: Networking and servers
Topic: Static IP: router or dhcpdc.conf ?
Replies: 4
Views: 177

Static IP: router or dhcpdc.conf ?

My ISP just gave me a new router which makes setting static IPs on my LAN very straightforward. It offers a list of connected computers with their MAC addresses and you click on one and assign an IP address. To date, I've been editing dhcpcd.conf to get a static IP on my RPis. Which is preferable? S...
by TideMan
Wed Sep 27, 2017 3:01 am
Forum: Networking and servers
Topic: Trying to understand networking and its capabilities
Replies: 8
Views: 1012

Re: Trying to understand networking and its capabilities

Connect a separate HDMI cable from each RPi to separate ports on the smart TV, then use the TV's remote to switch between them. My Samsung smart TV then allows its remote to control each device. It does this using a facility called "anynet".
by TideMan
Thu Sep 21, 2017 11:32 pm
Forum: Beginners
Topic: Cmd to See Raspberry OS Version
Replies: 9
Views: 927

Re: Cmd to See Raspberry OS Version

The trouble with burning a new SD is that you then have to go through and re-install all the programs that were running fine before. Oftentimes, you don't remember until something doesn't work. Then you realise it's because xyz needs to be re-installed (or even built from the tar ball). What a PITA!!
by TideMan
Fri Sep 08, 2017 3:41 am
Forum: Automation, sensing and robotics
Topic: Controlling RPi 3 from (really) far
Replies: 4
Views: 614

Re: Controlling RPi 3 from (really) far

DougieLawson wrote:
Thu Sep 07, 2017 9:59 pm
RealVNC is simple.
Are you implying, Dougie, that one can use RealVNC to connect to a remote machine via the Internet? Without using weaved or similar? If so, how?
by TideMan
Thu Sep 07, 2017 4:52 am
Forum: Advanced users
Topic: Raspberry Pi 2 B+ Internet Surfing Extremely Slow
Replies: 3
Views: 760

Re: Raspberry Pi 2 B+ Internet Surfing Extremely Slow

Chromium, IceWeasel, Firefox, Epiphany. They're all hopelessly slow in my experience.
But text-based Lynx works OK, so it's probably a graphics issue.
by TideMan
Fri Aug 04, 2017 2:10 am
Forum: Automation, sensing and robotics
Topic: Connect rpi to matlab via wifi
Replies: 5
Views: 1509

Re: Connect rpi to matlab via wifi

Well, I bought a copy of Matlab for Windows on a PC because I use it for work, but on my RPis I use Octave, which is free.
Almost all Matlab scripts transfer seamlessly to Octave.
by TideMan
Mon Jun 12, 2017 10:03 am
Forum: Other programming languages
Topic: Why no PHP forum?
Replies: 20
Views: 2851

Re: Why no PHP forum?

Nor a Fortran forum, yet Fortran runs like a scalded cat on RPis, even an old 512 MB Model B.
by TideMan
Fri Jun 02, 2017 11:28 pm
Forum: Networking and servers
Topic: Wifi connection between Win 10 and Raspberry Pi3 [Solved]
Replies: 15
Views: 1211

Re: Wifi connection between Windows 10 and Raspberry Pi3

I use WinSCP running on my Win 10 machine for this.
It is a very elegant program.
And you can set it up on a schedule to sync automatically, either going from RPi to Win 10, or Win 10 to RPi, or both ways.
by TideMan
Fri Jun 02, 2017 11:14 pm
Forum: Beginners
Topic: KODI? OpenElec? Raspbian? etc. etc.
Replies: 3
Views: 2806

Re: KODI? OpenElec? Raspbian? etc. etc.

I endorse dom's post above. At home, I have OpenELEC running standalone on an RPi3 in the family room next to the TV. We use kodi more than broadcast TV these days. At our beach cottage, I have kodi running from Raspbian on an RPi3 that also runs a weather station (CumulusMX software) that posts a l...
by TideMan
Fri Apr 28, 2017 4:44 am
Forum: Python
Topic: How many versions do I need? !!!
Replies: 28
Views: 2637

Re: How many versions do I need? !!!

Whereas Fortran IV code from the 1960s will work fine with the latest gfortran compiler.
by TideMan
Thu Apr 27, 2017 9:54 am
Forum: Advanced users
Topic: Loading Pi3 data into matlab
Replies: 5
Views: 652

Re: Loading Pi3 data into matlab

AFAIK, you can simply save a .mat file on Linux, then load it on a PC:
save(matfile,'x','y') % in Matlab on RPi
then
xy=load(matfile); % in Matlab on PC
by TideMan
Sun Apr 23, 2017 11:11 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI driver for LTC2315 for FFT analysis
Replies: 4
Views: 742

Re: SPI driver for LTC2315 for FFT analysis

If you want fast processing on the RPi, I'd use Fortran for FFT in preference to either Python or Simulink. It's hard to beat compiled Fortran code for straightforward number crunching.
by TideMan
Wed Apr 12, 2017 8:21 pm
Forum: Graphics, sound and multimedia
Topic: Detect a specific Frequency from microphone input signal
Replies: 6
Views: 1617

Re: Detect a specific Frequency from microphone input signal

The trouble with using FFT for this is that your signal is non-stationary, i.e., it is transient. A stationary signal can be defined as having constant variance, no matter what window is chosen. Stationarity is a prerequisite for FFT. A better method is orthogonal wavelet decomposition which uses a ...
by TideMan
Sat Apr 08, 2017 9:22 pm
Forum: Beginners
Topic: Best method for transferring files from computer to RPi?
Replies: 7
Views: 6185

Re: Best method for transferring files from computer to RPi?

And I use WinSCP. It has a very nice GUI. All my RPis are stored there along with their userid/passwords and it just takes a click to connect. I believe it uses SSH.
by TideMan
Wed Mar 29, 2017 3:24 am
Forum: Automation, sensing and robotics
Topic: Upload data to external website
Replies: 4
Views: 749

Re: Upload data to external website

Run gnuplot on the RPi to produce a .png file, then ftp to the web server.
by TideMan
Sun Mar 26, 2017 9:56 pm
Forum: Python
Topic: Script Will Not Run Under CRON
Replies: 28
Views: 1863

Re: Script Will Not Run Under CRON

DirkS wrote:Try using the full path to the python executable.
I agree.
Just about every time I have a problem with cron, it comes down to this.
by TideMan
Wed Mar 22, 2017 10:55 pm
Forum: Beginners
Topic: Raspbian + Retropie + Kodi
Replies: 11
Views: 2574

Re: Raspbian + Retropie + Kodi

I'm not familiar with RetroPie, but in Kodi there is a usually is an Exit option in the power menu in the lower left corner of the home screen. But does it work? In mine, I have to reboot to get out of Kodi. This is the OP's problem. He's set it up so that after booting, Kodi is loaded automaticall...
by TideMan
Wed Mar 08, 2017 8:33 pm
Forum: Media centres
Topic: Kodi SD card Backup
Replies: 8
Views: 2455

Re: Kodi SD card Backup

Depending on which version of Raspbian you're using, you can simply go into Accessories/SD Card Copier and do it there.
I don't know if that's available in NOOB.
by TideMan
Tue Mar 07, 2017 7:33 pm
Forum: Troubleshooting
Topic: Kodi on preloaded micro SD card
Replies: 27
Views: 4370

Re: Kodi on preloaded micro SD card

Just to clarify what Fruit of the Loom is telling you: There are two ways to run Kodi on an RPi: 1. As a standalone system which has a cut-down version of the OS. You can only access the system using SSH and you can only use the RPi for Kodi. 2. As an add-on to the Jessie OS which you install using ...

Go to advanced search