JoinFS arrives on the Raspberry Pi

Updates and announcements.
Cyberpapy13
Posts: 1
Joined: Thu Apr 16, 2020 7:32 am

Re: JoinFS arrives on the Raspberry Pi

Post by Cyberpapy13 »

Hello
I'm an old retired linux newbie and would like to test Joinfs on a raspberry
If a good simmer friend could tell me a tutorial for the installation, or help me to install on the raspberry by telling me the steps to follow in the command line, I will be very grateful to him.
Thank you for your answers
User avatar
Peter
Site Admin
Posts: 2225
Joined: Fri Sep 23, 2016 8:51 am
Contact:

Re: JoinFS arrives on the Raspberry Pi

Post by Peter »

Cyberpapy13 wrote: Fri Apr 01, 2022 7:28 am Hello
I'm an old retired linux newbie and would like to test Joinfs on a raspberry
If a good simmer friend could tell me a tutorial for the installation, or help me to install on the raspberry by telling me the steps to follow in the command line, I will be very grateful to him.
Thank you for your answers
Hi, if you download JoinFS-CONSOLE.zip from the website. Unzip it on your Raspberry Pi. Open Readme.txt, there is a website link in there which explains how to install dotnet 6.0. Once installed, just type 'dotnet ./JoinFS-CONSOLE'. That's it.

Peter
picnic
Posts: 70
Joined: Tue Apr 04, 2017 8:19 am

Re: JoinFS arrives on the Raspberry Pi

Post by picnic »

Just been trying 3.2.8 on my Pi with the --background option. This enables it to run as a service but like on the Mac there are still funny file names which I think should be folder+file. Also like the Mac Console version each invocation seems to generate a different Unique address.

The log also keeps reporting

Code: Select all

02/04/2022 10:55:34.365 - ERROR: Updating old Whazzup path. The process cannot access the file '/home/joinfs/JoinFS-CONSOLE/whazzup.txt' because it is being used by another process.
yet the file is being updated. I see myself connected in it.

If I stop and restart the service the log also shows the port is already in use, but this seems to be a spurious error as the service still manages to connect to it and clients can still join.
Cyberpapy13
Posts: 1
Joined: Thu Apr 16, 2020 7:32 am

Re: JoinFS arrives on the Raspberry Pi

Post by Cyberpapy13 »

Hello Pierre and thank you for your valuable advice.
I installed JoinFsConsole on a raspberry and it works, I see the hub I created in the list, I can connect and I see
my plane in the list of devices, however my friends do not see my hub in the list
I would also like to know in which directory of the Raspberry the wazzup file is saved?

I specify that I am on Xplane 11 installed on a PC in local network

Thank you
Last edited by Cyberpapy13 on Thu Apr 07, 2022 7:30 am, edited 1 time in total.
User avatar
Peter
Site Admin
Posts: 2225
Joined: Fri Sep 23, 2016 8:51 am
Contact:

Re: JoinFS arrives on the Raspberry Pi

Post by Peter »

picnic wrote: Sat Apr 02, 2022 10:27 am If I stop and restart the service the log also shows the port is already in use, but this seems to be a spurious error as the service still manages to connect to it and clients can still join.
How are you restarting the service? I wonder if it is not going through the proper shutdown procedure. The first time you restart it, do you see a 'shutting down' message in log-previous.txt?

Peter
User avatar
Peter
Site Admin
Posts: 2225
Joined: Fri Sep 23, 2016 8:51 am
Contact:

Re: JoinFS arrives on the Raspberry Pi

Post by Peter »

Cyberpapy13 wrote: Wed Apr 06, 2022 10:58 am Hello Pierre and thank you for your valuable advice.
I installed JoinFsConsole on a raspberry and it works, I see the hub I created in the list, I can connect and I see
my plane in the list of devices, however my friends do not see my hub in the list
I would also like to know in which directory of the Raspberry the wazzup file is saved?

I specify that I am on Xplane 11 installed on a PC in local network

Thank you
Hi,

If you are running two devices behind the same internet router then you will need to use port forwarding to set two different ports on the router. There are some details in the manual here, https://joinfs.net/manual.html

