#gnu-linux

linuxmao.org@diaspora-fr.org

Éditorial de décembre 2021

#art #art_libre #artiste #artlibre #cc-by-sa #chanson #copyleft #creative-commons #creative_commons #creativecommons #culture #culture-libre #culture_libre #culturelibre #francophone #français #gnu #gnu-linux #gnulinux #gpl #informatique-musicale #informatique_musicale #informatiquemusicale #libre #libre-art #linux #linux-mao #linux_mao #linuxaudio #linuxmao #logiciel-libre #logiciel_libre #logiciellibre #mao #mao-linux #mao_linux #maolinux #musicien #musiciens #musique #musique-libre #musique_libre #numerique #productionmusicale

Cher Père Noêl,

Cette année, comme j’ai été super sage, je voudrais un cadeau exceptionnel.

Oh, rassure-toi, ça ne te coûtera pas un euro. Tu n’auras, de plus, aucune peine pour le descendre par l’étroit conduit de cheminée de ma chaumière. Il pèse pourtant des tonnes mais se déplace tel une plume, sois tranquille !

Par contre tu vas avoir du mal à trouver ce présent dans les catalogues ou sur les sites de vente par correspondance. Tes adjoints ont un sacré boulot en perspective !

C’est un cadeau inédit que personne n’a jamais su se procurer, je dois te l’avouer. Il se dit même que certains auraient confié leurs âmes à des personnages peu recommandables, vraiment pas des potes à toi, en échange d’un échantillon du merveilleux présent.

D’autres, pourtant, possèdent ce cadeau dès le berceau. Cette vie est injuste et toi seul peut m’aider à acquérir ce saint Graal, objet de toutes mes quêtes, et dont, quelle malchance, je n’ai pas été gratifié à ma naissance.

Alors voilà, je passe un marché avec toi : je ne te demanderai plus jamais rien, pour le restant de mes jours je ne ferai plus appel à toi, je te l’assure, mais, s’il te plaît, offre-moi, cette année ce qui attise toutes mes convoitises, tous mes désirs, ce qui me rend parfois jaloux, ce dont l’absence m’agace et peut me déprimer .

Allez, Père Noël, je te provoquais un peu, je t’asticotais gentiment !

Rassure-toi, je sais bien que ni toi ni personne ne pourra jamais m’offrir cet absolu cadeau : le talent.

Ni Santa Klaus, ni rênes, ni traîneaux, pas plus de cheminées que de souliers, la musique ne connaît que l’apprentissage, le travail et la pratique, et puis, enfin, le plaisir.

Alors, cette année encore, je ne compte pas trop sur toi pour attiser la flamme qui nous anime, ici.

La rumeur, les on-dit, les infox, le bruit court que tu n’existerais même pas...

librazik@diaspora-fr.org

Nouveautés LibraZiK - avril 2022

#art #art_libre #artiste #artlibre #cc-by-sa #chanson #copyleft #creative-commons #creative_commons #creativecommons #culture #culture-libre #culture_libre #culturelibre #debian #francophone #français #french #gnu #gnu-linux #gnulinux #gpl #informatique-musicale #informatique_musicale #informatiquemusicale #librazik #libre #libre-art #linux #linux-mao #linux_mao #linuxaudio #linuxmao #logiciel-libre #logiciel_libre #logiciellibre #mao #mao-linux #mao_linux #maolinux #musicien #musiciens #musique #musique-libre #musique_libre #numerique #productionmusicale

Salut les LibraZiK-os.

Un billet court ici pour vous annoncer quelques nouveautés autour de LibraZiK-.3.

splash.png, mars 2021

Musiques faites avec LibraZiK-3 : Tout d'abord, quelques productions musicales faites avec LibraZiK, ce qui vous permettra de lire ce billet de blogue avec de la musique dans les oreilles. Pour commencer, un album entier fait avec une bonne vénérable LibraZiK-1 ! Il s'agit de "Le mystère du gué pucelle" par Alco Frisbass. Voir :... Lire Nouveautés LibraZiK - avril 2022

canoodle@nerdpol.ch

GNU Linux - i-war running inside GNU Linux Debian 11 via wine - run old dos games (and windo(w)s games) from wine to dosbox-x - how to compile from latest src - first problems: keyboard / some keys ":" not working

Remember Monkey Island and Tomb Raider 1? yeah… wanna play it on GNU Linux? yeeeessss!

over 1600 FREE DOS GAMES! -> https://www.dosgames.com/

and also this goody:

https://dwaves.de/2022/04/19/i-war-defiance-1997-how-to-setup-windows-7-and-windows-10-with-3d-acceleration-a-old-but-genious-scifi-space-ship-simulator-with-real-mass-drifting-inertia/

i-war: why this game is a genius space flight and fight sim

gate jump: from earth to jupiter (?)

check out the the 3rd trainings mission: docking with containers (fast) and throwing them through a ring X-D

