So, what's your Linux week been like?

I love playing with old hardware and linux. It’s fun but the challenge is usually finding any semblance of documentation for some of these devices and their various quirks. This is especially true for Mac computers running linux so I finally took some time to start documenting the issues I’ve had post installation. I’m not a developer so I feel like documentation is someplace I can actually contribute.

finally my github might get some real use!

My weekly back-up of my OpenZFS datasets in a new way. Two computers are involved my 2019 Ryzen 3 2200G desktop ($349) and my 2003 Pentium 4 HT backup server (only leftovers, so $0). Note that the Pentium only has 2 cables connected: Power and Ethernet (1Gbps). The screens of both computers, running Ubuntu 22.04 LTS and FreeBSD 13.1, are perfectly integrated:

From the Ryzen you can see the Ubuntu dock on the left; the Ubuntu top bar and the Conky read-out on the right.
All the other stuff is from the Pentium 4 HT and that includes the wall paper and the Conky read-out on the left.
You should give special attention to the lower part of the Ubuntu dock below the separator, there you see; the icon for the Terminal of FreeBSD; a Windows XP VM Icon and the standard icons (Trash and Menu). Also the Ubuntu topbar contain the indicator for the xfce terminal running on FreeBSD in the Pentium 4 :slight_smile:

During the backup I run the XP VM to play my music with WoW and TrueBass effects :slight_smile:

I get the configuration by starting the connection as follows: ssh -X user@ip-address and afterwards I start xfce on FreeBSD as follows: startxfce4. Afterwards I start the scripts for the OpenZFS backup process (send | ssh receive). That process is running and that explains the 93% load on one Pentium CPU thread, limiting the transfer speed to ~24MB/s (~200Mbps).
That limitation is obvious looking at the CPU Passmark ratings: The 2019 Ryzen 3 2200G has 6693 points and the 2003 Pentium 4 HT has 262 points. One of the 2 cheapest and slowest Ryzen CPU is 25x faster than this Pentium 4 HT.

In the past I used Remmina, but after the upgrade from FreeBSD 13.0 to 13.1 it stopped working. I decided to sort it out later and to monitor the process with “ssh” and just for fun I started XFCE with this for me amazing result. Last week I decided to keep it. I used it now for the 2nd time and will be using it from now on, also because I gained ~10% in transmission speed, due to a more effective CPU usage.

I have experience as HW & SW developer from 17-3-69 till 1-1-11, but this result really caught me by surprise. The Ubuntu/Ryzen screen is nicely integrated with the FreeBSD/Pentium screen, while FreeBSD uses X and Ubuntu uses Wayland.

Power EXTREEEEEEEEEEEEEEEEME :bangbang: @MichaelTunnell @dasgeek

This week I’m installing Pi-hole for an org that I belong to. This org does some unusual blacklisting and whitelisting of domains, and sometimes even subdomains, and the blacklisting/whitelisting applies to only some of the computers in the LAN, not all of them.

My Pi-hole docker container has been deployed about a week now (53 client machines/gadgets on my LAN here), and I’m surprised at how much junk is getting blocked! 5% of all DNS queries today, a new high:

pihole_5percent

Dear Pi-hole devs, thanks for your awesome software!

1 Like

Employed my Raspberry Pi 1 B+ as a print server in the last few weeks. It’s working great for Windows, Linux and Android devices. Although I’m getting this annoying “Bad Request” error when connecting to CUPS via hostname rather than IP so I’m not sure what that’s about.

I’ve been doing a bit of looking at self hosting a push notification provider for my de-Google Android phone. Seems like another task for my Nextcloud server once that’s set up again after moving. And I’ll probably be switching over my LineageOS to Lineage with signature spoofing so I can install microG as well. Should be interesting!

EDIT: I spoke too soon. The print server suddenly doesn’t print a dang thing. Using a Brother HL-L2320D that normally wouldn’t have any network capabilities. Worked perfect for a week now no pages print even though CUPS reports the job completes and the status light on the printer blinks. Ooof!

Just started a new job at a VFX studio as SysAdmin. The environment is primarily macOS & Linux. Compared to my old job as IT Analyst for a hotel, I’ve never felt so in control. Before, I had to call vendors if I need something fixed, or go through a lot of red tape. Now, I can make those changes myself, and can always consult my IT teammates if I need any help. And I’m not just the IT of 1 location, as I’m also supporting other offices.

2 Likes

Well done.

1 Like

Congrats. Spend your free time reading the man pages. Report it as training and research. Reap the harvest.

2 Likes

This week I’ve been connecting to a remote site over OpenVPN, and testing out which methods of file access of a (Linux OpenMediaVault) fileserver are fastest. I needed to do common things like browse large folder structures for interesting files, download files in bulk, search for files remotely, and estimate total folder sizes (recursively totaling up all sub-folders as well).

Here are my findings, after several hours of tinkering:

  • Syncthing is the all-around fastest, if you have write access over a (very large) remote folder you’d like to copy in bulk (Syncthing needs to create a zero-size hidden file in any remote folder you want to sync). Synthing is especially fast when you have many tiny files to copy, like a bunch of ebooks, or smallish documents/spreadsheets. But be warned there is a considerable learning curve to Syncthing; best used by geeks only. Not for “normies”. :wink:
  • Filezilla is great for fast browsing around in a huge folder structure. FTP-over-TLS is as blazing fast as Syncthing for file transfers, but chokes as soon as soon as there are any Unicode chars in the filenames/folder names (potential fix here for the proftpd server of OpenMediaVault). Filezilla can also do SFTP, which has no Unicode problems - very peppy for folder browsing - but slower (than Syncthing or FTP) for larger file transfers.
  • For remotely searching for files, nothing beats just SSH’ing into the remote server and using fdfind on the command line.
  • For remotely estimating total folder sizes, a very fast and fun ncurses-based folder-size calculating app is “ncdu”. Again, SSH in to use it.
  • SMB/CIFS browsing/previewing/downloading/searching/filesize totallings always sucked very badly for speed, over OpenVPN. :-1: Avoid!

If you just want one app to do it all, Filezilla wins as all-around best goto app, IMHO.

1 Like

This week I learned how to use Virt-manager (Virtual Machine Manager). There was a learning curve, to get the installation .iso attached to a new VM, and the virtual networking, but now that I’ve played with it for a while using a test VM, I’m quite impressed.

@esbeeb Were you using any other VMs prior? such as VirtualBox? I’m curious about the learning curve from a noobie view point vs someone who is crossing over.

I have past experience with Oracle Virtualbox, and VMware Workstation, and disliked both of them (they get too naggy over time with marketing, or upgrades to the host software breaks guest VMs). Last time I tried Gnome “Boxes”, it was really immature.

I noticed that Gnome Boxes has a flatpak now (perhaps has matured since I tried it about 2 years ago), but I didn’t want to waste about 1GB of SIM card to try it, when the virt-manager-related downloads were just a few hundred MB total.