Go to advanced search

by Andyroo
Tue Jun 18, 2019 4:37 pm
Forum: Raspbian
Topic: Lance a script automatically that logs my raspberry pi3 to my server
Replies: 30
Views: 423

Re: Lance a script automatically that logs my raspberry pi3 to my server

I would look at software such as NOOBS in Github and modify that so it looks for a new OS and updates it. You do realise that ALL programs loaded by APT / PIP etc and any data created will be wiped as well as the OS don't you? You could look to get very cleaver and mount the home folder on another p...
by Andyroo
Mon Jun 17, 2019 8:22 pm
Forum: Raspbian
Topic: Lance a script automatically that logs my raspberry pi3 to my server
Replies: 30
Views: 423

Re: Lance a script automatically that logs my raspberry pi3 to my server

rsync can handle gigabytes but you will have to think about how you are going to store that amount of data on the Pi and how long its going to take. Pi boards are not known for their network / disk speeds (but I'm biased as I come from fibre / SAN disks :lol: ) I would use an USB connected HD rather...
by Andyroo
Mon Jun 17, 2019 6:06 pm
Forum: Other projects
Topic: Control WS2801 with Pi Zero W based on social networking likes, follows or mentions
Replies: 1
Views: 42

Re: Control WS2801 with Pi Zero W based on social networking likes, follows or mentions

I do not Facebook but there is a simple guide to capturing Tweets https://projects.raspberrypi.org/en/projects/getting-started-with-the-twitter-api/9 Every tweet that is to you could have a colour name in it and you change the lights based on that - you could even tweet a picture of the display back...
by Andyroo
Mon Jun 17, 2019 5:56 pm
Forum: General discussion
Topic: Getting Raspi , Rak-gateway onto Internet
Replies: 1
Views: 48

Re: Getting Raspi , Rak-gateway onto Internet

A bit more info please: 1) What issues the IP addresses on your network? 2) What errors did you get when you tried to install nmap? 3) What Pi do your have and what operating system are you using? 4) Can you post the output of: ping -c 2 google.com ping -c 2 8.8.8.8 cat /etc/dhcpcd.conf ifconfig rou...
by Andyroo
Mon Jun 17, 2019 5:48 pm
Forum: General discussion
Topic: Powering Pi Through Car Battery
Replies: 1
Views: 94

Re: Powering Pi Through Car Battery

Being lazy I would just go to https://www.mausberrycircuits.com

Not as much fun but lots less hassle...

If you are worried about power fail (ignition turning off etc) then https://shop.pimoroni.com/products/mopi ... for-the-pi
by Andyroo
Mon Jun 17, 2019 5:33 pm
Forum: Networking and servers
Topic: Using apache with raspbian but IP changes when I reboot modem
Replies: 1
Views: 47

Re: Using apache with raspbian but IP changes when I reboot modem

Look in your router configuration - you should be able to assign static IP addresses by MAC address in there.
by Andyroo
Mon Jun 17, 2019 5:29 pm
Forum: Raspbian
Topic: Lance a script automatically that logs my raspberry pi3 to my server
Replies: 30
Views: 423

Re: Lance a script automatically that logs my raspberry pi3 to my server

topguy wrote:
Mon Jun 17, 2019 2:49 pm
What kind of server is it ? web-server (http), FTP server, File server ( Windows share etc )
Just set up a simple Windows share / SAMBA share and use rsync to copy files over. You can set the program up to only copy new files or missing files - depends on what you want to do.
by Andyroo
Sun Jun 16, 2019 10:43 pm
Forum: General discussion
Topic: apache2 on raspbian seems terribly slow
Replies: 2
Views: 75

Re: apache2 on raspbian seems terribly slow

I’ve not tried Perl but PHP and WordPress are acceptable on a Pi 3B running MariaDB locally.
by Andyroo
Sun Jun 16, 2019 6:10 pm
Forum: General programming discussion
Topic: Pull from Google Sheets, then write back to it
Replies: 2
Views: 108