[video width=”746″ height=”560″ mp4=”https://dwaves.de/wp-content/uploads/2022/04/i-war-pc-game-1997-independence-war-mission-docking-with-crates-and-throwing-them-through-a-ring-creativity-and-beauty-in-game-design-genious-autopilot-almost-messes-up.mp4″\]\[/video\]

… this could make for an interesting ship space soccer game… X-D (dock with the ball… and inertia throw it through the goal of the enemy X-D)

wine

[video width=”638″ height=”428″ mp4=”https://dwaves.de/wp-content/uploads/2022/04/i-war-running-inside-gnu-linux-debian-11-via-wine.mp4″\]\[/video\]

wine: what works?

  • the setup
  • nGlide setup
  • the game itself EVEN in 3DFx-Voodoo-nGlide in full screen mode 🙂 (CONGRATZ ALL INVOLVED! GREAT JOB!)

wine: what does not work?

  • in-game menus
  • instructors sound output (might be a game “can’t find cdrom drive” related issue)
  • it crashes on the end of a mission, but the progress is still saved… so simply restart the game after every mission and should be good
  • possible problems: does not detect the CD-ROM drive (even when it is mounted and files are clearly accessible)
    • possible workaround: copy the CD1 CD2 CD3 CD4 content simply into the game folder….

nice!

wine per default creates an folder called

/home/user/.wine/drive_c

which resembles the C:\ drive while installing, it will store files there.

install:

<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt update</span>
<span style="color: #00ffff;">apt install wine winetricks
</span># start the config tool<span style="color: #00ffff;">
winecfg
</span># start the config tool
# <a href="https://github.com/Winetricks/winetricks">https://github.com/Winetricks/winetricks</a><span style="color: #00ffff;">
winetricks
winetricks --optout
</span>
# mount cd image iso
<span style="color: #00ffff;">mkdir /media/user/cdrom</span>
<span style="color: #00ffff;">mount -t iso9660 -r -o loop /path/to/iwar-cd1.iso /media/user/cdrom

</span># wine setup, this will create a "prefix" "iwar"
# (aka a alias under which to store-remember the settings for this game)
<span style="color: #00ffff;">WINEPREFIX=${HOME}/games/iwar WINEARCH=win32 winecfg</span>
# in the dialogue
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg_select_windows_98se.png"><img alt="" class="alignnone size-full wp-image-25717" height="696" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg_select_windows_98se.png" width="607"></img></a>
# Applications → Windows Version → Windows 98 (hit apply)
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg-graphics-emulate-a-virtual-desktop-enabled.png"><img alt="" class="alignnone size-full wp-image-25718" height="506" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg-graphics-emulate-a-virtual-desktop-enabled.png" width="591"></img></a>
# Graphics → Emulate a virtual desktop → Desktop size: 1024x786

# not sure if this is actually needed
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg-cdrom-drive-d.png"><img alt="" class="alignnone size-full wp-image-25719" height="513" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg-cdrom-drive-d.png" width="612"></img></a>

# install game setup
<span style="color: #00ffff;">WINEPREFIX=${HOME}/iwar wine /media/user/cdrom/SETUP.EXE
</span>
<a href="https://dwaves.de/wp-content/uploads/2022/04/iwar_setup.jpg"><img alt="" class="alignnone size-full wp-image-25655" height="906" src="https://dwaves.de/wp-content/uploads/2022/04/iwar_setup.jpg" width="1219"></img></a>
# the installer should come up and just work fine
# leave it at default install path

# try to start<strong> THE GAME :)</strong>
<span style="color: #00ffff;">cd "${HOME}/iwar/drive_c/Program Files/Particle Systems/Independence War"</span>
<span style="color: #00ffff;">WINEPREFIX=${HOME}/iwar wine IWar.exe</span>

<strong><a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice1-software-rendering-mode.jpg"><img alt="" class="alignnone size-full wp-image-25720" height="522" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice1-software-rendering-mode.jpg" width="761"></img></a>
 <a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice2-software-rendering-mode.jpg"><img alt="" class="alignnone size-full wp-image-25721" height="511" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice2-software-rendering-mode.jpg" width="753"></img></a>

NICE! :) Space Pilots! ENGAGE!

<a href="https://duckduckgo.com/?q=star+trek+lower+decks&t=ffab&ia=web"><img alt="" class="alignnone wp-image-25735 size-full" height="500" src="https://dwaves.de/wp-content/uploads/2022/04/star-trek-lower-decks-marvel-at-the-stars.jpg" width="889"></img></a>

</strong><strong>the menus are still a bit glitchy but...
true space pilots are not scared by that
there are only 4 symbols:
<a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-menus-not-working-properly-yet-1.jpg"><img alt="" class="alignnone size-full wp-image-25734" height="502" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-menus-not-working-properly-yet-1.jpg" width="641"></img></a>

<a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-options-screenshot.png"><img alt="" class="alignnone size-full wp-image-25733" height="501" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-options-screenshot.png" width="636"></img></a></strong>

just4info:

i-war stored the path to the setup cdrom in the registry here…

nice 🙂 now what about full screen?

the workaround is like this:

  1. set monitor to 800×600
  2. config wine
  3. ``` WINEPREFIX=${HOME}/iwar winecfg

# create a new start.bat in the same folder as the IWar.exe
echo "IWar.exe -b -16 -800x600 -english" > "~/iwar/drive_c/Program Files/Particle Systems/Independence War/start.bat"

# start the game via wine explorer
cd "${HOME}/iwar/drive_c/Program Files/Particle Systems/Independence War"
WINEPREFIX=${HOME}/iwar wine explorer
```
4. search for the start.bat -r-click-> open & enjoy 🙂

playonlinux

it’s basically a gui for wine…

unfortunately same problem here… the game won’t detect CD change… possible workaround: copy the CD1 CD2 CD3 CD4 content simply into the game folder….

might also be interesting checking out:

https://www.playonlinux.com/en/

virtualbox.org?

while it is possible to run i-war in software rendering mode (not the smoother 3d accelerated mode that would be started with:

<span style="color: #00ffff;">"C:\Programme\Particle Systems\Independence War\IWar.exe" -b -16 -800x600 -english</span>

within a windows xp vm (set RAM to 256MBytes!)

there will probably be (never?) be proper 3DFx / nGlide / Voodoo support… https://www.virtualbox.org/ticket/7828

dosbox-x:

https://dosbox-x.com/

managed to install win 98 se… but was not able to mount any disk-image.iso (no kidding! it is a major hazzle!

and the documentation does not check out, sorry guys)

if no windoowze is needed to play the game… even BETTER! 🙂

as penguins try to win the war for independence from closed source 🙂

https://dosbox-x.com (NOT based on wine!)

  • “running Linux in an x86 or x86-64 PC … can also try running Windows games and applications using Wine.”
  • “Especially 32-bit Windows games and applications, typically work quite well, and this may be an easier and faster solution and provide better integration with your desktop environment.”
  • “16-bit or mixed 16/32-bit Windows games and applications are more problematic with Wine as modern 64-bit Linux distributions typically have the required kernel functionality for running 16-bit code (e.g., X86_16BIT and MODIFY_LDT_SYSCALL) disabled at kernel compile time.” (src)

compile instructions can be found here: https://github.com/joncampbell123/dosbox-x/blob/master/BUILD.md

https://dosbox-x.com/

https://dosbox-x.com/

<span style="color: #00ffff;">lsb_release -a</span>
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:    11
Codename:   bullseye

<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt search dosbox</span>
# installs old version
dosbox/stable<span style="color: #ff6600;"> 0.74-3-3</span> amd64
  x86 emulator with Tandy/Herc/CGA/EGA/VGA/SVGA graphics, sound and DOS

# to install latest version compile from src: <a href="https://github.com/joncampbell123/dosbox-x/">https://github.com/joncampbell123/dosbox-x/</a>
<span style="color: #00ffff;">su - root
apt update
</span>
# install requirements
<span style="color: #00ffff;">apt install automake gcc g++ make libncurses-dev nasm libsdl-net1.2-dev libsdl2-net-dev libpcap-dev libslirp-dev fluidsynth libfluidsynth-dev libavdevice58 libavformat-dev libavcodec-dev libavcodec-extra libavcodec-extra58 libswscale-dev libfreetype-dev libxkbfile-dev libxrandr-dev
</span>
# clone dosbox source to local machine
<span style="color: #00ffff;">git clone https://github.com/joncampbell123/dosbox-x.git</span>

# compile as non-root
<span style="color: #00ffff;">Ctrl+D</span> - log out root
<span style="color: #00ffff;">cd dosbox-x
./build-debug</span>
# install binaries as root
<span style="color: #00ffff;">su - root
make install</span>

# run as non-root
<span style="color: #00ffff;">Ctrl+D</span> - log out root
<span style="color: #00ffff;">dosbox-x</span>

# it is located here
<span style="color: #00ffff;">/usr/bin/dosbox-x</span>

# alternative: snapd setup
<span style="color: #00ffff;">apt install snapd
snap install core
snap install dosbox-x
</span>
snap remove dosbox-x

congratz! 🙂

first problems: keyboard / some keys “:” not working

for example with older version it was no problem typing “ö” and getting (US-KeybLayout) a “:”

to work around this problem, open a terminal type “:”, copy it to clipboard, start dosbox-x and hit Ctrl+F6 to paste it in

How to install Windows 98 SE?

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98#_installation_method_2

when the user wants to install windows 98 se

can get it from here: https://archive.org/details/win98se_201801

(but the serial is missing?)

  1. rename the iso to win98se.iso and put it into the user’s home directory
  2. create config file (also in user’s home directory):
    • <span style="color: #00ffff;">cd ~ wget <a href="https://dwaves.de/wp-content/uploads/2022/04/win98.conf_.txt">https://dwaves.de/wp-content/uploads/2022/04/win98.conf_.txt</a></span> <span style="color: #00ffff;">mv -v win98.conf_.txt win98.conf </span> 3. start it like this: - <span style="color: #00ffff;">dosbox -conf win98.conf</span>

the Ctrl+F6 hotkey comes in handy in the next steps, so simply copy and paste those instructions line by line:

# IMGMAKE hdd.img -t hd_8gig
<span style="color: #00ffff;">IMGMAKE hdd.img -t hd -size 16384 -force
IMGMOUNT C hdd.img
IMGMOUNT D win98.iso
</span># copy CD content to C: because during setup it will ask for more files from the CD
<span style="color: #00ccff;">XCOPY D:\WIN98 C:\WIN98 /I /E</span>
<span style="color: #00ffff;">IMGMOUNT A -bootcd D BOOT A:
BOOT A:</span>

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98#_installation_method_2

When the Windows installer reboots, and your back at the DOSBox-X Z:\> prompt. Close DOSBox-X and edit your win98.conf config file, and add the following lines in the [autoexec] section at the end of the file:

IMGMOUNT C hdd.img
IMGMOUNT D win98.iso
BOOT C:

hotkeys / shortcuts: Special Keys

These are the default keybindings. They can be changed using the keymapper.

Note: If you’re using a Mac and are having trouble with the function keys, you may need to set your F keys to function as function keys. You can do this by going to System Preferences > Keyboard, going to the Keyboard area, and checking the “Use all F1, F2, etc” box.

KeyAction*ALT-ENTERSwitch to full-screen (and back).ALT-PAUSE (ALT-F16 on OS X)Pause emulation.CTRL-F1Show the keymapper configuration screen,CTRL-F4Update cached information about mounted drives. Useful if you changed something on a mounted drive outside of DOSBox. Also cycles through disk images mounted using IMGMOUNT.CTRL-F5Save a screenshot (goes to capture folder).CTRL-ALT-F5Start/Stop recording of AVI video. NOTE: You may well have some problems with this, please see Recording Video for more information.CTRL-F6Start/Stop recording sound output to a wave file (goes to capture folder).CTRL-ALT-F7Start/Stop recording of OPL commands.CTRL-ALT-F8Start/Stop the recording of raw MIDI commands.CTRL-F7Decreases frameskip.CTRL-F8Increases frameskip.CTRL-F9Kill (close) DOSBox.CTRL-F10Capture/Release the mouse (if you need to use the mouse within DOSBox).CTRL-F11Decrease DOSBox cycles (slows down the emulation).CTRL-F12Increase DOSBox cycles (speeds up the emulation).ALT-F12*Unlock speed (turbo button).These default bindings are also documented in the README file accompanying the software.

Language Keys

When a keyboard layout is loaded:

CTRL+ALT+F2Switch between foreign layout and US layout.LEFT-ALT+RIGHT-SHIFTActivate dual layouts (for some keyboards, e.g. GK codepage 869 and RU codepage 808).LEFT-ALT+LEFT-SHIFTDeactivate dual layouts.For OS X you have to use additionally + [Applekey] for the same result

INS key is [Fn] + M on OS X.

For Linux you have to use additionally + [win] for the same result

src: https://www.dosbox.com/wiki/Special_Keys

creditz:

Links:

thanks for inspiration: https://darrengoossens.wordpress.com/2021/01/20/dosbox-x-on-debian-10-compiling-and-running/

https://snapcraft.io/install/dosbox-x/debian

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98

https://www.dosgames.com/game/duke-nukem-3d/ <- for the nerds that enjoyed this reckless guy

https://i-war2.com/

#linux #gnu #gnulinux #opensource #administration #sysops #wine #games #gnu-linux #game #iwar #space #simulator #spaceship

Originally posted at: https://dwaves.de/2022/04/21/gnu-linux-i-war-running-inside-gnu-linux-debian-11-via-wine-run-old-dos-games-and-windows-games-from-wine-to-dosbox-x-how-to-compile-from-latest-src-first-problems-keyboard-some-keys/

canoodle@nerdpol.ch

GNU Linux - i-war running inside GNU Linux Debian 11 via wine - run old dos games (and windo(w)s games) from wine to dosbox-x - how to compile from latest src - first problems: keyboard / some keys ":" not working

Remember Monkey Island and Tomb Raider 1? yeah… wanna play it on GNU Linux? yeeeessss!

over 1600 FREE DOS GAMES! -> https://www.dosgames.com/

and also this goody:

https://dwaves.de/2022/04/19/i-war-defiance-1997-how-to-setup-windows-7-and-windows-10-with-3d-acceleration-a-old-but-genious-scifi-space-ship-simulator-with-real-mass-drifting-inertia/

i-war: why this game is a genius space flight and fight sim

gate jump: from earth to jupiter (?)

check out the the 3rd trainings mission: docking with containers (fast) and throwing them through a ring X-D

[video width=”746″ height=”560″ mp4=”https://dwaves.de/wp-content/uploads/2022/04/i-war-pc-game-1997-independence-war-mission-docking-with-crates-and-throwing-them-through-a-ring-creativity-and-beauty-in-game-design-genious-autopilot-almost-messes-up.mp4″\]\[/video\]

… this could make for an interesting ship space soccer game… X-D (dock with the ball… and inertia throw it through the goal of the enemy X-D)

wine

[video width=”638″ height=”428″ mp4=”https://dwaves.de/wp-content/uploads/2022/04/i-war-running-inside-gnu-linux-debian-11-via-wine.mp4″\]\[/video\]

nice!

although this is the software rendering mode… happy that 1) sound works 2) 3D graphics work 🙂

(the menus don’t work but that’s not a biggie for i-war professionals X-D)

it’s a a bit of fiddling & getting used to, but actually got iwar setup working and the game also… what does not (currently) work is changing CDs (game won’t detect CD change, even when it clearly changed).

wine per default creates an folder called

/home/user/.wine/drive_c

which resembles the C:\ drive while installing, it will store files there.

install:

<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt update</span>
<span style="color: #00ffff;">apt install wine winetricks
</span># start the config tool<span style="color: #00ffff;">
winecfg
</span># start the config tool
# <a href="https://github.com/Winetricks/winetricks">https://github.com/Winetricks/winetricks</a><span style="color: #00ffff;">
winetricks
winetricks --optout
</span>
# mount cd image iso
<span style="color: #00ffff;">mkdir /media/user/cdrom</span>
<span style="color: #00ffff;">mount -t iso9660 -r -o loop /path/to/iwar-cd1.iso /media/user/cdrom

</span># wine setup, this will create a "prefix" "iwar"
# (aka a alias under which to store-remember the settings for this game)
<span style="color: #00ffff;">WINEPREFIX=${HOME}/games/iwar WINEARCH=win32 winecfg</span>
# in the dialogue
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg_select_windows_98se.png"><img alt="" class="alignnone size-full wp-image-25717" height="696" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg_select_windows_98se.png" width="607"></img></a>
# Applications → Windows Version → Windows 98 (hit apply)
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg-graphics-emulate-a-virtual-desktop-enabled.png"><img alt="" class="alignnone size-full wp-image-25718" height="506" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg-graphics-emulate-a-virtual-desktop-enabled.png" width="591"></img></a>
# Graphics → Emulate a virtual desktop → Desktop size: 1024x786

# not sure if this is actually needed
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg-cdrom-drive-d.png"><img alt="" class="alignnone size-full wp-image-25719" height="513" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg-cdrom-drive-d.png" width="612"></img></a>

# install game setup
<span style="color: #00ffff;">WINEPREFIX=${HOME}/iwar wine /media/user/cdrom/SETUP.EXE
</span>
<a href="https://dwaves.de/wp-content/uploads/2022/04/iwar_setup.jpg"><img alt="" class="alignnone size-full wp-image-25655" height="906" src="https://dwaves.de/wp-content/uploads/2022/04/iwar_setup.jpg" width="1219"></img></a>
# the installer should come up and just work fine
# leave it at default install path

# try to start<strong> THE GAME :)</strong>
<span style="color: #00ffff;">cd "${HOME}/iwar/drive_c/Program Files/Particle Systems/Independence War"</span>
<span style="color: #00ffff;">WINEPREFIX=${HOME}/iwar wine IWar.exe</span>

<strong><a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice1-software-rendering-mode.jpg"><img alt="" class="alignnone size-full wp-image-25720" height="522" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice1-software-rendering-mode.jpg" width="761"></img></a>
 <a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice2-software-rendering-mode.jpg"><img alt="" class="alignnone size-full wp-image-25721" height="511" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice2-software-rendering-mode.jpg" width="753"></img></a>

NICE! :) Space Pilots! ENGAGE!

<a href="https://duckduckgo.com/?q=star+trek+lower+decks&t=ffab&ia=web"><img alt="" class="alignnone wp-image-25735 size-full" height="500" src="https://dwaves.de/wp-content/uploads/2022/04/star-trek-lower-decks-marvel-at-the-stars.jpg" width="889"></img></a>

</strong><strong>the menus are still a bit glitchy but...
true space pilots are not scared by that
there are only 4 symbols:
<a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-menus-not-working-properly-yet-1.jpg"><img alt="" class="alignnone size-full wp-image-25734" height="502" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-menus-not-working-properly-yet-1.jpg" width="641"></img></a>

<a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-options-screenshot.png"><img alt="" class="alignnone size-full wp-image-25733" height="501" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-options-screenshot.png" width="636"></img></a></strong>

just4info:

i-war stored the path to the setup cdrom in the registry here…

nice 🙂 now what about full screen?

the workaround is like this:

  1. set monitor to 800×600
  2. config wine
  3. ``` WINEPREFIX=${HOME}/iwar winecfg

# create a new start.bat in the same folder as the IWar.exe
echo "IWar.exe -b -16 -800x600 -english" > "~/iwar/drive_c/Program Files/Particle Systems/Independence War/start.bat"

# start the game via wine explorer
cd "${HOME}/iwar/drive_c/Program Files/Particle Systems/Independence War"
WINEPREFIX=${HOME}/iwar wine explorer
```
4. search for the start.bat -r-click-> open & enjoy 🙂

playonlinux

it’s basically a gui for wine…

same problem here… the game won’t detect CD change…

might also be interesting checking out:

https://www.playonlinux.com/en/

virtualbox.org?

while it is possible to run i-war in software rendering mode (not the smoother 3d accelerated mode that would be started with:

<span style="color: #00ffff;">"C:\Programme\Particle Systems\Independence War\IWar.exe" -b -16 -800x600 -english</span>

within a windows xp vm (set RAM to 256MBytes!)

there will probably be (never?) be proper 3DFx / nGlide / Voodoo support… https://www.virtualbox.org/ticket/7828

dosbox-x:

https://dosbox-x.com/

managed to install win 98 se… but was not able to mount any disk-image.iso (no kidding! it is a major hazzle!

and the documentation does not check out, sorry guys)

if no windoowze is needed to play the game… even BETTER! 🙂

as penguins try to win the war for independence from closed source 🙂

https://dosbox-x.com (NOT based on wine!)

  • “running Linux in an x86 or x86-64 PC … can also try running Windows games and applications using Wine.”
  • “Especially 32-bit Windows games and applications, typically work quite well, and this may be an easier and faster solution and provide better integration with your desktop environment.”
  • “16-bit or mixed 16/32-bit Windows games and applications are more problematic with Wine as modern 64-bit Linux distributions typically have the required kernel functionality for running 16-bit code (e.g., X86_16BIT and MODIFY_LDT_SYSCALL) disabled at kernel compile time.” (src)

compile instructions can be found here: https://github.com/joncampbell123/dosbox-x/blob/master/BUILD.md

https://dosbox-x.com/

https://dosbox-x.com/

<span style="color: #00ffff;">lsb_release -a</span>
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:    11
Codename:   bullseye

<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt search dosbox</span>
# installs old version
dosbox/stable<span style="color: #ff6600;"> 0.74-3-3</span> amd64
  x86 emulator with Tandy/Herc/CGA/EGA/VGA/SVGA graphics, sound and DOS

# to install latest version compile from src: <a href="https://github.com/joncampbell123/dosbox-x/">https://github.com/joncampbell123/dosbox-x/</a>
<span style="color: #00ffff;">su - root
apt update
</span>
# install requirements
<span style="color: #00ffff;">apt install automake gcc g++ make libncurses-dev nasm libsdl-net1.2-dev libsdl2-net-dev libpcap-dev libslirp-dev fluidsynth libfluidsynth-dev libavdevice58 libavformat-dev libavcodec-dev libavcodec-extra libavcodec-extra58 libswscale-dev libfreetype-dev libxkbfile-dev libxrandr-dev
</span>
# clone dosbox source to local machine
<span style="color: #00ffff;">git clone https://github.com/joncampbell123/dosbox-x.git</span>

# compile as non-root
<span style="color: #00ffff;">Ctrl+D</span> - log out root
<span style="color: #00ffff;">cd dosbox-x
./build-debug</span>
# install binaries as root
<span style="color: #00ffff;">su - root
make install</span>

# run as non-root
<span style="color: #00ffff;">Ctrl+D</span> - log out root
<span style="color: #00ffff;">dosbox-x</span>

# it is located here
<span style="color: #00ffff;">/usr/bin/dosbox-x</span>

# alternative: snapd setup
<span style="color: #00ffff;">apt install snapd
snap install core
snap install dosbox-x
</span>
snap remove dosbox-x

congratz! 🙂

first problems: keyboard / some keys “:” not working

for example with older version it was no problem typing “ö” and getting (US-KeybLayout) a “:”

to work around this problem, open a terminal type “:”, copy it to clipboard, start dosbox-x and hit Ctrl+F6 to paste it in

How to install Windows 98 SE?

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98#_installation_method_2

when the user wants to install windows 98 se

can get it from here: https://archive.org/details/win98se_201801

(but the serial is missing?)

  1. rename the iso to win98se.iso and put it into the user’s home directory
  2. create config file (also in user’s home directory):
    • <span style="color: #00ffff;">cd ~ wget <a href="https://dwaves.de/wp-content/uploads/2022/04/win98.conf_.txt">https://dwaves.de/wp-content/uploads/2022/04/win98.conf_.txt</a></span> <span style="color: #00ffff;">mv -v win98.conf_.txt win98.conf </span> 3. start it like this: - <span style="color: #00ffff;">dosbox -conf win98.conf</span>

the Ctrl+F6 hotkey comes in handy in the next steps, so simply copy and paste those instructions line by line:

# IMGMAKE hdd.img -t hd_8gig
<span style="color: #00ffff;">IMGMAKE hdd.img -t hd -size 16384 -force
IMGMOUNT C hdd.img
IMGMOUNT D win98.iso
</span># copy CD content to C: because during setup it will ask for more files from the CD
<span style="color: #00ccff;">XCOPY D:\WIN98 C:\WIN98 /I /E</span>
<span style="color: #00ffff;">IMGMOUNT A -bootcd D BOOT A:
BOOT A:</span>

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98#_installation_method_2

When the Windows installer reboots, and your back at the DOSBox-X Z:\> prompt. Close DOSBox-X and edit your win98.conf config file, and add the following lines in the [autoexec] section at the end of the file:

IMGMOUNT C hdd.img
IMGMOUNT D win98.iso
BOOT C:

hotkeys / shortcuts: Special Keys

These are the default keybindings. They can be changed using the keymapper.

Note: If you’re using a Mac and are having trouble with the function keys, you may need to set your F keys to function as function keys. You can do this by going to System Preferences > Keyboard, going to the Keyboard area, and checking the “Use all F1, F2, etc” box.

KeyAction*ALT-ENTERSwitch to full-screen (and back).ALT-PAUSE (ALT-F16 on OS X)Pause emulation.CTRL-F1Show the keymapper configuration screen,CTRL-F4Update cached information about mounted drives. Useful if you changed something on a mounted drive outside of DOSBox. Also cycles through disk images mounted using IMGMOUNT.CTRL-F5Save a screenshot (goes to capture folder).CTRL-ALT-F5Start/Stop recording of AVI video. NOTE: You may well have some problems with this, please see Recording Video for more information.CTRL-F6Start/Stop recording sound output to a wave file (goes to capture folder).CTRL-ALT-F7Start/Stop recording of OPL commands.CTRL-ALT-F8Start/Stop the recording of raw MIDI commands.CTRL-F7Decreases frameskip.CTRL-F8Increases frameskip.CTRL-F9Kill (close) DOSBox.CTRL-F10Capture/Release the mouse (if you need to use the mouse within DOSBox).CTRL-F11Decrease DOSBox cycles (slows down the emulation).CTRL-F12Increase DOSBox cycles (speeds up the emulation).ALT-F12*Unlock speed (turbo button).These default bindings are also documented in the README file accompanying the software.

Language Keys

When a keyboard layout is loaded:

CTRL+ALT+F2Switch between foreign layout and US layout.LEFT-ALT+RIGHT-SHIFTActivate dual layouts (for some keyboards, e.g. GK codepage 869 and RU codepage 808).LEFT-ALT+LEFT-SHIFTDeactivate dual layouts.For OS X you have to use additionally + [Applekey] for the same result

INS key is [Fn] + M on OS X.

For Linux you have to use additionally + [win] for the same result

src: https://www.dosbox.com/wiki/Special_Keys

creditz:

Links:

thanks for inspiration: https://darrengoossens.wordpress.com/2021/01/20/dosbox-x-on-debian-10-compiling-and-running/

https://snapcraft.io/install/dosbox-x/debian

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98

https://www.dosgames.com/game/duke-nukem-3d/ <- for the nerds that enjoyed this reckless guy

https://i-war2.com/

#linux #gnu #gnulinux #opensource #administration #sysops #wine #games #gnu-linux #game #iwar #space #simulator #spaceship

Originally posted at: https://dwaves.de/2022/04/21/gnu-linux-i-war-running-inside-gnu-linux-debian-11-via-wine-run-old-dos-games-and-windows-games-from-wine-to-dosbox-x-how-to-compile-from-latest-src-first-problems-keyboard-some-keys/

canoodle@nerdpol.ch

GNU Linux - i-war running inside GNU Linux via wine - run old dos games (and windo(w)s games) from wine to dosbox-x - how to compile from latest src - first problems: keyboard / some keys ":" not working

Remember Monkey Island and Tomb Raider 1? yeah… wanna play it on GNU Linux? yeeeessss!

over 1600 FREE DOS GAMES! -> https://www.dosgames.com/

and also this goody:

https://dwaves.de/2022/04/19/i-war-defiance-1997-how-to-setup-windows-7-and-windows-10-with-3d-acceleration-a-old-but-genious-scifi-space-ship-simulator-with-real-mass-drifting-inertia/

wine

[video width=”638″ height=”428″ mp4=”https://dwaves.de/wp-content/uploads/2022/04/i-war-running-inside-gnu-linux-debian-11-via-wine.mp4″\]\[/video\]

nice!

although this is the software rendering mode… happy that 1) sound works 2) 3D graphics work 🙂

(the menus don’t work but that’s not a biggie for i-war professionals X-D)

it’s a a bit of fiddling & getting used to, but actually got iwar setup working and the game also… what does not (currently) work is changing CDs (game won’t detect CD change, even when it clearly changed).

wine per default creates an folder called

/home/user/.wine/drive_c

which resembles the C:\ drive while installing, it will store files there.

install:

<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt update</span>
<span style="color: #00ffff;">apt install wine winetricks
</span># start the config tool<span style="color: #00ffff;">
winecfg
</span># start the config tool
# <a href="https://github.com/Winetricks/winetricks">https://github.com/Winetricks/winetricks</a><span style="color: #00ffff;">
winetricks
winetricks --optout
</span>
# mount cd image iso
<span style="color: #00ffff;">mkdir /media/user/cdrom</span>
<span style="color: #00ffff;">mount -t iso9660 -r -o loop /path/to/iwar-cd1.iso /media/user/cdrom

</span># wine setup, this will create a "prefix" "iwar"
# (aka a alias under which to store-remember the settings for this game)
<span style="color: #00ffff;">WINEPREFIX=${HOME}/games/iwar WINEARCH=win32 winecfg</span>
# in the dialogue
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg_select_windows_98se.png"><img alt="" class="alignnone size-full wp-image-25717" height="696" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg_select_windows_98se.png" width="607"></img></a>
# Applications → Windows Version → Windows 98 (hit apply)
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg-graphics-emulate-a-virtual-desktop-enabled.png"><img alt="" class="alignnone size-full wp-image-25718" height="506" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg-graphics-emulate-a-virtual-desktop-enabled.png" width="591"></img></a>
# Graphics → Emulate a virtual desktop → Desktop size: 1024x786

# not sure if this is actually needed
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg-cdrom-drive-d.png"><img alt="" class="alignnone size-full wp-image-25719" height="513" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg-cdrom-drive-d.png" width="612"></img></a>

# install game setup
<span style="color: #00ffff;">WINEPREFIX=${HOME}/iwar wine /media/user/cdrom/SETUP.EXE
</span>
<a href="https://dwaves.de/wp-content/uploads/2022/04/iwar_setup.jpg"><img alt="" class="alignnone size-full wp-image-25655" height="906" src="https://dwaves.de/wp-content/uploads/2022/04/iwar_setup.jpg" width="1219"></img></a>
# the installer should come up and just work fine
# leave it at default install path

# try to start<strong> THE GAME :)</strong>
<span style="color: #00ffff;">cd "${HOME}/iwar/drive_c/Program Files/Particle Systems/Independence War"</span>
<span style="color: #00ffff;">WINEPREFIX=${HOME}/iwar wine IWar.exe</span>

<strong><a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice1-software-rendering-mode.jpg"><img alt="" class="alignnone size-full wp-image-25720" height="522" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice1-software-rendering-mode.jpg" width="761"></img></a> <a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice2-software-rendering-mode.jpg"><img alt="" class="alignnone size-full wp-image-25721" height="511" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice2-software-rendering-mode.jpg" width="753"></img></a> <a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-menus-not-working-properly-yet.jpg"><img alt="" class="alignnone size-full wp-image-25722" height="502" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-menus-not-working-properly-yet.jpg" width="641"></img></a>
NICE! :) Space Pilots! ENGAGE!</strong>

