Ubuntu server FAHControl connect.

If you're new to FAH and need help getting started or you have very basic questions, start here.

Moderators: Site Moderators, FAHC Science Team

Post Reply
Scheve120
Posts: 2
Joined: Tue Mar 24, 2020 12:16 pm

Ubuntu server FAHControl connect.

Post by Scheve120 »

Hallo all.

First al this is realy awsome that i can help donating for developing cures.

Now is the question i got 2 servers and ad home 5 computers that i want to connect.
Now i have set-up 1 of my ubuntu servers and try to connect with my fahcontrol to it.

But what is the real command and where do i need to edit the connection details on the server? I have try couple things like sudo FAHControl --config web-server or
setting it to same account. Also have checkt with nano config.xml but its pretty empty accept you can define the cores your username team and password.

Thanks already for the help.

greatz
Scheve120
Joe_H
Site Admin
Posts: 7939
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: Ubuntu server FAHControl connect.

Post by Joe_H »

The configuration is done by FAHControl running as a GUI, should not need to use sudo or any options. For headless systems, some people have posted sample config.xml files to use after modifying. The format used is a restricted subset of XML, so modifying manually has to be done carefully. Done through FAHControl connecting to FAHClient there is checking done to not save an invalid command, etc., and is the normal recommended way of updating config.xml.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Scheve120
Posts: 2
Joined: Tue Mar 24, 2020 12:16 pm

Re: Ubuntu server FAHControl connect.

Post by Scheve120 »

Its ubuntu server version. The linux servers dont have any desktop ui stuf. So i am more looking for the right commands for it or a how to.
Joe_H
Site Admin
Posts: 7939
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: Ubuntu server FAHControl connect.

Post by Joe_H »

Some of the basic preset config.xml files include the entries for setting up for remote access. Once that is configured, FAHControl can be run on a Windows, Linux, or Mac system and access the servers remotely for monitoring and control.

You can also telnet into the running FAHClient process, it is accessible on port 36330 on local address 127.0.0.1. There is a rudimentary help file available on that interface, and setups can be made and saved that way.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
davidmenges
Posts: 1
Joined: Fri Apr 03, 2020 6:40 pm

Re: Ubuntu server FAHControl connect.

Post by davidmenges »

Can't seem to get past an Ubuntu 18.04 blocked port. Used gufw to open port 36330, says open for 127.0.0.1 tcp/upd in/out including v6 from anywhere. Running FAHControl as root, connection refused. Nothing special about my router, etc. Hints?
Last edited by davidmenges on Fri Apr 03, 2020 9:30 pm, edited 1 time in total.
David_Wheeler
Posts: 15
Joined: Tue Dec 29, 2009 12:53 am
Hardware configuration: CM341 Mini tower, Corsair 1000W PSU, Asus Rampage II Gene, 980X water cooled, 2xGTX460(768MB), 12GB 1600 DDR3, Patriot 256GB SSD
Location: Seattle, WA

Re: Ubuntu server FAHControl connect.

Post by David_Wheeler »

From firewall-cmd:

ports: 36330/tcp 7396/tcp


Fom FAH config:

<!-- HTTP Server -->
<allow v='127.0.0.1 192.168.4.28'/>
<!-- Remote Command Server -->
<command-allow-no-pass v='127.0.0.1 192.168.4.28'/>
<!-- Web Server -->
<web-allow v='127.0.0.1 192.168.4.28'/>

Remote connection absolutely wouldn't work until the command-allow-no-pass was added to the config file. 192.168.4.28 is the ip address of the FAHControl machine. Server is headless. Machines are on the same switch.
Image
Post Reply