Re: Pull from Google Sheets, then write back to it

Welcome to the forum. I would start with this example on Google https://developers.google.com/sheets/api/quickstart/python You will find examples for Python in each section - for example from reading / writing data you can get result = service.spreadsheets().values().get( spreadsheetId=spreadsheet_i...
by Andyroo
Sun Jun 16, 2019 6:00 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1118
Views: 27692

Re: ScriptBasic

jahboater wrote:
Sun Jun 16, 2019 5:58 pm
...
You will always need root privs to install things on Linux?

I hope so anyway.
Nope and thats a problem :lol:

Python modules are the absolute worst in my mind - some need SUDO some do not and some need loading in the editor / virtual environment :roll: :evil:
by Andyroo
Sun Jun 16, 2019 5:45 pm
Forum: Beginners
Topic: Raspberry Zero and Waveshare NB-IoT HAT
Replies: 2
Views: 65

Re: Raspberry Zero and Waveshare NB-IoT HAT

I would check to find out what Pins it is actually using. It may be physically covering all the pins but maybe only using a few of them.

You can break out the other pins using something like cobbler to breadboard or breakout kits. If you want lots of expansion, you can go this extreem
by Andyroo
Sat Jun 15, 2019 9:30 pm
Forum: Staffroom, classroom and projects
Topic: Dissertation Idea
Replies: 4
Views: 162

Re: Dissertation Idea

Rather than rent a PC (cost is not cheap) hunt eBay for a used Lenovo 120s with 4Gb of RAM and dump windows for Linux.

If you are looking to build a version of Linus then this site may help http://www.buildyourownlinux.com/
by Andyroo
Sat Jun 15, 2019 2:09 pm
Forum: General discussion
Topic: Temporary Router
Replies: 6
Views: 204

Re: Temporary Router

tpylkko wrote:
Sat Jun 15, 2019 1:46 pm
On many routers you can install a linux-based open source firmware that then allows you to modify and install almost anything on them.
The best known is https://dd-wrt.com/ but there is https://openwrt.org/ and https://advancedtomato.com/ with different capabilities.
by Andyroo
Sat Jun 15, 2019 12:34 pm
Forum: General discussion
Topic: Flashing ESP 01 using Raspberry pi 3
Replies: 1
Views: 105

Re: Flashing ESP 01 using Raspberry pi 3

Hi,

It would help to see the wiring (actual) and details of the esp01 board.

Did you remember to run raspi-config to set the serial port up? You can check this by

Code: Select all

cat /boot/cmdline.txt
by Andyroo
Sat Jun 15, 2019 12:27 pm
Forum: Beginners
Topic: Reboot raspberry pi and run a script after
Replies: 5
Views: 133

Re: Reboot raspberry pi and run a script after

When using Windows I had a lot of code handling the old style ini files. Imagine my pleasure to find the config parser module for Python https://docs.python.org/3.7/library/configparser.html First tine I read up on this was for a background program that had been hard coded for a given job and every ...
by Andyroo
Sat Jun 15, 2019 12:19 pm
Forum: Troubleshooting
Topic: not booting even connecting correct os
Replies: 1
Views: 66

Re: not booting even connecting correct os

Please work through the Boot Sticky thread viewtopic.php?f=28&t=58151 as this has years for helping folk solve this type of problem.
by Andyroo
Fri Jun 14, 2019 11:56 pm
Forum: General discussion
Topic: System start up
Replies: 4
Views: 144

Re: System start up

Welcoming me.

I would also download Etcher from https://www.balena.io/etcher/ to create the SD image from the file you are downloading.

This will save you having to unzip the file, format the SD card and then copy the data.
by Andyroo
Fri Jun 14, 2019 11:52 pm
Forum: Troubleshooting
Topic: Matplotlib not installing Python 3.6.3
Replies: 9
Views: 255

