Go to advanced search

by Andyroo
Sat Sep 14, 2019 3:26 pm
Forum: Troubleshooting
Topic: New router/VDSL provider - no internet via Pis
Replies: 15
Views: 247

Re: New router/VDSL provider - no internet via Pis

... As I mentioned before now I have to try and work out how this router does port forwarding... You may want to update the firmware first - it may be an old router but it still seems to be getting fixes (unless its a new version of the same model). A quick read of the ver 1 edition 2 manual (as th...
by Andyroo
Sat Sep 14, 2019 3:15 pm
Forum: Beginners
Topic: How to auto ssh port forward on boot
Replies: 9
Views: 137

Re: How to auto ssh port forward on boot

Try piping the output from the command in rc.local to a file and see if that says anything...
by Andyroo
Sat Sep 14, 2019 1:49 pm
Forum: Troubleshooting
Topic: USB not detected
Replies: 3
Views: 58

Re: USB not detected

You could try adding max_usb_current=1 to config.txt and rebooting. Note this tests the power supply as it allows 1.2A over the USB compared to the default 600mA Though incoming voltage is important, minor spikes will not show up on a multimeter so you need an oscilloscope and track current drain at...
by Andyroo
Sat Sep 14, 2019 12:39 pm
Forum: Beginners
Topic: Joining pi's on a home network
Replies: 13
Views: 273

Re: Joining pi's on a home network

... Also, I've never heard of MQTT until now. That sounds very interesting. Just to be sure, how reliable is the MQTT method mentioned? In the future as a fyi, I would like to extrapolate the data I'm collecting and display it in a web app that will run on the Pi 4 that I can then access through my...
by Andyroo
Fri Sep 13, 2019 11:54 pm
Forum: Beginners
Topic: Joining pi's on a home network
Replies: 13
Views: 273

Re: Joining pi's on a home network

neilgl wrote:
Fri Sep 13, 2019 10:32 pm
And set the pi4 mqtt server (mqtt broker) to have a fixed ip address in your router. The other pis can then use that - they dont need a fixed ip.
Technically NONE of them need static IPs as you can connect to an MQTT broker by name...
by Andyroo
Fri Sep 13, 2019 11:52 pm
Forum: Beginners
Topic: EXT4 not mounting on boot.
Replies: 7
Views: 160

Re: EXT4 not mounting on boot.

Anything else in fstab - can you pop it all on here?

Can you run

Code: Select all

blkid
by Andyroo
Fri Sep 13, 2019 10:32 pm
Forum: Beginners
Topic: Music player
Replies: 9
Views: 178

Re: Music player

You would use Etcher or similar to create the SD as this includes the operating system as well as all the programs.

This is not Raspbian but a slightly different version of Linux and the SD card would be dedicated to this task.

Note: This will delete everything off that SD card.
by Andyroo
Fri Sep 13, 2019 10:27 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: AlT+F3 GPIO
Replies: 1
Views: 30

Re: AlT+F3 GPIO

Welcome to the forum, Which bit are you stuck on? You can use the xdotool to send commands to any program that is running. 1) Do you know the name of the program - alt-f3 acts as close on some and you will need to target the correct program 2) Is the button normally open or closed? 3) Is the button ...
by Andyroo
Fri Sep 13, 2019 10:15 pm
Forum: Beginners
Topic: Joining pi's on a home network
Replies: 13
Views: 273

Re: Joining pi's on a home network

leafry wrote:
Fri Sep 13, 2019 8:19 pm
Yeah, from what I understand it is what is distributing the IP addresses.
:?: the router or Orbi?
by Andyroo
Fri Sep 13, 2019 8:18 pm
Forum: Beginners
Topic: Joining pi's on a home network
Replies: 13
Views: 273

Re: Joining pi's on a home network

I would set each Pi up first and give them a unique name in that case.

Does the router or the Orbi give out IP addresses do you know?
by Andyroo
Fri Sep 13, 2019 7:36 pm
Forum: Beginners
Topic: EXT4 not mounting on boot.
Replies: 7
Views: 160

Re: EXT4 not mounting on boot.

It’s possible the disk is not ready by the time the fstab is read. Try a reboot with the line in and then run sudo mount -a and see if that works. This will show any errors as it tries to mount the drive. By the way - no need to hide the UUID - we cannot get to the device and it can make it harder t...
by Andyroo
Fri Sep 13, 2019 7:32 pm
Forum: Beginners
Topic: Joining pi's on a home network
Replies: 13
Views: 273

Re: Joining pi's on a home network

I assume you have a Pi Zero W as the Pi Zero does not have any network connections. First thought: A) Check the router and reserve a range of IP addresses that the router does not issue out to devices B) Set up dhcpcd.conf to use an address in that range (static) Second thought: A) Find the MAC addr...
by Andyroo
Fri Sep 13, 2019 7:25 pm
Forum: General discussion
Topic: Network data usage limiter
Replies: 7
Views: 208

Re: Network data usage limiter

