Go to advanced search

by dcaccount
Sat Sep 07, 2019 12:41 pm
Forum: Raspbian
Topic: Raspbian Stretch for Pi 4
Replies: 8
Views: 322

Re: Raspbian Stretch for Pi 4

DougieLawson wrote:
Sat Sep 07, 2019 12:06 pm
Install Buster on your RPi3 and that will work on a RPi4.

Stretch went end-of-life in June with the release of the Rpi4.
Thanks for helping, but installing Buster will I loose all setting or..?
by dcaccount
Sat Sep 07, 2019 11:43 am
Forum: Raspbian
Topic: Raspbian Stretch for Pi 4
Replies: 8
Views: 322

Raspbian Stretch for Pi 4

Hello,

I have a Rpi 3 working on Raspbian Stretch. I would like to upgrade to a Pi 4.

Can I use the same operating system image used for the Pi 3? I would not like to configure it from scratch.

Thanks,
Dan
by dcaccount
Mon Jul 29, 2019 7:20 pm
Forum: Networking and servers
Topic: Internet failover server
Replies: 53
Views: 1388

Re: Internet failover server

Do you agree? Maybe if you have 5 minutes, you could advise how to add this check. I respectfully disagree to this addition, and also admit in shame to having erased the Buster copy I installed to test the script. As it is, the pinger tests the main router and flips to the other side until the main...
by dcaccount
Mon Jul 29, 2019 7:52 am
Forum: General discussion
Topic: Raspberry UPS
Replies: 8
Views: 338

Raspberry UPS

Hello, I need an UPS for my Rpi3. I have found a few threads suggesting to use a pass through power bank connected to the Raspberry and I like the idea. My question is simple, has anyone implemented this idea and is satisfied? Is there any cons? Last question, what could be a good quality advisable ...
by dcaccount
Mon Jul 29, 2019 7:12 am
Forum: Networking and servers
Topic: Internet failover server
Replies: 53
Views: 1388

Re: Internet failover server

Clear! I have another idea on a potential improvement of the script. Someone could want to keep the WiFi router on, only when a backup is needed, for instance during vacation time. What happens if the WiFi router is off and the script tries to select it as default gateway? Is there an error or nothi...
by dcaccount
Sun Jul 28, 2019 9:30 pm
Forum: Networking and servers
Topic: Internet failover server
Replies: 53
Views: 1388

Re: Internet failover server

I wanted the script to keep the system tidy. It runs in a loop, so to stop the process it has to be killed. If the service or the process is interrupted and just exits, there is a little chance the special ping route stays behind in the system (it is setup and removed quickly) and there is a good c...
by dcaccount
Sun Jul 28, 2019 3:59 pm
Forum: Networking and servers
Topic: Internet failover server
Replies: 53
Views: 1388

Re: Internet failover server

Can you please check if it is correct? I installed a fresh Raspbian Buster (first time!) on a Pi3B and verified: - Out of the box, the dual interfaces work fine with either the same or a different gateway on interfaces eth0 and wlan0. - Zanstel's trick with the route cache didn't work, so a script ...
by dcaccount
Sat Jul 27, 2019 10:02 pm
Forum: Networking and servers
Topic: Internet failover server
Replies: 53
Views: 1388

Re: Internet failover server

The netmask is fine. There is one difference between the screen on page 53 and the one you linked above. I’m not sure it is important, but I’m not sure why the guide shows what it shows: Note that in the guide the USB IP address is set to a value outside the LAN network. LAN = 192.168. 1 .x, USBIP ...
by dcaccount
Sat Jul 27, 2019 9:24 pm
Forum: Networking and servers
Topic: Internet failover server
Replies: 53
Views: 1388

Re: Internet failover server

The netmask is fine. There is one difference between the screen on page 53 and the one you linked above. I’m not sure it is important, but I’m not sure why the guide shows what it shows: Note that in the guide the USB IP address is set to a value outside the LAN network. LAN = 192.168. 1 .x, USBIP ...
by dcaccount
Sat Jul 27, 2019 6:37 pm
Forum: Networking and servers
Topic: Internet failover server
Replies: 53
Views: 1388

Re: Internet failover server

Alrighty. This little box will not play with your router, but the Pi might play with it. Zanstel’s proposal holds. Reading page 53 of this guide . I understand you could set the WiFi network managed by the device to 192.168.2.0 instead of 192.168.1.0 is as set now. Once this is done if the Pi is in...
by dcaccount
Sat Jul 27, 2019 2:29 pm
Forum: Networking and servers
Topic: Internet failover server
Replies: 53
Views: 1388

Re: Internet failover server

Ok. Do you have the model name? The brand is Netgear, but that’s not enough to know what the thing is capable of. Flipping through the user manual, which is certainly available online, would be the simplest way. Else a screen dump of all the other tabs in the GUI could do but that would be tedious ...
by dcaccount
Sat Jul 27, 2019 12:06 pm
Forum: Networking and servers
Topic: Internet failover server
Replies: 53
Views: 1388

Re: Internet failover server

Why should it be in another network and can not be in the same as LAN? I’m sure one of your neighbours has a 192.168.1.0 IP network just as yours. But it is not the same network obviously. If I am correct, there is nothing in what you posted so far that says there is any sort of connection between ...
by dcaccount
Fri Jul 26, 2019 7:19 pm
Forum: Networking and servers
Topic: Internet failover server
Replies: 53
Views: 1388

