Server Installation 2020

A project to provide VPN access to the River System Raspberry Pis to allow WMT Volunteers and Staff to log in from home. Triggered by the COVID19 lockdown
TerryJC
Posts: 2616
Joined: 16/05/2017, 17:17

Re: Server Installation

Post by TerryJC »

hamishmb wrote: 07/12/2020, 14:06I thought the default was to have predictable names but perhaps I was wrong.
I'm nit sure what you mean with this. The RPi does what it does and this is defined by The Raspberry Pi OS. If you are talking about someone (ie me) making the default predictable names then I wouldn't have done that because I didn't know that you could.
Terry
hamishmb
Posts: 1891
Joined: 16/05/2017, 16:41

Re: Server Installation

Post by hamishmb »

Ah no, I meant I thought the default configuration out of the box for Raspbian/Raspberry Pi OS was to have the predictable interface names link enp0s2 or enx********, but I must be wrong, seeing as the river system pis aren't using them.
Hamish
hamishmb
Posts: 1891
Joined: 16/05/2017, 16:41

Re: Server Installation

Post by hamishmb »

We seem to be having issues with the network stability.

I have been slowly updating the WMT Pis to proactively fix a potential network issue, but I keep getting intermittent connection failed issues when downloading packages eg:

Code: Select all

Err:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf libsystemd0 armhf <version_hidden>
  Connection failed [IP: 93.93.128.193 80]
Any ideas what might be causing this?

I don't think it's at the (Raspbian repo) server end because it's happening with multiple servers and the VPN connection sometimes hangs for a long time.
Last edited by hamishmb on 11/03/2021, 11:31, edited 2 times in total.
Hamish
TerryJC
Posts: 2616
Joined: 16/05/2017, 17:17

Re: Server Installation

Post by TerryJC »

Hamish,

Have you remembered to issue:

Code: Select all

sudo ifconfig eno1 mtu 576
or similar in a terminal at your end?
Terry
hamishmb
Posts: 1891
Joined: 16/05/2017, 16:41

Re: Server Installation

Post by hamishmb »

Yeah, I made a script to handle connection and disconnection because I kept forgetting :)

Just double checked interface names haven't changed, and it's all fine.
Hamish
TerryJC
Posts: 2616
Joined: 16/05/2017, 17:17

Re: Server Installation

Post by TerryJC »

Have you tried rebooting the VPN Server?
Terry
hamishmb
Posts: 1891
Joined: 16/05/2017, 16:41

Re: Server Installation

Post by hamishmb »

No, I'll try that soon. I'm going to update the kernel on it as well. I do seem to have lost the VPN connection now - did you just reboot it?
Hamish
TerryJC
Posts: 2616
Joined: 16/05/2017, 17:17

Re: Server Installation

Post by TerryJC »

No. But I did log in to see the stats. I'll disconnect from the VPN.
Terry
TerryJC
Posts: 2616
Joined: 16/05/2017, 17:17

Re: Server Installation

Post by TerryJC »

The stats looked OK BTW.
Terry
TerryJC
Posts: 2616
Joined: 16/05/2017, 17:17

Re: Server Installation

Post by TerryJC »

Hamish,

A thought. When we first had this problem and started using the MTU kluge, I seem to recall that you set the MTU on the target devices on site as well as on your local machine. Could this have become unset? Perhaps during an update? Is the setting persistent after a reboot?
Terry
Post Reply