Essentially you need to use static IP addresses on the two devices and then set one instance of JoinFS to use a different port, for example 6113. On the router you the set the port forward for each port, UDP-only, to each device.

Peter
scaredmice
Posts: 0
Joined: Wed Mar 16, 2022 8:20 am

Re: JoinFS arrives on the Raspberry Pi

Post by scaredmice »

Hi!

After some sessions running the 3.1.4 version under wine, I've just checked the situation, and as a new version/compile of the JoinFS-CONSOLE is available, I've put at work with it.

I presumed the installation of the plugin would populate de CSL-related files, but it fails with an slash/backslash problem:

Code: Select all

/opt/JoinFS-CONSOLE$ dotnet JoinFS-CONSOLE.dll --installplugin --simfolder /opt/XPlane11
27/04/2022 15:33:45.196 - Starting JoinFS-CONSOLE v3.2.8
27/04/2022 15:33:45.254 - Unique address is 39373 16875
27/04/2022 15:33:45.258 - Loaded 66 hub(s)
27/04/2022 15:33:45.870 - No se puede ubicar la carpeta de complementos de X-Plane: /opt/XPlane11\Resources\plugins
27/04/2022 15:33:45.872 - Opened UDP port 6112
27/04/2022 15:33:45.872 - Start complete
27/04/2022 15:33:45.872 - Finished plugin install.
27/04/2022 15:33:45.879 - Closed UDP port 6112
And BTW, yes, I'm in Spain. So I install manually the plugin (copying the 64 folder with it to the simlator) and if I fire up the simulator now, I repeat the problem of the plugin not being enabled and if I force it the simulator crashes. Well, let's put that CSL-populated folder (symlinks to the ones in the IVAO's Altitude plugin), start the simulator and try again....Now the simulator runs and the plugin admin reports a 'JoinFS' plugin running, so:

Code: Select all

/opt/JoinFS-CONSOLE$ dotnet JoinFS-CONSOLE.dll --scan --generatecsl --simfolder /opt/XPlane11
27/04/2022 15:34:21.228 - Starting JoinFS-CONSOLE v3.2.8
27/04/2022 15:34:21.285 - Unique address is 20341 35243
27/04/2022 15:34:21.289 - Loaded 66 hub(s)
27/04/2022 15:34:21.852 - Opened UDP port 6112
27/04/2022 15:34:21.852 - Start complete
27/04/2022 15:34:22.325 - Name or service not known
27/04/2022 15:35:32.615 - Session: No conectado
27/04/2022 15:35:37.964 - Aircraft: No conectado
27/04/2022 15:35:49.426 - Shutting Down...
27/04/2022 15:35:49.431 - Closed UDP port 6112
Seems to happen nothing. Let's try again with a variation:

Code: Select all

/opt/JoinFS-CONSOLE$ dotnet JoinFS-CONSOLE.dll --nickname scaredmice --join 'DigitalThemePark' --activitycircle 600 --xplane --simfolder /opt/XPlane11 --tcas
27/04/2022 15:36:16.348 - Starting JoinFS-CONSOLE v3.2.8
27/04/2022 15:36:16.406 - Unique address is 06035 19048
27/04/2022 15:36:16.410 - Loaded 66 hub(s)
27/04/2022 15:36:16.963 - Opened UDP port 6112
27/04/2022 15:36:16.964 - Start complete
27/04/2022 15:36:16.974 - Looking for simulator (1/6)
27/04/2022 15:36:17.418 - Name or service not known
27/04/2022 15:36:17.438 - Loaded 0 models
27/04/2022 15:36:17.440 - Loaded 0 match substitutions
27/04/2022 15:36:17.442 - Loaded 0 masquerade substitutions
27/04/2022 15:36:17.443 - Loaded 0 callsign substitutions
27/04/2022 15:36:17.464 - Connected to simulator
27/04/2022 15:36:17.464 - X-Plane 11550
27/04/2022 15:36:17.466 - Loaded 0 variable set(s)
27/04/2022 15:36:17.497 - Loaded 0 models
27/04/2022 15:36:17.498 - Loaded 0 match substitutions
27/04/2022 15:36:17.498 - Loaded 0 masquerade substitutions
27/04/2022 15:36:17.498 - Loaded 0 callsign substitutions
27/04/2022 15:36:17.611 - Joined session
27/04/2022 15:36:17.618 - Added node '56876-03270-6112/180' @ '56876-03270-6112'
27/04/2022 15:36:17.679 - Added node '00032-49645-6112/3' @ '00032-49645-6112'
27/04/2022 15:36:17.680 - Connected '00032-49645-6112/3'
27/04/2022 15:36:17.745 - Connected '56876-03270-6112/180'
27/04/2022 15:36:17.755 - Listing aircraft 'ALAN-AD' from '00032-49645-6112/3' - Model 'Douglas C-47 V3 Kilroy'
27/04/2022 15:36:17.789 - Injecting aircraft 'ALAN-AD' - User '00032-49645-6112/3' - Model 'Douglas C-47 V3 Kilroy' - Sub 'Douglas C-47 V3 Kilroy'
27/04/2022 15:36:17.863 - Added node '58661-18198-6112/8' @ '58661-18198-6112'
27/04/2022 15:36:18.526 - Added node '11540-18208-6112/6' @ '11540-18208-6112'
27/04/2022 15:36:18.760 - Added node '43771-23605-6112/238' @ '43771-23605-6112'
27/04/2022 15:36:18.760 - Connected '58661-18198-6112/8'
27/04/2022 15:36:18.781 - Connected '11540-18208-6112/6'
27/04/2022 15:36:18.950 - Listing aircraft 'N836RP' from '11540-18208-6112/6' - Model 'Embraer ERJ-135 Midwest Connect'
27/04/2022 15:36:18.985 - Listing aircraft 'HOGEY1' from '58661-18198-6112/8' - Model 'Embraer ERJ-145 ExpressJet Embraer 145XR'
27/04/2022 15:36:18.994 - Connected '43771-23605-6112/238'
27/04/2022 15:36:19.020 - Listing aircraft 'JA818A' from '43771-23605-6112/238' - Model 'QualityWings 787-8 All Nippon Airways JA818A -SATCOM'
27/04/2022 15:36:19.813 - Listing aircraft 'N62890' User 'Me' - ID '1000' - Model 'FJS_Q400'
27/04/2022 15:36:19.823 - Removing aircraft 'ALAN-AD' - User '00032-49645-6112/3' - ID '1001' - Sub 'Douglas C-47 V3 Kilroy'
27/04/2022 15:36:25.402 - Starting model scan...
27/04/2022 15:36:25.402 - Unable to locate CSL folder, /opt/XPlane11\Resources\plugins\JoinFS\Resources\CSL
27/04/2022 15:36:25.402 - Scan found no models
27/04/2022 15:36:25.405 - Saved 0 models
27/04/2022 15:36:25.406 - Saved 0 match substitutions
27/04/2022 15:36:25.407 - Saved 0 masquerade substitutions
27/04/2022 15:36:25.408 - Saved 0 callsign substitutions
27/04/2022 15:38:17.488 - Removed hub 'VueloVirtual' - '09678 52872'
27/04/2022 15:38:17.489 - Removed hub 'LCA - Les Copains d'Abord' - '59844 60453'
27/04/2022 15:38:17.489 - Removed hub 'Virtual Over Italy' - '09245 06288'
27/04/2022 15:38:17.489 - Removed hub 'BackCountry-Pilot's' - '46200 54394'
27/04/2022 15:38:17.489 - Removed hub 'UK317 Flight Sim Hub' - '48685 44021'
27/04/2022 15:38:17.489 - Removed hub 'Roos Server' - '28497 27835'
27/04/2022 15:38:17.489 - Removed hub 'Bush Divers' - '50647 47052'
27/04/2022 15:38:17.489 - Removed hub 'FsFlyboys' - '60114 09924'
27/04/2022 15:38:17.489 - Removed hub 'Elite Air Taxi' - '24377 16651'
27/04/2022 15:38:17.489 - Removed hub 'FlightAdventures VPC' - '41325 03563'
27/04/2022 15:38:17.489 - Removed hub 'NFTRANS' - '20072 41452'
27/04/2022 15:38:17.489 - Removed hub 'Servidor Brasil Amigos' - '36785 23929'
27/04/2022 15:38:17.489 - Removed hub 'Neris server' - '06616 10553'
27/04/2022 15:38:17.489 - Removed hub 'Kisyus Server' - '09115 39133'
27/04/2022 15:38:17.489 - Removed hub 'AVSLV' - '02249 13025'
27/04/2022 15:38:17.489 - Removed hub 'SG Cabin Crew' - '37742 42149'
27/04/2022 15:38:17.489 - Removed hub 'NS-BSI' - '12452 39664'
27/04/2022 15:38:17.489 - Removed hub '00 Pieter EHEH' - '05534 28511'
27/04/2022 15:38:17.489 - Removed hub '!!_vGAF_24/7' - '00305 22052'
27/04/2022 15:38:17.489 - Removed hub 'BVL' - '33597 12538'
27/04/2022 15:38:17.492 - Saved 46 hub(s)
27/04/2022 15:39:57.163 - Added node '46855-51920-6112/15' @ '46855-51920-6112'
27/04/2022 15:39:57.331 - Listing aircraft 'JA51AN' from '46855-51920-6112/15' - Model '[P3Dv5] PMDG NGXu 737-881 (JA51AN, STAR ALLIANCE, ANA)'
27/04/2022 15:39:57.448 - Connected '46855-51920-6112/15'
27/04/2022 15:42:50.706 - Added node '22647-33957-6112/28' @ '22647-33957-6112'
27/04/2022 15:42:50.706 - Connected '22647-33957-6112/28'
27/04/2022 15:42:50.975 - Listing aircraft 'DA-107' from '22647-33957-6112/28' - Model 'Boeing 747-8i Asobo'
So, it seems to be running, but no CSL updating and no aircraft visible outside or anywhere, regardless the plugin found the requested session and the users (and their aircrafts) on it. Seems to me that the slash (Unix-like) and backslash (Windows a.k.a. 'I'm unique babe!') thing is the main culprit, as it precludes to scan, install or populate the presentation with other traffics.

But I've known to be wrong before...... Who knows?
picnic
Posts: 70
Joined: Tue Apr 04, 2017 8:19 am

Re: JoinFS arrives on the Raspberry Pi

Post by picnic »

I've got 3.2.11 running as a service on my Pi and for a single instance it works pretty well, minor problem where the log file shows errors updating the whazzup file. This is erroneous as the file does get updated. Error is

Code: Select all

01/05/2022 17:19:32.955 - ERROR: Updating old Whazzup path. The process cannot access the file '/home/joinfs/JoinFS-CONSOLE/whazzup.txt' because it is being used by another process.
What's the 'old Whazzup'?

I do have an issue with the JoinFS-CONSOLE part of the path as it is fixed in the server code thus you can't run 2 copies under the same user name. I wonder if we could have a --log-path ( or similar ) runtime option to get around this?
User avatar
Peter
Site Admin
Posts: 2225
Joined: Fri Sep 23, 2016 8:51 am
Contact:

Re: JoinFS arrives on the Raspberry Pi

Post by Peter »

picnic wrote: Sun May 01, 2022 5:33 pm I've got 3.2.11 running as a service on my Pi and for a single instance it works pretty well, minor problem where the log file shows errors updating the whazzup file. This is erroneous as the file does get updated. Error is

Code: Select all

01/05/2022 17:19:32.955 - ERROR: Updating old Whazzup path. The process cannot access the file '/home/joinfs/JoinFS-CONSOLE/whazzup.txt' because it is being used by another process.
What's the 'old Whazzup'?

I do have an issue with the JoinFS-CONSOLE part of the path as it is fixed in the server code thus you can't run 2 copies under the same user name. I wonder if we could have a --log-path ( or similar ) runtime option to get around this?
You can ignore that message for now. It's just trying to copy the whazzup.txt file to the exact same location. On the PC it was storing it in both the user and document folders, but the linux version seems to put everything in the current working folder. I will tidy up the error message in the next version.

Peter
ultracool
Posts: 2
Joined: Mon Sep 13, 2021 9:53 am

Re: JoinFS arrives on the Raspberry Pi

Post by ultracool »

Hello,

Can someone make a good explanation of how to install it on a Raspberry Pi ?
Post Reply