Re: Internet failover server

Hello Zanstel, I have a question, why have you written: I thought that your 4G router will be connected by ethernet. So it's normal to share the same net, so that was the reason because I suggested all the machines in the same 192.168.1.x BUT if you connected the 4G & Wifi router by Wifi to the rasp...
by dcaccount
Wed Jul 24, 2019 10:58 am
Forum: Networking and servers
Topic: Internet failover server
Replies: 53
Views: 1388

Re: Internet failover server

Thanks, I will try and advise
by dcaccount
Wed Jul 24, 2019 7:24 am
Forum: Networking and servers
Topic: Internet failover server
Replies: 53
Views: 1388

Re: Internet failover server

Thanks, as I am not that expert, could you please advise the command line instructions on how to change the default gateway? Thanks! That's simple. Just remove the route and flush the cache. route del default gw 192.168.1.2 # Assuming that you choose that IP for the main gateway ip route flush cach...
by dcaccount
Wed Jul 24, 2019 6:31 am
Forum: Networking and servers
Topic: Internet failover server
Replies: 53
Views: 1388

Re: Internet failover server

Thanks for your reply. It is correct, I will connect the 4G & Wifi router by Wifi to the raspberry. I understand that the Wifi router should be in another net but the Raspberry is connected to the main network (cable router network) with a static IP. As I am not that expert, could you please advise ...
by dcaccount
Wed Jul 24, 2019 5:28 am
Forum: Networking and servers
Topic: Internet failover server
Replies: 53
Views: 1388

Re: Internet failover server

Hello, Thanks to everybody but I got lost. Let’s assume: RPI: 192.168.1.100 Main router (cable Internet): 192.168.1.1 WiFi router: 192.168.1.2 (that I would like to Wifi connect to the Raspberry) Default raspberry gateway = main router: 192.168.1.1 My idea would be to define the Rpi (192.168.1.100) ...
by dcaccount
Tue Jul 23, 2019 7:26 am
Forum: Networking and servers
Topic: Internet failover server
Replies: 53
Views: 1388

Re: Internet failover server

What is a failure? The ISP box catching of fire, or google dot com no longer responding? (A bond interface on the Pi might offer a solution but if the backup router is WiFi only this adds extra constraints. https://www.raspberrypi.org/forums/viewtopic.php?t=166355) As failure I mean the cable conne...
by dcaccount
Tue Jul 23, 2019 6:58 am
Forum: Networking and servers
Topic: Internet failover server
Replies: 53
Views: 1388

Re: Internet failover server

Hello, I would like to configure my Rpi3 as Internet failover server. The network is configured with a main Internet cable connection (with a modem/router) and then I have a wireless router with a SIM card that could provide a backup Internet connection. I would like to configure somehow the Rpi3 a...
by dcaccount
Mon Jul 22, 2019 1:43 pm
Forum: Networking and servers
Topic: Internet failover server
Replies: 53
Views: 1388

Internet failover server

Hello, I would like to configure my Rpi3 as Internet failover server. The network is configured with a main Internet cable connection (with a modem/router) and then I have a wireless router with a SIM card that could provide a backup Internet connection. I would like to configure somehow the Rpi3 an...
by dcaccount
Wed Apr 03, 2019 5:53 am
Forum: Beginners
Topic: How to backup SD card without removing
Replies: 3
Views: 291

Re: How to backup SD card without removing

Get a spare SD card and a USB adaptor. Use the SD Card Copier from the desktop menu (under Accessories). That will make you a ready-to-run backup card and will adjust the size of the contents to ft the card. Thanks but I do not have the GUI, just Raspian Jessie with command line. How can I do? Dan
by dcaccount
Wed Apr 03, 2019 4:45 am
Forum: Beginners
Topic: How to backup SD card without removing
Replies: 3
Views: 291

How to backup SD card without removing

Hello, I have been using for years a Rpi 3 as media and web sever and everything works fine. From time to time, I perform a backup by removing the SD card and flashing its image. I am wondering, is there a way to perform a full bootable backup of the SD card from within the system without having to ...
by dcaccount
Wed Mar 20, 2019 2:08 pm
Forum: Automation, sensing and robotics
Topic: Monitor Legrand UPS Niki S
Replies: 19
Views: 2398

Re: Monitor Legrand UPS Niki S

I have this UPS connected to my PI for a while, works well. Here is parts of the code I use. You have to resend the init command several times, then works fine. import time import serial def __open_port(ser): ser.baudrate = 2400 ser.timeout = 3 ser.writeTimeout = 3 ser.parity = serial.PARITY_NONE s...
by dcaccount
Thu Jun 21, 2018 4:39 am
Forum: Automation, sensing and robotics
Topic: Best relay board
Replies: 4
Views: 855

Re: Best relay board

rickyh89 wrote:
Mon Jun 18, 2018 11:51 pm
https://www.sequentmicrosystems.com/ ... plug and play into Rpi. i am using them with 12v solenoids without issues. super easy python code to work with
Thanks, is there anyone selling it in Europe?
by dcaccount
Sun Jun 03, 2018 7:51 pm
Forum: Automation, sensing and robotics
Topic: Best relay board
Replies: 4
Views: 855

Best relay board

Hello,
I need a 8 relay board fully compatible with my Rpi3.

Can you please advise your recommendations?

Thanks,
Dan

Go to advanced search