just4info:

i-war stored the path to the setup cdrom in the registry here…

playonlinux

it’s basically a gui for wine…

same problem here… the game won’t detect CD change…

might also be interesting checking out:

https://www.playonlinux.com/en/

dosbox-x:

managed to install win 98 se… but was not able to mount any disk-image.iso (no kidding! it is a major hazzle!

and the documentation does not check out, sorry guys)

if no windoowze is needed to play the game… even BETTER! 🙂

as penguins try to win the war for independence from closed source 🙂

https://dosbox-x.com (NOT based on wine!)

  • “running Linux in an x86 or x86-64 PC … can also try running Windows games and applications using Wine.”
  • “Especially 32-bit Windows games and applications, typically work quite well, and this may be an easier and faster solution and provide better integration with your desktop environment.”
  • “16-bit or mixed 16/32-bit Windows games and applications are more problematic with Wine as modern 64-bit Linux distributions typically have the required kernel functionality for running 16-bit code (e.g., X86_16BIT and MODIFY_LDT_SYSCALL) disabled at kernel compile time.” (src)

compile instructions can be found here: https://github.com/joncampbell123/dosbox-x/blob/master/BUILD.md

<span style="color: #00ffff;">lsb_release -a</span>
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:    11
Codename:   bullseye

<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt search dosbox</span>
# installs old version
dosbox/stable<span style="color: #ff6600;"> 0.74-3-3</span> amd64
  x86 emulator with Tandy/Herc/CGA/EGA/VGA/SVGA graphics, sound and DOS

# to install latest version compile from src: <a href="https://github.com/joncampbell123/dosbox-x/">https://github.com/joncampbell123/dosbox-x/</a>
<span style="color: #00ffff;">su - root
apt update
</span>
# install requirements
<span style="color: #00ffff;">apt install automake gcc g++ make libncurses-dev nasm libsdl-net1.2-dev libsdl2-net-dev libpcap-dev libslirp-dev fluidsynth libfluidsynth-dev libavdevice58 libavformat-dev libavcodec-dev libavcodec-extra libavcodec-extra58 libswscale-dev libfreetype-dev libxkbfile-dev libxrandr-dev
</span>
# clone dosbox source to local machine
<span style="color: #00ffff;">git clone https://github.com/joncampbell123/dosbox-x.git</span>

# compile as non-root
<span style="color: #00ffff;">Ctrl+D</span> - log out root
<span style="color: #00ffff;">cd dosbox-x
./build-debug</span>
# install binaries as root
<span style="color: #00ffff;">su - root
make install</span>

# run as non-root
<span style="color: #00ffff;">Ctrl+D</span> - log out root
<span style="color: #00ffff;">dosbox-x</span>

# it is located here
<span style="color: #00ffff;">/usr/bin/dosbox-x</span>

# alternative: snapd setup
<span style="color: #00ffff;">apt install snapd
snap install core
snap install dosbox-x
</span>
snap remove dosbox-x

congratz! 🙂

first problems: keyboard / some keys “:” not working

for example with older version it was no problem typing “ö” and getting (US-KeybLayout) a “:”

to work around this problem, open a terminal type “:”, copy it to clipboard, start dosbox-x and hit Ctrl+F6 to paste it in

How to install Windows 98 SE?

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98#_installation_method_2

when the user wants to install windows 98 se

can get it from here: https://archive.org/details/win98se_201801

(but the serial is missing?)

  1. rename the iso to win98se.iso and put it into the user’s home directory
  2. create config file (also in user’s home directory):
    • <span style="color: #00ffff;">cd ~ wget <a href="https://dwaves.de/wp-content/uploads/2022/04/win98.conf_.txt">https://dwaves.de/wp-content/uploads/2022/04/win98.conf_.txt</a></span> <span style="color: #00ffff;">mv -v win98.conf_.txt win98.conf </span> 3. start it like this: - <span style="color: #00ffff;">dosbox -conf win98.conf</span>

the Ctrl+F6 hotkey comes in handy in the next steps, so simply copy and paste those instructions line by line:

# IMGMAKE hdd.img -t hd_8gig
<span style="color: #00ffff;">IMGMAKE hdd.img -t hd -size 16384 -force
IMGMOUNT C hdd.img
IMGMOUNT D win98.iso
</span># copy CD content to C: because during setup it will ask for more files from the CD
<span style="color: #00ccff;">XCOPY D:\WIN98 C:\WIN98 /I /E</span>
<span style="color: #00ffff;">IMGMOUNT A -bootcd D BOOT A:
BOOT A:</span>

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98#_installation_method_2

When the Windows installer reboots, and your back at the DOSBox-X Z:\> prompt. Close DOSBox-X and edit your win98.conf config file, and add the following lines in the [autoexec] section at the end of the file:

IMGMOUNT C hdd.img
IMGMOUNT D win98.iso
BOOT C:

hotkeys / shortcuts: Special Keys

These are the default keybindings. They can be changed using the keymapper.

Note: If you’re using a Mac and are having trouble with the function keys, you may need to set your F keys to function as function keys. You can do this by going to System Preferences > Keyboard, going to the Keyboard area, and checking the “Use all F1, F2, etc” box.

KeyAction*ALT-ENTERSwitch to full-screen (and back).ALT-PAUSE (ALT-F16 on OS X)Pause emulation.CTRL-F1Show the keymapper configuration screen,CTRL-F4Update cached information about mounted drives. Useful if you changed something on a mounted drive outside of DOSBox. Also cycles through disk images mounted using IMGMOUNT.CTRL-F5Save a screenshot (goes to capture folder).CTRL-ALT-F5Start/Stop recording of AVI video. NOTE: You may well have some problems with this, please see Recording Video for more information.CTRL-F6Start/Stop recording sound output to a wave file (goes to capture folder).CTRL-ALT-F7Start/Stop recording of OPL commands.CTRL-ALT-F8Start/Stop the recording of raw MIDI commands.CTRL-F7Decreases frameskip.CTRL-F8Increases frameskip.CTRL-F9Kill (close) DOSBox.CTRL-F10Capture/Release the mouse (if you need to use the mouse within DOSBox).CTRL-F11Decrease DOSBox cycles (slows down the emulation).CTRL-F12Increase DOSBox cycles (speeds up the emulation).ALT-F12*Unlock speed (turbo button).These default bindings are also documented in the README file accompanying the software.

Language Keys

When a keyboard layout is loaded:

CTRL+ALT+F2Switch between foreign layout and US layout.LEFT-ALT+RIGHT-SHIFTActivate dual layouts (for some keyboards, e.g. GK codepage 869 and RU codepage 808).LEFT-ALT+LEFT-SHIFTDeactivate dual layouts.For OS X you have to use additionally + [Applekey] for the same result

INS key is [Fn] + M on OS X.

For Linux you have to use additionally + [win] for the same result

src: https://www.dosbox.com/wiki/Special_Keys

Links:

thanks for inspiration: https://darrengoossens.wordpress.com/2021/01/20/dosbox-x-on-debian-10-compiling-and-running/

https://snapcraft.io/install/dosbox-x/debian

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98

https://www.dosgames.com/game/duke-nukem-3d/ <- for the nerds that enjoyed this reckless guy

#linux #gnu #gnulinux #opensource #administration #sysops #wine #games #gnu-linux #game #iwar #space #simulator #spaceship

Originally posted at: https://dwaves.de/2022/04/21/gnu-linux-i-war-running-inside-gnu-linux-via-wine-run-old-dos-games-and-windows-games-from-wine-to-dosbox-x-how-to-compile-from-latest-src-first-problems-keyboard-some-keys-not-wo/

canoodle@nerdpol.ch

GNU Linux - i-war running inside GNU Linux via wine - run old dos games (and windo(w)s games) from wine to dosbox-x - how to compile from latest src - first problems: keyboard / some keys ":" not working

Remember Monkey Island and Tomb Raider 1? yeah… wanna play it on GNU Linux? yeeeessss!

over 1600 FREE DOS GAMES! -> https://www.dosgames.com/

and also this goody:

https://dwaves.de/2022/04/19/i-war-defiance-1997-how-to-setup-windows-7-and-windows-10-with-3d-acceleration-a-old-but-genious-scifi-space-ship-simulator-with-real-mass-drifting-inertia/

