Monday, 2 December 2024

[BSD] all the BSDs seem to carry a 90s vibe...

 Just read that blog, 1000% with the reasons, issues not only with OpenBSD, FreeBSD as well - lets put aside NetBSD as IMHO is mainly retro-OS- suffer from various issues. Secure and stable OS . yes - but FFS please provide some good support for VM, USB, ACPI, video acceleration.

Tuesday, 29 October 2024

[debian] Notes on using OpenBSD under virt-manager

* CDROM must be SATA

* Remove the "tablet device" from the preferences, as I've encountered some issues with it.
I'm using CWM on both the host and guest, and I've noticed some strange behaviour with Virt-Manager. Specifically, when I use Alt + mouse to move a window, it affects the virtual window on the host instead of the guest.

Wednesday, 7 August 2024

[debian] nmtui error: settings plugin does not support modifying connections

Another 'cryptic' error from this goddamned OS, oh well... solution (as I read on various posts on web) :

edit  /etc/network/interfaces and remove any reference to the eg wired, reboot .


BTW keep the setting managed=true on /etc/NetworkManager/NetworkManager.conf in the case you use NetworkManager (nmcli etc )

Sunday, 28 July 2024

[FreeBSD] Ouch ... ok lolz

I challenged my luck and tried FreeBSD again - for the xxth time, I can't really remember when was the last time.

Unfortunately, it failed to work well as a desktop on my system.

Especially disappointing was the lack of compatibility with my system, particularly the inability to resume from suspend to RAM. (Just for the record: OpenBSD* excels in this area!), last time I ve used it the sound was like sh*t... 

The software was in a similarly disappointing state, some packages frequent crashed (even obconf crashed, FFS). Interestingly, during the installation of various ports, I noticed that many of them lacked maintainers, so one day they may be removed. Oh well...  still a nice OS for servers.

 

* OpenBSD is really a champ.. >> VA-API (Video Acceleration API) imported into xenocara  , I am sure the day they implement gfx on vmm I will screw the linux partition once for all! (still need some apps that work with USB devices like oscilloscope..)

Saturday, 22 June 2024

[ssh] oh no.. can't connect to the crap old server !

After installing a RHEL 9-based distribution, you might encounter difficulties when trying to SSH into crap older systems because of the newer, stronger cryptographic standards implemented by the operating system.

ssh_dispatch_run_fatal: Connection to XX.XX.XX.XX port 22: error in libcrypto


Anyway, there are some ways to fix this

1. Allow legacy crap system-wide (be warned.. heh)

# update-crypto-policies --set LEGACY

# ...reboot

2. or create a coe a config file (say .legacy_ssh.conf)

.include /etc/ssl/openssl.cnf
[openssl_init]
alg_section = evp_properties
[evp_properties]
rh-allow-sha1-signatures = yes


and ssh to the legacy server/NAS etc via:

OPENSSL_CONF=./.legacy_ssh.conf ssh server.ip -l root


oh, btw , your old server etc may need extra params, in my case I need to set the Key Exchange Algorithm as +diffie-hellman-group14-sha1 so I have a special config on the desktop just for that server eg :

$ cat ~/.ssh/config

Host xx.xx.xx.xx

HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
KexAlgorithms +diffie-hellman-group14-sha1
MACs +hmac-sha1
PubkeyAcceptedAlgorithms +ssh-rsa


In fact that server (a darn NAS in fact) it's just for backups (backup of backup of backup , you have an idea) and it is under firewall, strictly local net, YMMV 


Thursday, 20 June 2024

[flatpak] WSJTX / JTDX in effing dark!

FFS, those god-darn apps have no 'dark' theme esp under the fuckflatpak, so you are doomed to burn your effin eyeballs using it.. no more!! 


flatpak run edu.princeton.physics.WSJTX -stylesheet :/qdarkstyle/style.qss 

yes

HAM in dark FUCKING MODE !!! hurrah! 

it is working with JTDX - I think with any other KDE flatpak ...


Sunday, 26 May 2024

[fun time] M5Stack cardputer effed up

 
Screen screwed. How did this happen? I just touched it while trying to move the cardputer, not even with a 'hard' grip! Indeed the display there is frigging fragile also there is ZERO protection - engineering failure or simply they just want to avoid the extra cost of a few ...cents (?) in order to put a piece of transparent plastic on top of the TFT (FFS really)
 

