Hi @zynthiners!
What do you think of having terminal access to your zynthian from the webconf?
Simply update and enjoy !!
Hi @zynthiners!
What do you think of having terminal access to your zynthian from the webconf?
Simply update and enjoy !!
Regarding security âŚ
Itâs clear that this doesnât improve security for sure ⌠but the password is still needed.
Perhaps we should think about HTTPS with a self-signed certificate âŚ
HTTPS would be good for sure. Passwords over plain HTTP is such a glaring violation of what people are taught that even when it doesnât actually matter (such as in your household network) and you perfectly well know it doesnât, it still feels dirty and wrong
It might be handy, but I think Iâd prefer web access to the gui.
I use vnc âŚ
Well, I use putty or mobixterm for console but that doesnât mean I wouldnât like it built into the web interfaceâŚ
Changing to HTTPS is almost trivial. The problem is that we have to use a self-signed certificate, what makes every browser to display red-alert screens, adding security exceptions, etcâŚ
Regards,
Yup. Itâs more really annoying that browsers make using self-signed certificates look (much) worse than no encryption at all. OTOH certbot should make getting and automatically refreshing a free, trusted certifate relatively easy: https://certbot.eff.org/lets-encrypt/debianbuster-apache
Not speaking out of experience with cerbot though.
Hi @pmatilai!
Letsencrypt (certbot) or any other trusted CA canât sign certificates for âlocalâ names. Itâs a feature of the system and it canât be in other way. I would like that browsers omit the âred alertâ screens and simply ask for adding a security exception when itâs for a â.localâ name, but i donât think this happen in the short term
Anyway, i just enabled the HTTPS on webconf, and added some lines for generating a self-signed certificate on every zynthian. Simply update and and point your browser to:
Please, note that the unencrypted interface is still available on port 80 and you have to explicitly point your browser to the âhttps://â for using the encrypted version.
Enjoy!
I almost love it! It is nice and responsive on a RPi3 connected to same network router (laptop on wifi). I canât test with the RPi4 because it is busy benchmarking⌠The reason I donât give this full marks is because the terminal spans below the height of my browser window so I have to scroll to see the bottom where I am typing. I think that needs resolving. Also if you logout, e.g. ctrl+d you canât get back in which is rather frustrating.
HTTPS isnât so good for me. The display goes awry:
Reload! Ctrl-F5
It should fit any display size. Could you send the browserâs console log?
Why did you that? I canât see a use case for this⌠anyway, i will try yo fix it!
Regards!
Oh, right. I must admit I was only thinking about my own case here: my home network is a private subdomain under a public domain, which is a case where Letâs Encrypt would work AIUI. But of course private domains with local DNS and all likely isnât the most common scenario
Thanks a lot for the HTTPS option!
Still see same screen corruption.
It initially displays within the browserâs window but as I add content to the terminal its vertical height increases. Browser console output is empty whilst the screen is growing. I get the following when it first opens but no more web browser console output:
resize: 23.68 9.83025 847 1170 34 118
If I type reset
into the console and it returns to normal size that fits the window. I have to create content, e.g. many ls
commands that cause scrolling for several lines before the console size starts to increase. This is with Chrome on Windows.
Someone will always do something you think odd. It has been a constant conversation throughout my career:
Call it force of habit. Call it inquisitiveness. Call it an attempt to break it before someone else (less tolerant) finds the issue. I am here to find work for you⌠.
Can we chip this into the top of the webpage �
I am also seeing a lot of unexpected line wrapping.
Beware of English accepting gifts âŚ
This problem exist on chrome only and itâs due to cache conflicts. Please, insist with CTRL-F5.
It worked for me.
Firefox works perfectly OK! Itâs chrome again ⌠iâm trying to solve it, but it seems that the error is deeply buried on some exoteric JS library. Use Firefox until twe have a solution
Regards,