wine

[video width=”638″ height=”428″ mp4=”https://dwaves.de/wp-content/uploads/2022/04/i-war-running-inside-gnu-linux-debian-11-via-wine.mp4″\]\[/video\]

nice!

although this is the software rendering mode… happy that 1) sound works 2) 3D graphics work 🙂

(the menus don’t work but that’s not a biggie for i-war professionals X-D)

it’s a a bit of fiddling & getting used to, but actually got iwar setup working and the game also… what does not (currently) work is changing CDs (game won’t detect CD change, even when it clearly changed).

wine per default creates an folder called

/home/user/.wine/drive_c

which resembles the C:\ drive while installing, it will store files there.

install:

<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt update</span>
<span style="color: #00ffff;">apt install wine winetricks
</span># start the config tool<span style="color: #00ffff;">
winecfg
</span># start the config tool
# <a href="https://github.com/Winetricks/winetricks">https://github.com/Winetricks/winetricks</a><span style="color: #00ffff;">
winetricks
winetricks --optout
</span>
# mount cd image iso
<span style="color: #00ffff;">mkdir /media/user/cdrom</span>
<span style="color: #00ffff;">mount -t iso9660 -r -o loop /path/to/iwar-cd1.iso /media/user/cdrom

</span># wine setup, this will create a "prefix" "iwar"
# (aka a alias under which to store-remember the settings for this game)
<span style="color: #00ffff;">WINEPREFIX=${HOME}/games/iwar WINEARCH=win32 winecfg</span>
# in the dialogue
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg_select_windows_98se.png"><img alt="" class="alignnone size-full wp-image-25717" height="696" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg_select_windows_98se.png" width="607"></img></a>
# Applications → Windows Version → Windows 98 (hit apply)
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg-graphics-emulate-a-virtual-desktop-enabled.png"><img alt="" class="alignnone size-full wp-image-25718" height="506" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg-graphics-emulate-a-virtual-desktop-enabled.png" width="591"></img></a>
# Graphics → Emulate a virtual desktop → Desktop size: 1024x786

# not sure if this is actually needed
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg-cdrom-drive-d.png"><img alt="" class="alignnone size-full wp-image-25719" height="513" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg-cdrom-drive-d.png" width="612"></img></a>

# install game setup
<span style="color: #00ffff;">WINEPREFIX=${HOME}/iwar wine /media/user/cdrom/SETUP.EXE
</span>
<a href="https://dwaves.de/wp-content/uploads/2022/04/iwar_setup.jpg"><img alt="" class="alignnone size-full wp-image-25655" height="906" src="https://dwaves.de/wp-content/uploads/2022/04/iwar_setup.jpg" width="1219"></img></a>
# the installer should come up and just work fine
# leave it at default install path

# try to start<strong> THE GAME :)</strong>
<span style="color: #00ffff;">cd "${HOME}/iwar/drive_c/Program Files/Particle Systems/Independence War"</span>
<span style="color: #00ffff;">WINEPREFIX=${HOME}/iwar wine IWar.exe</span>

<strong><a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice1-software-rendering-mode.jpg"><img alt="" class="alignnone size-full wp-image-25720" height="522" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice1-software-rendering-mode.jpg" width="761"></img></a> <a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice2-software-rendering-mode.jpg"><img alt="" class="alignnone size-full wp-image-25721" height="511" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice2-software-rendering-mode.jpg" width="753"></img></a> <a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-menus-not-working-properly-yet.jpg"><img alt="" class="alignnone size-full wp-image-25722" height="502" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-menus-not-working-properly-yet.jpg" width="641"></img></a>
NICE! :) Space Pilots! ENGAGE!</strong>

just4info:

i-war stored the path to the setup cdrom in the registry here…

playonlinux

it’s basically a gui for wine…

same problem here… the game won’t detect CD change…

might also be interesting checking out:

https://www.playonlinux.com/en/

dosbox-x:

managed to install win 98 se… but was not able to mount any disk-image.iso (no kidding! it is a major hazzle!

and the documentation does not check out, sorry guys)

if no windoowze is needed to play the game… even BETTER! 🙂

as penguins try to win the war for independence from closed source 🙂

https://dosbox-x.com (also based on wine?)

compile instructions can be found here: https://github.com/joncampbell123/dosbox-x/blob/master/BUILD.md

<span style="color: #00ffff;">lsb_release -a</span>
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:    11
Codename:   bullseye

<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt search dosbox</span>
# installs old version
dosbox/stable<span style="color: #ff6600;"> 0.74-3-3</span> amd64
  x86 emulator with Tandy/Herc/CGA/EGA/VGA/SVGA graphics, sound and DOS

# to install latest version compile from src: <a href="https://github.com/joncampbell123/dosbox-x/">https://github.com/joncampbell123/dosbox-x/</a>
<span style="color: #00ffff;">su - root
apt update
</span>
# install requirements
<span style="color: #00ffff;">apt install automake gcc g++ make libncurses-dev nasm libsdl-net1.2-dev libsdl2-net-dev libpcap-dev libslirp-dev fluidsynth libfluidsynth-dev libavdevice58 libavformat-dev libavcodec-dev libavcodec-extra libavcodec-extra58 libswscale-dev libfreetype-dev libxkbfile-dev libxrandr-dev
</span>
# clone dosbox source to local machine
<span style="color: #00ffff;">git clone https://github.com/joncampbell123/dosbox-x.git</span>

# compile as non-root
<span style="color: #00ffff;">Ctrl+D</span> - log out root
<span style="color: #00ffff;">cd dosbox-x
./build-debug</span>
# install binaries as root
<span style="color: #00ffff;">su - root
make install</span>

# run as non-root
<span style="color: #00ffff;">Ctrl+D</span> - log out root
<span style="color: #00ffff;">dosbox-x</span>

# it is located here
<span style="color: #00ffff;">/usr/bin/dosbox-x</span>

# alternative: snapd setup
<span style="color: #00ffff;">apt install snapd
snap install core
snap install dosbox-x
</span>
snap remove dosbox-x

congratz! 🙂

first problems: keyboard / some keys “:” not working

for example with older version it was no problem typing “ö” and getting (US-KeybLayout) a “:”

to work around this problem, open a terminal type “:”, copy it to clipboard, start dosbox-x and hit Ctrl+F6 to paste it in

How to install Windows 98 SE?

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98#_installation_method_2

when the user wants to install windows 98 se

can get it from here: https://archive.org/details/win98se_201801

(but the serial is missing?)

  1. rename the iso to win98se.iso and put it into the user’s home directory
  2. create config file (also in user’s home directory):
    • <span style="color: #00ffff;">cd ~ wget <a href="https://dwaves.de/wp-content/uploads/2022/04/win98.conf_.txt">https://dwaves.de/wp-content/uploads/2022/04/win98.conf_.txt</a></span> <span style="color: #00ffff;">mv -v win98.conf_.txt win98.conf </span> 3. start it like this: - <span style="color: #00ffff;">dosbox -conf win98.conf</span>

the Ctrl+F6 hotkey comes in handy in the next steps, so simply copy and paste those instructions line by line:

# IMGMAKE hdd.img -t hd_8gig
<span style="color: #00ffff;">IMGMAKE hdd.img -t hd -size 16384 -force
IMGMOUNT C hdd.img
IMGMOUNT D win98.iso
</span># copy CD content to C: because during setup it will ask for more files from the CD
<span style="color: #00ccff;">XCOPY D:\WIN98 C:\WIN98 /I /E</span>
<span style="color: #00ffff;">IMGMOUNT A -bootcd D BOOT A:
BOOT A:</span>

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98#_installation_method_2

When the Windows installer reboots, and your back at the DOSBox-X Z:\> prompt. Close DOSBox-X and edit your win98.conf config file, and add the following lines in the [autoexec] section at the end of the file:

IMGMOUNT C hdd.img
IMGMOUNT D win98.iso
BOOT C:

hotkeys / shortcuts: Special Keys

These are the default keybindings. They can be changed using the keymapper.

Note: If you’re using a Mac and are having trouble with the function keys, you may need to set your F keys to function as function keys. You can do this by going to System Preferences > Keyboard, going to the Keyboard area, and checking the “Use all F1, F2, etc” box.

KeyAction*ALT-ENTERSwitch to full-screen (and back).ALT-PAUSE (ALT-F16 on OS X)Pause emulation.CTRL-F1Show the keymapper configuration screen,CTRL-F4Update cached information about mounted drives. Useful if you changed something on a mounted drive outside of DOSBox. Also cycles through disk images mounted using IMGMOUNT.CTRL-F5Save a screenshot (goes to capture folder).CTRL-ALT-F5Start/Stop recording of AVI video. NOTE: You may well have some problems with this, please see Recording Video for more information.CTRL-F6Start/Stop recording sound output to a wave file (goes to capture folder).CTRL-ALT-F7Start/Stop recording of OPL commands.CTRL-ALT-F8Start/Stop the recording of raw MIDI commands.CTRL-F7Decreases frameskip.CTRL-F8Increases frameskip.CTRL-F9Kill (close) DOSBox.CTRL-F10Capture/Release the mouse (if you need to use the mouse within DOSBox).CTRL-F11Decrease DOSBox cycles (slows down the emulation).CTRL-F12Increase DOSBox cycles (speeds up the emulation).ALT-F12*Unlock speed (turbo button).These default bindings are also documented in the README file accompanying the software.

Language Keys

When a keyboard layout is loaded:

CTRL+ALT+F2Switch between foreign layout and US layout.LEFT-ALT+RIGHT-SHIFTActivate dual layouts (for some keyboards, e.g. GK codepage 869 and RU codepage 808).LEFT-ALT+LEFT-SHIFTDeactivate dual layouts.For OS X you have to use additionally + [Applekey] for the same result

INS key is [Fn] + M on OS X.

For Linux you have to use additionally + [win] for the same result

src: https://www.dosbox.com/wiki/Special_Keys

Links:

thanks for inspiration: https://darrengoossens.wordpress.com/2021/01/20/dosbox-x-on-debian-10-compiling-and-running/

https://snapcraft.io/install/dosbox-x/debian

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98

https://www.dosgames.com/game/duke-nukem-3d/ <- for the nerds that enjoyed this reckless guy

#linux #gnu #gnulinux #opensource #administration #sysops #wine #games #gnu-linux #game #iwar #space #simulator #spaceship

Originally posted at: https://dwaves.de/2022/04/21/gnu-linux-i-war-running-inside-gnu-linux-via-wine-run-old-dos-games-and-windows-games-from-wine-to-dosbox-x-how-to-compile-from-latest-src-first-problems-keyboard-some-keys-not-wo/

canoodle@nerdpol.ch

GNU Linux - i-war running inside GNU Linux via wine - run old dos games (and windo(w)s games) from wine to dosbox-x - how to compile from latest src - first problems: keyboard / some keys ":" not working

Remember Monkey Island and Tomb Raider 1? yeah… wanna play it on GNU Linux? yeeeessss!

and also this goody:

https://dwaves.de/2022/04/19/i-war-defiance-1997-how-to-setup-windows-7-and-windows-10-with-3d-acceleration-a-old-but-genious-scifi-space-ship-simulator-with-real-mass-drifting-inertia/

wine

[video width=”638″ height=”428″ mp4=”https://dwaves.de/wp-content/uploads/2022/04/i-war-running-inside-gnu-linux-debian-11-via-wine.mp4″\]\[/video\]

nice!

although this is the software rendering mode… happy that 1) sound works 2) 3D graphics work 🙂

(the menus don’t work but that’s not a biggie for i-war professionals X-D)

it’s a a bit of fiddling & getting used to, but actually got iwar setup working and the game also… what does not (currently) work is changing CDs (game won’t detect CD change, even when it clearly changed).

wine per default creates an folder called

/home/user/.wine/drive_c

which resembles the C:\ drive while installing, it will store files there.

install:

<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt update</span>
<span style="color: #00ffff;">apt install wine winetricks
</span># start the config tool<span style="color: #00ffff;">
winecfg
</span># start the config tool
# <a href="https://github.com/Winetricks/winetricks">https://github.com/Winetricks/winetricks</a><span style="color: #00ffff;">
winetricks
winetricks --optout
</span>
# mount cd image iso
<span style="color: #00ffff;">mkdir /media/user/cdrom</span>
<span style="color: #00ffff;">mount -t iso9660 -r -o loop /path/to/iwar-cd1.iso /media/user/cdrom

</span># wine setup, this will create a "prefix" "iwar"
# (aka a alias under which to store-remember the settings for this game)
<span style="color: #00ffff;">WINEPREFIX=${HOME}/games/iwar WINEARCH=win32 winecfg</span>
# in the dialogue
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg_select_windows_98se.png"><img alt="" class="alignnone size-full wp-image-25717" height="696" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg_select_windows_98se.png" width="607"></img></a>
# Applications → Windows Version → Windows 98 (hit apply)
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg-graphics-emulate-a-virtual-desktop-enabled.png"><img alt="" class="alignnone size-full wp-image-25718" height="506" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg-graphics-emulate-a-virtual-desktop-enabled.png" width="591"></img></a>
# Graphics → Emulate a virtual desktop → Desktop size: 1024x786

# not sure if this is actually needed
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg-cdrom-drive-d.png"><img alt="" class="alignnone size-full wp-image-25719" height="513" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg-cdrom-drive-d.png" width="612"></img></a>

# install game setup
<span style="color: #00ffff;">WINEPREFIX=${HOME}/iwar wine /media/user/cdrom/SETUP.EXE
</span>
# the installer should come up and just work fine
# leave it at default install path

# try to start<strong> THE GAME :)</strong>
<span style="color: #00ffff;">cd "${HOME}/iwar/drive_c/Program Files/Particle Systems/Independence War"</span>
<span style="color: #00ffff;">WINEPREFIX=${HOME}/iwar wine IWar.exe</span>

<strong><a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice1-software-rendering-mode.jpg"><img alt="" class="alignnone size-full wp-image-25720" height="522" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice1-software-rendering-mode.jpg" width="761"></img></a> <a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice2-software-rendering-mode.jpg"><img alt="" class="alignnone size-full wp-image-25721" height="511" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice2-software-rendering-mode.jpg" width="753"></img></a> <a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-menus-not-working-properly-yet.jpg"><img alt="" class="alignnone size-full wp-image-25722" height="502" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-menus-not-working-properly-yet.jpg" width="641"></img></a>
NICE! :) Space Pilots! ENGAGE!</strong>

playonlinux

same problem here… the game won’t detect CD change…

might also be interesting checking out:

https://www.playonlinux.com/en/

dosbox-x:

https://dosbox-x.com (also based on wine?)

compile instructions can be found here: https://github.com/joncampbell123/dosbox-x/blob/master/BUILD.md

<span style="color: #00ffff;">lsb_release -a</span>
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:    11
Codename:   bullseye

