#gnulinux

canoodle@nerdpol.ch

StarFive RISC-V Dual Core SoC for 179 bucks - building a riscv pc - risc-v fedora emulator in javascript in browser

Update: 2022: RISC-V Dual Core SoC for 179 bucks!

https://www.youtube.com/watch?v=4PoWAsBOsFs

https://www.youtube.com/watch?v=4PoWAsBOsFs

https://www.youtube.com/watch?v=4PoWAsBOsFs

https://www.youtube.com/watch?v=4PoWAsBOsFs

https://www.youtube.com/watch?v=4PoWAsBOsFs

where to buy? https://shop.allnetchina.cn/collections/starfive/products/starfive-visionfive-ai-single-board-computer

https://riscv.org/blog/2021/03/risc-v-star-rising-from-the-east-introducing-starfive/

https://rvspace.org

keep an eye on: RISC-V SoCs: https://riscv.org/exchange/

2018-04: RISC-V CPUs not affected by spectre & meltdown

“No announced RISC-V silicon is susceptible, and the popular open-source RISC-V Rocket processor is unaffected as it does not perform memory accesses speculatively.” (2018-01-05 src)

“If you’re selling an IoT sensor for 1 USD, how can you suddenly triple your costs by integrating secure technology, either forcing your market to bear the weight (if it will), or forcing your own company to vastly decrease its profit margins. None of this is sustainable in an ecosystem where the average ARM Cortex-M0+ costs under 0.60 USD per unit at volume with no trusted element.

My solution? RISC-V. With custom, open source, RISC-V processing technology, we can build secure processors with trust elements at a fraction of the cost of ARM processors. Integrating the RISC-V architecture into Lab Mouse, we can then offer a secure platform that is finally cost-effective.

So, in 2016, I researched the RISC-V architecture and joined the RISC-V consortium. I currently sit on the Debug, Security, and general ISA groups and hope to soon get back to participating more heavily. In 2017 at Hack in the Box Amsterdam, I demonstrated security flaws in the RISC-V processor architecture that are now resolved, proving that I put in the effort to research the architecture to ensure it is resilient enough for use in the Lab Mouse solution.” (src)

RISC-V hardware

would definitely recommend to support this project.: if one has little money:

https://www.crowdsupply.com/sifive/hifive1-rev-b ($60)

with massive amounts of money… https://www.crowdsupply.com/sifive/hifive-unleashed ($1000)

+ https://www.crowdsupply.com/microsemi/hifive-unleashed-expansion-board ($2000)

full blown RISC-V PC:

one can even build one’s own risc-v pc: (one can only hope that mass production will bring prices down)

https://vimeo.com/315869857

https://vimeo.com/215542017

https://abopen.com/news/building-a-risc-v-pc/

is still pretty expensive

microsemi offers a sata adapter for $2000

… but with $2000 also PRETTY EXPENSIVE.

https://www.heise.de/newsticker/meldung/FPGA-Erweiterung-fuers-RISC-V-Linux-Entwicklerboard-4042648.html

RISC-V emulator in Javascript? JSLinux

https://bellard.org/jslinux/

Run Linux or other Operating Systems in your browser!

The following emulated systems are available:

CPUOS (Distribution)User

InterfaceVFsync

accessStartup

LinkTEMU

ConfigCommentx86Linux 4.12.0 (Buildroot)ConsoleYesclick hereurlx86Linux 4.12.0 (Buildroot)X WindowYesclick hereurlRight mouse button for the menu.x86Windows 2000GraphicalNoclick hereurlDisclaimer.x86FreeDOSVGA TextNoclick hereurlriscv64Linux 4.15.0 (Buildroot)ConsoleYesclick hereurlriscv64Linux 4.15.0 (Buildroot)X WindowYesclick hereurlRight mouse button for the menu.riscv64Linux 4.15.0 (Fedora 29)ConsoleYesclick hereurlWarning: longer boot time.riscv64Linux 4.15.0 (Fedora 29)X WindowYesclick hereurlWarning: longer boot time. Right mouse button for the menu.© 2011-2018 Fabrice Bellard – NewsVM listFAQTechnical notes

as seen in:

http://bofh.nikhef.nl/events/FOSDEM/2019/AW1.126/riscvfedora.webm

http://bofh.nikhef.nl/events/FOSDEM/2019/AW1.126/riscvfedora.webm

what else is out there https://www.crowdsupply.com/search?q=HiFive

#linux #gnu #gnulinux #opensource #administration #sysops #riscv #browser #js #javascript #fedora #crazy #pc #risc #alternative #alternatives #hardware

Originally posted at: https://dwaves.de/2019/10/08/starfive-risc-v-dual-core-soc-for-179-bucks-building-a-riscv-pc-risc-v-fedora-emulator-in-javascript-in-browser/

canoodle@nerdpol.ch
canoodle@nerdpol.ch

How to dissassemble Harddisk Upgrade a Inside a Lenovo ThinkCentre M92p

they are fast, they are small, they use very little energy (less than 30W), the Lenovo ThinkCentre M92p despite being also pretty old (2012) it still rocks, the naming ain’t sexy, but they work very well.

now let’s look inside:

it meassures:

  • width: 18cm
  • “depth”: 18.5cm
  • height: 3.5cm

extremely compact.

this opening procedure was done to upgrade the ssd harddisk.

#linux #gnu #gnulinux #opensource #administration #sysops #lenovo #hardware

Originally posted at: https://dwaves.de/2022/05/25/how-to-dissassemble-harddisk-upgrade-a-inside-a-lenovo-thinkcentre-m92p/

