I Figured Out This One Neat Folding Trick

Kinja'd!!! "TheRealBicycleBuck" (therealbicyclebuck)
04/22/2020 at 23:35 • Filed to: FAH, FoldOppo, FoldingAtHome

Kinja'd!!!1 Kinja'd!!! 18

Two Linux boxes controlled from ONE MACHINE!

Kinja'd!!!

I’ve been remoting into windows boxes for years, but this Linux thing is new and being able to connect to and control one Linux box from another through a VM console.... 


DISCUSSION (18)


Kinja'd!!! jminer > TheRealBicycleBuck
04/22/2020 at 23:49

Kinja'd!!!0

Looks good - I’ve been doing the same with F@H. I build a proxmox cluster to deploy Ubuntu vms on for folding and built Google cloud compute  templates as well.


Kinja'd!!! 415s30 W123TSXWaggoIIIIIIo ( •_•))°) > TheRealBicycleBuck
04/22/2020 at 23:56

Kinja'd!!!0

I got another computer out to try this but I can’t get it to go to webpages, the VPN says it’s connected and I typed in the DNS whatevers. It worked for a minute and now back to not connecting to sites. I can’t figure it out. 


Kinja'd!!! TheRealBicycleBuck > jminer
04/23/2020 at 00:02

Kinja'd!!!0

All of my VMs have always been windows boxes, so this is totally new to me. The server I have at home is running an old version of VMWare which I connect to via vSphere. I’m not familiar enough with it to easily replicate the VMs, so I just create a new one and run through the install process. The most confusing thing so far has been installing FAH. The host is an Intel server, so I want to select FAH for x86, but the 64-bit choices are either AMD64 for Ubuntu or x86_64 for Red Hat, etc. That really throws me off. It wasn’t until I built this second box that I figured out I could use the AMD64 version with a .deb installer. 


Kinja'd!!! TheRealBicycleBuck > 415s30 W123TSXWaggoIIIIIIo ( •_•))°)
04/23/2020 at 00:06

Kinja'd!!!1

If you can connect to the box via VPN, then you will need to open FAHControl on that box and enable remote connections. It involves making sure the correct ports are open on the firewall and connections are allowed from the IP address of the box you’re connecting from. After you change the configuration, FAHClient has to be restarted. These discussions really helped me figure it out:

https://foldingforum.org/viewtopic.php?f=61&t=30563

https://foldingforum.org/viewtopic.php?f=88&t=25267


Kinja'd!!! 415s30 W123TSXWaggoIIIIIIo ( •_•))°) > TheRealBicycleBuck
04/23/2020 at 00:12

Kinja'd!!!0

I’m not even at the folding part, I can’t get the computer to load everything online. It was ok for a minute and now it just says cannot connect. I don’t know about all that stuff with settings, I’ll probably have to bring it to the local nerd herd. 


Kinja'd!!! TheRealBicycleBuck > 415s30 W123TSXWaggoIIIIIIo ( •_•))°)
04/23/2020 at 00:16

Kinja'd!!!0

I misunderstood. I thought you were trying to connect to the box remotely. Does your VPN software allow more than one computer on your account at a time? Have you tried disabling the VPN and verifying that the computer can connect to the internet without it?


Kinja'd!!! 415s30 W123TSXWaggoIIIIIIo ( •_•))°) > TheRealBicycleBuck
04/23/2020 at 00:23

Kinja'd!!!0

Well I don’t know what I’m talking about haha, I think I get up to three computers and my cell phone with my service. I think I disabled it, I will try it out again tomorrow. I think no matter what I did the computer says it’s connected, VPN said connected when that was on. I plug the cord into it directly, no wifi. Before I typed in the DNS addresses in it didn’t do shit and now it seems to load some sites and not others, with those I get the google dinosaur cannot connect. I can’t go online with the computer I have trouble with so I will have to chat with my phone I guess. I liked it the time I had some issue and a guy with Microsoft  hijacked my computer and fixed it. 


Kinja'd!!! jminer > TheRealBicycleBuck
04/23/2020 at 00:28

Kinja'd!!!1

Yeah the linux verbages for the CPU Architecture has always been strange and a bit convoluted.

There are even the main to forks of Debian based and Red Hat based - apt-get V Yum.

I’ve been a Windows admin who always did a tiny bit of linux admin work but with the big shift to the cloud I need to brush up more on linux as they’re quickly demolishing Windows in this next gen of architecture. 


Kinja'd!!! facw > TheRealBicycleBuck
04/23/2020 at 00:33

Kinja'd!!!1

Yeah, AMD64 is the same as x86-64/x86_64 (and for added confusion, Microsoft’s first consumerish Windows for 64-bit was Windows XP x64, though obviously that x64 didn’t catch on )   . Probably aren’t many 32-bit x86 machines running around these days (though manufacturers stuck with 32-bit OSes  way longer than they should have).


Kinja'd!!! facw > TheRealBicycleBuck
04/23/2020 at 00:34

Kinja'd!!!0

Yeah, the process is a bit more complicated than it needs to be, but if you are running multiple machines, especially headless ones, it makes it easier to check in.


Kinja'd!!! If only EssExTee could be so grossly incandescent > TheRealBicycleBuck
04/23/2020 at 00:35

Kinja'd!!!1

What flavor linux are you running?


Kinja'd!!! TheRealBicycleBuck > If only EssExTee could be so grossly incandescent
04/23/2020 at 00:38

Kinja'd!!!1

Ubuntu


Kinja'd!!! TheRealBicycleBuck > facw
04/23/2020 at 00:41

Kinja'd!!!0

I’m looking for a way to run FAHControl on my laptop without FAHClient so I can check in on the linux boxes without having to connect to one of them via console.


Kinja'd!!! TheRealBicycleBuck > 415s30 W123TSXWaggoIIIIIIo ( •_•))°)
04/23/2020 at 00:45

Kinja'd!!!1

Some VPN software requires you to go through their Domain Name Server (DNS) so they can make sure you’re connecting to the VPN. If you aren’t doing any surfing that requires a private connection, try setting that other box to a public DNS like google’s. If it connects to the web after the DNS change, then you know the source of the problem.

https://developers.google.com/speed/public-dns


Kinja'd!!! facw > TheRealBicycleBuck
04/23/2020 at 09:25

Kinja'd!!!0

I’m surprised it doesn’t work to just run it with the local client removed?


Kinja'd!!! TheRealBicycleBuck > facw
04/23/2020 at 09:32

Kinja'd!!!0

I guess I could do the full install, then remove FAHClient. It’s my work box, so I always hesitate before adding more software that isn’t part of the company approved list.


Kinja'd!!! facw > TheRealBicycleBuck
04/23/2020 at 09:36

Kinja'd!!!0

If you select manual startup during install that keeps it from ever running the FAHClient thing (unless you do so on your own).

Alternatively, I bet the executables are portable you probably can just copy FAHControl to the new machine.


Kinja'd!!! TheRealBicycleBuck > facw
04/23/2020 at 09:45

Kinja'd!!!1

A portable version sounds nifty.... Even better, there appears to be an iOS app for monitoring! http://fahmm.net/