<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt search dosbox</span>
# installs old version
dosbox/stable<span style="color: #ff6600;"> 0.74-3-3</span> amd64
  x86 emulator with Tandy/Herc/CGA/EGA/VGA/SVGA graphics, sound and DOS

# to install latest version compile from src: <a href="https://github.com/joncampbell123/dosbox-x/">https://github.com/joncampbell123/dosbox-x/</a>
<span style="color: #00ffff;">su - root
apt update
</span>
# install requirements
<span style="color: #00ffff;">apt install automake gcc g++ make libncurses-dev nasm libsdl-net1.2-dev libsdl2-net-dev libpcap-dev libslirp-dev fluidsynth libfluidsynth-dev libavdevice58 libavformat-dev libavcodec-dev libavcodec-extra libavcodec-extra58 libswscale-dev libfreetype-dev libxkbfile-dev libxrandr-dev
</span>
# clone dosbox source to local machine
<span style="color: #00ffff;">git clone https://github.com/joncampbell123/dosbox-x.git</span>

# compile as non-root
<span style="color: #00ffff;">Ctrl+D</span> - log out root
<span style="color: #00ffff;">cd dosbox-x
./build-debug</span>
# install binaries as root
<span style="color: #00ffff;">su - root
make install</span>

# run as non-root
<span style="color: #00ffff;">Ctrl+D</span> - log out root
<span style="color: #00ffff;">dosbox-x</span>

# it is located here
<span style="color: #00ffff;">/usr/bin/dosbox-x</span>

# alternative: snapd setup
<span style="color: #00ffff;">apt install snapd
snap install core
snap install dosbox-x
</span>
snap remove dosbox-x

congratz! 🙂

first problems: keyboard / some keys “:” not working

for example with older version it was no problem typing “ö” and getting (US-KeybLayout) a “:”

to work around this problem, open a terminal type “:”, copy it to clipboard, start dosbox-x and hit Ctrl+F6 to paste it in

How to install Windows 98 SE?

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98#_installation_method_2

when the user wants to install windows 98 se

can get it from here: https://archive.org/details/win98se_201801

(but the serial is missing?)

  1. rename the iso to win98se.iso and put it into the user’s home directory
  2. create config file (also in user’s home directory):
    • <span style="color: #00ffff;">cd ~ wget <a href="https://dwaves.de/wp-content/uploads/2022/04/win98.conf_.txt">https://dwaves.de/wp-content/uploads/2022/04/win98.conf_.txt</a></span> <span style="color: #00ffff;">mv -v win98.conf_.txt win98.conf </span> 3. start it like this: - <span style="color: #00ffff;">dosbox -conf win98.conf</span>

the Ctrl+F6 hotkey comes in handy in the next steps, so simply copy and paste those instructions line by line:

# IMGMAKE hdd.img -t hd_8gig
<span style="color: #00ffff;">IMGMAKE hdd.img -t hd -size 16384 -force
IMGMOUNT C hdd.img
IMGMOUNT D win98.iso
</span># copy CD content to C: because during setup it will ask for more files from the CD
<span style="color: #00ccff;">XCOPY D:\WIN98 C:\WIN98 /I /E</span>
<span style="color: #00ffff;">IMGMOUNT A -bootcd D BOOT A:
BOOT A:</span>

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98#_installation_method_2

When the Windows installer reboots, and your back at the DOSBox-X Z:\> prompt. Close DOSBox-X and edit your win98.conf config file, and add the following lines in the [autoexec] section at the end of the file:

IMGMOUNT C hdd.img
IMGMOUNT D win98.iso
BOOT C:

hotkeys / shortcuts: Special Keys

These are the default keybindings. They can be changed using the keymapper.

Note: If you’re using a Mac and are having trouble with the function keys, you may need to set your F keys to function as function keys. You can do this by going to System Preferences > Keyboard, going to the Keyboard area, and checking the “Use all F1, F2, etc” box.

KeyAction*ALT-ENTERSwitch to full-screen (and back).ALT-PAUSE (ALT-F16 on OS X)Pause emulation.CTRL-F1Show the keymapper configuration screen,CTRL-F4Update cached information about mounted drives. Useful if you changed something on a mounted drive outside of DOSBox. Also cycles through disk images mounted using IMGMOUNT.CTRL-F5Save a screenshot (goes to capture folder).CTRL-ALT-F5Start/Stop recording of AVI video. NOTE: You may well have some problems with this, please see Recording Video for more information.CTRL-F6Start/Stop recording sound output to a wave file (goes to capture folder).CTRL-ALT-F7Start/Stop recording of OPL commands.CTRL-ALT-F8Start/Stop the recording of raw MIDI commands.CTRL-F7Decreases frameskip.CTRL-F8Increases frameskip.CTRL-F9Kill (close) DOSBox.CTRL-F10Capture/Release the mouse (if you need to use the mouse within DOSBox).CTRL-F11Decrease DOSBox cycles (slows down the emulation).CTRL-F12Increase DOSBox cycles (speeds up the emulation).ALT-F12*Unlock speed (turbo button).These default bindings are also documented in the README file accompanying the software.

Language Keys

When a keyboard layout is loaded:

CTRL+ALT+F2Switch between foreign layout and US layout.LEFT-ALT+RIGHT-SHIFTActivate dual layouts (for some keyboards, e.g. GK codepage 869 and RU codepage 808).LEFT-ALT+LEFT-SHIFTDeactivate dual layouts.For OS X you have to use additionally + [Applekey] for the same result

INS key is [Fn] + M on OS X.

For Linux you have to use additionally + [win] for the same result

src: https://www.dosbox.com/wiki/Special_Keys

Links:

thanks for inspiration: https://darrengoossens.wordpress.com/2021/01/20/dosbox-x-on-debian-10-compiling-and-running/

https://snapcraft.io/install/dosbox-x/debian

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98

#linux #gnu #gnulinux #opensource #administration #sysops #wine #games #gnu-linux #game #iwar #space #simulator #spaceship

Originally posted at: https://dwaves.de/2022/04/21/gnu-linux-i-war-running-inside-gnu-linux-via-wine-run-old-dos-games-and-windows-games-from-wine-to-dosbox-x-how-to-compile-from-latest-src-first-problems-keyboard-some-keys-not-wo/

canoodle@nerdpol.ch

GNU Linux - i-war running inside GNU Linux via wine - run old dos games (and windo(w)s games) from wine to dosbox-x - how to compile from latest src - first problems: keyboard / some keys ":" not working

Remember Monkey Island and Tomb Raider 1? yeah… wanna play it on GNU Linux? yeeeessss!

and also this goody:

https://dwaves.de/2022/04/19/i-war-defiance-1997-how-to-setup-windows-7-and-windows-10-with-3d-acceleration-a-old-but-genious-scifi-space-ship-simulator-with-real-mass-drifting-inertia/

wine

[video width=”638″ height=”428″ mp4=”https://dwaves.de/wp-content/uploads/2022/04/i-war-running-inside-gnu-linux-debian-11-via-wine.mp4″\]\[/video\]

nice!

although this is the software rendering mode… happy that 1) sound works 2) 3D graphics work 🙂

(the menus don’t work but that’s not a biggie for i-war professionals X-D)

it’s a a bit of fiddling & getting used to, but actually got iwar setup working and the game also… what does not (currently) work is changing CDs (game won’t detect CD change, even when it clearly changed).

wine per default creates an folder called

/home/user/.wine/drive_c

which resembles the C:\ drive while installing, it will store files there.

install:

<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt update</span>
<span style="color: #00ffff;">apt install wine winetricks
</span># start the config tool<span style="color: #00ffff;">
winecfg
</span># start the config tool
# <a href="https://github.com/Winetricks/winetricks">https://github.com/Winetricks/winetricks</a><span style="color: #00ffff;">
winetricks
winetricks --optout
</span>
# mount cd image iso
<span style="color: #00ffff;">mkdir /media/user/cdrom</span>
<span style="color: #00ffff;">mount -t iso9660 -r -o loop /path/to/iwar-cd1.iso /media/user/cdrom

</span># start setup<span style="color: #00ffff;">
wine /media/user/cdrom/setup.exe
</span># the installer should come up
# install to C:\games\iwar
# (no filenames with spaces)

# when done, unmount<span style="color: #00ffff;">
umount /media/user/cdrom

</span># for some reason, was only able to start the game via<span style="color: #00ffff;">
wine explorer
<a href="https://dwaves.de/wp-content/uploads/2022/04/wine-explorer-starting-game.png"><img alt="" class="alignnone size-full wp-image-25707" height="542" src="https://dwaves.de/wp-content/uploads/2022/04/wine-explorer-starting-game.png" width="707"></img></a>
</span>-> navigate to C:\games\iwar\IWar.exe -> r-click - open

playonlinux

same problem here… the game won’t detect CD change…

might also be interesting checking out:

https://www.playonlinux.com/en/

dosbox-x:

https://dosbox-x.com (also based on wine?)

compile instructions can be found here: https://github.com/joncampbell123/dosbox-x/blob/master/BUILD.md

<span style="color: #00ffff;">lsb_release -a</span>
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:    11
Codename:   bullseye

<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt search dosbox</span>
# installs old version
dosbox/stable<span style="color: #ff6600;"> 0.74-3-3</span> amd64
  x86 emulator with Tandy/Herc/CGA/EGA/VGA/SVGA graphics, sound and DOS

# to install latest version compile from src: <a href="https://github.com/joncampbell123/dosbox-x/">https://github.com/joncampbell123/dosbox-x/</a>
<span style="color: #00ffff;">su - root
apt update
</span>
# install requirements
<span style="color: #00ffff;">apt install automake gcc g++ make libncurses-dev nasm libsdl-net1.2-dev libsdl2-net-dev libpcap-dev libslirp-dev fluidsynth libfluidsynth-dev libavdevice58 libavformat-dev libavcodec-dev libavcodec-extra libavcodec-extra58 libswscale-dev libfreetype-dev libxkbfile-dev libxrandr-dev
</span>
# clone dosbox source to local machine
<span style="color: #00ffff;">git clone https://github.com/joncampbell123/dosbox-x.git</span>

# compile as non-root
<span style="color: #00ffff;">Ctrl+D</span> - log out root
<span style="color: #00ffff;">cd dosbox-x
./build-debug</span>
# install binaries as root
<span style="color: #00ffff;">su - root
make install</span>

# run as non-root
<span style="color: #00ffff;">Ctrl+D</span> - log out root
<span style="color: #00ffff;">dosbox-x</span>

# it is located here
<span style="color: #00ffff;">/usr/bin/dosbox-x</span>

# alternative: snapd setup
<span style="color: #00ffff;">apt install snapd
snap install core
snap install dosbox-x
</span>
snap remove dosbox-x

congratz! 🙂

first problems: keyboard / some keys “:” not working

for example with older version it was no problem typing “ö” and getting (US-KeybLayout) a “:”

to work around this problem, open a terminal type “:”, copy it to clipboard, start dosbox-x and hit Ctrl+F6 to paste it in

How to install Windows 98 SE?

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98#_installation_method_2

when the user wants to install windows 98 se

can get it from here: https://archive.org/details/win98se_201801

(but the serial is missing?)

  1. rename the iso to win98se.iso and put it into the user’s home directory
  2. create config file (also in user’s home directory):
    • <span style="color: #00ffff;">cd ~ wget <a href="https://dwaves.de/wp-content/uploads/2022/04/win98.conf_.txt">https://dwaves.de/wp-content/uploads/2022/04/win98.conf_.txt</a></span> <span style="color: #00ffff;">mv -v win98.conf_.txt win98.conf </span> 3. start it like this: - <span style="color: #00ffff;">dosbox -conf win98.conf</span>

the Ctrl+F6 hotkey comes in handy in the next steps, so simply copy and paste those instructions line by line:

# IMGMAKE hdd.img -t hd_8gig
<span style="color: #00ffff;">IMGMAKE hdd.img -t hd -size 16384 -force
IMGMOUNT C hdd.img
IMGMOUNT D win98.iso
</span># copy CD content to C: because during setup it will ask for more files from the CD
<span style="color: #00ccff;">XCOPY D:\WIN98 C:\WIN98 /I /E</span>
<span style="color: #00ffff;">IMGMOUNT A -bootcd D BOOT A:
BOOT A:</span>

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98#_installation_method_2

When the Windows installer reboots, and your back at the DOSBox-X Z:\> prompt. Close DOSBox-X and edit your win98.conf config file, and add the following lines in the [autoexec] section at the end of the file:

IMGMOUNT C hdd.img
IMGMOUNT D win98.iso
BOOT C:

hotkeys / shortcuts: Special Keys

These are the default keybindings. They can be changed using the keymapper.

Note: If you’re using a Mac and are having trouble with the function keys, you may need to set your F keys to function as function keys. You can do this by going to System Preferences > Keyboard, going to the Keyboard area, and checking the “Use all F1, F2, etc” box.

KeyAction*ALT-ENTERSwitch to full-screen (and back).ALT-PAUSE (ALT-F16 on OS X)Pause emulation.CTRL-F1Show the keymapper configuration screen,CTRL-F4Update cached information about mounted drives. Useful if you changed something on a mounted drive outside of DOSBox. Also cycles through disk images mounted using IMGMOUNT.CTRL-F5Save a screenshot (goes to capture folder).CTRL-ALT-F5Start/Stop recording of AVI video. NOTE: You may well have some problems with this, please see Recording Video for more information.CTRL-F6Start/Stop recording sound output to a wave file (goes to capture folder).CTRL-ALT-F7Start/Stop recording of OPL commands.CTRL-ALT-F8Start/Stop the recording of raw MIDI commands.CTRL-F7Decreases frameskip.CTRL-F8Increases frameskip.CTRL-F9Kill (close) DOSBox.CTRL-F10Capture/Release the mouse (if you need to use the mouse within DOSBox).CTRL-F11Decrease DOSBox cycles (slows down the emulation).CTRL-F12Increase DOSBox cycles (speeds up the emulation).ALT-F12*Unlock speed (turbo button).These default bindings are also documented in the README file accompanying the software.

Language Keys

When a keyboard layout is loaded:

CTRL+ALT+F2Switch between foreign layout and US layout.LEFT-ALT+RIGHT-SHIFTActivate dual layouts (for some keyboards, e.g. GK codepage 869 and RU codepage 808).LEFT-ALT+LEFT-SHIFTDeactivate dual layouts.For OS X you have to use additionally + [Applekey] for the same result

INS key is [Fn] + M on OS X.

For Linux you have to use additionally + [win] for the same result

src: https://www.dosbox.com/wiki/Special_Keys

Links:

thanks for inspiration: https://darrengoossens.wordpress.com/2021/01/20/dosbox-x-on-debian-10-compiling-and-running/

https://snapcraft.io/install/dosbox-x/debian

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98

#linux #gnu #gnulinux #opensource #administration #sysops #wine #games #gnu-linux #game #iwar #space #simulator #spaceship