canoodle@nerdpol.ch

PiHole - advertisement & tracking blocking (also runs on the even faster odroids) can speed up surfing +50%

let’s face it: the internet has become a gigantic surveillance machine, with hundreds of private companies, trying to collect as much data on the user as possible in order to “predict the market” while also using with AI to analyze “BigData”.

Advertisement is MORE than annoying, it is a massive privacy issue, which makes millions of web users install the excellent

open source ublock firefox addon (“full spectrum blocker”) but there is even ads & tracking blocking “in hardware”:

https://www.youtube.com/watch?v=FjNkv2aPiiA

https://www.youtube.com/watch?v=FjNkv2aPiiA

pihole blocking advertisement system: cuts website loading times in half

https://www.heise.de/news/c-t-3003-Pi-Hole-kann-Ladezeiten-halbieren-Tutorial-7101911.html

https://magazine.odroid.com/article/pihole/

hurray hurray, South Korean company Odroid (well known for their beefy (performant while using less than 5Watts!) Raspberry competitors) just released “Odroid” “M1” (not getting a penny for this) for little money:

which can be EU shipped from here: https://www.pollin.de/p/odroid-m1-einplatinen-computer-4-gb-ram-811474

more specs here: (and a video review showing it playing back youtube fluently + while running googl earth 3D)

https://www.cnx-software.com/2022/03/29/hardkernel-launches-odroid-m1-rockchip-rk3568b2-sbc/

imho EVERY modern day firewall needs to include advertisement & tracking blocking PER DEFAULT 🙂

#linux #gnu #gnulinux #opensource #administration #sysops #bigdata #privacy #advertisement #blocking #pihole #speed #internet #speedup #fast

Originally posted at: https://dwaves.de/2022/05/21/pihole-advertisement-tracking-blocking-also-runs-on-the-even-faster-odroids-can-speed-up-surfing-50/

canoodle@nerdpol.ch

GNU Linux (Debian) - how to shrink-resize lvm2 luks encrypted root partition - how to enlarge SWAP space

“to swap, or not to swap, that is the question”: definately swap Shakespeare

“to encrypt, or not to encrypt” (if it contains valuable data, encrypt)

“to lvm, or not to lvm” (well….)

because: one fine day, the user decides to open 1000x programs + serveral vms at the same time, why not right?

the system runs out of RAM AND SWAP space (it almost freezes, to death).

but behold!

instead of simply pulling the plug.

the admin decides to wait and work on device B, while device A is struggling to keep alive.

after aprox 15min… the kvm vm crashes (probably because it used the most RAM) while the other programs survive.

For some reason, the otherwise excellent Debian installer, per default decides to reserve only 1GByte of SWAP on an 1000GB SSD.

In past times, the rule of thumb was “at least half of RAM size”, would even go as far and say: make swap = RAM size, why not? SSD space and NVMe space are getting cheaper and faster, nothing worse then running out of RAM & SWAP space (system enters undefined behavior, not only GNU Linux, OSX too)

let’s change that to something like 30GB of swap.

per default the user (probably) has chosen to use lvm2 (logical volume management) + luks2 encryption.

gparted is a pretty nice gui based program, that can do resize of ext4 partitions nicely, but it can’t help with logical volume management.

<span style="color: #ff0000;"># HAVE A FULL BACKUP OF THE HARDDISK IN QUESTION!</span>

# <a href="https://dwaves.de/2021/04/11/ideallinux2021-updated-optimized-bootale-gnu-debian-10-9-64bit-non-free-based-usb-stick-the-live-system-that-keeps-changes-stored/">boot dwaves' live usb stick, or another live system</a>
# (it is Debian 10 based)

# IdealLinux stick, already has those requirements installed
<span style="color: #00ffff;">su - root
apt update
apt install lvm2 cryptsetup</span>

# first thing: find the partition in question

<span style="color: #00ffff;">lsblk -fs</span>

# might help too
<span style="color: #00ffff;">alias harddisks='lsblk -o '\''NAME,MAJ:MIN,RM,SIZE,RO,FSTYPE,MOUNTPOINT,UUID'\'''</span>

# run the alias
<span style="color: #00ffff;">harddisks</span>

# look at the disk sizes...
# which one is (probably) the partition in question?

# found it? good, let's continue...

# decrypt the partition
<span style="color: #00ffff;">cryptsetup open /dev/sda5 encrypted</span>

*** enter decryption password ***

# make all volume groups active
<span style="color: #00ffff;">vgchange -ay</span>
  2 logical volume(s) in volume group "IdealLinux2021-vg" now active
  2 logical volume(s) in volume group "toplap-vg" now active <- that's the one

<span style="color: #00ffff;">vgdisplay</span>; # list all volume groups
  --- Volume group ---
  VG Name               toplap-vg <-
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               <931.02 GiB
  PE Size               4.00 MiB
  Total PE              238340
  Alloc PE / Size       238340 / <931.02 GiB
  Free  PE / Size       0 / 0   

<span style="color: #00ffff;">lvdisplay</span>; # list all logical volumes
  --- Logical volume ---
  LV Path                /dev/toplap-vg/root <- the one to shrink down to 900GB
  LV Name                root
  VG Name                toplap-vg
  LV Write Access        read/write
  LV Creation host, time toplap, 2022-05-17 03:48:56 -0400
  LV Status              available
  # open                 0
  LV Size                930.06 GiB
  Current LE             238096
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:3

  --- Logical volume ---
  LV Path                /dev/toplap-vg/swap_1 <- the swap that is too small, will increase to 30GB
  LV Name                swap_1
  VG Name                toplap-vg
  LV Write Access        read/write
  LV Creation host, time toplap, 2022-05-17 03:48:56 -0400
  LV Status              available
  # open                 0
  LV Size                976.00 MiB
  Current LE             244
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:4

