WAGO Web Panel 400

I think the Certificates files that comes with the new screen is outdated.

root@LEK-WEBPANEL:/etc/ssl/certs ls /etc/ssl/certs/ca-certificates.crt
/etc/ssl/certs/ca-certificates.crt
root@LEK-WEBPANEL:/etc/ssl/certs ls -l /etc/ssl/certs/ca-certificates.crt
-rw-r--r--    1 root     root        257246 Dec  2 20:11 /etc/ssl/certs/ca-certificates.crt
root@LEK-WEBPANEL:/etc/ssl/certs cd ~
<certificates.crt https://pkgs.tailscale.com/stable/tailscale_1.80.0_arm64.tgz
Warning: Binary output can mess up your terminal. Use "--output -" to tell
Warning: curl to output it to your terminal anyway, or consider "--output
Warning: <FILE>" to save to a file.
root@LEK-WEBPANEL:~ curl -v https://github.com
* Host github.com:443 was resolved.
* IPv6: (none)
* IPv4: 140.82.121.4
*   Trying 140.82.121.4:443...
* Connected to github.com (140.82.121.4) port 443
* ALPN: curl offers http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (OUT), TLS alert, unknown CA (560):
* SSL certificate problem: unable to get local issuer certificate
* Closing connection
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
root@LEK-WEBPANEL:~ curl -v https://nrk.no
* Host nrk.no:443 was resolved.
* IPv6: 2a02:fe0:1:aa01::54d0:4c1, 2a02:fe0:1:aa01::54d0:493
* IPv4: 84.208.4.193, 84.208.4.147
*   Trying 84.208.4.193:443...
* Connected to nrk.no (84.208.4.193) port 443
* ALPN: curl offers http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (OUT), TLS alert, unknown CA (560):
* SSL certificate problem: unable to get local issuer certificate
* Closing connection
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
root@LEK-WEBPANEL:~ 

Is there a simple way to update them?

I found out what it is, curl don’t have the path to the files.
It worked after I did.

echo 'export CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt' >> ~/.profile
source ~/.profile

I did not get up a virtual keyboard when I tried to connect to a website. So I connected a keyboard. It worked :grinning: But I think it setup form German key layout

I don’t have a German keyboard and the setup is a bit different from my Norwegian keyboard.

But I think I found the place to change it

edit the file
/etc/X11/xorg.conf

Section "InputDevice"
                Identifier              "Generic Keyboard"
                Driver                  "keyboard"
                Option                  "CoreKeyboard"
                Option                  "XkbModel"                      "pc105"
#               Option                  "XkbLayout"             "de"
                Option                  "XkbLayout"             "no"
                Option                  "XkbVariant"            "nodeadkeys"
                Option                  "XkbOptions"            "de"
EndSection

Change XkbLayout to us, no or your country

https://wiki.x.org/archive/X11R6.8.1/doc/XKB-Config2.html

After updating the path for CA certificates my install tailscale and update_tascale_certificates scripts works :sunglasses:

WAGO Linux Terminal on LEK-WEBPANEL.


root@LEK-WEBPANEL:~ tailscale
tailscale   tailscaled
root@LEK-WEBPANEL:~ tailscale login

To authenticate, visit:

        https://login.tailscale.com/a/xxxxxxxxxxx

Success.
Some peers are advertising routes but --accept-routes is false
root@LEK-WEBPANEL:~ ls
InstallTailscale.sh               tailscale_1.80.0_arm64            update_tailscale_certificates.sh
output.txt                        tailscale_1.80.0_arm64.tgz
root@LEK-WEBPANEL:~ ./update_tailscale_certificates.sh
Detected Tailscale DNS Name: lek-webpanel.taile222f.ts.net
No existing certificate found, generating new one.
Wrote public cert to lek-webpanel.taile222f.ts.net.crt
Wrote private key to lek-webpanel.taile222f.ts.net.key
Creating PEM file...
Creating symlink for lighttpd PEM file...
Created symlink for CRT file.
Created symlink for PEM file.
Symlinks created and verified:
lrwxrwxrwx    1 root     root            58 Feb  8 02:45 /etc/certificates/lek-webpanel.taile222f.ts.net.crt -> /var/lib/tailscale/certs/lek-webpanel.taile222f.ts.net.crt
lrwxrwxrwx    1 root     root            58 Feb  8 02:45 /etc/certificates/keys/lek-webpanel.taile222f.ts.net.pem -> /var/lib/tailscale/certs/lek-webpanel.taile222f.ts.net.pem
Reloading lighttpd server...
[ INFO  ] lighttpd: reload
lighttpd: stopping
Duplicate array-key ''
lighttpd: starting
[ INFO  ] lighttpd: reload done
Certificate update completed successfully!
root@LEK-WEBPANEL:~
1 Like

I tested on the device now. I got æøå and norwgian layout. but @ (alt-gr+2) did not work :frowning: when I change to us layout I can get @ with (shift-2)

Virtual Keyboard Not Always Appearing

The virtual keyboard does not consistently appear when I need to type in input fields. Sometimes it pops up, but other times it does not. I haven’t found a way to manually force it to appear.

Is there a setting or workaround to make the virtual keyboard always show when an input field is selected?
See attached images for reference.

Address Bar Visibility and Saving URLs

I would like an option to show the address bar in the panel’s browser, allowing me to enter and save URLs directly.

Currently, entering long URLs via WBM is cumbersome.
If there’s an option to toggle the address bar on/off, that would be very helpful.

Does anyone know if this is possible through settings or a configuration file?

Thanks in advance for any suggestions!

1 Like

It looks like the default url for the webpanel is located on /etc/specific/plcselect.conf


statemonitor=enabled
reconnect_interval=10
v2updatecheck_interval=120
plc_selected=3
v2_ident=webvisu.htm
v3_ident=WebVisuV3.bin
url00=https://127.0.0.1/wbm/index.html
txt00=WBM
vkb00=enabled
mon00=0
mic00=0
url01=https://127.0.0.1/plclist/plclist.html
txt01=Browser Favorites
vkb01=enabled
mon01=0
mic01=0
url02=
txt02=
vkb02=enabled
mon02=1
mic02=0

I added more sites inn the file. Much faster than using the WBM

1 Like