Originally posted at: https://dwaves.de/2022/04/21/gnu-linux-i-war-running-inside-gnu-linux-via-wine-run-old-dos-games-and-windows-games-from-wine-to-dosbox-x-how-to-compile-from-latest-src-first-problems-keyboard-some-keys-not-wo/

canoodle@nerdpol.ch

cool & tested GNU Linux software - excellent Jajuk Music Player for large libraries - re-discover your Music collection

mocplayer has become the default player:

https://dwaves.de/2020/09/05/gnu-debian-linux-install-and-autostart-play-music-from-command-line-with-mocp-mocplayer-musicplayer-music-on-console-play-music-without-gui-without-desktop-hotkeys-shortcuts-shortcuts-ho/

being written in C it is extremely resource efficient, being a terminal based GUI it is actually possible to ssh into the box that is playing the music, and change tracks “remotely”. NOICE!

BUT…. if you happen to have a large music library collection?

It seems that VLC AND MOCP are great piece of software, BUT they do not really shuffle that music.

They do not shuffle through all the songs in all sub sub sub directory with an obscure names and thus some songs won’t show up on the playlist and things get repetative fast.

Try jajuk! And rediscover your Music library!

<span style="color: #00ffff;">lsb_release -a</span>; # tesetd on
Description: Debian GNU/Linux 10 (buster)

and discover the gems in your song library that you totally missed out by constantly listening to your favourite playlist…

The user can tag a favorite song with a ⭐

https://www.jajuk.info/

  1. on newer Debian just manually download the latest release.tar.gz
  2. unpack:
    • tar fxvz jajuk-linux-11.0.tar.gz
    • start it from command line like this:
      • <span style="color: #00ffff;">./jajuk</span>
    • install mozo + java if not already:
    • <span style="color: #00ffff;">su - root; apt install <a href="https://dwaves.de/2016/10/10/gnu-linux-debian-gnome2-mate-desktop-how-to-modify-menu-menumanager-mozo/" style="color: #00ffff;">mozo</a> java-common</span> - and add an entry to “start” menu: - - should do the job