# run a pre-resize filesystem check
<span style="color: #00ffff;">fsck -y -v -f /dev/toplap-vg/root</span>

# resize the root filesystem from 930GB to 900GB
<span style="color: #00ffff;">resize2fs /dev/toplap-vg/root 900G</span>

resize2fs 1.44.5 (15-Dec-2018)
Resizing the filesystem on /dev/toplap-vg/root to 235929600 (4k) blocks.
The filesystem on /dev/toplap-vg/root is now 235929600 (4k) blocks long.

<span style="color: #00ffff;">lvreduce -L 900G /dev/toplap-vg/root</span> 

  WARNING: Reducing active logical volume to 900.00 GiB.
  THIS MAY DESTROY YOUR DATA (filesystem etc.)
Do you really want to reduce toplap-vg/root? [y/n]: <span style="color: #00ffff;">y</span>
  Size of logical volume toplap-vg/root changed from 930.06 GiB (238096 extents) to 900.00 GiB (230400 extents).
  Logical volume toplap-vg/root successfully resized.

# post-resize filesystem check
<span style="color: #00ffff;">fsck -y -v -f /dev/toplap-vg/root</span>
<span style="color: #00ffff;">
lvextend -l +100%FREE /dev/toplap-vg/swap_1</span>
  Size of logical volume toplap-vg/swap_1 changed from 976.00 MiB (244 extents) to <31.02 GiB (7940 extents).
  Logical volume toplap-vg/swap_1 successfully resized.

<span style="color: #00ffff;">mkswap /dev/toplap-vg/swap_1</span>
mkswap: /dev/toplap-vg/swap_1: warning: wiping old swap signature.
Setting up swapspace version 1, size = 31 GiB (33302769664 bytes)

<span style="color: #00ffff;">sync; sync; sync;</span>

# reboot system

<span style="color: #00ffff;">shutdown -r now</span>;

it worked?

possibly related Links:

also checkout:

https://dwaves.de/2017/05/29/lnux-lvm-lvm2-logical-volumen-management-concept-man-pages-dynamic-resizing-partitions-snapshots-how-to-upgrade-lvm2-encrypted-to-larger-harddisk/

cudos:

https://www.casesup.com/category/knowledgebase/howtos/how-to-shrink-an-lvm-volume-safely-on-linux

#linux #gnu #gnulinux #opensource #administration #sysops #gnu-linux #debian #storage #ram #swap

Originally posted at: https://dwaves.de/2022/05/19/gnu-linux-debian-how-to-shrink-resize-lvm2-luks-encrypted-root-partition-how-to-enlarge-swap-space/

canoodle@nerdpol.ch

GNU Linux (Debian) - how to resize lvm2 luks encrypted root partition - how to enlarge SWAP space

“to swap, or not to swap, that is the question”: definately swap Shakespeare

“to encrypt, or not to encrypt” (if it contains valuable data, encrypt)

“to lvm, or not to lvm” (well….)

because: one fine day, the user decides to open 1000x programs + serveral vms at the same time, why not right?

the system runs out of RAM AND SWAP space (it almost freezes, to death).

but behold!

instead of simply pulling the plug.

the admin decides to wait and work on device B, while device A is struggling to keep alive.

after aprox 15min… the kvm vm crashes (probably because it used the most RAM) while the other programs survive.

For some reason, the otherwise excellent Debian installer, per default decides to reserve only 1GByte of SWAP on an 1000GB SSD.

In past times, the rule of thumb was “at least half of RAM size”, would even go as far and say: make swap = RAM size, why not? SSD space and NVMe space are getting cheaper and faster, nothing worse then running out of RAM & SWAP space (system enters undefined behavior, not only GNU Linux, OSX too)

let’s change that to something like 30GB of swap.

per default the user (probably) has chosen to use lvm2 (logical volume management) + luks2 encryption.

gparted is a pretty nice gui based program, that can do resize of ext4 partitions nicely, but it can’t help with logical volume management.

<span style="color: #ff0000;"># HAVE A FULL BACKUP OF THE HARDDISK IN QUESTION!</span>

# <a href="https://dwaves.de/2021/04/11/ideallinux2021-updated-optimized-bootale-gnu-debian-10-9-64bit-non-free-based-usb-stick-the-live-system-that-keeps-changes-stored/">boot dwaves' live usb stick, or another live system</a>
# (it is Debian 10 based)

# IdealLinux stick, already has those requirements installed
<span style="color: #00ffff;">su - root
apt update
apt install lvm2 cryptsetup</span>

# first thing: find the partition in question

<span style="color: #00ffff;">lsblk -fs</span>

# might help too
<span style="color: #00ffff;">alias harddisks='lsblk -o '\''NAME,MAJ:MIN,RM,SIZE,RO,FSTYPE,MOUNTPOINT,UUID'\'''</span>

# run the alias
<span style="color: #00ffff;">harddisks</span>

# look at the disk sizes...
# which one is (probably) the partition in question?

# found it? good, let's continue...

# decrypt the partition
<span style="color: #00ffff;">cryptsetup open /dev/sda5 encrypted</span>

*** enter decryption password ***