The bad news: the TFT part of cardputer is not avail, esp as I read on subreddit .

Fortunately, there is a compatible TFT display, that works with the M5Stack Stick.

You can find it usually on the web as "Display Module 135x240 SPI Interface ST7789V 1.14in", keep in mind you will need the 8pin version, alas comes with a shorter ribbon cable.
So I bit the bullet and ordered that, and also an 8pin FPC ribbon extension cable along with an FPC coupler.

I think that if you can't find an FPC coupler you can use two 8pin FPC connectors soldered together, after all its just 8pins not 80 to solder..

Work in progress..


 

 to be update when parts arrive!


Notes:
  • M5Stack useless support, no part avail so think well before buy this IoT !!
  • FPC extension not quite compatible with the current setup, the FFC extension cable that I got is bit thinner (different manufacturers).

 

yeah!!! It is possible to fix the darn thing....

(oh btw... the displays came from China into a thin bag like crap... FFS some people)


 

 








Sunday, 5 May 2024

fix annoying auto-save of PDFs on firefox

 Mozilla crackhead-devs setup by DEFAULT to save any online PDF you open, so in fact this is spamming your Downloads folder with unwanted crap. 

Solution: 

set browser.download.open_pdf_attachments_inline (about:config) to TRUE

Saturday, 20 April 2024

[debian] back to minimal....

full desktops are no-go for me...  too much even XFCE.. darn, so 'custom' openbox + my usual apps (wine/arduino/libreOffice, also Lotus123Unix/WP Unix ) + custom scripts, launcher? dmenu of course.

To be honest there are some nice light debian flavours like Lilidog

but FFS I am a cat person!!1 sorry ... 😂 














Wednesday, 17 April 2024

[FPGA] MiSTeryNano

This is an ST/E FPGA implementation on Tang Nano 20k FPGA board , 'cheap' as chips hah (ok not exactly... sort of)

The core runs on other boards as well : Tang Primer 25k and Tang Mega 138k  (more expensive options, esp as you need extra RAM/SD etc modules for them.)

Project on github


[update after a lot of tests]

CONS

- current dock no THT, ordering a ready one (SMT) will increase the total cost to about £80 (more or less the half price of MiST)

- The M0S dock may function with certain mouse/keyboard/hubs

- USB compatibility (upd. 29 APR '24)

  • Trust wireless MSE/KBD : only keyboard works
  • HAMA wireless MSE/KBD: only keyboard works
  • Logitech wired KBD + wired logi MSE : mouse bit fast, keyboard OK
  • Logitech wired KBD + Logi wireless MSE: mouse does not work.
  • Logitech wireless K400+ (combo): both work fine

Good project anyway, there is also SNESNES, Amiga, C64 cores \o/  

(yeah Till Harbaum rulez !)

 


Friday, 1 March 2024

multi compress Amiga directories and their .info under linux as separate archives

a/ using LHA under linux :

 

for i in */; do lha c "${i%/}.lha" "$i" "${i%/}.info" ; done

 

b/  using tar
 

for i in */; do tar -cvf "${i%/}.tar" "$i" "${i%/}.info" ; done

 

both of them will create individually archives 



Tuesday, 13 February 2024

enable copy/paste from clipboard on xterm

just enter those into your .Xresources

XTerm*vt100.translations: #override \
    Shift Ctrl <Key> C: copy-selection(CLIPBOARD) \n\
    Shift Ctrl <Key> V: insert-selection(CLIPBOARD)


don't forget to   xrdb -merge ~/.Xresources

This will enable copy/paste from Clipboard to xterm

Saturday, 27 January 2024

Rhythmbox crash when connecting/sync with iPod

in the case you see the error below:

** (rhythmbox:35015): CRITICAL **: 13:28:51.141: playlist_track_removed: assertion 'track != NULL' failed

 

there is "some" fix , delete the ipod sync config file from ' .local/share/rhythmbox/sync '  YMMV


Monday, 22 January 2024

fix ID3 on mass mp3s

both my ipods - hacked to RockBox started to freak up and stop on multiple mp3s , the error ? something like ?kbps - (noID3)

the solution: strip any ID3 - eg via DeadBeef - and convert to v.2.3

via eyeD3

(NO DO NOT strip other vers of ID3 using eyeD3 as it will del the v2 as well!

eyeD3 --to-v2.3 *.mp3