Go to advanced search

by TerryC65
Tue Jul 07, 2020 2:10 pm
Forum: Networking and servers
Topic: DNS Server Not Resolving
Replies: 4
Views: 183

Re: DNS Server Not Resolving

I've fixed this. Like most of these things there was a combination of things, but the main problem was that I had put the entry in the hosts file using the device's hostname against the IP address instead of the Web Address.
by TerryC65
Tue Jul 07, 2020 1:22 pm
Forum: Networking and servers
Topic: DNS Server Not Resolving
Replies: 4
Views: 183

Re: DNS Server Not Resolving

Whoops! Forgot a bit. This is what I got when I added "log-dhcp" to dnsmaq.conf: Jul 7 14:13:29 WMT-Webserver dnsmasq-dhcp[566]: 695020382 available DHCP range: 192.168.0.100 -- 192.168.0.250 Jul 7 14:13:29 WMT-Webserver dnsmasq-dhcp[566]: 695020382 vendor class: android-dhcp-8.1.0 Jul 7 14:13:29 WM...
by TerryC65
Tue Jul 07, 2020 12:35 pm
Forum: Networking and servers
Topic: DNS Server Not Resolving
Replies: 4
Views: 183

Re: DNS Server Not Resolving

I tried testing the Server by typing: host WMT-Webserver.com Host WMT-Webserver.com not found: 2(SERVFAIL) When I tried host with a known good website it worked. Then I realised that I could find out more by checking the service status: pi@WMT-Webserver:/etc/network/interfaces.d $ sudo service dnsma...
by TerryC65
Tue Jul 07, 2020 11:04 am
Forum: Networking and servers
Topic: DNS Server Not Resolving
Replies: 4
Views: 183

DNS Server Not Resolving

Hi, I have an RPi 3 configured as a Captive Portal and Webserver using nginx and nodogsplash. Fo testing this is connected using an Ethernet cable to an old Netgear Router which is configured to not do DHCP and simply acts as a Wireless AP. Also connected to the Pi is a USB to Ethernet Adaptor which...
by TerryC65
Mon Jun 22, 2020 6:09 pm
Forum: Raspberry Pi OS
Topic: Installing Wireguard
Replies: 17
Views: 918

Re: Installing Wireguard

OK. I now have pistrong installed and working on my Webserver Pi, together with nodogsplash. Overall, pistrong was easy to configure and use, once we worked through my issue of using an IP Address rather than a DNS name to access the VPN. In fact, once @bls understood the issue in pistrong and corre...
by TerryC65
Mon Jun 15, 2020 11:23 am
Forum: Advanced users
Topic: Image File Utilities
Replies: 268
Views: 29897

Re: Image File Utilities

I can strongly recommend this tool, see my posting at viewtopic.php?f=28&t=277218&p=1679441#p1679441.
by TerryC65
Mon Jun 15, 2020 11:15 am
Forum: Troubleshooting
Topic: SD Card Too Small
Replies: 10
Views: 462

Re: SD Card Too Small

So it still works for existing saved image files as long as they are good. I don't think that there was anything wrong with PiShrink when i used it; image-shrink had the same problem. Although the old image worked when burned to a 16 GB card, there was something about it that neither could cope with.
by TerryC65
Mon Jun 15, 2020 10:33 am
Forum: Troubleshooting
Topic: SD Card Too Small
Replies: 10
Views: 462

Re: SD Card Too Small

image-backup It turns out that image-backup is only part of a suite of utilities called image-utils; see the discussion at the link for more info. I downloaded this and initially used the included image-shrink utility to reduce the size of the image that I had saved earlier. The process completed w...
by TerryC65
Mon Jun 15, 2020 10:18 am
Forum: Troubleshooting
Topic: SD Card Too Small
Replies: 10
Views: 462

Re: SD Card Too Small

pcmanbob wrote:
Sun Jun 14, 2020 4:57 pm
https://github.com/Drewsif/PiShrink
I tried that but it claimed that the original image was corrupted and created a broken filesystem.

However see my response to the image-shrink posting below.
by TerryC65
Sun Jun 14, 2020 5:15 pm
Forum: Troubleshooting
Topic: SD Card Too Small
Replies: 10
Views: 462

Re: SD Card Too Small

pcmanbob wrote:
Sun Jun 14, 2020 4:57 pm
If you have a PC running Linux have a look at pishrink that's what I use, it will shrink your existing image file so that it is as small as possible but will still boot.
I'll give that a go. Thanks.
by TerryC65
Sun Jun 14, 2020 3:53 pm
Forum: Troubleshooting
Topic: SD Card Too Small
Replies: 10
Views: 462

SD Card Too Small

Can anyone explain how I can create an image of an SD Card that is guaranteed to write successfully to another SD Card of nominally the same size at a later date? I have an image which I created a few weeks ago, but when I attempt to write it using the Raspberry Pi Disk Imager, I get an error that t...
by TerryC65
Thu Jun 11, 2020 11:45 am
Forum: Raspberry Pi OS
Topic: Installing Wireguard
Replies: 17
Views: 918

Re: Installing Wireguard

Bis. Thanks for this. I gave it a try this morning and ended up losing the plot somewhere along the way. One of my problems is that I wasn't sure exactly how your configuration mapped to ours at the Wimborne Model Town and some of the terminology confused me. Let me put in some comments in line with...
by TerryC65
Wed Jun 10, 2020 4:58 am
Forum: Raspberry Pi OS
Topic: Installing Wireguard
Replies: 17
Views: 918

Re: Installing Wireguard