# make all volume groups active
<span style="color: #00ffff;">vgchange -ay</span>
  2 logical volume(s) in volume group "IdealLinux2021-vg" now active
  2 logical volume(s) in volume group "toplap-vg" now active <- that's the one

<span style="color: #00ffff;">vgdisplay</span>; # list all volume groups
  --- Volume group ---
  VG Name               toplap-vg <-
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               <931.02 GiB
  PE Size               4.00 MiB
  Total PE              238340
  Alloc PE / Size       238340 / <931.02 GiB
  Free  PE / Size       0 / 0   

<span style="color: #00ffff;">lvdisplay</span>; # list all logical volumes
  --- Logical volume ---
  LV Path                /dev/toplap-vg/root <- the one to shrink down to 900GB
  LV Name                root
  VG Name                toplap-vg
  LV Write Access        read/write
  LV Creation host, time toplap, 2022-05-17 03:48:56 -0400
  LV Status              available
  # open                 0
  LV Size                930.06 GiB
  Current LE             238096
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:3

  --- Logical volume ---
  LV Path                /dev/toplap-vg/swap_1 <- the swap that is too small, will increase to 30GB
  LV Name                swap_1
  VG Name                toplap-vg
  LV Write Access        read/write
  LV Creation host, time toplap, 2022-05-17 03:48:56 -0400
  LV Status              available
  # open                 0
  LV Size                976.00 MiB
  Current LE             244
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:4

# run a pre-resize filesystem check
<span style="color: #00ffff;">fsck -y -v -f /dev/toplap-vg/root</span>

# resize the root filesystem from 930GB to 900GB
<span style="color: #00ffff;">resize2fs /dev/toplap-vg/root 900G</span>

resize2fs 1.44.5 (15-Dec-2018)
Resizing the filesystem on /dev/toplap-vg/root to 235929600 (4k) blocks.
The filesystem on /dev/toplap-vg/root is now 235929600 (4k) blocks long.

<span style="color: #00ffff;">lvreduce -L 900G /dev/toplap-vg/root</span> 

  WARNING: Reducing active logical volume to 900.00 GiB.
  THIS MAY DESTROY YOUR DATA (filesystem etc.)
Do you really want to reduce toplap-vg/root? [y/n]: <span style="color: #00ffff;">y</span>
  Size of logical volume toplap-vg/root changed from 930.06 GiB (238096 extents) to 900.00 GiB (230400 extents).
  Logical volume toplap-vg/root successfully resized.

# post-resize filesystem check
<span style="color: #00ffff;">fsck -y -v -f /dev/toplap-vg/root</span>
<span style="color: #00ffff;">
lvextend -l +100%FREE /dev/toplap-vg/swap_1</span>
  Size of logical volume toplap-vg/swap_1 changed from 976.00 MiB (244 extents) to <31.02 GiB (7940 extents).
  Logical volume toplap-vg/swap_1 successfully resized.

<span style="color: #00ffff;">mkswap /dev/toplap-vg/swap_1</span>
mkswap: /dev/toplap-vg/swap_1: warning: wiping old swap signature.
Setting up swapspace version 1, size = 31 GiB (33302769664 bytes)

<span style="color: #00ffff;">sync; sync; sync;</span>

# reboot system

<span style="color: #00ffff;">shutdown -r now</span>;

it worked?

possibly related Links:

also checkout:

https://dwaves.de/2017/05/29/lnux-lvm-lvm2-logical-volumen-management-concept-man-pages-dynamic-resizing-partitions-snapshots-how-to-upgrade-lvm2-encrypted-to-larger-harddisk/

cudos:

https://www.casesup.com/category/knowledgebase/howtos/how-to-shrink-an-lvm-volume-safely-on-linux

#linux #gnu #gnulinux #opensource #administration #sysops #gnu-linux #debian #storage #ram #swap

Originally posted at: https://dwaves.de/2022/05/19/gnu-linux-debian-how-to-resize-lvm2-luks-encrypted-root-partition-how-to-enlarge-swap-space/

canoodle@nerdpol.ch

GNU Linux (Debian 11) - Brother HL-5450DN reliable Black and White Laser printer - that works out of the box with cups - filter those laser printers

Brother HL-5450DN

<span style="color: #00ffff;">lsb_release -d</span>; # tested on
Description:    Debian GNU/Linux 11 (bullseye)

# with mate desktop
<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt update; apt install mate-desktop-environment;</span>
ii  mate-desktop-environment              1.24.0+4                         all          MATE Desktop Environment (metapackage)

good job all involved 🙂

the MFC 9465 and 9460 and 9332 also should work “smooth” (the install script (which will download & install additional drivers) might be needed for scan functionality)

https://dwaves.de/2016/03/24/how-to-reset-toner-of-corruption-brother-mfc-9332cdw-what-to-do-about-laser-printer-air-pollution-and-healthcare-concerns/

https://dwaves.de/2015/06/16/gnu-linux-one-script-to-setup-them-all-setup-brother-mfc-9465-9460-9332-cdn-and-others-to-print-and-scan-in-color/

laser printers & health

  • it might be wise, to give the laser printers it’s own room (get a room)
    • living room
    • sliping room
    • dining room
  • plus a filter on the output fan vents (it’s the large one on the right-top side)
      • tested and yes, a lot of black sooth will accumulate here

#linux #gnu #gnulinux #opensource #administration #sysops #print #printer #gnu-linux #cups #brother #works

