The Brewer software installation on Linux and DosBox-X Tested on Linux LMDE6, Mint 21.3 and Ubuntu 22.04 LTS dosbox-mb6 folder is not used in this installation!!! 1. Install DosBox-X from https://dosbox-x.com Manual install: $ flatpak install flathub com.dosbox_x.DOSBox-X 2. Run the DosBox-X and test successful instalation: $ flatpak run com.dosbox_x.DOSBox-X 3. Set serial port (/etc/group) -> (sudo chmod 666 /dev/ttyUSB0) $ ls -l /dev/ttyUSB0 command to set for "brewer" user permanently $ sudo adduser brewer dialout or $ sudo usermod -aG dialout brewer 6. Installation of the Brewer software. a) create a folder in your Home directory to copy the Brewer software, for example "B199" $ mkdir ~/B199 b) copy Brewer software there (/home/brewer/B199) -> brew410 and brewer-x.conf, brewer-x.sh, create bdata folder c) edit brewer-x.conf Brewer serial com port 1 , fixed port [serial] serial1=directserial realport:ttyS0 or Brewer serial com port 1 , USB-RS232 converter port serial1=directserial realport:ttyUSB0 [DosBox] (optional) title = Brewer #199 working directory default = /home/brewer/B199 [autoexec] mount C /home/brewer/B199 C: cd \brew410 Setdate set brewdir=c:\brew410 gwbasic main.asc /f:10 d) edit Brewer starting script - brewer-x.sh flatpak run com.dosbox_x.DOSBox-X -date-host-forced -conf ~/B199/brewer-x.conf e) Start the Brewer $ ./brewer-x.sh or $ flatpak run com.dosbox_x.DOSBox-X -date-host-forced -conf ~/B199/brewer-x.conf _______________________________________________________________________________________ Remarks Command Setdate in [autoexec] section of brewer.conf above can be replaced by SetOPST. This command (program SetOPST.exe) set correct date to OP_ST file (like Setdate) and also schedule name. This command is usefull when PC command is used at the end of ED.RTN to restart DosBox and when schedules must be changed automatically. Using of SetOPST: SetOPST parameter parameter is a schedule name a) SetOPST sche.skd ... write "sche" schedule to OP_ST.nnn to start automatically with main program b) SetOPST sche??.skd ... write sche01 .. sche12 schedule based on actual month c) SetOPST sche???.skd ... write sche001 .. sche366 schedule based on actual day of year ________________________________________________________________________________________ Set up SUB-Serial converters for the same COM port after computer reset 1. Plug the device (I have converter from papouch.com) 2. run the following command, on the proper device; $ udevadm info --name=/dev/ttyUSB0 --attribute-walk | grep '{serial}\|{idProduct}\|{idVendor}' udevadm starts with the device specified by the devpath and then walks up the chain of parent devices. It prints for every device found, all possible attributes in the udev rules key format. A rule to match, can be composed by the attributes of the device and the attributes from one single parent device. 3. Create a file in /etc/udev/rules.d, typically named 99-usb-serial.rules. Each converter I use has unique attribute "serial". (Producer name is Papouch.) SUBSYSTEM=="tty", ATTRS{serial}=="PPUQFPPX", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", SYMLINK+="papouch" 4. Force re-running the scripts (or reboot) $ udevadm control --reload-rules 5. Test if symbolic link exists $ ls -l /dev/papouch Then you can add more lines for another adapters in /etc/udev/rules.d/99-usb-serial.rules with SYMLINK+="your_addapter_name_1,2.." _______________________________________________________________________________________ Set up Time synchronization install NTP $timedatectl status $timedatectl set-timezone UTC $timedatectl set-ntp true edit /etc/ntp.conf for example: # You do need to talk to an NTP server or two (or three). server timer.chmi.cz $service ntp restart $ntpq -pn ________________________________________________________________________________________ Set up Samba server to share data with Windows network install Samba server -> https://www.howtoforge.com/tutorial/debian-samba-server/ Add Samba users {as root} Samba uses it's own password system so users need to be added by root. Note that the users have to exist in /etc/passwd # smbpasswd -a brewer edit /etc/samba/smb.conf #example of set up of shared folder, at the end of smb.conf [B199] path = /home/brewer/B199 browseable = yes read only = no create mask = 0775 directory mask = 0775