Problem you have with captive portal software is that the router needs to support it - it’s fine having it on a Pi based AP but anyone using Ethernet normally bypasses them unless the router can do the forward (ask a certain Holiday Inn that charged for WiFi but Ethernet was free :lol: ) Come to tha...
by Andyroo
Fri Sep 13, 2019 7:14 pm
Forum: Troubleshooting
Topic: New router/VDSL provider - no internet via Pis
Replies: 15
Views: 247

Re: New router/VDSL provider - no internet via Pis

One point, the 8.8.8.8 is a valid and (in)famous address of one of the Google DNS servers out on the internet. It’s often used as it’s normally available to anyone this side of the Great Chinese Firewall - the only time I’ve not been able to get to it was during the BT Manchester tunnel fire a few y...
by Andyroo
Fri Sep 13, 2019 4:19 pm
Forum: Automation, sensing and robotics
Topic: How to connect different sensors in Caravan
Replies: 6
Views: 153

Re: How to connect different sensors in Caravan

Most solar panel suppliers provide an integrated display / control system for charging leisure batteries normally with temperature sensors...

TBH - I would just use one of them :o
by Andyroo
Fri Sep 13, 2019 4:06 pm
Forum: Troubleshooting
Topic: Odd WiFi Drop Out Issues
Replies: 7
Views: 139

Re: Odd WiFi Drop Out Issues

I did not on my 3 - WiFi was the only thing that gave me issues.

No idea why the WiFi was impacted but I know when I changed to power over then the issues cleared. No change of software at OS or application level and no relocation of Pi or AP :roll: :?: :roll:
by Andyroo
Fri Sep 13, 2019 3:19 pm
Forum: Troubleshooting
Topic: Build a LAMP Web Server with WordPress
Replies: 2
Views: 33

Re: Build a LAMP Web Server with WordPress

Reading through your notes you may well be in the wrong directory.

The index.php should be saved in the same folder as index.html

By default on the Pi these files are normally in /var/www/html/ though this may differ if the instructions have had you create a directory for the website.
by Andyroo
Fri Sep 13, 2019 1:39 pm
Forum: Off topic discussion
Topic: [Solved] Very busy today?
Replies: 23
Views: 1208

Re: Very busy today?

Heater wrote:
Fri Sep 13, 2019 12:10 pm
Pete_Stevens,

Sounds like a neat bit of sleuthing and fixing. Great stuff.

I love little stories of tech battles like that. Thanks.
+1 to that. Lost count the number of times I’ve had to go to site or get local support to push a button or complete a simple job...

Thanks to all for fixing it.
by Andyroo
Fri Sep 13, 2019 9:38 am
Forum: Beginners
Topic: SSH Authentication Failure
Replies: 4
Views: 74

Re: SSH Authentication Failure

For the Mac terminal can you run

Code: Select all

ssh -v pi@ipaddress
and paste the result here?

This runs the native Mac ssh client in debug mode so we can see any error.
by Andyroo
Thu Sep 12, 2019 10:54 pm
Forum: Java
Topic: Change static IP from app
Replies: 3
Views: 65

Re: Change static IP from app

You could look at using the ip command sudo ip address add 192.168.1.12/24 dev eth0 but you may have to think about future resets and setting these up again. You do not need to reboot as the dhcpcd.conf file can be released from the interface and reread and applied with the dhcpcd command. Though th...
by Andyroo
Thu Sep 12, 2019 8:57 pm
Forum: Off topic discussion
Topic: [Solved] Very busy today?
Replies: 23
Views: 1208

Re: Very busy today?

Been great now I’ve had a good ‘play’ around.

Thanks for pushing it up the line for us.
by Andyroo
Thu Sep 12, 2019 7:45 pm
Forum: Troubleshooting
Topic: Odd WiFi Drop Out Issues
Replies: 7
Views: 139

Re: Odd WiFi Drop Out Issues

Possibly power supply issues?

I had a real problem till I moved to an official power supply.

You could try

Code: Select all

sudo iw wlan0 set power_save off
but I think that would be hitting you before this time.

Also this thread may help https://www.raspberrypi.org/forums/view ... p?t=239730
by Andyroo
Thu Sep 12, 2019 7:38 pm
Forum: Networking and servers
Topic: PXE Boot for multiple Pis with different purposes
Replies: 3
Views: 85

Re: PXE Boot for multiple Pis with different purposes

This may do your job https://www.raspberrypi.org/documentati ... utorial.md

Also

Code: Select all

http://pinet.org.uk/
may give you a little bit more control.
by Andyroo
Thu Sep 12, 2019 7:35 pm
Forum: General discussion
Topic: Make Alexa speak
Replies: 5
Views: 159

Re: Make Alexa speak

This may help https://developer.amazon.com/docs/alexa ... rview.html

No idea if the Pi has a toolkit / code examples for this though.
by Andyroo
Thu Sep 12, 2019 7:32 pm
Forum: Troubleshooting
Topic: New router/VDSL provider - no internet via Pis
Replies: 15
Views: 247

Re: New router/VDSL provider - no internet via Pis

Can you ping 8.8.8.8? If not the gateway is wrong on the Pi. This is normally the routers IP address and is often different per ISP. Fir example it could be xxx.xxx.xxx.1 for one supplier and xxx.xxx.xxx.254 for another. To make matters worse the whole start of the IP address could be different e.g....

Go to advanced search