Linux DosBox and the Brewer software installation Tested on Linux Debian, LMDE6, Mint 21.3 and Ubuntu 22.04 LTS .... (Debian based distributions) 1. There must be "Autoconf" package to produce scripts to automaticaly configure software source code packages: The easiest way is to use software manager from your Linux distribution and install build-essential and automake package. $ sudo apt install build-essential $ sudo apt install automake 2. the DosBox needs "Simple Direct Media Layer" - SDL, version 1.2 (here names of files are Debian packages) $ sudo apt install libsdl-net1.2-dev libsdl-sound1.2-dev libfreetype6 libfreetype6-dev 3. DosBox compilation Open Terminal in dosbox-mb6 folder: $ cd Downloads/dosbox_Linux64/dosbox-mb6 from dosbox-mb6 folder type following commands to Terminal: $ chmod +x autogen.sh $ sudo ./autogen.sh $ ./configure $ make $ sudo make install 4. Test of the DosBox successful installation: in terminal run $ dosbox 5. 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.conf, brewer.sh, create bdata folder c) edit brewer.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 [autoexec] date /s mount C /home/brewer/B199 C: cd \brew410 Setdate set brewdir=c:\brew410 gwbasic main.asc /f:10 exit d) edit Brewer starting script - brewer.sh dosbox -exit -conf ~/brewer/B199/brewer.conf e) Start the Brewer $ ./brewer.sh _______________________________________________________________________________________ Remarks 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.." 6. If Make command finish with errors, change version of C++ Check the version of the GCC C++ compiler $ g++ --version If this version is 10 or higher downgrade to 9: $ sudo apt -y install g++-9 $ sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 9 ________________________________________________________________________________________ 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