Originally posted at: https://dwaves.de/2022/05/19/gnu-linux-debian-11-brother-hl-5450dn-reliable-black-and-white-laser-printer-that-works-out-of-the-box-with-cups-filter-those-laser-printers/

canoodle@nerdpol.ch

GNU Linux (distro independent) - how to set fixed ip - temporarily

this is a quick bash hack, to set an additional fixed ip to the user's interface, this will (brute force) OVERWRITE all mess done by network managers of various origins: (there should be only one config file to config network settings and[...]

#linux #gnu #gnulinux #opensource #administration #sysops #gnu-linux #networking #lan #connect #ip

Originally posted at: https://dwaves.de/2022/05/19/gnu-linux-distro-independent-how-to-set-fixed-ip-temporarily/

canoodle@nerdpol.ch

apt search rss - what's in the repo?

what's in the (Debian apt) repo concerning RSS (News) Feeds? apt search rss ... then manually filtered. akregator/stable 4:20.08.3-1 amd64 RSS/Atom feed aggregator cairo-dock-rssreader-plug-in/stable 3.4.1+git20201022.a0d3415c-1 amd64 RSS Reader plug-in for Cairo-dock chromium-tt-rss-notifier/stable 0.5.2-2.1 all Chromium extension providing toolbar button for TT-RSS installations[...]

#linux #gnu #gnulinux #opensource #administration #sysops #rss #news #feed

Originally posted at: https://dwaves.de/2022/05/17/apt-search-rss-whats-in-the-repo/

canoodle@nerdpol.ch
canoodle@nerdpol.ch

Rst vs Go - Open Source is about enabling users - Rust lang will complement C around the GNU Linux Kernel (for better safety) "Amazon, Microsoft, Google" and the White House, want to make Open Source more secure

Open Source is about enabling users

“Amazon, Microsoft, Google” and the White House, want to help make Open Source more secure…

https://www.youtube.com/watch?v=U-8KopUKMzA

https://www.youtube.com/watch?v=U-8KopUKMzA

so far so good eh?