(in older Debian, this used to work it used to be part of the package libraryhttps://packages.debian.org/stretch/jajuk but was removed for whatever reason)

  1. first launch, it will ask for path to music library, let it search the media

listen to music how you want to listen to it… not how apple thinks, to sell more stuff. (R.I.P. Steve Jobs mad and angry creative genious of design and innovation)

… it automatically downloads album covers, the gui takes a little time to get used to.

being a Java based program, YES it needs some resources (CPU + RAM)

but it is worth it. (really finds all music in the deepest of directories, unlike VLC)

jajuk devices jajuk devices configure jajuk disable scan

have fun!

rock on! 🙂

related:

https://dwaves.de/2021/12/22/as-geeky-as-it-gets-floppydrives-make-music/

#linux #gnu #gnulinux #opensource #administration #sysops #music #mp3 #aac #player #gnu-linux #app #apps

Originally posted at: https://dwaves.de/2015/03/19/cool-tested-gnu-linux-software-excellent-jajuk-music-player-for-large-libraries-re-discover-your-music-collection/

canoodle@nerdpol.ch

GNU Linux Debian 11 (bullseye) - how to install virtualbox 6.1

<span style="color: #00ffff;">lsb_release -a</span>; # tested with
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:    11
Codename:   bullseye

<span style="color: #00ffff;">su - root
wget https://download.virtualbox.org/virtualbox/6.1.32/virtualbox-6.1_6.1.32-149290~Debian~bullseye_amd64.deb
</span>sha512sum 7e977fde8a2fc370d7df24f761e75eced308ea17037113db877bd799abec4a3a9b6324fcbfda2d2a67d63fbe23b822abbd36ab0f9af4fc5c352df04a97dbe550

# needs to be dpkg installed manually

<span style="color: #00ffff;">apt update && apt upgrade

apt install software-properties-common libvpx6 libqt5opengl5 libqt5x11extras5 libsdl1.2debian 

linux-headers-amd64 linux-headers-$(uname -r) gcc make

dpkg -i virtualbox-6.1_6.1.32-149290~Debian~bullseye_amd64.deb

/sbin/vboxconfig
</span>

#linux #gnu #gnulinux #opensource #administration #sysops #oracle #virtualbox #debian #gnu-linux

Originally posted at: https://dwaves.de/2022/02/24/gnu-linux-debian-11-bullseye-how-to-install-virtualbox-6-1/

canoodle@nerdpol.ch

GNU Linux is dominating Space already - "Boldly Going Running (GNU) Linux in Space - Sam Bishop (LCA 2022 Online)"

[caption id="attachment_25267" align="alignnone" width="800"] Aurora: https://www.space.com/spacex-starlink-satellites-lost-geomagnetic-storm\[/caption\] [caption id="" align="alignnone" width="890"] "The Atmosphere–Space Interactions Monitor, or ASIM for short, is a first-of-its-kind complement of instruments on the International Space Station. Dubbed the ‘space storm hunter’, ASIM measures electric events in Earth’s upper atmosphere[...]

#linux #gnu #gnulinux #opensource #administration #sysops #starlink #aurora #gnu-linux #space #universe #lenovo #iss #esa #nasa #spacex #energy

Originally posted at: https://dwaves.de/2022/02/10/gnu-linux-is-dominating-space-already-boldly-going-running-gnu-linux-in-space-sam-bishop-lca-2022-online/

canoodle@nerdpol.ch

GNU Linux is dominating Space already - "Boldly Going Running (GNU) Linux in Space - Sam Bishop (LCA 2022 Online)"

Aurora: https://www.space.com/spacex-starlink-satellites-lost-geomagnetic-storm

Aurora: https://www.space.com/spacex-starlink-satellites-lost-geomagnetic-storm

http://www.gmspazio.com/2022/01/21/new-location-same-asim/attachment/6948/

http://www.gmspazio.com/2022/01/21/new-location-same-asim/attachment/6948/

that could be a GNU Linux Lenovo floating inside the ISS:

ok it seems only partly true this lenovo notebook is clearly running Windows 7 X-D

2018: ok it seems only partly true this lenovo notebook is clearly running Windows 7 X-D

src: https://ytpak.net/watch?v=G1fOZr9v2lY

src: https://ytpak.net/watch?v=G1fOZr9v2lY

src: https://ytpak.net/watch?v=G1fOZr9v2lY

src: https://ytpak.net/watch?v=G1fOZr9v2lY

  • “(Sam Bishop) Linux is everywhere, even in space… but space is a harsh environment with many challenges.”
  • “Radiation disrupting electronics, wild temperature swings damaging circuit boards, no communications for hours, days, or even weeks at a time.”
  • “How do you build computers and software systems for such demanding conditions?”
  • “Let’s take a look at who is already using Linux in space, what they had to do in order to build their systems on Linux, and how you can get involved in helping open source software destined for space.”

src: https://lca2022.linux.org.au/schedule/presentation/42/

2030: ISS EOL

Biden extended the runtime / lifetime of the ISS to “2030, with funding secured through that year” (Wiki)

Upcoming Elon Starship presentation

https://ytpak.net/watch?v=mhJRzQsLZGg

https://ytpak.net/watch?v=mhJRzQsLZGg

Links:

https://linux.conf.au

linux.conf.au youtube channel: https://ytpak.net/channel?id=UCciKHCG06rnq31toLTfAiyw

480p low quality stream: https://video.ibm.com/channel/live-iss-stream

(a bit color and sharpness enhanced with GIMP 🙂

here is the hd stream: https://eol.jsc.nasa.gov/ESRS/HDEV/

#linux #gnu #gnulinux #opensource #administration #sysops #starlink #aurora #gnu-linux #space #universe #lenovo #iss #esa #nasa #spacex

Originally posted at: https://dwaves.de/2022/02/10/gnu-linux-is-dominating-space-already-boldly-going-running-gnu-linux-in-space-sam-bishop-lca-2022-online/

canoodle@nerdpol.ch

how to use vim's build in history (re run re play commands) by line number

prepare:

<span style="color: #00ffff;">
echo "com -nargs=1 HI exe histget('c', )" >> ~/.vimrc</span>

then start vim and type to show the history (commands last typed):

[ESC]
<span style="color: #00ffff;">:history</span>
# or short
<span style="color: #00ffff;">:his
</span>

now to re run the command #LineNumber 29, type:

<span style="color: #00ffff;">:HI 29

<a href="https://dwaves.de/wp-content/uploads/2022/02/how-to-use-vims-build-in-history-re-run-re-play-commands-by-line-number_2.jpg"><img alt="" class="alignnone size-full wp-image-25261" height="265" src="https://dwaves.de/wp-content/uploads/2022/02/how-to-use-vims-build-in-history-re-run-re-play-commands-by-line-number_2.jpg" width="500"></img></a>
</span>

#linux #gnu #gnulinux #opensource #administration #sysops #vim #howto #gnu-linux

Originally posted at: https://dwaves.de/2022/02/09/how-to-use-vims-build-in-history-re-run-re-play-commands-by-line-number/

linuxmao.org@diaspora-fr.org

Éditorial de février 2022

#art #art_libre #artiste #artlibre #cc-by-sa #chanson #copyleft #creative-commons #creative_commons #creativecommons #culture #culture-libre #culture_libre #culturelibre #francophone #français #gnu #gnu-linux #gnulinux #gpl #informatique-musicale #informatique_musicale #informatiquemusicale #libre #libre-art #linux #linux-mao #linux_mao #linuxaudio #linuxmao #logiciel-libre #logiciel_libre #logiciellibre #mao #mao-linux #mao_linux #maolinux #musicien #musiciens #musique #musique-libre #musique_libre #numerique #productionmusicale

Ces mois d’hiver se prêtent admirablement à la bricole.

C’est bien au chaud que j’ai entrepris, pour ma guitare, l’assemblage d’un nouveau système d’amplification. Un vieux flight-case, un vieil ampli de sono et deux bons haut-parleurs bien rodés, manque un préamplificateur.

Raquettes aux pieds, skis sur l’épaule (souris à la main, en réalité...), me voilà sur la piste du précieux objet. Quête non dépourvue de difficultés lorsque l’on a, pour tout référentiel, que de vagues souvenirs du matos des années 90.

Je découvre alors que ce type de périphérique se décline désormais, principalement, au format pédale d’effet. Pas idiot. Mes sons en nomade, avec la connectique permettant de se brancher sur une table, un ampli ou une carte-son.

Ce premier critère assimilé, je passe quelques semaines de ce rude hiver à naviguer de sites d’occases en sites d’occases.

Et là, je découvre un univers que je ne soupçonnais pas : le club un peu dingo de la pédale d’effet pour guitaristes et bassistes.

La diversité des formes, les différences de modes de production, de la très grande série à l’objet unique et signé, la variété des couleurs, la puissance d’évocation de certaines appellations, la fantaisie des graphismes, leur architecture parfois, la variété des références stylistiques, allant du moyen-age à la science-fiction la plus débridée, tout est prétexte à attirer l’œil et, parfois, à sourire.

J’ai trouvé une machine d’occasion, du format adéquat, un peu noire, un peu austère, très éloignée du petit bain baroque et joyeux dans lequel j’avais pataugé durant quelques jours.

Mais je suis rassuré : le plaisir, le geste élégant, l’humour font toujours partie intégrante de la panoplie du musicien.

Un plaisir...

canoodle@nerdpol.ch

Why is it GNU Linux and not just Linux? - Linus talking about GPL v3 vs GPL v2 (the better one) - the social (GPL) contract is "i give you sourcecode, give me back your changes" - non-free binary "blobs"

“FOSS means that effort is shared across organizations and lowers maintenance costs significantly” (src: comment by JohnFOSS on itsfoss.com)

getting the naming right: Why is it GNU Linux and not just Linux?

[video width=”576″ height=”462″ mp4=”https://dwaves.de/wp-content/uploads/2022/01/Stallman-getting-the-naming-right-Why-is-ist-GNU-Linux-and-not-just-Linux.mp4″\]\[/video\]

Linus talking about GPL v3 vs GPL v2 (the better one)

[video width=”578″ height=”348″ mp4=”https://dwaves.de/wp-content/uploads/2022/01/GNU-Linux-DebConf-Linus-talking-about-GPL-v3-vs-GPL-v2-the-better-one.mp4″\]\[/video\]

    • ### the (GPL 2.0) intented social contract is: “i give you sourcecode, give me back your changes”
    • Linus drew criticism over his “stubbornness” to stick with GPL 2.0 e.g. Oracle’s Sun’s ZFS filesystem is released under a GPL incompatible licence, that as seen in this video statement, that is completely on purpose, just as it is (probably) on purpose by Oracle’s Sun to be DELIBERATELY incompatible with GPL (it seems to be a Microsoft-like a fake-support for the Open Source movement attempt companies like that “want to do marketing as Open Source but not really do Open Source”)
    • Tivoization /ˈtiːvoʊɪˌzeɪʃən/ is the creation of a system that incorporates software under the terms of a copyleft software license like the GNU General Public License (GNU GPL), but uses hardware restrictions or digital rights management (DRM) to prevent users from running modified versions of the software on that hardware. Richard Stallman coined the term in reference to TiVo‘s use of GNU GPL licensed software on the TiVo brand digital video recorders (DVR), which actively blocks users from running modified software on its hardware by design.[1][2] Stallman believes this practice denies users some of the freedom that the GNU GPL was designed to protect.[3] The Free Software Foundation refers to tivoized hardware as “tyrant devices”.[4] (creditz: wiki)
    • Linux kernel licensing rules ============================
    • The Linux Kernel is provided under the terms of the GNU General Public License version 2 only (GPL-2.0), as provided in LICENSES/preferred/GPL-2.0, with an explicit syscall exception described in LICENSES/exceptions/Linux-syscall-note, as described in the COPYING file.This documentation file provides a description of how each source file should be annotated to make its license clear and unambiguous. It doesn’t replace the Kernel’s license.The license described in the COPYING file applies to the kernel source as a whole, though individual source files can have a different license which is required to be compatible with the GPL-2.0: GPL-1.0+ : GNU General Public License v1.0 or later <a href="https://spdx.org/licenses/GPL-2.0-or-later.html">GPL-2.0+ : GNU General Public License v2.0 or later</a> <a href="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/LICENSES/preferred/GPL-2.0?h=v5.17-rc2">https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/LICENSES/preferred/GPL-2.0?h=v5.17-rc2</a> LGPL-2.0 : GNU Library General Public License v2 only LGPL-2.0+ : GNU Library General Public License v2 or later LGPL-2.1 : GNU Lesser General Public License v2.1 only LGPL-2.1+ : GNU Lesser General Public License v2.1 or later

    src: https://docs.kernel.org/process/license-rules.html
    - actually there is a whole folder “LICENCE” that is shipped with the kernel sources, which has the following subfolders:
    - deprecated
    - dual
    - exceptions
    - preferred
    - here is a list of all sorts of free licences https://spdx.org/licenses/ (RSS Feed)

    - Can I use the word “Linux” or the Tux logo?

Tux_FlickFlack

hereby creditz shall be given to Larry_Ewing for creating the Tux Logo

Linux is a registered trademark of Linus Torvalds and its use is governed by the Linux Trademark Institute. Please consult the following page for further information: Trademark Usage

The Tux penguin logo was created by Larry Ewing using Gimp software. It is free to use, including commercially, as long as you give Larry Ewing proper credit (“if someone asks”). For any other permissions, please reach out to Mr. Larry Ewing directly. (src)
- I heard that Linux ships with non-free “blobs” (pieces of software that are binary closed source)
- Before many devices are able to communicate with the OS, they must first be initialized with the “firmware” provided by the device manufacturer.
- This firmware is not part of Linux and isn’t “executed” by the kernel — it is merely uploaded to the device during the driver initialization stage.
- While some firmware images are built from free software, a large subset of it is only available for redistribution in binary-only form.
- To avoid any licensing confusion, firmware blobs were moved from the main Linux tree into a separate repository called linux-firmware.
- It is possible to use Linux without any non-free firmware binaries, but usually at the cost of rendering a lot of hardware inoperable.
- Furthermore, many devices that do not require a firmware blob during driver initialization simply already come with non-free firmware preinstalled on them.
- If your goal is to run a 100% free-as-in-freedom setup, you will often need to go a lot further than just avoiding loadable binary-only firmware blobs.
- src: https://kernel.org/category/faq.html

Links:

https://www.linuxplumbersconf.org/

because this site https://lpc2021.org/ is massively broken (WTF LPC?) who wants to watch the 2021 conference will have to rely on Google: https://www.youtube.com/playlist?list=PLVsQ_xZBEyN2c21jFUgqI2iMa094zXanH

manpage of man: man.man.txt

mandb.man.txt

#linux #gnu #gnulinux #opensource #administration #sysops #gpl #fsf #eff #licence #licensing #license #gnu-linux #gcc #kernel #linus #stallman

Originally posted at: https://dwaves.de/2022/01/31/why-is-it-gnu-linux-and-not-just-linux-linus-talking-about-gpl-v3-vs-gpl-v2-the-better-one-the-social-gpl-contract-is-i-give-you-sourcecode-give-me-back-your-changes-non-free-binary/

canoodle@nerdpol.ch

GNU Linux Debian - very fast and easy semi-automatic online install Debian 11 (non-free)

many users have/had macbooks.

what was/still is great: OSX can be reinstalled over internet! (no more searching for licence keys or setup sticks/DVDs/CDs/)

given the fact – that once installed – GNU Linux Debian can boot (almost) anywhere, the fastest and easiest way to “install” it is to simply 1:1 copy it on whatever the user wants to boot from (harddisk or usb stick (some sticks can not be made bootable, try at least 3 different vendors)).

So… this install script 1:1 copy installs Debian 11 (non-free) on any laptop/desktop/server (depending on internet speed) very fast & easy.

The process can be automated (on similar hardware or on hardware where /dev/sda is always the device the user wants to 1:1 overwrite).

This script install process is almost like OSX 🙂 but “semi-automatic” to double ask, not to overwrite the wrong (USB attached?) disk.

  • it comes with a full MATE Desktop and everything to get working (LibreOffice and Firefox and Thunderbird)
  • it has the “cosmos” slideshow (love it!) background enabled per default
  • the terminal comes with green on black for better readability
  • it does not have a swap partition enabled, so the user can easily with gparted 1) extend the harddisk to it’s full capacity 2) create a swap partition
  • English, Spanish, Chinese and German keyboard layout are active, should be possible to switch between them in the top right corner

todo: what is still missing

  • what is still missing is:
    • automatically calc (based on RAM size, would do as much swap as RAM) how much swap should be created
    • extend the /root partition to full harddisk capacity minus the swap space
    • create the swap partition and edit config files /etc/fstab and /etc/initramfs-tools/conf.d/resume for proper (as intended) functionality of the system
  • apply this
  • display a dancing penguin during first successfull boot and encourage user to do at least 5min of dancing to this funky music 🙂

WARNING!

  • make sure to disconnect all devices (external harddisks, usb sticks, sdcards)
    • less devices = less trouble and less accidentally overwriting a external harddisk or usb stick
  • if the target device /dev/sdX contains important data, backup it up !first! (all data will be overwritten)

WHY NON FREE?

it’s based on the non-free version, because it is intended to allow new users that never tested GNU Linux Debian (with a MATE Desktop) a “it just works” turnkey experience.

Is the Free version better?

If the user has concerns about surveillance/spying and needs maximum privacy than it is probably better to start with the defautl GNU Linux Debian free version and usually all network-cards/NICs work out of the box (free drivers available 🙂 (but maybe not the wifi cards)

new users: workaround for this pitfall:

https://dwaves.de/2022/01/21/gnu-linux-debian-11-2-network-stops-working-networking-stops-during-setup-bad-archive-mirror-how-every-os-setup-should-be/

Problems might arise with the free version and wifi: (notebooks)

because then the user will probably have to install the appropriate closed source (#evil!) drivers from the the non-free repository with all the spying backdoors that a intel wifi driver might have (after all a network card, is like a small computer, inside a computer, ideal! but then if the BIOS is not LibreBooted… the Intel ME can not be disabled… (some OS allow to permanently disable Intel ME!!!).

… the fight for more privacy and security – seems never ending and goes on.

requirements:

  • the laptop/desktop/server root harddisk/the target harddisk (/dev/sdX) should have at least 100GBytes of harddisk space
  • ideally boot from GNU Linux live usb stick with at least 3GBytes of free space
  • or alternatively: boot from read-only live DVD or image and when booted up, connect a ext4 or ext3 or fat32 or ntfs formatted USB stick or drive with at least 3GBytes of free space

    • there are many other desktop live flavours available (great! 🙂 : https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/
    • when booted from live, cd into the external usb stick-drive
    • create the below script (copy content into a text file, name it name-of-script.sh)
    • <span style="color: #00ffff;">chmod +x name-of-script.sh</span>; # mark it runnable - <span style="color: #00ffff;">su - root</span>; # become root
    • <span style="color: #00ffff;">/name-of-script.sh /dev/sdX</span>; # run it, passing the device Debian 11 should be installed on - will download ~2.5Gbytes image.gz to current directory (the usb-stick-drive and store it there permanently for later re-use) - curl can resume interrupted downloads

usage:

# sdX is the device the user wants to install Debian 11 on
<span style="color: #00ffff;">/scripts/install_debian_from_image.sh /dev/sdX
</span>

process complete? reboot & “it just works”?

congratz! do 1min of wiggle dance!

[video width=”306″ height=”194″ mp4=”https://dwaves.de/wp-content/uploads/2022/01/happyness-drum-and-bass-dance-of-success.mp4″\]\[/video\]

post processing:

want to use the complete harddisk not just the 100GBytes? two possibilities:

what the script will do:

  • download a pre-installed Debian 11 image.gz and it’s sha512check-sum
  • sha512 check the image (check the image is unaltered and intact)
  • on the fly unpack and 1:1 write the image to /dev/sdX while showing a progress bar
<span style="color: #00ffff;">vim /scripts/install_debian_from_image.sh</span>

<span style="color: #ff6600;">#!/bin/bash

DEBIAN_IMAGE=debian11_amd64_non_free_drivers_mate_libre_firefox.img.gz
DOWNLOAD=https://dwaves.de/downloads/$DEBIAN_IMAGE

# define colors
RED='\033[0;31m'
WHITE='\033[0;37m'
YELLOW='\033[0;33m'
COLOR_OFF='\033[0m' # reset color to default

echo -e "${WHITE}=== download and 1:1 copy debian.img.gz to $1 ===${COLOR_OFF}\n"

if [ -z "$1" ]
  then
    echo "please pass device like this: /dev/sdx
          TARGET THE WHOLE DEVICE (sdb)
          NOT A PARTITION! (sdb1)"
  else


echo -e "${RED}this script is meant to be run from an live-cd or usb stick (so $1 should be an OFFLINE filesystem (not currently running)"
    echo "please read carefully, a mistake could overwrite critical data!!!"
    echo -e "physically disconnect all critical data-drives before procedure!!!${COLOR_OFF}\n"
    echo ""

    echo "========== do you want to copy the $DEBIAN_IMAGE image on device $1 ?"

    echo -e "${YELLOW}~3GBytes of disk space is needed in the current directory${COLOR_OFF}\n"
    pwd
    echo "=========== harddisk overview";
    echo "==== where is what";
    lsblk -o 'NAME,MAJ:MIN,RM,SIZE,RO,FSTYPE,MOUNTPOINT,UUID'
    smartctl -i $1;
    echo ""


echo -e "${YELLOW}"
read -p "CONTINUE? (y/n)" choice
case "$choice" in 
  y|Y ) echo "yes";;
  n|N ) echo "no";;
  * ) echo "invalid";;
esac

    echo "installing required software for fast multi threaded decompression of image (pigz)"
    echo "and showing progress during dd (pv)"

echo -e "${COLOR_OFF}\n"

    apt update
    apt install pv pigz curl

echo -e "${YELLOW}starting download of $DOWNLOAD... please stand by${COLOR_OFF}\n"
    curl -L -O -C - $DOWNLOAD;

echo -e "${YELLOW}starting download of checksum $DOWNLOAD.sha512sum.txt ... please stand by${COLOR_OFF}\n"

    curl -L -O -C - $DOWNLOAD.sha512sum.txt;

    echo "verify sha512sum..."

cat "./$DEBIAN_IMAGE.sha512sum.txt" | sha512sum -c

if [ $? != 0 ]; then
echo -e "${RED}Checksum failed. aborting script. maybe $DEBIAN_IMAGE corrupted during download. please try to re-run the script." >&2
echo -e "${COLOR_OFF}\n"
  exit 1
fi

echo -e "${YELLOW}starting write process...${COLOR_OFF}\n"
    umount $1*;

    dd if=./$DEBIAN_IMAGE of=$1 status=progress; sync;

    pigz -dc $DEBIAN_IMAGE | pv | dd bs=1M of=$1; sync;
    ## single core
    ### gunzip -c /path/to/image.img.gz | pv | dd of=$1; # write image to usb stick

echo -e "${YELLOW}the image $DEBIAN_IMAGE was written to stick $1. process finished. try booting it now :)${COLOR_OFF}\n"
fi

</span>

#linux #gnu #gnulinux #opensource #administration #sysops #gnu-linux #debian #osx #setup #installation #breeze #easy #fast #debian11 #bullseye

Originally posted at: https://dwaves.de/2022/01/28/gnu-linux-debian-very-fast-and-easy-semi-automatic-online-install-debian-11-non-free/

canoodle@nerdpol.ch

THE most controversial filesytem in the known universe: ZFS - so ext4 is faster on single disk systems - btrfs with snapshots but without the zfs licensing problems

ZFS is probably THE most controversial filesytem in the known universe:

“FOSS means that effort is shared across organizations and lowers maintenance costs significantly” (src: comment by JohnFOSS on itsfoss.com)

“The whole purpose behind ZFS was to provide a next-gen filesystem for UNIX and UNIX-like operating systems.” (src: comment by JohnK3 on itsfoss.com)

“The performance is good, the reliability and protection of data is unparalleled, and the flexibility is great, allowing you to configure pools and their caches as you see fit. The fact that it is independent of RAID hardware is another bonus, because you can rescue pools on any system, if a server goes down. No looking around for a compatible RAID controller or storage device.”

“after what they did to all of SUN’s open source projects after acquiring them. Oracle is best considered an evil corporation, and anti-open source.”

“it is sad – however – that licensing issues often get in the way of the best solutions being used” (src: comment by mattlach on itsfoss.com)

“Zfs is greatly needed in Linux by anyone having to deal with very large amounts of data. This need is growing larger and larger every year that passes.” (src: comment by Tman7 on itsfoss.com)

“I need ZFS, because In the country were I live, we have 2-12 power-fails/week. I had many music files (ext4) corrupted during the last 10 years.” (src: comment by Bert Nijhof on itsfoss.com)

“some functionalities in ZFS does not have parallels in other filesystems. It’s not only about performance but also stability and recovery flexibility that drives most to choose ZFS.” (src: comment by Rubens on itsfoss.com)

“Some BtrFS features outperform ZFS, to the point where I would not consider wasting my time installing ZFS on anything. I love what BtrFS is doing for me, and I won’t downgrade to ext4 or any other fs. So at this point BtrFS is the only fs for me.” (src: comment by Russell W Behne on itsfoss.com)

“Btrfs Storage Technology: The copy-on-write (COW) file system, natively supported by the Linux kernel, implements features such as snapshots, built-in RAID, and self-healing via checksumming for data and metadata. It allows taking subvolume snapshots and supports offline storage migration while keeping snapshots. For users of enterprise storage systems, Btrfs provides file system integrity after unexpected power loss, helps prevent bitrot, and is designed for high-capacity and high-performance storage servers.” (src: storagereview.com)

BTRFS is GPL 3.0 licenced btw.

bachelor projects are written about btrfs vs zfs (2015)

so…

ext4 is good for notebooks & desktops & workstations (that do regular backups on a separate, external, then disconnected medium)

is zfs “better” on/for servers? (this user says: even on single disk systems, zfs is “better” as it prevents bit-rot-file-corruption)

with server-hardware one means:

  • computers with massive computational resources (CPUs, RAM & disks)
    • at least 2 disks for RAID1 (mirroring = safety)
    • or better: 4 disks for RAID10 (striping + mirroring = speed + safety)
  • zfs wants direct access to disks without any hardware raid controller or caches in between, so it is “fine” with simple SATA onboard connections or hba cards that do nothing but provide SATA / SAS / NVMe ports or hardware raid controllers that behave like hba cards (JBOD, some need firmware flashed, some need to be jumpered)
    • fun fact: this is not the default for servers. servers (usually) come with LSI (or other vendor) hardware raid cards, that might be possible to JBOD jumper or flash) but that would mean: zfs is only good for servers WITHOUT hardware raid cards X-D (and those are (currently still) rare X-D)
      • but they would be “perfect” fit for a consumer-hardware PC (having only SATA ports) used as server (many companies not only Google but also Proxmox and even Hetzner test out that way of operation, but it might not be the perfect fit for every admin, that rather spends some bucks extra and wants to provide companies with the most reliable hardware possible (redundant power supplies etc.)
      • maybe that is also a cluster vs mainframe “thinking”
        • so in a cluster, if some nodes fail, it does not matter, as other nodes take over and are replaced fast (but some server has to store the central database, that is not allowed to fail X-D)
        • in a non-cluster environment, things might be very different
  • “to EEC or not to EEC the RAM”, that is the question?:
    • zfs also runs on machines without EEC but:
      • in semi-professional purposes non-EEC might be okay
      • for companies with critical data maximum error correction EEC is a must (as magnetic fields / sunflares could potentially flip some bits in RAM, then write the faulty data back to disk, ZFS can not correct that)
      • “authors of a 2010 study that examined the ability of file systems to detect and prevent data corruption, with particular focus on ZFS, observed that ZFS itself is effective in detecting and correcting data errors on storage devices, but that it assumes data in RAM is “safe”, and not prone to error”
      • “One of the main architects of ZFS, Matt Ahrens, explains there is an option to enable checksumming of data in memory by using the ZFS_DEBUG_MODIFY flag (zfs_flags=0x10) which addresses these concerns.[73]” (wiki)

zfs: snapshots!

zfs has awesome features such as:

many more featuers:

  • Protection against data corruption. Integrity checking for both data and metadata.
  • Continuous integrity verification and automatic “self-healing” repair
    • Data redundancy with mirroring, RAID-Z1/2/3 [and DRAID]
  • Support for high storage capacities — up to 256 trillion yobibytes (2^128 bytes)
  • Space-saving with transparent compression using LZ4, GZIP or ZSTD
  • Hardware-accelerated native encryption
  • Efficient storage with snapshots and copy-on-write clones
  • Efficient local or remote replication — send only changed blocks with ZFS send and receive

(src)

how much space do snapshots use?

look at WRITTEN, not at USED.

https://ytpak.net/watch?v=NXg86uBDSqI

https://ytpak.net/watch?v=NXg86uBDSqI

https://papers.freebsd.org/2019/bsdcan/ahrens-how_zfs_snapshots_really_work/

performance?

so on a single-drive system, performance wise ext4 is what the user wants.

on multi-drive systems, the opposite might be true, zfs outperforming ext4.

it is a filesystem + a volumen manager! 🙂

“is not necessary nor recommended to partition the drives before creating the zfs filesystem” (src, src of src)

http://perftuner.blogspot.com/2017/02/zfs-zettabyte-file-system.html

http://perftuner.blogspot.com/2017/02/zfs-zettabyte-file-system.html

RAID10?

there is no raid10 in zfs, only raid5, which means: at least one disk is used for checksums

  • “raid5 or raidz distributes parity along with the data
    • can lose 1x physical drive before a raid failure.
    • Because parity needs to be calculated raid 5 is slower then raid0, but raid 5 is much safer.
    • RAID 5 requires at least 3x hard disks in which one(1) full disk of space is used for parity.
  • raid6 or raidz2 distributes parity along with the data
    • can lose 2x physical drives instead of just one like raid 5.
    • Because more parity needs to be calculated raid 6 is slower then raid5, but raid6 is safer.
    • raidz2 requires at least 4x disks and will use two(2) disks of space for parity.
  • raid7 or raidz3 distributes parity just like raid 5 and 6
    • but raid7 can lose 3x physical drives.
    • Since triple parity needs to be calculated raid 7 is slower then raid5 and raid 6, but raid 7 is the safest of the three.
    • raidz3 requires at least 4x, but should be used with no less then 5x disks, of which 3x disks of space are used for parity.
  • raid10 or raid1+0 is mirroring and striping of data.
    • The simplest raid10 array has 4x disks and consists of two pairs of mirrors.
    • Disk 1 and 2 are mirrors and separately disk 3 and 4 are another mirror.
    • Data is then striped (think raid0) across both mirrors.
    • One can lose one drive in each mirror and the data is still safe.
    • One can not lose both drives which make up one mirror, for example drives 1 and 2 can not be lost at the same time.
    • Raid 10 ‘s advantage is reading data is fast.
    • The disadvantages are the writes are slow (multiple mirrors) and capacity is low.”

(src, src)

ZFS supports SSD/NVMe caching + RAM caching:

more RAM is better than an dedicated SSD/NVMe cache, BUT zfs can do both! which is remarkable.

(the optimum probably being RAM + SSD/NVMe caching)

ubuntu makes zfs the default filesystem

ZFS & Ubuntu 20.04 LTS

“our ZFS support with ZSys is still experimental.”

https://ubuntu.com/blog/zfs-focus-on-ubuntu-20-04-lts-whats-new

ZFS licence problems/incompatibility with GPL 2.0 #wtf Oracle! again?

Linus: “And honestly, there is no way I can merge any of the ZFS efforts until I get an official letter from Oracle that is signed by their main legal counsel or preferably by Larry Ellison himself that says that yes, it’s ok to do so and treat the end result as GPL’d.” (itsfoss.com)

comment by vagrantprodigy: “Another sad example of Linus letting very limited exposure to something (and very out of date, and frankly, incorrect information about it’s licensing) impact the Linux world as a whole. There are no licensing issues, OPENZFS is maintained, and the performance and reliability is better than the alternatives.” (itsfoss.com)

https://itsfoss.com/linus-torvalds-zfs/

https://itsfoss.com/linus-torvalds-zfs/

https://itsfoss.com/linus-torvalds-zfs/

https://itsfoss.com/linus-torvalds-zfs/

it is Open Source, but not GPL licenced: for Linus, that’s a no go and quiet frankly, yes it is a problem.

“this article missed the fact that CDDL was DESIGNED to be incompatible with the GPL” (comment by S O on itsfoss.com)

it can also be called “bait”

“There is always a thing called “in roads”, where it can also be called “bait”.

“The article says a lot in this respect.

“That Microsoft founder Bill Gate comment a long time ago was that “nothing should be for free.”

That too rings out loud, especially in today’s American/European/World of “corporate business practices” where they want what they consider to be their share of things created by others.

Just to be able to take, with not doing any of the real work.

That the basis of the GNU Gnu Pub. License (GPL) 2.0 basically says here it is, free, and the Com. Dev. & Dist.

License (CDDL) 1.0 says use it for free, find our bugs, but we still have options on its use, later on downstream.

..

And nothing really is for free, when it is offered by some businesses, but initial free use is one way to find all the bugs, and then begin charging costs.

And it it has been incorporated into a linux distribution, then the linux distribution could later come to a legal halt, a legal gotcha in a court of law.

In this respect, the article is a good caution to bear in mind, that the differences in licensing can have consequences, later in time.Good article to encourage linux users to also bear in mind, that using any programs that are not GNU Gen. Pub. License (GPL) 2.0 can later on have consequences for use having affect on a lot of people, big time.

That businesses (corportions have long life spans) want to dominate markets with their products, and competition is not wanted.

So, how do you eliminate or hinder the competition?

… Keep Linux free as well as free from legal downstream entanglements.”

(comment by Bruce Lockert on itsfoss.com)

Imagine this: just as with Java, Oracle might decide to change the licence on any day Oracle seems fit to “cash in” on the ZFS users and demand purchasing a licence… #wtf Oracle

Guess one is not alone with that thinking: “Linus has nailed the coffin of ZFS! It adds no value to open source and freedom. It rather restricts it. It is a waste of effort. Another attack at open source. Very clever disguised under an obscure license to trap the ordinary user in a payed environment in the future.” (comment by Tuxedo on itsfoss.com)

GNU Linux Debian warns during installation:

“Licenses of OpenZFS and Linux are incompatible”

  • OpenZFS is licensed under the Common Development and Distribution License (CDDL), and the Linux kernel is licensed under the GNU General Public License Version 2 (GPL-2).
  • While both are free open source licenses they are restrictive licenses.
  • The combination of them causes problems because it prevents using pieces of code exclusively available under one license with pieces of code exclusively available under the other in the same binary.
  • You are going to build OpenZFS using DKMS in such a way that they are not going to be built into one monolithic binary.
  • Please be aware that distributing both of the binaries in the same media (disk images, virtual appliances, etc) may lead to infringing.

“You cannot change the license when forking (only the copyright owners can), and with the same license the legal concerns remain the same. So forking is not a solution.” (comment by MestreLion on itsfoss.com)

OpenZFS 2.0

“This effort is fast-forwarding delivery of advances like dataset encryption, major performance improvements, and compatibility with Linux ZFS pools.” (src: truenas.com)

https://arstechnica.com/gadgets/2020/12/openzfs-2-0-release-unifies-linux-bsd-and-adds-tons-of-new-features/

tricky.

of course users can say “haha” “accidentally deleted millions of files” “no backups” “now snapshots would be great”

or come up with a smart file system, tha can do snapshots.

how to on GNU Linux Debian 11:

https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/index.html

https://wiki.debian.org/ZFS

note:

with ext4 it was recommended to put GNU Linux /root and /swap on a dedicated SSD/NVMe (that then regularly backs up to the larger raid10)

but than the user would miss out on the zfs awesome restore snapshot features, which would mean:

  • no more fear of updates
    • take snapshot before update
    • do system update (moving between major versions of Debian 9 -> 10 can be problematic, sometimes it works, sometimes it will not)
    • test the system according to list of use cases (“this used to work, this too”)
    • if update breaks stuff -> boot from a usb stick -> roll back snapshot (YET TO BE TESTED!)

Links:

https://openzfs.org/wiki/Main_Page

#linux #gnu #gnulinux #opensource #administration #sysops #zfs #openzfs #filesystem #filesystems #ubuntu #btrfs #ext4 #gnu-linux #oracle #licence

Originally posted at: https://dwaves.de/2022/01/20/the-most-controversial-filesytem-in-the-known-universe-zfs-so-ext4-is-faster-on-single-disk-systems-btrfs-with-snapshots-but-without-the-zfs-licensing-problems/

canoodle@nerdpol.ch
librazik@diaspora-fr.org

Un point à propos de la traduction en langue française - janvier 2022

#art #art_libre #artiste #artlibre #cc-by-sa #chanson #copyleft #creative-commons #creative_commons #creativecommons #culture #culture-libre #culture_libre #culturelibre #debian #francophone #français #french #gnu #gnu-linux #gnulinux #gpl #informatique-musicale #informatique_musicale #informatiquemusicale #librazik #libre #libre-art #linux #linux-mao #linux_mao #linuxaudio #linuxmao #logiciel-libre #logiciel_libre #logiciellibre #mao #mao-linux #mao_linux #maolinux #musicien #musiciens #musique #musique-libre #musique_libre #numerique #productionmusicale

L'an passé, j'ai pensé que les nouvelles concernant les traductions n'avaient pas vraiment leurs places dans les rapports mensuels de développement de LibraZiK. Premièrement, car depuis plusieurs mois, ces rapports ici-même sont publiés en français et en anglais et que les infos concernant les améliorations de traduction en français n'intéressent probablement que très peu les non-francophones, donc autant en faire un billet à part. D'autre part, les efforts de traduction fournis étant systématiquement remontées dans les projets amont, ça ne concerne pas que les utilisateurs de LibraZiK. En faisant un billet à part de ces améliorations de traductions en français, il devient possible de diffuser de tels billets ailleurs également.

Ainsi, il n'y a pas eu de nouvelles sur ce blogue concernant ces travaux d'amélioration des traductions en français, bien que les infos puissent être trouvées sur le compte Mastodon de LibraZiK. Voici alors un billet assez rapide et factuel à propos du travail de traduction en français ayant été réalisé par mes soins (Olivier/trebmuh/olinuxx sur une période couvrant un peu plus d'un an.

Du côté des gros boulots effectués, nous pouvons par exemple noter une grosse mise à jour de la traduction en français du logiciel Guitarix, traduction qui était à l'abandon depuis très longtemps. Ce gros boulot comprend quelques corrections dans le code qui permet la traduction de ce logiciel et du travail en collaboration avec le développeur du... Lire Un point à propos de la traduction en langue française - janvier 2022

canoodle@nerdpol.ch

GNU Linux hardware reviews - something between tablet and notebook: the Lenovo Ideapad MIIX 510 12ISK - Can it Debian? - yes it can (Debian 11 out of the box Debian 10 rfkill reports hardblocked wlan)

Lenovo Ideapad: What is it and can it run Debian?

hint: it’s also not mine.

The Lenovo Ideapad is a “notebook-tablet” (a very slim notebook that pretends to be a tablet (it has a touch screen!) 🙂

can it Debian?

Yes it can pretty fast actually.

What is not working (yet) are the front- and back-webcams (tried with cheese, can not find any cams)

the specs:

<span style="color: #00ffff;">/scripts/bench/<a href="https://dwaves.de/scripts/bench/bench_harddisk.sh">bench_harddisk.sh</a>; # <a href="https://dwaves.de/scripts/bench/bench_harddisk.sh">https://dwaves.de/scripts/bench/bench_harddisk.sh</a></span>
=== harddisk sequential write and read bench v1 ===
starting test on the device that holds the current directory the user is in
no need to run it as root

========== writing 3GB of zeroes ==========
0+1 records in
0+1 records out
2147479552 bytes (2.1 GB, 2.0 GiB) copied, 14.152 s, <span style="color: #ffff00;">152 MB/s</span>

real    0m14.163s
user    0m0.000s
sys 0m5.685s
========== reading 6GB of zeroes ==========
0+1 records in
0+1 records out
2147479552 bytes (2.1 GB, 2.0 GiB) copied, 3.407 s, <span style="color: #ffff00;">630 MB/s</span>

real    0m3.434s
user    0m0.000s
sys 0m1.270s
========== tidy up remove testfile ==========

how to get started:

what is good:

  • the speed (i5 CPU & NVMe (!) harddisk) are pretty speedy good for a device that small 🙂
    • ok the speed is largely also attributed to GNU Linux Debian being very resource efficient 🙂
  • the touchscreen works very nicely and is usefull e.g. for selecting text:
  • close the lid, open the lid, resume from standby works perfectly 🙂 (well done all involved!)
  • they keyboard is also the cover, it could be a bit more “sturdy” (metal?) but it’s okay
  • is it noisy?
    • no. most of the time it sits quiet. when in bios longer time, the fan can be heared. but it’s not bad.

what could be better:

Debian 10: how to fix the wifi not working

“guess a hard block can be caused by multiple modules and/or firmware trying to use the same device” (creditz: https://access.redhat.com/discussions/3081141)

Debian 11 wifi works out of the box, in Debian 10, it is required to blacklist some kernel module drivers.

open a terminal and run this:

<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt update</span>
<span style="color: #00ffff;">apt install rfkill</span>
<span style="color: #00ffff;">while true; do rfkill list all; sleep 1; clear; done;
</span>

what this will do is output the status of all possibly hard or soft blocked devices.

now hit F7 or Fn+F7 (enable/disable flight mode = enable/disable wifi)

there should be changes visible in the terminal… still not wifi?

ok next step:

<span style="color: #00ffff;">echo "blacklist ideapad_laptop" >> /etc/modprobe.de/blacklist.conf
echo "blacklist acer_wmi" >> /etc/modprobe.de/blacklist.conf</span>
# then:
<span style="color: #00ffff;">reboot
</span>

#linux #gnu #gnulinux #opensource #administration #sysops #gnu-linux #hardware #review #debian #lenovo #ideapad

Originally posted at: https://dwaves.de/2022/01/23/gnu-linux-hardware-reviews-something-between-tablet-and-notebook-the-lenovo-ideapad-miix-510-12isk-can-it-debian-yes-it-can-debian-11-out-of-the-box-debian-10-rfkill-reports-hardblocked-wlan/