Couldn't help myself. I just completed the testbed configuration and both nodogsplash and strongswan work well separately and individually, as well as simultaneously. There are no conflicting iptables entries. I'm putting this aside until you're ready to start on it. :) The Trustees have now confir...
by TerryC65
Mon Jun 08, 2020 4:04 pm
Forum: Raspberry Pi OS
Topic: Installing Wireguard
Replies: 17
Views: 918

Re: Installing Wireguard

There's definitely a lot of great info in the previous post! I'll follow the information that you and @epoch1970 posted there to build up a testbed with strongSwan to see how things work. Not sure I'll finish today, but should be able to do so tomorrow. New topic or not? Up to you. Alternatively, w...
by TerryC65
Mon Jun 08, 2020 1:05 pm
Forum: Raspberry Pi OS
Topic: Installing Wireguard
Replies: 17
Views: 918

Re: Installing Wireguard

If you're looking for a super-easy way to set up a VPN, you might want to take a look at https://github.com/gitbls/pistrong . You can use it to install and manage strongSwan ( https://www.strongswan.org/ ), which is an IPSEC/IKEv2 VPN. 99.9% of the installation is fully automated, so setup is quite...
by TerryC65
Sun Jun 07, 2020 4:33 pm
Forum: Raspberry Pi OS
Topic: Installing Wireguard
Replies: 17
Views: 918

Re: Installing Wireguard

Before you jump ahead with trying pistrong/strongSwan...what clients are you expecting to connect to it? I've fully tested iOS, Windows, and Linux clients. MacOS should work, but I don't have one available to test and document the cert installation. Android should work also, as there's a strongSwan...
by TerryC65
Sun Jun 07, 2020 4:12 pm
Forum: Raspberry Pi OS
Topic: Installing Wireguard
Replies: 17
Views: 918

Re: Installing Wireguard

bls wrote:
Sun Jun 07, 2020 4:02 pm
If you're looking for a super-easy way to set up a VPN, you might want to take a look at https://github.com/gitbls/pistrong.
I like super-easy. :)

If I can't get wireguard working I might give it a try. Thanks.
by TerryC65
Sun Jun 07, 2020 3:43 pm
Forum: Raspberry Pi OS
Topic: Installing Wireguard
Replies: 17
Views: 918

Re: Installing Wireguard

You're seeing it in the repo because Wireguard will be part of Debian Bullseye which is the future stable distribution. The pool directory merges together the packages from all the releases which is why you can see packages in there that don't exist in Buster. Thanks. The presence of this in the ar...
by TerryC65
Sun Jun 07, 2020 3:26 pm
Forum: Raspberry Pi OS
Topic: Installing Wireguard
Replies: 17
Views: 918

Installing Wireguard

I've been trying to get a VPN Server running and initially tried PiVPN, with some issues. Someone on our local LUG suggested wireguard, but when I tried to install it using: sudo apt install wireguard I got a 'not found' response. However, it would seem that wireguard is in the repository at http://...
by TerryC65
Fri Jun 05, 2020 9:39 am
Forum: Networking and servers
Topic: OpenVPN and nodogsplash on the same Pi?
Replies: 5
Views: 315

Re: OpenVPN and nodogsplash on the same Pi?

Wow :!: You've been busy :) I've had a browse through your last post which I followed up to a point. Unfortunately my understanding of iptables would fit on the back of a postage stamp ATM, so I'm going to have to spend some time studying how it works before I have a hope of fully understanding what...
by TerryC65
Thu Jun 04, 2020 6:39 pm
Forum: Networking and servers
Topic: OpenVPN and nodogsplash on the same Pi?
Replies: 5
Views: 315

Re: OpenVPN and nodogsplash on the same Pi?

Epoch, Thanks you very much for your very comprehensive response. I like the VLAN idea. I'm going to have to study your post in detail tomorrow because tonight I have other commitments. In the meantime however, here is the link to the repository for nodogsplash https://github.com/nodogsplash and her...
by TerryC65
Thu Jun 04, 2020 4:09 pm
Forum: Networking and servers
Topic: OpenVPN and nodogsplash on the same Pi?
Replies: 5
Views: 315

Re: OpenVPN and nodogsplash on the same Pi?

If the answer to question 1 is No, then I assume that the only way to get this working is to have two Pis, each with dual Ethernet ports (one for the Router side and one for the private network side. Answering myself in part; if the problem is that the firewall rules are being overwritten and I can...
by TerryC65
Thu Jun 04, 2020 3:58 pm
Forum: Networking and servers
Topic: OpenVPN and nodogsplash on the same Pi?
Replies: 5
Views: 315

OpenVPN and nodogsplash on the same Pi?

Hi, As reported elsewhere ( https://www.raspberrypi.org/forums/viewtopic.php?f=36&t=276147#p1673208 ), I'm trying to set up a VPN Server on the same Pi as our Webserver, which is already running nodogsplash to create a captive portal. The problem is that as soon as PiVPN has finished installing and ...
by TerryC65
Thu Jun 04, 2020 3:03 pm
Forum: Networking and servers
Topic: Remote Deployment of a VPN Server using PiVPN
Replies: 6
Views: 244

Re: Remote Deployment of a VPN Server using PiVPN

Thanks epoch.

I'm installing using PiVPN now and have hit a snag with the installation stopping nodogsplash working :cry:

I may be back yet under a different Topic. I'll do some debugging first.
by TerryC65
Thu Jun 04, 2020 2:02 pm
Forum: Networking and servers
Topic: Remote Deployment of a VPN Server using PiVPN
Replies: 6
Views: 244

Re: Remote Deployment of a VPN Server using PiVPN

Otherwise the Pi could, in the blind, hit some DDNS service every 15 or 30 minutes, e.g. "wget https://some.dyndns.provider/?token=123456" On the provider side the token is linked to a domain name, that gets updated with the source IP address the hit comes from. The DDNS updater does not necessaril...

Go to advanced search