Author Topic: Raspberry Pi + Speedify + two ISPs  (Read 3468 times)

ergophobe

  • Inner Core
  • Hero Member
  • *
  • Posts: 9325
    • View Profile
Re: Raspberry Pi + Speedify + two ISPs
« Reply #15 on: July 19, 2022, 11:15:29 PM »
Okay... I've now got the two connections bonded and running through the RPi

It seems to work well. Just did a Facetime call and Starlink dropped multiple times including two 12s and two 15s outages. Quality degrades when switching to Hughesnet and things freeze momentarily, but it works okay.

Also, I am using the Speedify automatic DNS which defaults to running Adguard. It's basically like running a Pi Hole for the network, but the processing happens on the VPS server end rather than at the router itself.

I haven't really noticed anything except when I tried to visit Volaris Air ( https://www.volaris.com/ ). The site will not load at all. I have never been to the site before and probably will never go again, but was just testing things and ended up there. Pretty interesting though. Unlike an Ad Blocker, I have no insight into exactly what is getting blocked.

ergophobe

  • Inner Core
  • Hero Member
  • *
  • Posts: 9325
    • View Profile
Re: Raspberry Pi + Speedify + two ISPs
« Reply #16 on: July 19, 2022, 11:28:17 PM »
Other key element - getting it set up for headless access. This was helpful
https://desertbot.io/blog/headless-raspberry-pi-4-ssh-wifi-setup

I tried to get it set up for headless GUI via various methods (Remote Desktop, X11, etc) and couldn't get any of them to work. Mostly, I don't need it, but some Speedify settings are way way easier to manage via the GUI than via the command line. Also there is some nice reporting that I can't get via the CLI.
« Last Edit: July 19, 2022, 11:35:15 PM by ergophobe »

littleman

  • Administrator
  • Hero Member
  • *****
  • Posts: 6558
    • View Profile
Re: Raspberry Pi + Speedify + two ISPs
« Reply #17 on: July 20, 2022, 05:05:10 AM »
Sorry if you already knew this, but if you pass '-X' into your ssh session you should be able to launch GUIs from remote computers.

Example:
ssh -X tom@192.168.1.13
...
tom@raspberrypi:~ $ speedifyui (assuming that launches the GUI interface)

That *should* be enough to launch the GUI remotely.

ergophobe

  • Inner Core
  • Hero Member
  • *
  • Posts: 9325
    • View Profile
Re: Raspberry Pi + Speedify + two ISPs
« Reply #18 on: July 20, 2022, 05:45:55 PM »
Thanks. I couldn't get the ssh -X to work.

I'm using Ubuntu + bash + Windows Subsytem for Linux (WSL) and I'm not sure WSL is primed for that.

I end up with:

Quote
tom@raspberrypi:~ $ Unable to init server: Could not connect: Connection refused

(speedify_ui:23334): Gtk-WARNING **: 08:59:42.042: cannot open display:

No big deal. Almost everything is as easy or easier via CLI.

You probably know this, but one little improvement that I like in life is setting up SSH aliases in a ~/.ssh/config file

Quote
Host rpi
Hostname 123.456.789.1
Port 12345
User ergophobe
IdentityFile ~/.ssh/id_rsa

And whatever parameters you want, then you just type

>ssh rpi

and you're in!
« Last Edit: July 20, 2022, 05:48:18 PM by ergophobe »

littleman

  • Administrator
  • Hero Member
  • *****
  • Posts: 6558
    • View Profile
Re: Raspberry Pi + Speedify + two ISPs
« Reply #19 on: July 20, 2022, 08:15:33 PM »
>SSH aliases

Yeah, they're pretty nifty! 

>No big deal.

I don't use WSL, but errors like this get under my skin.   It looks like your DISPLAY isn't being set on the client side. 

You could do that by adding a display variable:
export DISPLAY=localhost:0.0

Try setting that in the term before using ssh with X enabled.