Web Control

Moderators: Site Moderators, FAHC Science Team

Post Reply
ffsmith20
Posts: 9
Joined: Sat Apr 06, 2024 8:36 pm

Web Control

Post by ffsmith20 »

I have 7.6.21 loaded on a Fedora 39. Ip address of said machine is 192.168.1.5. I am trying to use web control from another pc on same network and I use http://192.168.1.5:7396 all I get is a blank webpage.

Here is my config.xml file

<config>

<!--Client Control-->
<fold-anon value="false"/>

<!--Folding Slot Configuration-->
<gpu value="false"/>

<!--slot Control-->
<power value="Full"/>

<!-- User Information -->
<user value="********"/>
<team value="**"/>
<passkey value="**********************"/>

<!-- Folding Slots-->
<slot id="0" type="CPU"/>

<!--Remote Web Access-->
<allow v='192.168.0.0/24'/>
<command-allow-no-pass v='192.168.0.0/24'/>

</config>


Not sure if I have the config file set right any help would be appreciated. I do have the port 7396 open on the nix box.
Image
bikeaddict
Posts: 210
Joined: Sun May 03, 2020 1:20 am

Re: Web Control

Post by bikeaddict »

FAHControl can be used to control remote clients if port 36330 is opened. Not sure if remote web client works.
Joe_H
Site Admin
Posts: 7936
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: Web Control

Post by Joe_H »

The v7 Web Control is not set up to work remotely like FAHControl. It can be hacked to work, someone posted on that a few years ago. But I don't recall the details beyond that it could be flaky, and can't currently find those old posts.

The v8.3 client's web based control is designed to be used this way. I haven't set it up myself, but there are others here who have.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
calxalot
Site Moderator
Posts: 1115
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Web Control

Post by calxalot »

The preferred and far more capable v7 tool is FAHControl.
But you will need python 2 or the 3rd party fork for python 3.

If you want to use the v7 web control anyway, your config.xml needs

Code: Select all

<allow v='127.0.0.1 192.168.0.0/24'/>
<deny v='0.0.0.0/0'/>
<command-allow-no-pass v='127.0.0.1'/>
<web-allow v='127.0.0.1 192.168.0.0/24'/>
calxalot
Site Moderator
Posts: 1115
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Web Control

Post by calxalot »

If you don't include 127.0.0.1, you lock out localhost access.

The command-allow-no-pass line will probably disappear from config.xml when the client re-saves it.
All options equal to their built-in default get removed.
Post Reply