Re: Matplotlib not installing Python 3.6.3

I found the you could have two versions of numpy at the same time depending on who / how it’s installed... One I installed using ‘sudo apt install python-numpy -y’ and one built using wheel ‘pip wheel numpy’ For some reason I had to install both before the next bit of my install would work (Pillow i...
by Andyroo
Fri Jun 14, 2019 11:45 pm
Forum: General discussion
Topic: Using Raspberry PI 3 for remote desktop sessions?
Replies: 12
Views: 460

Re: Using Raspberry PI 3 for remote desktop sessions?

No idea what to split off.... trying to run windows desktop on a RPI is a no go.... AFAIK only amateur hacks are available of windows for ARM, that work very badly. use raspbian for remote desktop sessions, and anything else. Andrum99 post timed 7:44 onward as that’s when we drifted from RDP to WoA
by Andyroo
Fri Jun 14, 2019 11:21 pm
Forum: Raspbian
Topic: Strange behaviour with the latest raspbian image on my Pi Zero W...
Replies: 10
Views: 234

Re: Strange behaviour with the latest raspbian image on my Pi Zero W...

I have to wonder if here is anything odd you are adding to a file?

Have you tried making the changes in two steps? Put the WPA and cmdline.txt in first then the rest after second boot?

Do you want to post the files (without password) here?
by Andyroo
Fri Jun 14, 2019 9:59 pm
Forum: General discussion
Topic: Using Raspberry PI 3 for remote desktop sessions?
Replies: 12
Views: 460

Re: Using Raspberry PI 3 for remote desktop sessions?

Rather than start this up again please reference https://www.raspberrypi.org/forums/viewtopic.php?p=1430725#p1431003 - to follow the link you have to be enrolled on the Insider program and signed in. Please start a new thread if you want to discuss this and not derail the OPs request. I’ll ask the m...
by Andyroo
Fri Jun 14, 2019 7:18 pm
Forum: General discussion
Topic: Using Raspberry PI 3 for remote desktop sessions?
Replies: 12
Views: 460

Re: Using Raspberry PI 3 for remote desktop sessions?

I would not use WoA as it’s very slow on the Pi and really only licensed for the Insiders testers in Windows and not for commercial use. If you are using VNC on the servers you can use the RealVNC viewer on the Pi. Failing that, try rdesktop Remmina or NoMachine Advantage of the latter is that you ...
by Andyroo
Fri Jun 14, 2019 5:29 pm
Forum: Other projects
Topic: WS2812B Led Matrix 8x32
Replies: 9
Views: 190

Re: WS2812B Led Matrix 8x32

By the markings then it’s the female connector that the Pi would connect to then. I’ve seen warnings about variable power suppliers taking a moment to settle down hence the capacitor. The location of the power should not be an issue - I’ve seen videos of Christmas decorations made from these where t...
by Andyroo
Fri Jun 14, 2019 5:21 pm
Forum: General discussion
Topic: Which 4G Huawei Dongle work on the Raspberry Pi 3 B+?
Replies: 3
Views: 141

Re: Which 4G Huawei Dongle work on the Raspberry Pi 3 B+?

Look for any manufacturers one that creates an access point. This has a disadvantage that you need another power supply / charger but has the advantage that you can connect more than one device at once (eg Pi and phone) at the same time. I found they where more reliable than USB dongles. Failing tha...
by Andyroo
Fri Jun 14, 2019 5:10 pm
Forum: Beginners
Topic: Heat generation with raspbian and raspbian lite
Replies: 4
Views: 129

Re: Heat generation with raspbian and raspbian lite

Ummm cooked Pi :lol: As well as a heat sink you can get cases with fans to improve convection cooling. Some of them have temperature control so they are not on all the time. Check with the suppliers in your country or Amazon / eBay. You could also look at the Official PoE HAT as that has a fan and u...

Go to advanced search