How will this exactly play out? What will be the “modi operandi”? (Pentagon & JP Morgan Bank, are interested in making the software supply chain more secure, as the IT of banks (!!!) not very good (say the banks THEMSELVES (that fired a lot of IT staff to save on money))

Just an idea for the govs & big corps with the money:

  • put up a “Open Source” “kickstarter” like website
    • where companies & gov can put up their requirements
    • Open Source developers either accept to tackle those requirements
    • or:
      • post their own projects & investors can allocate their resorces to Open Source
      • ABSOLUTE transparency is critical here, not a “pay to play” “taking power” “taking over” “Open Source” “influencing” sealing deals behind closed doors.

https://en.wikipedia.org/wiki/Star_Trek:_First_Contact

https://en.wikipedia.org/wiki/Star_Trek:_First_Contact

long version:

https://peertube.co.uk/w/jKvQozs7xDqpQvbwQFdKbF

The Star Trek economy: will it ever exist?

Afaik Dutch historian Rutger Bregman confirms in his book “Humankind: A Hopeful History” (BE WARNED: it is a realist’s thriller!), that “the nature” of humans (also under constant development), is as such, that only a small percentage are reckless “psychopaths”,

the majority of mankind rather wants to help each other, than shoot each other.

Rust “second in command” around the GNU Linux Kernel

https://en.wikipedia.org/wiki/Rust_(programming_language)

https://en.wikipedia.org/wiki/Rust_(programming_language)

https://en.wikipedia.org/wiki/Rust_(programming_language)

https://en.wikipedia.org/wiki/Rust_(programming_language)

https://foundation.rust-lang.org/

https://foundation.rust-lang.org/

Because Rust lang promises improvements around cyber/itsecurity (no more buffer over/underruns), it might become “second in command” around the Kernel.

The cons: Rust is more C++ than C, which might be a problem for the (long term) C nerds.

Unless (Linus?) & Greg (or someone else) wants to develop a brand new “C” “2.0” lang + compiler designed around security…

Unless Google wants to change it’s Go lang licence…

…Rust it is.

Is Go (a more C like) alternative?

https://en.wikipedia.org/wiki/Go_(programming_language)

https://en.wikipedia.org/wiki/Go_(programming_language)

(2018: developer Voit wrote a Network driver (GNU Linux kernel module) in Go)

https://www.net.in.tum.de/fileadmin/bibtex/publications/theses/2018-ixy-go.pdf

C ixy vs Go ixy: performance (only) “10% slower then the C implementation under optimal circumstance” (optimal meaning: system’s CPU needs fast single threading)

“One of the biggest problem during development was low-level memory management.”

“Specifically register access has proven itself to be difficult in Go

“On the other hand we were surprised about the garbage collection.”

“Originally named as the reason why Go is nor suited for systems programming, our analysis has proven otherwise”

“easier to read and does not require much understanding of the language itself in order to understand the code, especially compared to some C constructs like function pointer, pointer casting and other more intricate operations” (src)

the Go lang licencing MumboJumbo:

“Copyright (c) 2009 The Go Authors. All rights reserved.”

“Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

* Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS

“AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT

LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR

A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT

OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,

SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT

LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY

THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT

(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE

OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.”

that’s not all… there is more licencing mumbojumbo for all those Free Software Foundation & lawyerzzz:

‘Additional IP Rights Grant (Patents)’

‘”This implementation” means the copyrightable works distributed by Google as part of the Go project.

Google hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section)

patent license to make, have made, use, offer to sell, sell, import, transfer and otherwise run, modify and propagate

the contents of this implementation of Go,

where such license applies only to those patent claims,

both currently owned or controlled by Google and acquired in the future,

licensable by Google that are necessarily infringed by this implementation of Go.

This grant does not include claims that would be infringed only as a consequence of further modification of this implementation.

If you or your agent or exclusive licensee institute or order or agree to the institution of patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that this implementation of Go or any code incorporated within this implementation of Go constitutes direct or contributory patent infringement,

or inducement of patent infringement, then any patent rights granted to you under this License for this implementation of Go shall terminate as of the date such litigation is filed.’

src: https://raw.githubusercontent.com/golang/go/master/PATENTS

While the sources of the Go lang are indeed accessible via github, it’s licence is neither GPL 2.0 nor GPL 3.0 nor Apache licence nor MIT licence and thus questionable if:

  1. Google can be trusted (?)
  2. the Go lang licence is “compact” but (currently) not at all Open Source compatible (not a word about if modifcations are allowed)
  3. why did Google not simply pick a “well known” Open source licence? https://opensource.org/licenses

One fine day, Google might to decide, to change the licence, and from this to:

Next problem: Rust (src here) was started by Mozilla, is used by Mozilla for Firefox, but Mozilla has build up financial dependencies to Google.

(Rust in contrast is licenced under MIT & Apache licence https://www.rust-lang.org/policies/licenses)

While this is all not really: K.I.S.S (the UNIX philosophy of Keep it Super Simple)

No dispair, just do your best.

Sticking to the default?

The problem is that systems designed & “Made in the 1970s” (C compiler, Phones, Mail), were not designed around security (because it was not really a problem in those days).

So…

  • unless Google won’t change the Go lang licence to something Open Source compatible
  • unless Linus & Greg or someone else wants to build a C 2.0 around security, Rust is it.

The Go lang licencing problem is the ZFS Oracle licencing problematic all over again:

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/

In other words: Licences (money) have more than once, instead of enabling developers & users, have hindered developers & users.

Another company that M$ successfully killed by buying it…

Another example how Microsoft successfully made this planet worse:

Ever heared of Video2Brain?

IT WAS AN EXCELLENT learning platform, with high quality video learning courses with…

  • 2000 courses in German
  • 1200 courses in Spanish
  • 1300 courses in French
  • 500 courses in Japanese (as of September 2017)
  • 0 in English? (a bit strange, but this company was from Austria and has focused on the EU market, that might be one reason)

Microsoft bought it up… now it is… dead? MS killed it. #wtf?

Now a high quality Video2Brain Rust videos would be needed (luckily – again – Youtube volunteers are chipping in THANKS! (MS maybe transfer some money to them? eh? thanks!))

PS: so that’s my take, could not ask that question via…

stackoverflow.com and serverfault.com suck and DESPERATELY needs competition

stackoverflow.com and serverfault.com suck and DESPERATELY needs competition

#linux #gnu #gnulinux #opensource #administration #sysops #dev #c #development #rust #go #google #security #itsec #cybersec #cybersecurity #kernel #linus #torvalds #mozilla #licence #licencing #patents #patent

Originally posted at: https://dwaves.de/2022/05/16/rst-vs-go-open-source-is-about-enabling-users-rust-lang-will-complement-c-around-the-gnu-linux-kernel-for-better-safety-amazon-microsoft-google-and-the-white-house-want-to-make-open-sourc/

canoodle@nerdpol.ch
canoodle@nerdpol.ch

GNU Linux Debian 11 - Gnome Boxes - an Open Source VirtualBox replacement?

In search for alternatives, decided to test drive “gnome boxes“, which is said, to be an easy-going gui for the libvirt qemu virtualization system.

<span style="color: #00ffff;">lsb_release -d</span>; # tested on
Description:    Debian GNU/Linux 11 (bullseye)

<span style="color: #00ffff;">su - root
apt update
</span># with MATE Desktop (Gnome2) it's actually only 175MBytes that needs to be downloaded<span style="color: #00ffff;">
apt install gnome-boxes
apt show gnome-boxes</span>
Package: gnome-boxes
Version: 3.38.2-1
Priority: optional
Section: gnome
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Installed-Size: 7,140 kB
Depends: genisoimage, libosinfo-bin, libvirt-daemon, tracker (>= 2.0), dconf-gsettings-backend | gsettings-backend, libarchive13 (>= 3.1.2), libc6 (>= 2.7), libcairo2 (>= 1.6.0), libfreerdp2-2 (>= 2.0.0~git20160317.1.75ae3f5+dfsg1), libgdk-pixbuf-2.0-0 (>= 2.25.2) | libgdk-pixbuf2.0-0 (>= 2.25.2), libglib2.0-0 (>= 2.52.0), libgtk-3-0 (>= 3.22.20), libgtk-vnc-2.0-0 (>= 0.5.1), libgtksourceview-4-0 (>= 2.91.4), libgudev-1.0-0 (>= 165), libhandy-0.0-0 (>= 0.0.11), libosinfo-1.0-0 (>= 1.4.0~), libpango-1.0-0 (>= 1.14.0), libsecret-1-0 (>= 0.7), libsoup2.4-1 (>= 2.44), libspice-client-glib-2.0-8 (>= 0.35), libspice-client-gtk-3.0-5 (>= 0.32), libtracker-sparql-2.0-0 (>= 0.10.0), libusb-1.0-0 (>= 2:1.0.8), libvirt-glib-1.0-0 (>= 3.0.0), libvte-2.91-0 (>= 0.40.2), libwebkit2gtk-4.0-37 (>= 2.26), libwinpr2-2 (>= 2.0.0~git20160317.1.75ae3f5+dfsg1), libxml2 (>= 2.7.8)
Recommends: qemu-system-x86
Breaks: libspice-server1 (<< 0.12.5-1.1~)
Homepage: <a href="https://wiki.gnome.org/Apps/Boxes">https://wiki.gnome.org/Apps/Boxes</a>
Tag: admin::virtualization, hardware::emulation, implemented-in::python,
 implemented-in::vala, interface::graphical, interface::x11,
 role::program, scope::application, suite::gnome, suite::openstack,
 system::cloud, system::virtual, uitoolkit::gtk, use::simulating,
 use::viewing, x11::application
Download-Size: 1,085 kB
APT-Manual-Installed: yes
APT-Sources: <a href="http://ftp.halifax.rwth-aachen.de/debian">http://ftp.halifax.rwth-aachen.de/debian</a> bullseye/main amd64 Packages
Description: Simple GNOME app to access remote or virtual systems

 GNOME Boxes is a desktop client to view or use local virtual machines,

 remote physical machines, or remote virtual machines.

Boxes is intentionally simple and easy to use.

Hardware virtualization is required to use local virtual machines.

as minimalistic as the description is the gui:

indeed nothing against a bit of gui minimalism…

kvm is developed by Redhat… that’s why it is right there on top… but there is more for “easy” or “instant” install…

would have been nice, if the disk size can be directly entered in numbers as well…

also a checkbox for “thin provisioning” would have been nice

but it definately works

the vm properties tab, might be a bit too minimalistic… when changing vm settings afterwards, the user will have to rely on the user’s xml editing skillz ;-p

this isa nicely done overview screen… showing real time thumbnails of the all vm’s current desktop…

when almost finished installing Debian 11… gnome boxes skips the “where to install grub” screen and reports “debian 11 is ready to use”

but it won’t boot X-D

just in case if the cursor is “stuck” it can be released by hitting Ctrl+Alt

the gui minimalism is a nice try, but gnome-boxes got some quality issues there, not ready for use with Debian, not ready to replace redhat’s kvm’s excellent virtmanager, which works flawless under GNU Linux Debian and has way more settings to modify vms

https://dwaves.de/2020/12/05/gnu-linux-debian-10-how-to-install-kvm-virtualization-qemu-basic-virsh-commands-kvm-cheat-sheed/

#linux #gnu #gnulinux #opensource #administration #sysops #gnome #boxes #virtualbox #kvm #virtual #vm #virtualization #qemu

Originally posted at: https://dwaves.de/2022/05/10/gnu-linux-debian-11-gnome-boxes-an-open-source-virtualbox-replacement/

canoodle@nerdpol.ch

cyber it-security news - DKB phishing fake mails AND sms

how much is the phish? The phone-system but also the E-Mail system, are amongst the oldest, digital systems still in use today (the first E-Mail was send 1971). Unfortunately both systems - back then - were not designed with security in mind.[...]

#linux #gnu #gnulinux #opensource #administration #sysops #cyber #itsec #cybersec #itsecurity #dkb #bank #banking #phishing #phish

Originally posted at: https://dwaves.de/2022/05/10/cyber-it-security-news-dkb-phishing-fake-mails-and-sms/

canoodle@nerdpol.ch

GNU Linux Debian - how to view chm (windows help) files

chm files are basically html files packed into an archive.

unpacking them should be possible, but

archmage file.chm output

“Segmentation” faulted.

<span style="color: #00ffff;">lsb_release -a</span>; # tested on
No LSB modules are available.
Description:    Debian GNU/Linux 10 (buster)


<span style="color: #00ffff;">su - root
apt update
apt install xchm
</span>

then in caja (or other file explorer) r-click-the-file-> open with xchm

even comes with cross os support! (lin, win, osx)

the GPL licenced src is here: https://github.com/rzvncj/xCHM

the author does not have any access anymore to: https://sourceforge.net/projects/xchm/ (someone else restored the page, might be scam!)

manpage:

xchm.man.txt

specs:

http://savannah.nongnu.org/projects/chmspec

#linux #gnu #gnulinux #opensource #administration #sysops #chm #gnu-linux #debian

Originally posted at: https://dwaves.de/2022/05/08/gnu-linux-debian-how-to-view-chm-windows-help-files/

librazik@diaspora-fr.org

Sortie de LibraZiK-4

#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

Très chères et chers LibraZiK-os,

Avec la venue du printemps, je suis très heureux de vous annoncer la venue de la nouvelle LibraZiK-4 !

LibraZiK-4 est donc disponible pour tous les utilisateurs francophones ou non, pour amd64 (architecture PC 64 bits) et i386 (architecture PC 32 bits).

Peu de blabla dans cette entête, passons tout de suite au gros de la nouvelle ci dessous...

Tout d'abord, merci aux personnes ayant participé à fabriquer ou ayant testé LibraZiK-4 depuis plusieurs mois. Grâce à elles, LibraZiK-4 est assez stable pour être publiée maintenant. Il s'agit de : Nicolas "sub26nico", Jean-Pierre "jpcima", Erwan "r1", et Mathieu "houston4444". C'est un plaisir d'avoir des personnes capables de réagir et tester... Lire Sortie de LibraZiK-4

canoodle@nerdpol.ch

GNU Linux (Debian) on very very old hardware (~20 Years) old hp compaq NX 7010 notebook laptop

  • this notebook was premium when released aprox. 2003
  • it still looks with those LEDs and mic and speaker mini-jacks at the front (it even has a wifi hardware switch on the front (blue LED)
  • the screen and speakers are excellent
  • the CPU und 512MB of RAM and a IDE harddisk (that can not be easily upgraded to SATA) are of course… very very sloooooooooooooooow, but as can be seen: thanks to 32Bit i386 Debian the LATEST firefox is running on this 20 year old device
  • this is the time, when modularity would have been nice, swap out the mainboard for a newer one, off you go another 20 years

how to setup GNU Linux on this old hardware?

two options: (as booting from USB does not really work with computers that old)

  • hook up to internet via LAN
  • burn a 32Bit i386 Debian to CD-R or
  • try to setup like this

or:

https://dwaves.de/2021/12/10/gnu-linux-debian-11-bullseye-example-for-https-enabled-etc-apt-sources-list-including-contrib-and-non-free/

  • what is REMARKABLE, that the https://xfce.org/ Desktop ONLY takes about 250MBytes of RAM! NICE WORK! 🙂
  • instead of running the latest firefox (which is really not recommended with this kind of old calculators) use terminal based text based lynx browser instead 🙂
    • while not being able to display pictures (?) it lynx browser does it’s job nicely to retreave text based answers on text based search engine queries
    • again: great job 🙂

PS: background story: the demise of compaq

(it does not do much, but it still exists… as a name)

Compaq Computer Corporation (sometimes abbreviated to CQ prior to a 2007 rebranding) was an American information technology company founded in 1982 that developed, sold, and supported computers and related products and services. Compaq produced some of the first IBM PC compatible computers, being the second company after Columbia Data Products[1] to legally reverse engineer the IBM Personal Computer.[2][3] It rose to become the largest supplier of PC systems during the 1990s before being overtaken by HP in 2001.[4] Struggling to keep up in the price wars against Dell, as well as with a risky acquisition of DEC,[5] Compaq was acquired for US$25 billion by HP in 2002.[6][7] The Compaq brand remained in use by HP for lower-end systems until 2013 when it was discontinued.[8] The brand is licensed to third parties for use on electronics in Brazil and India. ” (Wiki)

(Elon) “He moved to California in 1995 to attend Stanford University but decided instead to pursue a business career, co-founding the web software company Zip2 with his brother Kimbal. The startup was acquired by Compaq for $307 million in 1999.” (no wonder they went BROKE X-D)

“The same year, Musk co-founded online bank X.com, which merged with Confinity in 2000 to form PayPal. The company was bought by eBay in 2002 for $1.5 billion.” (Wiki)

#linux #gnu #gnulinux #opensource #administration #sysops #gnu-linux #debian #hp #compaq

Originally posted at: https://dwaves.de/2022/05/06/gnu-linux-debian-on-very-very-old-hardware-20-years-old-hp-compaq-nx-7010-notebook-laptop/

canoodle@nerdpol.ch

GNU Linux (Debian) on very very old hardware (~20 Years) old hp compaq NX 7010 notebook laptop

  • this notebook was premium when released
  • it still looks with those LEDs and mic and speaker mini-jacks at the front (it even has a wifi hardware switch on the front (blue LED)
  • the screen and speakers are excellent
  • the CPU und 512MB of RAM and a IDE harddisk (that can not be easily upgraded to SATA) are of course… very very sloooooooooooooooow, but as can be seen: thanks to 32Bit i386 Debian the LATEST firefox is running on this 20 year old device
  • this is the time, when modularity would have been nice, swap out the mainboard for a newer one, off you go another 20 years

how to setup GNU Linux on this old hardware?

two options: (as booting from USB does not really work with computers that old)

  • hook up to internet via LAN
  • burn a 32Bit i386 Debian to CD-R or
  • try to setup like this

or:

https://dwaves.de/2021/12/10/gnu-linux-debian-11-bullseye-example-for-https-enabled-etc-apt-sources-list-including-contrib-and-non-free/

PS: background story: the demise of compaq

(it does not do much, but it still exists… as a name)

Compaq Computer Corporation (sometimes abbreviated to CQ prior to a 2007 rebranding) was an American information technology company founded in 1982 that developed, sold, and supported computers and related products and services. Compaq produced some of the first IBM PC compatible computers, being the second company after Columbia Data Products[1] to legally reverse engineer the IBM Personal Computer.[2][3] It rose to become the largest supplier of PC systems during the 1990s before being overtaken by HP in 2001.[4] Struggling to keep up in the price wars against Dell, as well as with a risky acquisition of DEC,[5] Compaq was acquired for US$25 billion by HP in 2002.[6][7] The Compaq brand remained in use by HP for lower-end systems until 2013 when it was discontinued.[8] The brand is licensed to third parties for use on electronics in Brazil and India. ” (Wiki)

(Elon) “He moved to California in 1995 to attend Stanford University but decided instead to pursue a business career, co-founding the web software company Zip2 with his brother Kimbal. The startup was acquired by Compaq for $307 million in 1999.” (no wonder they went BROKE X-D)

“The same year, Musk co-founded online bank X.com, which merged with Confinity in 2000 to form PayPal. The company was bought by eBay in 2002 for $1.5 billion.” (Wiki)

#linux #gnu #gnulinux #opensource #administration #sysops #gnu-linux #debian #hp #compaq

Originally posted at: https://dwaves.de/2022/05/06/gnu-linux-debian-on-very-very-old-hardware-20-years-old-hp-compaq-nx-7010-notebook-laptop/