Mesh Central
-
@AdamF said in Mesh Central:
I have the agent running on 2 Pi's The 4 GB version of the Pi. The screen lag is incredibly SLOW. (running Raspian)
Installing an agent on my windows laptop (8GB ram) is incredibly responsive and quick. Are there some tweaks to run on the Pis to improve the screen lag for remote viewing?It was 100% Pi related as suspected. Here's what I did to speed things up. (found on https://forums.raspberrypi.com/viewtopic.php?p=1983061&sid=eaf6504ffd4e15374cbd86907d954c67#p1983061)
in /boot/config.txt
uncomment this line:
hdmi_force_hotplug=1commented out these lines:
#dtoverlay=vc4-kms-v3d
#max_framebuffers=2Then the resolution was really low despite the VNC resolution set in raspi-config, so after setting the above and rebooting I then set the 'display options' resolution in raspi-config to be the same as the VNC resolution.
In my case I'm using 1920x1080, so that modified my config.txt to have these lines:
hdmi_group=2
hdmi_mode=82 -
@AdamF said in Mesh Central:
I have the agent running on 2 Pi's The 4 GB version of the Pi. The screen lag is incredibly SLOW. (running Raspian)
Installing an agent on my windows laptop (8GB ram) is incredibly responsive and quick. Are there some tweaks to run on the Pis to improve the screen lag for remote viewing?RP is pretty slow on that. The screen rendering on Linux for remoting isn't as robust.
4GB 32bit is the fastest option.
-
Make sure to update firmware.
-
This tool set is amazing. The branding and customization options are really nice. I want to setup 2fa for ALL users of the system. I want to force the users to enable 2fa. I put this in the config.json file, but it is still not prompting/forcing users to setup 2fa. Is anyone else using this?
"passwordRequirements": { "min": 8, "max": 128, "upper": 1, "lower": 1, "numeric": 1, "nonalpha": 1, "reset": 90, "force2factor": true, "_skip2factor": "127.0.0.1,192.168.2.0/24", "oldPasswordBan": 5, "banCommonPasswords": false, "twoFactorTimeout": 300 }
-
@AdamF Just looking at the syntax, have you tried using 1 and 0 instead of true / false?
-
@notverypunny said in Mesh Central:
@AdamF Just looking at the syntax, have you tried using 1 and 0 instead of true / false?
Good idea, but this is the direct from the manual. So I would assume that "true" is the correct value.
-
@AdamF Fair point
-
@AdamF said in Mesh Central:
@notverypunny said in Mesh Central:
@AdamF Just looking at the syntax, have you tried using 1 and 0 instead of true / false?
Good idea, but this is the direct from the manual. So I would assume that "true" is the correct value.
@Ylian posted a response to a similar issue on Reddit. Make sure the passwordrequirements section is inside the default domain section.
-
@syko24 said in Mesh Central:
@AdamF said in Mesh Central:
@notverypunny said in Mesh Central:
@AdamF Just looking at the syntax, have you tried using 1 and 0 instead of true / false?
Good idea, but this is the direct from the manual. So I would assume that "true" is the correct value.
@Ylian posted a response to a similar issue on Reddit. Make sure the passwordrequirements section is inside the default domain section.
Hmm. It is inside the domain section, and the whole config file is valid JSON. At least it is valid JSON as far as an online validator is concerned. It's either still something wrong with my config, or is there another option that I am missing to enable this?
-
@AdamF said in Mesh Central:
@syko24 said in Mesh Central:
@AdamF said in Mesh Central:
@notverypunny said in Mesh Central:
@AdamF Just looking at the syntax, have you tried using 1 and 0 instead of true / false?
Good idea, but this is the direct from the manual. So I would assume that "true" is the correct value.
@Ylian posted a response to a similar issue on Reddit. Make sure the passwordrequirements section is inside the default domain section.
Hmm. It is inside the domain section, and the whole config file is valid JSON. At least it is valid JSON as far as an online validator is concerned. It's either still something wrong with my config, or is there another option that I am missing to enable this?
Not sure what follows your passwordRequirements section, but maybe you need a comma after your last }
-
@syko24 I didn't have a closing } in one of my sections so it was ignoring some of the config. Fixed.
Thanks!