Unfortunately, in Hungarian there is no substitute for accents, and at least half of the names certainly have accents, and if we take the case of first and last names together, it is almost rare that neither has accents. In usernames they understand that there can be no accents and certain special characters, but they are sensitive to their names.
To be on topic, Chrome and Edge have no problem with wpad auotproxy detection, but Firefox always wants to start with http by default, it won’t switch to https unless I manually type it, what is the reason? Only https mode setting mode in defprof would be transferred? I’ll get an answer to this tomorrow, because testing on the 100 mbit test network is a bit time consuming.
Sophomorix (the piece of software that is responsible for the management of the accounts) is aware of tons of special characters, but of course there is always a first for a specific character.
There is a function recode_utf8_to_ascii in SophomorixBase.pm where all the special characters are encoded as ASCII - and your Hungarian letters are missing here. If you are comfortable with hacking the script, you can try your luck for a quick workaround.
Ideally, you would provide a list of unrecognised characters and their ASCII replacements for the developer (@jeffbeck)
make sure the File you upload in WebUI is coded correctly.
My Advice: Open it in LibreOffice Calc (not Excel) and „save as“ Choose .csv and tick the „edit Filter Settings“ Box and then choose
No Textmarker
Semikola as seperator
and most importaint: choose UTF8 in Top.
The File you saved that way: upload it. Make sure it replaces the whole File bevor (maybe move it away it bevor).
sophomorix can handly special Characters (as you see with the Students): but it can not handle a mixture of Codepages in one File.
So best use the Calc generated File to replace the one bevore (in /etc/linuxmuster/sophomorix/default-school/ ).
Look at the Codingsettings for the Files in the school.conf in the same Folder.
Usually it is set to „auto“ which produces the Mentioned Error when it hits codingmixtures.
About the Workstation Names:
you most likely forgot to place a
IMAGENAME.reg
File in the
/srv/linbo/images/IMAGENAME/
Directory.
The .reg Files are in /srv/linbo/examples/
Dont forget to fix the Domainname in that File.
Thank you, I always use LO Calc to create csv, because Excel doesn’t really handle utf-8 encoding normally, I tried it this way, the students and teachers csv files are set up the same, one works, the other doesn’t, I don’t know where the error is?
Yes I found the Linbo error, meanwhile I found it myself, and how to activate the windows logon.bat, I do, I want the Home drive to appear on everyone’s desktop, but I type it in vain either in webui or manually on the server looking for the file, nothing happens.
Update;
For logon.bat I figured out which one of the many to edit, or it only works with powershell (but only with normal users, not with global-admin). The https only mode mentioned above also passes in Firefox with defprof, so I consider the proxy issue closed (I even created a guest proxy ncsa for unregistered clients, if they really need a password they can connect to the proxy filtered net). So the only thing left is csv decoding issue, should I open a new thread for that?
If I set the encoding in school.conf to fixed utf8 and encoding_force to true, it accepts accented characters in names, can create them afterwards, I can log in with the created user in webui and the name is displayed correctly, but I can only test it remotely so far, because I haven’t installed a virtual client yet, only a physical one in the school on the test network.
Could this forced setup cause a problem later on?
I have some more questions about Sophomorix, I don’t know if it fits here or should I open a new thread?
I would be interested to know how to delete a user or class properly if it is no longer needed?
How can I set a unique quota for a specific user?
How can I move students up one class and delete graduates at the same time (here the latter would be the first step and then everyone below them could be moved up one class)? Let’s say that the latter will only be relevant for the first time in a year, but it doesn’t hurt to be prepared, and while the system is not productive I can try it out on the test system.
„One question — one thread“ makes it better readable
For quota:
It all depends on the students.csv. Let’s say there’s a class called „6x“ with students in it – then this class will be created. When this class does not exist any more next year you can check the output of sophomorix-class -i
But even if there’s no one left in this class, it won’t be deleted automatically. You can check the option --delete-all-empty-classes or --delete-all-teacheronly-classes or even better use sophomorix-class --help to see all possible options.
This is part of the admin tasks that you have to do at the beginning of each year … if you upload a newstudents.csv to the server and Jakab Gibsz is now in the class 7x instead of 6x sophomorix will notice it.
You can run these commands: sophomorix-check sophomorix-update sophomorix-add sophomorix-kill
and you are done.
Our graduates are in class 13. They finished school this month and they will be „tolerated“ by the system after the next sophomorix-update for another 180 days. The new „class“ ist called „attic“ for them. After this „toleration“ of 180 days these users can be deleted completely (-kill-switch)
Thank you, that was very helpful again , I’ve gone well I’ll include notes, so if well at the beginning of the year if I edit the existing students. csv at the beginning of the year by deleting the seniors, changing the class of the stayers and adding the freshman year, then the sophomorix commands issued in the right order will do the job, update will put the seniors in the attic and move the stayers up one class, add will add the starters, finally kill will delete the seniors, after a certain grace period.
However, for the Quta issue, there is no lehrer.txt anywhere on the server where you can set the individual quotes. If it doesn’t exist, how can I create it, if it can be generated, and if it has to be created manually, what should this file look like?
Sorry for jumping between topics again , my Linbo Sync with the test image is not working because my local administrator appdata folder can’t find some files for office16 folder it says vanished, how can I eliminate this then?
Ok – yesterday I was in a hurry …
There are two possible ways … the first one is via ssh: /etc/linuxmuster/sophomorix/default-school/school.conf
in the section role.teacher (set the default values here).
But the much easier way is here (login as global-admin): https://10.0.0.1/view/lmn/quotas
You can also set individual quota for single users there.
Yes, globally I can change the quotes uniformly for all teachers, but the question is how can I set individual quotes for some teachers individually? I don’t see such an option on webui, only global quota editing.
By the way, where do you recruit your service staff (administration, secretariat, finance, library, foundation, psychologist, doctor, janitor, porter, technician, etc.)? In an average school it means at least a dozen users, in larger ones more.
It would be nice to have at least one other category. Is it possible to create such a category manually?
Thank you, that’s a good idea, by the way, how to manually set a specific username for extrastudents users (not automatically generated), I only found out which column in the csv is the username for teachers and students.csv, unfortunately not yet for extrastudents.
Thank you Holger, it works, now I have tried practically everything on the test network except multi-boot Linbo cloning. Maybe I will do another test project to see how the network shares work. In the productive phase I’ll do some network ftp scanning (with vsftpd), and if I have enough storage space I’ll set up a Proxmox PBS server. Once that’s done, I can add extras like setting up Veyon or Edulution.io.
Because on the one hand, at least half of our printers/scanners only support samba 1.0, where ftp is the only option, and on the other hand, it is more convenient for users to scan to their network folder, which they can then find anywhere in the domain, not just on a single client desktop for e.g., like in samba 4 sharing (which is only supported by the newer scanners).
With Linbo, I’ve run into vmd machines (we have a lot of these Lenovo laptops, which can’t even be turned off with it fixed in the bios) that fail to synchronize the efi partition, because there is no vmd support in the Linbo kernel. In 7.3 there might be, but until it’s stable, I’d be reluctant to migrate to it. Can Ospi pxe be a solution for these machines, if so how does it work?
Or is there a kernel patch for Linbo 4.2?
I’ve looked at the Linbo 4.2 source files, if I change config_vmd=m in the kernel-stable config file to y and then compile the package with the correct kernel version (6.12.33), it would load the vmd module by default at boot, not just when needed, which seems to be too late for vmd drivers for the efi partition, or is this a misconception?