Re: [PLUG] Am I the only one who's at Hillsdale brewery & pub?
On 4/6/23 22:25, elcaset wrote: Got it. Is it late enough that everybody's gone home now? Yes. galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] Google Bard - entry level sys-admin, learning fast?
I was going to put this on the plug-talk list for John to chew on, but since the subject came up here... You Are Not a Parrot <https://nymag.com/intelligencer/article/ai-artificial-intelligence-chatbots-emily-m-bender.html> galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] Bacula in Ubuntu
On 1/19/23 15:34, Paul Heinlein wrote: On Thu, 19 Jan 2023, Galen Seitz wrote: On 1/19/23 14:47, Paul Heinlein wrote: On Thu, 19 Jan 2023, Jason Barnett wrote: Page 3 of their setup guide documents how to install it. A quick perusal suggests that you need a licence key to use even the community version. I could be wrong as I do not use it and only spent about 30 seconds in researching it. https://bacula.org/whitepapers/CommunityInstallationGuide.pdf https://www.bacula.org/bacula-binary-package-download/ I've been using Bacula since 2007 or so and have never been asked for nor needed a license key. We currently back up several hundred terabytes to tape every month (which I think qualifies as "real use"), plus a bunch more to disk, all without a licence. Purely out of curiosity, what kind of tapes drives are you using, and what type of interface is used to connect them? We're using a mix of LTO-6 and LTO-7 tapes in a Quantum library with four IBM Ultrium-TD7 drives. The drives are connected to the backup server via an Emulex fibre channel HBA. Does that answer your question? Yes, thanks. I have old DLT IV drives here, and it was tricky to keep them streaming. Getting an LTO-7 (300 MB/s raw, up to 750 MB/s compressed) seems like quite the feat. Stage it all to an SSD? galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] Bacula in Ubuntu
On 1/19/23 14:47, Paul Heinlein wrote: On Thu, 19 Jan 2023, Jason Barnett wrote: Page 3 of their setup guide documents how to install it. A quick perusal suggests that you need a licence key to use even the community version. I could be wrong as I do not use it and only spent about 30 seconds in researching it. https://bacula.org/whitepapers/CommunityInstallationGuide.pdf https://www.bacula.org/bacula-binary-package-download/ I've been using Bacula since 2007 or so and have never been asked for nor needed a license key. We currently back up several hundred terabytes to tape every month (which I think qualifies as "real use"), plus a bunch more to disk, all without a licence. Purely out of curiosity, what kind of tapes drives are you using, and what type of interface is used to connect them? galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] Powered USB-A hub - LSUSB MaxPower
On 1/17/23 19:15, MC_Sequoia wrote: You want to a guess what the MaxPower is listed for the Logitech V20 portable usb speakers are that are plugged into my pc? I'll give you one guess. Yep, MaxPower is listed as 590 mA "The USB 1.x and 2.0 specifications provide a 5 V supply on a single wire to power connected USB devices. A unit load is defined as 100 mA in USB 2.0, and 150 mA in USB 3.0. A device may draw a maximum of 5 unit loads (500 mA) from a port in USB 2.0; 6 (900 mA) in USB 3.0." "Bus 003 Device 002: ID 046d:0a04 Logitech, Inc. V20 portable speakers (USB powered) Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x046d Logitech, Inc. idProduct 0x0a04 V20 portable speakers (USB powered) bcdDevice0.07 iManufacturer 1 Logitech iProduct2 Logitech USB Speaker iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x00e9 bNumInterfaces 3 bConfigurationValue 1 iConfiguration 3 G6 2005/03/29 10:05 bmAttributes 0xc0 Self Powered MaxPower 500mA The total RMS Power of the Logitech V20 Portable USB Speakers = 2 W or 2000 mA. power = volts * amps With VUSB being 5V, this gives amps = power / volts = 2W / 5V = 400 mA I don't know what IC(s) is used in these speakers, but this is consistent with a system (USB DAC + amp) that is 80% efficient. 500 mA * 80% = 400 mA Whether I'm driving audio through the speakers our not, the MaxPower stays at 500 mA. LSUSB MaxPower is the power output of the USB port the USB device is connected to and not what that MaxPower of the device is or can take. All the USB ports on my pc are 2.0, if you've a mix of USB ports or different PCs with different USB port specs, you can prove this by moving the USB device to the different ports and checking the MaxPower that LSUSB lists. MaxPower is set in the USB device descriptors. It is independent of the host. Here's an example where I actually changed the MaxPower number of an FTDI USB to serial adapter (FT232R). # Before touching the MaxPower descriptor. lsusb -v -d 0403:6001 | egrep 'iProduct|MaxPower' iProduct2 FT232R USB UART MaxPower 90mA # Using W10 and the FTDI tool named FT_PROG, I reduced MaxPower. lsusb -v -d 0403:6001 | egrep 'iProduct|MaxPower' iProduct2 FT232R USB UART MaxPower 84mA Here's a blog post that does a decent job of explaining MaxPower. <http://dangerousprototypes.com/docs/Designing_USB_Devices_for_proper_current_and_MaxPower> Here's the datasheet for the FT232R. See sections 6 and 8. <https://www.ftdichip.com/old2020/Support/Documents/DataSheets/ICs/DS_FT232R.pdf> galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] Powered USB-A hub
On 1/17/23 09:43, Rich Shepard wrote: On Tue, 17 Jan 2023, Galen Seitz wrote: Sorry, I haven't been following this thread too closely, but if this is a device you already own, you can look this up yourself. First use lsusb to find the vendor and product ID values for the USB device of interest. Then use lsusb again to get more information about the device. Galen, What a valuable lesson! # lsusb -v -d 1235:8211 | egrep 'iProduct|MaxPower' iProduct 3 Scarlett Solo USB MaxPower 500mA This suggests to me that a less expensive hub with fewer ports that has at least 50W published power would work with all three devices. FYI, the typical 4 port powered USB 2.0 hub is supplied with a 5V adapter that is capable of ~2A, or about 500 mA per port. With a USB 3.0 hub where the per port current limit is 900 mA, the max adapter current should be higher, but it's unlikely the adapter would be sized to allow the max current on every port. Hubs that have high (>15W) wattage are likely intended to support some sort of charging of phones/tablets/etc where communication regarding the larger current capability is communicated through a different mechanism. Once again, the above does not directly apply to USB C hubs that support power delivery. Rich, if you have three devices that draw 500 mA, a hub with a 2A adapter should be sufficient. Look for a hub with a 2.5A or 3A adapter if one or two of your devices draw 900 mA. BTW, I can guarantee you that virtually all of the crazy USB-powered things you can buy do *not* have USB descriptors. Your Ronco USB fan, light, and turnip twaddler connect to VUSB (5V) and immediately attempt to draw whatever they need, regardless of any intended USB constraints. Buyer beware. galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] Powered USB-A hub - LSUSB MaxPower
On 1/17/23 14:48, MC_Sequoia wrote: ...snip... So, in conclusion I think the "MaxPower" data point provided by lsusb command is about the bus electrical output capacity that the device is connected to and not about the device itself that's connected to the usb bus. This is not true, at least not for a USB device (not a hub). The MaxPower descriptor contains the maximum current that the device will ever draw. Properly designed USB devices first come up in a low power state where they draw 100 mA or less. The software driving the USB system calculates how much power is available. If there is sufficient power available, then the system initializes the device and allows it to go to its desired higher power state. galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] Powered USB-A hub
On 1/17/23 07:08, Rich Shepard wrote: On Mon, 16 Jan 2023, Ben Koenig wrote: That's probably fine. My rule of thumb is to not PLUG higher end hubs into lower end ports. e.g. a bunch of USB 3.0 devices in a hub that connects to a USB 2.0 host. The Sabrent HB-7B3C provides 900mA to each USB port. I assume that's not what the webcam and headphones draw. Just sent a message to Focusrite asking how much power the Scarlett Solo Gen 3 draws. Sorry, I haven't been following this thread too closely, but if this is a device you already own, you can look this up yourself. First use lsusb to find the vendor and product ID values for the USB device of interest. Then use lsusb again to get more information about the device. Here I've chosen to find the current used by my scanner. $ lsusb Bus 002 Device 005: ID 046d:c404 Logitech, Inc. TrackMan Wheel Bus 002 Device 004: ID 0472:0065 Chicony Electronics Co., Ltd PFU-65 Keyboard [Chicony] Bus 002 Device 003: ID 0472:0065 Chicony Electronics Co., Ltd PFU-65 Keyboard [Chicony] Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 007: ID 051d:0002 American Power Conversion Uninterruptible Power Supply Bus 001 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) Bus 001 Device 004: ID 04a9:220d Canon, Inc. CanoScan N670U/N676U/LiDE 20 Bus 001 Device 014: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC Bus 001 Device 009: ID 1d50:6018 OpenMoko, Inc. Black Magic Debug Probe (Application) Bus 001 Device 008: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub Bus 001 Device 011: ID 1679:2001 Total Phase Beagle Protocol Analyzer Bus 001 Device 003: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub $ lsusb -v -d 04a9:220d | egrep 'iProduct|MaxPower' iProduct2 CanoScan MaxPower 500mA My scanner draws a max of 500 mA, assuming the manufacturer hasn't lied when generating the data for the device descriptors. Since the units are mA, MaxPower is a misnomer. Actual max power would be 2.5W. Note that everything above doesn't necessarily apply if USB C Power Delivery is being used. With power delivery, the voltage is no longer necessarily 5V. I'm not sure how the descriptors change in order to accommodate this. galen -- Galen Seitz gal...@seitzassoc.com
[PLUG] can no longer right click on address in thunderbird
Speaking of regressions, another change that I am fighting is a missing context(?) menu in thunderbird. When using thunderbird, I have a Folders pane on the left, a messages pane on top, a message content pane on the bottom, and in the middle there is a narrow pane that contains a limited form of the headers for the selected message. IIRC, I used to be able to right click on an address in this pane. This would bring up a menu containing multiple items, among them a "compose new message to" and a "copy email address". Does anyone know how to restore this functionality? I'm running Thunderbird 102.6.0. thanks, galen -- Galen Seitz gal...@seitzassoc.com
[PLUG] recent versions of firefox no longer use /tmp when opening files
Hi, As of Firefox 98, when you open a file, it doesn't use /tmp. I vaguely recall seeing news of this, but it really didn't register at the time. <https://lwn.net/Articles/887162/> In the past few days I noticed that my Downloads directory was cluttered with *many* pdfs that I had no intention of keeping around. This caused me to investigate further, and I stumbled upon this *huge* discussion under a mozilla bug. <https://bugzilla.mozilla.org/show_bug.cgi?id=1738574> To summarize, many longtime users were not pleased with the new behavior. After much back and forth, the developers relented and added an about:config setting to allow for the old workflow. If you are like me and want the old behavior, I recommend reading comment 133, where the new config setting is explained. I believe this new setting was added in version 102. TL;DR, set browser.download.start_downloads_in_tmp_dir to true to get the old behavior. galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] SSH to external site not responsive
On 11/17/22 13:07, Rich Shepard wrote: On Thu, 17 Nov 2022, Tomas Kuchta wrote: Many shared hosting providers let people to sftp, but not ssh. This is because there are many users/website on the host and executing stuff could impact them all. NFS allows ssh for members; that's why they tell us to log in via ssh in order to run the tls import script. I suppose I should be paying closer attention, but when I saw a message about nfs running on port 22, I thought, "what the !#$#, that's the ssh port. nfs uses a completely different port(just looked, it's 2049)" Anyway, abbreviating nearlyfreespeech as NFS, and then talking about TCP/IP port numbers provides ample room for confusion. galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] Nordic, Russian keyboards
On 10/24/22 22:05, John Jason Jordan wrote: ... I could do the same thing for any other language that requires completely non-Latin characters. But I also sometimes write in Spanish, French and German, and for those I just use the Compose key rather than switch to a completely different keyboard. When I enabled the Compose key I assigned it to the Windows key, otherwise useless on Ubuntu. If I want (e.g.) an ä I hold down the Windows key, type a double quote, then the a, and the process gives me an ä. All I have to remember is that a double quote gives me an umlaut, a single quote gives me an acute accent, a back quote produces an accent grave, and an > gives an accent circumflex. There are lots more possibilities, and I have memorized the sequences for a few more, like ß, !, ¿, etc. Huh. I didn't know that the Compose key could be used in that way. I always use it as a separate keystroke, not as a shift-like modifier. I just tried it here and it works as you described. I wonder if this works due to key rollover support. Anyway, all of the following work, at least for me on my CentOS 7 xfce desktop. Compose held, ', a -> á Compose held, a, ' -> á Compose, ', a -> á Compose, a, ' -> á ... I should have read the wikipedia article first. Entering the diacritical first allows for the use of more than one diacritical. It sounds like the Compose key may or may not be a modifier key. It is system or configuration dependent. <https://en.wikipedia.org/wiki/Compose_key> galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] Small script to run tftp
On 10/15/22 13:20, Chuck Hast wrote: Folks, I have some WiFi devices that I am loading code into to convert them to something called AREDN, Amateur Radio Emergency Data Network. Most of them use tftp to upload the new image into the device. After doing several of them I tried to figure out how to write a small script to do the tftp uploads. The steps are as follows kp4djt@kp4djt64:~$ tftp 192.168.1.1 tftp> bin(set binary transfer) tftp> trace on (set trace on) Packet tracing on.(response) tftp> put /tftp/file.bin (file to send to device) At this point it will either start showing blocks being sent or will time out I would like to write a script that just runs that, I would have 2 versions one for devices which default to 192.168.1.1 and those who use .1.20, then it runs and all I have to do is either edit it and put the upload file in or have it stop and I paste/type the file name in and turn it loose. Of course as soon as you invoke tftp it jumps into it's own interface, I googled for writing scripts to control tftp, I saw some that embed it in a bash script but appears that you i have to make the tftp entries by hand with those scripts. Anyone have any idea of how to write a script to invoke tftp and insert commands to tftp? Looks like it's possible to use the heredoc syntax to pass multiple commands. This should work from the command line or in a script. tftp host <<'EOF' Enter Commands Here EOF <https://askubuntu.com/questions/749187/executing-tftp-command-without-entering-tftp-command-line> galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] Offsite backup
On 10/14/22 18:00, Keith Lofstrom wrote: For years, I've stored offsite backup hard drives in a safe deposit box at the Beaverton Unitus Credit Union. They no longer offer that service. Suggestions for secure (dry, theftproof, fireproof) alternatives? I'm guessing you had some bad experience with First Tech that pushed you away, but the branch at Cornell & Evergreen has safe deposit boxes. We're paying $45 annually for a 3x10 box. galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] Whitespace in Ubuntu 22.04 rsyslog.conf
On 9/13/22 10:48, Tomas Kuchta wrote: On Tue, Sep 13, 2022, 13:34 Paul Heinlein wrote: Just an FYI: At work, we use a puppet template to generate /etc/rsyslog.conf on all our *nix machines. That template was failing on the first Ubuntu 22.04 host we tried to integrate with our puppet configs. In short, certain directives that encountered two spaces between directive and setting would fail, e.g., $FileOwner syslog $FileGroup adm Replacing the two spaces with a single space fixed the problem. I scoured the changelogs but couldn't find evidence that this is an intentional change. . Could this be UTF issue in rsyslog config parser/regexp? I have been encountering strange invisible simple parsing issues recently. If this is related, I usually resolve them by replacing [ \t] or \s or \S with [[:space:]] patterns and it often helps. I wish to know a way of color coding ascii and unicode in text/logs to make it visible what is one byte versus multi-byte characters. It will likely get settled over time. This will never be settled. <https://www.gocomics.com/bloom-county/2015/10/01> galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] Package Name Lengths in different distros
On 6/9/22 18:16, Ben Koenig wrote: Hi all, I have a really random question/rant about package metadata across different distros. Quick backstory.. For reasons best explained by https://xkcd.com/2610/, I'm writing a series of scripts that ingest package data into a set of SQL tables in mariadb. Part of this involves defining a string for the "package name" and defining a maximum length for the string - which is where things go horribly wrong. After some fiddling with packages in my distro I settled on a character length of 50 for the package name. This was reasonable until I started working on Fedora's data and found a package that would give RMS a heart attack. Behold: Package name: compat-golang-github-akihirosuda-containerd-fuse-overlayfs-devel As found in the repo data for FC36. This is probably the most meaningless arrangement of 64 alphanumeric characters I have ever seen, but my focus of the moment is assigning it a number so I can do math on it. The obvious solution is to raise the character limit for the SQL field to accomodate at least 65 characters, but that raises the following question: How high should I set the limit? Is there any reason to believe that a package name would exceed, e.g. 100 characters? I may up it to 100/150 but if anyone is aware of a package name for any linux distro that exceeds 100 characters that would be helpful to know. I only use a few different distros myself and wasn't expecting to hit this issue. -Ben This ended up being far uglier than expected. Here's my result for CentOS 7.9. $ yum --color never list all 2>/dev/null | cut -d ' ' -f 1 | sed -e '0,/Installed/d' -e 's/\.x86_64.*//g' -e 's/\.i686.*//g' -e 's/\.noarch.*//g' | wc -L 63 The package with a name length of 63 is: rh-java-common-apache-commons-collections-testframework-javadoc I haven't used dnf yet, but perhaps the above yum command is an example of why yum has been replaced by dnf. galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] Emacs: display only buffer rows beginning in column 1
On 6/7/22 10:32, Rich Shepard wrote: Perhaps my web search terms ask the wrong questions, but I've not found how to 'collapse' an emacs buffer so only those lines beginning in column 1 are displayed. My use is python coding. A module (*.py file) will have multiple classes defined, each class beginning in column 1 while all following lines are indented (4 spaces here). When I want to see what classes are in a buffer being able to see only class names, then returning to view all lines, is quite useful. In the 1980s I used a DOS programming editor called 'MultiEdit' that had this capability and it was really useful. I'm sure that emacs can do it yet I've not found how. Please point me to resources where I can learn how to do this. It sounds like you would benefit from some python-specific emacs code. This looks relevant: <https://stackoverflow.com/questions/18479208/emacs-plugin-to-list-all-methods-in-a-python-module> galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] Acting On Locate Results
On 4/18/22 16:39, Michael Barnes wrote: I use the locate command often to find files on my machine. How can I act on that list? For example, I do locate -i bozo and get a list of all files containing bozo in the name. Now I want to copy all those files into a new directory. I've tried various combinations of pipe to something, but no joy. Locate is such an easy command and finds everything I need, while using find I need a bunch of parameters I can never remember. Thanks for any ideas. I don't think this will work for your use case since you need to specify the destination directory, but xargs could work in some instances. As Russell mentioned, spaces in filenames are dangerous, but both locate and xargs support the -0 option. This example doesn't use spaces in filenames, but it would handle it if they existed. [galens@toto tmp]$ locate -0 redhat-release | xargs -0 ls /etc/redhat-release /usr/share/doc/redhat-release: Contributors GPL /usr/share/redhat-release: EULA galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] switch with Fast Boot PoE
Hi, Thanks for the PoE switch suggestions. It looks like Extreme Networks (X435-8P-4S) and Juniper might actually have some non-astronomically priced switches that would do what we want. Netgear has some switches (GS110TUP and GS710TUP) with a feature they call Uninterrupted PoE, which seems to be the same as Cisco's Perpetual PoE. Unfortunately the user's manual doesn't mention anything about a fast boot feature. Whatever we end up choosing, we will probably need to get a device in our hands to really know for certain whether it is going to work for us. In the next few years I expect that the Perpetual and Fast Boot PoE features will migrate down to more SOHO products. Regarding the suggestion of PoE injection, I should have mentioned that we have a minimum of 8 PoE devices, so using injection would be pretty ugly from a cabling perspective. Thanks for the idea though. galen -- Galen Seitz gal...@seitzassoc.com
[PLUG] switch with Fast Boot PoE
Hi, For a project I'm working on we have a need for a switch with PoE+ that will power the ports quickly, say less than 15 seconds after power up. The switch that is currently specified is a Cisco cbs250-16P-2g. This switch takes at least a minute, if not more, to enable power to the ports. With a bit of searching I discovered that some Cisco switches have a pair of features called Perpetual PoE and Fast Boot PoE. We don't have a need for Perpetual PoE, but Fast Boot PoE seems to fit our needs. Some other vendors have a similar sounding feature. So far I have only seen this offered on higher end switches(Cisco, Juniper, etc.). Does anyone know of any switches that are more in the SOHO class that have this type of feature? Note that we need some management features available via telnet, so this precludes using an unmanaged switch. thanks, galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] Remove raid1 (/dev/md0) and its disks [DONE]
On 2/11/22 09:34, Rich Shepard wrote: On Fri, 11 Feb 2022, Tomas Kuchta wrote: The point about not using /dev/sd*, especially with external enclosures, is that the device letter can change (not just once) during the array build. Tomas, I'll kill the mdadm create process and use the two UUIDs instead. Do I write: mdadm --create /dev/md0 -l 1 -n 2 UUID1 UUID2 or /dev/UUID1 /dev/UUID2? Wait! I think you are missing an important point. UUIDs are used for many things on a modern Linux system. There will typically be *multiple* UUIDs used for multiple purposes. Here is some trimmed output from an Ubuntu system that has three physical disks. sda is the disk that contains the root filesystem, along with some others. sdb and sdc are part of a raid1 array that contains a filesystem that is mounted under /backups galens@oz:~$ cat /etc/fstab UUID=565ba7ed-0474-4601-ba4a-64b74d1ad2bd / ext4 errors=remount-ro 0 1 UUID=37c7b397-6ceb-4a83-8120-012bdb3e3260 /backups ext4 defaults0 2 Note that the UUIDs used in fstab are *filesystem* UUIDs. These are different from an mdraid UUID, a partition UUID, or other UUIDs. The blkid command gives the bigger picture. galens@oz:~$ sudo blkid /dev/sda1: UUID="565ba7ed-0474-4601-ba4a-64b74d1ad2bd" TYPE="ext4" PARTUUID="58d10f2d-01" /dev/sda5: UUID="93c54ee7-e832-4b77-8dfd-920eb740dfdb" TYPE="swap" PARTUUID="58d10f2d-05" /dev/sdb1: UUID="716039ff-eb41-9a09-9dd0-30c48a77d7dd" UUID_SUB="3e3da9b0-a476-3eec-4d7b-93936071817e" LABEL="oz:0" TYPE="linux_raid_member" PARTLABEL="p1" PARTUUID="1ba2b9b0-81c8-44b6-9399-a7ac5a44e80c" /dev/sdc1: UUID="716039ff-eb41-9a09-9dd0-30c48a77d7dd" UUID_SUB="0249e1ef-2337-1437-39ba-842170377019" LABEL="oz:0" TYPE="linux_raid_member" PARTLABEL="p1" PARTUUID="ecc07d3d-9a28-44e1-b1a0-3be1c60d7f8c" /dev/md0: UUID="37c7b397-6ceb-4a83-8120-012bdb3e3260" TYPE="ext4" See how sda1 has both a filesystem UUID and a partition UUID. Similarly, md0 has a filesystem UUID, as it contains a filesystem, but no partition UUID. sdb1 and sdc1 are both used to create md0. They are both (GPT) partitions on physical disks, so they each have a unique partition UUID. UUID_SUB is a device UUID and is unique for both sdb1 and sdc1. This leaves UUID="7160... This is the mdraid array UUID. Note how it is the same for both sdb1 and sdc1. This is how mdadm is able to group the appropriate disks together. See mdadm.conf galens@oz:~$ cat /etc/mdadm/mdadm.conf ARRAY /dev/md0 UUID=716039ff:eb419a09:9dd030c4:8a77d7dd When you initially create the mdraid array, I *think* that these UUIDs are automatically created. You can check each disk partition like this: galens@oz:~$ sudo mdadm --examine /dev/sdb1 | grep UUID Array UUID : 716039ff:eb419a09:9dd030c4:8a77d7dd Device UUID : 3e3da9b0:a4763eec:4d7b9393:6071817e Whenever I have set up a raid1 array, it has been at distribution install time, so the Ubuntu or CentOS tools have done it for me. That said, I think you should be able create the raid array using the partition names (e.g. /dev/sdxN, /dev/sdyM, etc.), and then find the array UUID using mdadm --examine. Once you have the array UUID, you can drop it into mdadm.conf. This should make your raid array independent of any sdxN naming. Then you can create a filesystem on mdx. This will create a filesystem UUID, which you then put into fstab in order to mount the filesystem. Note that if you were using LVM, there would also be UUIDs associated with that as well. galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] Remove raid1 (/dev/md0) and its disks [DONE]
On 2/10/22 16:44, Tomas Kuchta wrote: On Thu, Feb 10, 2022, 18:55 Rich Shepard wrote: On Thu, 10 Feb 2022, Bill Barry wrote: I don't know how far into setting this up, but you might want to consider a ZFS mirror instead of the mdadm raid1. Bill, The 'create' function's been running about 2 hours so far. Now that I've dug deep into mdadm (having to redo the array several times due to hdd failures) I'm comfortable using it. It could be a little easier to manage. Once I get it set up again and it's accepting input from my dirvish backups, rather than stuffing / to its gills, I don't expect to need to manage it unless one of the new WD Red NAS disks fails. Thanks for the suggestion, though. I had gotten away from deep dives into hardware and software over the past few years and I don't mind getting back to it and learning new things. . You should start using UUIDs rather than /dev/sd* especially when having the disks hanging outside the actual PC. of course they can randomly change letters causing things to go south. I would expect that this would be clear after long mailing list sagas of similar trouble with John's Mediasonic, or whatever the actual disk holding contraption -T +1 Using UUIDs should prevent much of this grief. For example, here's a line from mdadm.conf on one my my machines: ARRAY /dev/md0 level=raid1 num-devices=2 uuid=77c98cce:1768e666:b78530e9:957e7034 IIRC, mdraid will scan the superblocks of the disks looking for this UUID. Any matching UUIDs will be made part of the array. *NOTE:* the UUID shown here is the mdraid UUID, which should not be confused with the UUID of the filesystem residing on /dev/md0, or any other possible UUID that might be found in the system. galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] usb-storage process continues to run
On 2/4/22 13:47, Rich Shepard wrote: On Fri, 4 Feb 2022, Galen Seitz wrote: Look at the output of "cat /proc/mdstat". mdraid may still be working to build the RAID1 array. Looking at /proc/mdstat I see that it's chugging away while root returned to its shell prompt in 8 seconds. /proc/mdstat tells me that 'resync = 1.8% (37030848/1953383488) finish=1550.7min' (at that time) so it will be about 26 hours before it's finished. Since this process is owned by root will it continue after I log out? I assume so but don't know for certain. This is normal. mdraid works at the kernel/device driver level. It will keep doing its thing as long as the system is up. Even if you were to shut it down, it would pick up where it left off upon rebooting. BTW, what you are seeing is likely not a process, but rather a kernel thread. IIRC, the ps command shows kernel threads by enclosing them in square brackets. For example: [galens@zinc ~]$ ps aux | grep raid root 572 0.0 0.0 0 0 ?S<2020 557:05 [md1_raid1] root 577 0.0 0.0 0 0 ?S<2020 1:47 [md0_raid1] Regarding the type of RAID to use, and based on my limited understanding of your goals, I think you just want a simple RAID1 array. galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] usb-storage process continues to run
On 2/4/22 12:12, Rich Shepard wrote: After creating the RAID1 /dev/md1 I installed the file system: mkfs.ext4 /dev/md1 This ran for a few hours (2 x 2T hard drives in the array). Then root's shell prompt returned. However, the lights on the RAID enclosure keep flickering and gkrellm shows both user and system activities on the disks. Now this has been running 2.5 hours. I don't know what the disk activity is, and I cannot kill the process even with the -9 option. This did not happen when I made the original raid1, /dev/md0, using 2 x 1T hdds. What might the system be doing with those disks and how can I kill the process so I can continue getting my backup system working? Look at the output of "cat /proc/mdstat". mdraid may still be working to build the RAID1 array. galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] Chromebooks and Linux
FYI to John and anyone else considering purchasing a Chromebook. If you are intending to use ChromeOS (i.e. as a normal Chromebook), you should check the end of updates date before purchasing. Sometimes when you spot a really good deal on a Chromebook, it is because the Auto Update Expiration date is approaching. For the Lenovo IdeaPad Duet 5, auto updates end in June 2029. <https://support.google.com/chrome/a/answer/6220366?hl=en> galen -- Galen Seitz gal...@seitzassoc.com
[PLUG] 16:18 ultra-tall monitor
Someone heard Keith complaining. <https://arstechnica.com/gadgets/2021/12/lgs-1618-ultra-tall-monitor-means-less-scrolling/> galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] Dovecot Problem
On 10/31/21 16:04, Randy Bush wrote: Here is the relevant part of the 10-director.conf file (Line 30 is "service director {) # To enable director service, uncomment the modes and assign a port. service director { unix_listener login/director { #mode = 0666 } fifo_listener login/proxy-notify { #mode = 0666 } unix_listener director-userdb { #mode = 0600 } inet_listener { #port = } } likely a missing closing brace in teh stanza *above* the service director Agreed. If you didn't touch the 10-director.conf file (and it looks like you didn't, as what you posted matches mine), then the problem is likely to be in 10-auth.conf or dovecot.conf itself. galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] Two monitors, two applications
On 10/26/21 3:11 PM, Rich Shepard wrote: On Tue, 26 Oct 2021, Ken Stephens wrote: You can configure your second monitor as an extension of your current desktop. I have not tried using two desktops. I run three monitors with lots of applications running in one desktop. Ken, That'll work, too. The OBS software needs a fairly large window, and additional windows (for scenes of .jpg images and a .pdf page) take up more space. If the flat LCD monitor is an extension of the same desktop and runs only the teleprompter application that is certainly sufficient. Now to find xrandr instructions to do more than set monitor resolutions. :-) It's unlikely you will need to mess with xrandr. Under the xfce menu system, go to Settings->Display. With an additional monitor connected, you should see the new monitor and be able to configure it's position and behavior. At least that's what I can do with xfce4 under CentOS 7. galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] Belated RIP for former PLUGer, Karl Hegbloom
On 8/25/21 8:51 AM, Dan Young wrote: On Wed, Aug 18, 2021 at 3:04 PM Galen Seitz wrote: If you have some time to waste, scroll through some of the messages from 2002 and reminisce about long lost members. Wil, Carla, Geoff, Dan, etc., where are you now? <http://lists.pdxlinux.org/pipermail/plug/2002-March/thread.html> Reading some of those old messages is a trip! Thanks for sharing that Galen. I'm still around, but have regretfully not been participating in the list much. I've somehow managed to hold onto a job at New Relic for the last seven years. Hope you are all well. Cheers, Great to hear that you are still around. Someday we should organize a reunion of sorts. In other old-timey news, it was thirty years ago today that Linus posted his famous message. <https://lwn.net/Articles/867315/> galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] Belated RIP for former PLUGer, Karl Hegbloom
On 8/15/21 10:09 PM, Russell Senior wrote: I have a vague memory that someone spotted this before, but in case that is a false memory, someone else mentioned this on an IRC channel this evening, and given his connection to PLUG in the early days, I thought it was worth a (nother) mention here: https://www.wiscombememorial.com/obituaries/Karl-Hegbloom/#!/Obituary I remember Karl as an enthusiastic Debian guy. If there was a problem, Debian was likely to be the answer. As a person on the .deb side of the planet, I couldn't help but find that endearing. I spotted his name on the OpenWrt git log and had a brief email conversation with him in 2013. I think he was living in Salt Lake City by then. Sorry to hear this news. He was a very active participant in the group for many years. IIRC, he was the list maintainer at one point. If I had to use one word to describe Karl, it would be earnest. I'll never forget when Karl berated me for posting the whole man page for tac response to question from Richard(?) titled "A linux tool to invert a file?". My email consisted of the output of "man tac | tac". Well, at least *I* thought it was funny. I'm not sure if he ever noticed the man page was reversed. If you have some time to waste, scroll through some of the messages from 2002 and reminisce about long lost members. Wil, Carla, Geoff, Dan, etc., where are you now? <http://lists.pdxlinux.org/pipermail/plug/2002-March/thread.html> One other thing I noticed while scrolling through this is that Greg K-H was once on the plug list. I guess I didn't recognize the name at the time. galen -- Galen Seitz gal...@seitzassoc.com
[PLUG] moreutils
Hi, I was looking for a way to timestamp output from a serial port when I stumbled onto a tool that I'd never heard of. The ts command, which is part of moreutils, will place a timestamp in front of each line of output from stdout. This: echo -e "foo\nbar\nbaz" | ts '[%Y-%m-%d %H:%M:%S]' yields something like this: [2021-07-27 13:37:36] foo [2021-07-27 13:37:36] bar [2021-07-27 13:37:36] baz Combined with picocom and tee, my logging command looks like this: picocom -b 9600 /dev/ttyUSB0 | ts '[%Y-%m-%d %H:%M:%S]' | tee "example_$(date +"%Y%m%d%H%M%S").log" moreutils contains about a dozen other commands which might come in handy at some point. <https://joeyh.name/code/moreutils/> galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] running (ancient) .BAS file with linux
On 7/12/21 4:57 PM, Keith Lofstrom wrote: A 20+ y.o. astronomy book included a 3.5 inch floppy disk with a .BAS program in the back, executable with IBM Advanced Basic or GW Basic. And a time machine ... I was able to read the floppy and extract the file. I've "tried" a couple of poorly-documented "basic" binaries available for ubuntu 20.04; couldn't get them to run; possibly PEBKAC, probably lack of documentation. Suggestions for a 21st century Linux BASIC that can run ancient .BAS binaries? Keith ps: I know the author, he's 80yo with vision problems. He would help if he could, but ... chances are, I will end up helping HIM port HIS program to a 21st century platform. pps: The program is calculates comet and asteroid impact hazards. It will be a damned shame if humanity needs the program to survive someday, but we cannot translate it to contemporary software/hardware :-/ I don't know about that. It sounds like the beginnings of a great script for 'Armageddon II'. Bruce Willis can now play the role of the 80 year old astronomer. galen -- Galen Seitz gal...@seitzassoc.com
Re: [PLUG] Android Filesystems
On 7/12/21 7:03 AM, John Jason Jordan wrote: On Sun, 11 Jul 2021 23:03:51 -0700 Russell Senior dijo: I transfer files between my computer and phone with a cable, the phone in "developer mode" and adb push/pull/shell (in appropriate combinations). I looked around the net for details, and it looks like a pretty steep learning curve. I might be worth it, but I solved the problem a different way - I took the EXFAT drive and reformatted it FAT32. I could get away with this because none of the files were very large. I transferred about 60GB of audio files to the phone in about half an hour, and they're all working fine. I still want EXFAT to work. But right now it is not dependable for file transfers between my ext4 filesystems and the phone. I should not have had to put up with incompatibilities like I did. You might give Airdroid a try. It is an Android app that allows you to control your phone from a browser. In the distant past I used it to move files back and forth between my phone and my desktop. Typically you would connect to your phone over wifi, but if you have a lot of files to transfer, connecting your phone using a USB OTG cable and a USB ethernet adapter *might* be faster. It's been a long time since I've used Airdroid. YMMV galen -- Galen Seitz gal...@seitzassoc.com
[PLUG] scanning photo prints
Hi, I'm interested in hearing people's experiences scanning their photos. We have a large collection of old prints of various sizes, both B and color that we would like to digitize. I checked the mailing list archives and was surprised that I couldn't find any previous discussion of this. My product searches all seem to lead to the Epson FastFoto FF-680W. This is a $600 photo scanner that can scan a stack of prints at 3 seconds per print. Despite the high price and apparently Windows-only software, this seems to be the best choice for bulk scanning photos. Does anyone have experience with this product or a similar product? BTW, in the future there may be a need to digitize slides, but for the time being my focus is on prints. thanks, galen -- Galen Seitz gal...@seitzassoc.com
[PLUG] Upheaval at freenode
This looks ugly. If you are active on freenode, you may want to consider moving to Libera.chat. <https://lwn.net/Articles/856543/> galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG: https://pdxlinux.org PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Scrubbing hard drive
On 4/30/21 3:09 PM, Rich Shepard wrote: Prior to taking an old Sony Vaio laptop for recycling I wanted to scrub the hard drive. First I used cfdisk and deleted each of the three partitions, wrote the changes, then quit. For some reason this didn't work. Tried again, same result. I'd like to understand why. What did work was running 'rm -rf --no-preserve-root /'. In addition to the other suggestions, there is also a tool called shred. For those who are sufficiently paranoid, it is perhaps better than using /dev/zero. For everyday use, dd'ing with /dev/zero will typically be good enough and much faster. Best to read the man page before running, but a simple invocation of shred would look something like this: shred -v /dev/disk_to_be_erased As someone else pointed out, this is not appropriate for an SSD. In that case the ATA Secure Erase command needs to be used. <https://wiki.archlinux.org/index.php/Solid_state_drive/Memory_cell_clearing> galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG: https://pdxlinux.org PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Connection speed suddenly dropped
On 4/28/21 6:30 PM, wes wrote: On Wed, Apr 28, 2021 at 5:33 PM John Jason Jordan wrote: So apparently no bad wires, but it leaves me with the question, why? What happened to cause this? there is likely still a bad wire or similar hardware issue going on somewhere. what you've done is instruct the network interface to ignore any errors or warning signs and set the higher speed regardless. this may work just fine, or it may cause mysterious behavior in the future. at which time, you will of course have forgotten about all of this and we'll all be wondering why you get random web page timeouts or whatever. Agreed. It's likely that there is a bad cable or connector somewhere in the path. As someone else suggested, it would be good to test it using a cable that is normally used by another functional 1G connection. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG: https://pdxlinux.org PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Strange mv behavior
On 2/9/21 9:25 AM, Rich Shepard wrote: I found where OBS studio puts the logs (~/.config/obs-studio/logs/) where they are listed with a space between the date and the time. When I try to mv the spacey one to one without spaces I cannot: $ mv 2021-02-09 06-56-46.txt 2021-02-09-06-56-46.txt mv: target '2021-02-09-06-56-46.txt' is not a directory The shell thinks you want to pass three arguments to mv. If you have spaces in filenames, the filename must be quoted, otherwise the shell thinks you are referring to two separate files. mv '2021-02-09 06-56-46.txt' 2021-02-09-06-56-46.txt or mv 2021-02-09\ 06-56-46.txt 2021-02-09-06-56-46.txt At least I think this is a shell thing. Regardless, you need to deal with the fact that your filename contains spaces. If you use tab filename completion in the shell, it will typically do the quoting for you. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG: https://pdxlinux.org PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] LVM for multiple internal drives
On 1/26/21 7:01 AM, Rich Shepard wrote: My new desktop has a 240GB SSD for the OS and two 3TB HDDs. The latter will hold three mount points: /home, /opt, and /data. From what I've learned about LVM the past couple of days I think it makes sense for me to combine the two drives into one logical volume for the three mount points. What you are planning seems fine, but I think you may be confusing the various pieces of an LVM setup. Typically each drive is treated as a physical volume. Physical volumes are placed into a volume group. Logical volumes are allocated out of the volume group. A filesystem (or swap) is created on a logical volume. Note that only using LVM for the HDDs should be fine. I.e. keeping the SSD separate and not placing it in a volume group is okay. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG: https://pdxlinux.org PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Execute Script Via Email
On 1/21/21 9:06 AM, Michael Barnes wrote: I might not have been clear. I'm not looking for something that reacts to the receipt of email. I need a given script to execute based on what is in either the Subject or Body of the email. For example, I send an email to mach...@somewhere.com with something like RESTART_FOO in the Subject or Body and it would run the script RESTART_FOO. Another email sent to the same address may say RESTART_BAR and execute that script. From what I understand, procmail simply reacts to an incoming email, regardless of what is in that email. I suspect that the extprograms plugin for Dovecot sieve is capable of doing this, but I have no experience with this myself. I do use sieve to sort my incoming mail into separate folders, but I've never done anything beyond that. <https://wiki2.dovecot.org/Pigeonhole/Sieve/Plugins/Extprograms> galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG: https://pdxlinux.org PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Driver question
On 12/11/20 11:30 AM, Ken Stephens wrote: Galen, Yes I did before I soldered it to the board. Even checked the voltage: 3.22 V. I suggest disconnecting the ft232 module from the prop board, and then trying to connect the ft232 to a known good USB port with a known good cable. This should tell you whether the ft232 is functional. Regarding drivers, I would expect any contemporary Linux kernel to already have the appropriate driver for an FTDI USB-serial device. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG: https://pdxlinux.org PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Driver question
On 12/11/20 10:52 AM, Ken Stephens wrote: Jonathan, I've tried it on Tinkerboard, Jetson Nano, my Fedora Linux Lenovo, wife's Windows 8 Lenovo. Tinkerboard - ubuntu arm7l, Linux Jetson Nano - aarch64, Linux Lenovo's Intels i7 and i5. I am beginning to believe I blew the chip sometime. But, it blinks like the systems are trying to read its ID. Without reading the ID, my systems won't communicate with it. Did you switch the jumper on the FT232 module to 3.3V? If not, the ft232 might be driving 5V into a pin that is expecting 3.3V. That would likely cause excessive current to flow from the module through a clamp diode in the P8X32 to the 3.3V regulator. Needless to say, this would be problematic. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG: https://pdxlinux.org PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Weather application for Xubuntu 18.04
On 9/11/20 9:09 AM, King Beowulf wrote: On 9/11/20 8:03 AM, Rich Shepard wrote: Drought, pandemic, federal administration, economic collapse, and now record wildland fires. A year to remember and there's still 1/3rd to go. Almost sounds like the Four Horsemen are upon us. Locusts. We're still missing the locusts. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG: https://pdxlinux.org PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Stress-testing a hard disk
On 9/2/20 9:43 PM, Keith Lofstrom wrote: I bought an 8TB Seagate USB3 drive Real Cheap at Costco, which I will eventually "shuck" to get at the SATA hard drive inside. Voiding the hell out of the warranty, so I would like to stress test it for a few months before I open the case. There are many tools (like bonnie++) that can thrash a hard drive, but they use more CPU than I would like. Is there a non-intrusive command-line hard drive test tool that can stress-test a hard drive for months with minimal CPU and RAM activity? How do server farms stress test incoming drives before committing important data to them? I'm guessing it probably doesn't meet your criteria for a stress test, but the SMART long test won't load your system at all, since it is performed by the drive itself. I don't know how well the SMART tests work over a USB interface. I think there was a time when smartctl wouldn't work over USB, but that may have been solved long ago. There's also the badblocks command. I don't know how much it would load your system, but I bet it would be less than a program like bonnie which tests performance. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG: https://pdxlinux.org PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] YouTube spam filter
On 8/21/20 9:39 PM, Keith Lofstrom wrote: This may belong on plug-talk, but my problem probably has a technical solution to block YouTube spam, without getting into the sordid politics beneath. This evening, I searched for a YouTube video about opening a can with a manual rotary can opener. See the PPS below. The problem is, a well funded national politician has saturated YouTube with a gazillion whack-a-mole pop-up attack ads, and I can't close them fast enough to finish the video I want to see. snip The TECHNICAL/LINUX subject: I WANT to learn what SOFTWARE or TECHNIQUES to use to filter and block the F***ING pop-ups. Unless I do that, YouTube is ruined. Other services may soon be ruined as well. I need to find and install and learn those tools before the internet turns into S*** and I can't get to the tools. I use Firefox an older version of CentOS Linux on a small screen 4GB laptop; I hope for a compatible solution. Are you getting literal popups, as in separate windows coming up that play the unwanted ad? I'm running CentOS and Firefox here and I don't see popups. Lately I have seen some ads from he who shall remain unnamed, but they are not popups. They show up as part of the youtube home page and they autoplay, but their sound is muted, so IMHO they are not terribly intrusive. Note, however, that I have some extensions installed that might be affecting this. In particular, I'm using NoScript and PrivacyBadger, which means that nothing from doubleclick.net gets run. CentOS Linux release 7.8.2003 Firefox 68.11.0esr (64-bit) galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG: https://pdxlinux.org PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] PinePhone
On 8/8/20 2:34 PM, Rich Shepard wrote: Has anyone looked at purchasing a pinephone from pine64.org, or considered doing so? Aside from the usual features I am curions whether the support of mobile communications protocols is sufficiently broad to assume it would be supported by AT (which is the carrier for which RedPocket is the lower cost front end). PINEPHONE – “Community Edition: PostmarketOS” Limited Edition Linux SmartPhone Price: $149.99 <https://store.pine64.org/product/pinephone-community-edition-postmarketos-limited-edition-linux-smartphone/> Specs: COMMUNICATION Worldwide, Global LTE bands LTE-FDD: B1/ B2/ B3/ B4/ B5/ B7/ B8/ B12/ B13/ B18/ B19/ B20/ B25/ B26/ B28 LTE-TDD: B38/ B39/ B40/ B41 WCDMA: B1/ B2/ B4/ B5/ B6/ B8/ B19 GSM: 850/900/1800/1900MHz WLAN: Wi-Fi 802.11 b/g/n, single-band, hotspot Bluetooth: 4.0, A2DP GPS: Yes, with A-GPS, GLONASS It would be nice to not be tracked by Google. This is not the phone you are looking for. "Before anyone gets too excited, we need to make something clear—these devices, while attractively priced, should be considered beta gadgets for tinkerers to experiment and play with. They are not yet fully functional phones, and in their current development status, they are unlikely to be anyone's full-time daily-usage smartphone. The apps don't all work yet—including making calls—and battery life still leaves a lot to be desired." <https://arstechnica.com/gadgets/2020/07/pine64-launches-postmarketos-edition-phones-and-new-upgraded-hardware/> galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG: https://pdxlinux.org PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Does anyone here use GNU Recutils?
On 8/7/20 5:54 AM, Richard Owlett wrote: Last week on a Debian list it was suggested I investigate GNU Recutils for a current project. I've done an initial read of its manual at [https://www.gnu.org/software/recutils/manual/html_node/index.html]. It is a well written manual with examples for most (all?) commands. I'm looking for example of a simple project using command shell or Tcl. DuckDuckGo and Google searches were non-productive. Google *ACTIVELY* ignores that "recutils" *MUST* be present. When searching with google, are you enclosing recutils in double quotes? I just did a search for the following, and first two pages of results were at least somewhat relevant. I didn't bother to go beyond that. "recutils" examples galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG: https://pdxlinux.org PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
[PLUG] monitoring camera
Hi, I'm looking for suggestions for a web camera for monitoring a senior that is living in our house. I'd like to be able to switch to a tab in my browser and check in on them. I would also like to be able to do the same from a phone on my local wifi. I suppose this effectively a baby cam. Here are the features I think I want, but this will be my first camera of this type, so feel free to point out the error of my ways. Of course, I reserve the right to ignore good advice. Simultaneously stream the video to two or more places (two people doing the monitoring). One way audio to hear requests for help, and to be sure the TV is still working. Two way audio might be nice, but I'm not sure I would use it. Local-only network operation, or at least the ability to shutoff internet access, and confidence that it truly is off. Access from outside the local network is not required (there will always be a caregiver at the house). POE if possible to simplify wiring. Wide angle lens Night time operation, but any infrared lighting must not interfere with IR remotes. Motion detection might be useful, particularly at night, but I'm not sure how I would get an alert without needing some sort of phone-based app. I don't think I need the ability to record. I briefly looked at some of the Unifi cameras this afternoon. I'd be willing to spend at that level if the performance justifies it. thanks for your help, galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Of Wine, USB and getting them talking
On 6/19/20 3:26 PM, Chuck Hast wrote: Folks, I have a device that uses an STMicro device in it. The software to program the device is in Windows, when I run the software in Wine it sees all it is supposed to see but the USB part. I am trying to figure out what I need to do to get it to see the device so I can program it without having to go to a Windows VM. Please describe your STM device in more detail. What is it, what does it do, and what processor does it contain? I do a lot of STM32 development, so I *may* be able to help. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Lineage ... Tek scope is 561A
On 6/8/20 5:57 PM, Keith Lofstrom wrote: On Mon, Jun 08, 2020 at 02:30:23PM -0700, Galen Seitz wrote: <https://www.nytimes.com/2019/02/13/magazine/women-coding-computer-programming.html> Keith, can you identify that Tek equipment? Surprisingly, I can. It is a Tektronix 561A, with non-Tektronix plugins (probably connected through the back of the instrument): https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQzHRwchWaaWZKs1_qjVGMwDxdTnL9rO9n81pcc-F02xDxpDxyX=CAU Here's another picture of the same LINC computer as the New York Times article: https://en.wikipedia.org/wiki/LINC ... with the same woman, Mary Ann Wilkes, at her home in 1965. One of the first home computers, which is //pretty damned cool//. The rectangular CRT and narrow plugins distinguish it from older 500 series oscillopscopes, and the knob placement on the right of the display narrow it down. There are many oscilloscopes (and photos of them) at the Vintage Tek museum: https://vintagetek.org Also manuals at http://w140.com/tekwiki/ I identified the 561a from the manual pdf at that website. I used debris from a 561 and other electronics scrap to design and build my first oscilloscope during high school. If I had known about Mary Ann Wilkes at that time (circa 1970), I would have developed a secret adolescent crush on her ... but mostly on her computer, sending circuit boards rather than flowers. Thanks for all that research. The LINC was a very interesting machine. One more question for you. What is the Tek box to Ms Wilkes right in the photo? Signal generator, power supply, scope preamp??? galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Lineage of early programmers
On 6/7/20 2:21 PM, Richard Owlett wrote: I've been retired for over a decade. Back in mid-60's to early 70's I read an article on where potential programmers were found in 40's and 50's. *BEFORE* Comp Sci degrees ;}. Evidently classically trained musicians were one good source as as part of their heritage was compositions that, though original, relied on a formal structure. Anyone here old enough to have come across such a reference. Sorry, no reference to musicians here, but this is a great article about early women programmers. That the cover photo includes a Tektronix scope is just a bonus. <https://www.nytimes.com/2019/02/13/magazine/women-coding-computer-programming.html> Keith, can you identify that Tek equipment? galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] What to do First Thursday?
On 4/28/20 12:10 PM, Rich Shepard wrote: On Tue, 28 Apr 2020, John Sechrest wrote: Just yesterday I was in a conversation about tools and I started a spreadsheet of different video / remote tools. So far people have mentioned: John, Have you looked at freeconferencecall.com? <https://www.freeconferencecall.com/index-b> I created an account and plan to use it for 3+ webinars I'm preparing. It also provides for conferencing. jitsi is also missing from the list. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] BASH script make a backup...
On 4/4/20 11:45 AM, mich...@robinson-west.com wrote: #!/bin/bash $dump_dir="/home/Shared/backup/" ^ -- I don't think you want that dollar sign. [galens@toto ~]$ dump_dir="/tmp/foo" [galens@toto ~]$ echo $dump_dir /tmp/foo [galens@toto ~]$ mkdir -v $dump_dir mkdir: created directory ‘/tmp/foo’ galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Remote video conferencing [RESOLVED]
On 3/25/20 1:04 PM, Denis Heidtmann wrote: I was just part of a Zoom call where one of the participants used just his phone and he seemed to be able to see all of us. Was that a Princess phone or just the standard desktop Model 2500? Yeah, I'm so old, that's what my first thought was. Of course I'm also sitting here imagining our next PLUG meeting as some online version of The Hollywood Squares. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Buzzing speakers
On 3/25/20 9:17 AM, Michael Barnes wrote: On Wed, Mar 25, 2020 at 8:51 AM Michael Barnes wrote: Model is VS-2121. The sound is not random. It happens at exactly :29 and :59. It is not quiet, either. We can hear it pretty much throughout the house, so it's not like something that has been there all along and just wasn't heard over ambient noise. It is more of a sound than noise, a low frequency rumble, but not like static type noise as you would get from AC hum or failing components. More like hitting the bottom note or bass pedal on a keyboard (musical keyboard, not computer keyboard). I'm not sure of whether it is coming from all speakers or just the sub-woofer, as I have not been at the computer when it happens. The computer is in my wife's hobby room. It is not used that much, only for email and occasional web surfing. Interesting that the on/off switch doesn't really turn it off. As I plug/unplug it, the subwoofer pops. Thanks for everyone's comments. Michael Well, it is not the computer. I turned the computer and monitor of and sat there at the appointed time. It seems to be a power line issue. The sound is coming from the subwoofer, although I had the speakers turned off. Next chance I get to sit there at that time, I'll turn them on. I guess the next thing is to see if it is only that breaker circuit. I have no idea what I have in the house that would do something on the power precisely at those times. Good idea to run a test with the computer turned off. That's useful info. It certainly seems that power line noise is a potential culprit. If you have a spare UPS sitting around, it would be interesting to see if the noise occurs when the speakers are powered by the UPS, but the UPS is unplugged from the wall, and the speakers are not connected to the computer. I.e., turn your speakers into battery powered speakers that are isolated from line power and the computer, and listen to the results. What's interesting to me is that you indicated that this is a recent problem. This suggests one of two possibilities: 1. A new, and very periodic noise source has been introduced into the speakers environment. 2. The noise source has always been there, but a component failure in the speakers has caused the noise to become noticeable. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Buzzing speakers
On 3/24/20 10:23 PM, Michael Barnes wrote: Not really Linux related, but very strange. I have a real nice set of Altec Lansing computer speakers hooked up to one of my Linux Mint machines. This is a three piece set with two desktop speakers and a large subwoofer on the floor. Model number? I've had these speakers for at least ten years and they have always worked and sounded good. I hooked them up to this computer about a month ago. After a couple weeks, they started making a very loud low frequency beep/buzz every thirty minutes. Can you tell if the noise is only coming from the subwoofer? It is about a one second burst. I turned them off with the on/off switch on the volume control, and the beep persisted. So with the switch in the off position, the noise continues? I agree, that's very odd. That suggests that the switch is only switching the audio input, not the power. At exactly :29 and :59. I unplugged the audio input from the computer speaker jack and the beep continued. As suggested earlier, it could be RFI, but given what you've described, I'm leaning towards a failing power supply. There is no kind of logic circuitry in this thing. Just an audio amplifier and related electronics. The only way to stop it is to unplug it. When plugged in it is like clockwork at exactly :29 and :59, regardless of whether it is connected to the computer or not. I hooked up another set of speakers to the computer and they do not do this. Sad, because these are a great sounding set of speakers. If the speakers were working, but now, without any changes, they have started generating noise, I think a cap in the power supply may be failing, allowing power line noise to come through. It could also be a cap in the audio path that is failing, allowing RFI to get into the audio. Please post the model number so we can see how they are wired, and where the power comes from. Please confirm that you haven't introduced anything new to your home environment (new appliances, etc.) that might be coincident with the noise appearing. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] OSCON Cancellation Announcement
On 3/24/20 4:53 PM, Michael Dexter wrote: All, OSCON has been pretty important to PLUG. Here is there announcement: https://www.oreilly.com/conferences/from-laura-baldwin.html I guess this is the year I'll make it to LinuxFest NW. ...oh, wait... :-( galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Feedback wanted: Virtual PLUG Events
On 3/24/20 3:43 PM, Michael Dexter wrote: Hello all, OSCON was permanently cancelled today and there is a very good chance that the face-to-face PLUG meetings will be cancelled for the coming months. Neither the OSCON web site nor their twitter feed mentions the cancellation. How did you hear this? galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
[PLUG] evince window size
Hi, In the course of a typical day, I may open 20 or more pdf files. The files are typically datasheets, schematics, and other documentation, and they come from a variety of sources, so there is a mix of page sizes and orientations. When I open a pdf with evince, I have no idea how large the window is going to be. In many cases, the bottom of the window is well below the lower edge of my monitor, forcing me to manually shrink the window from one of the top corners, and then drag the window up. In other cases, typically schematics, the window may be centered on one of my monitors (dual monitor setup), but extend off the left and right edges of that monitor. Once again I have to manually resize the window in order to get it fully within the monitor. Has anyone else experienced this problem with evince? If so, do you have a solution to this window size problem? My system is CentOS 7 with xfce as the window manager. Evince is version 3.28.2. I have two 1920x1200 monitors connected. thanks, galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Plotting data - was [ RE-introduction to spreadsheets after decades ; /]
On 2/26/20 2:11 AM, Richard Owlett wrote: On 02/25/2020 10:20 AM, Tomas Kuchta wrote: Does it work with or without Sheet1 address? When I said "...does not seem to have anything that matches your description", I meant I don't see anything either in the manual nor in meandering through the gnumeric screen(s) anywhere one would enter both abscissa and ordinate at the same time. What software are you using? Is a spreadsheet even suitable for my plotting task? I wish to plot only 5% to 10% of my available data. I.E. I want a "magnifying glass" over a small region. If you aren't doing calculations in the spreadsheet, but just plotting existing data, then I think investing some time in learning gnuplot would be worthwhile. <https://raymii.org/s/tutorials/GNUplot_tips_for_nice_looking_charts_from_a_CSV_file.html> <http://lowrank.net/gnuplot/datafile2-e.html#7.6> galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Scanner dependent on USB port
On 2/2/20 6:18 AM, Rich Shepard wrote: My desktop host has an Asus Prime X470-Pro motherboard and USB3.x ports on the rear panel plus two on the front panel. I have a 7-port USB3.x hub connected to one of the rear ports. The external backup drive, Palm TX sync/charger, and the Nokia phone charger are connected to that hub. But, when I connect the Canon Canoscan LiDE 400 to the hub neither 'scanimage -L' nor 'sane-find-scanner' sees it. snip I don't now know which flavor of USB3.x powers the hub and front port and wonder why this would make a difference in sane (and I presume xsane) finding the scanner. I suspect you are over the power budget for your bus-powered hub. Before trying sane, I suggest using lsusb to check for the scanner. This command will tell you how much power every USB device is requesting. Look for your hub and the connected devices and add up the current. The limit for USB 3.0 is 900 mA total current. lsusb -v |grep 'idVendor\|idProduct\|MaxPower' Try it with the scanner connected in both places just in case the scanner doesn't even appear when connected to the hub. I think this answer is generally correct. <https://superuser.com/questions/1460313/what-is-the-maximum-power-supplied-by-a-usb-3-0-port> If you have a USB charging port on the rear panel (probably a yellow connector), try connecting to that. It *may* allow you to go up to 1500 mA, but I'm not sure. It's possible that this higher current is only available to things that are being charged, like cell phones. I don't know whether a hub could take advantage of the extra current or not. Given what you have connected, I think the solution is probably going to be connecting power to the hub. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
[PLUG] USB C hub with ethernet
Hi, I'm working on a design where I'm considering changing from a standard A host connector to a type C connector. The signalling is USB 2.0, and will remain at that speed (my host processor doesn't support speeds above 2.0). I optionally need ethernet in my design, so I've been looking at various USB C hubs that integrate ethernet, and I'm curious as to what chip(s) is being used in these hubs. Here's an example: <https://www.anker.com/products/variant/powerexpand--5in1-usbc-ethernet-hub/A83380A1> If you're using something like this and you have the time, I'd be curious to see the output from the lsusb command. thanks, galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
[PLUG] certbot log files
FYI I was looking into a certificate issue today and discovered that I have over 800 letsencrypt log files on my CentOS 7 machine. After some poking around, I found this in the certbot documentation: "By default certbot stores status logs in /var/log/letsencrypt. By default certbot will begin rotating logs once there are 1000 logs in the log directory. Meaning that once 1000 files are in /var/log/letsencrypt Certbot will delete the oldest one to make room for new logs. The number of subsequent logs can be changed by passing the desired number to the command line flag --max-log-backups. Note Some distributions, including Debian and Ubuntu, disable certbot’s internal log rotation in favor of a more traditional logrotate script. If you are using a distribution’s packages and want to alter the log rotation, check /etc/logrotate.d/ for a certbot rotation script." So, if you see a hundreds of letsencrypt.log files in /var/log/letsencrypt, that may very well be normal. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Connecting UPS to desktop
On 11/25/19 9:59 AM, Russell Senior wrote: USB serial like this: https://www.amazon.com/Sabrent-Converter-Prolific-Chipset-CB-DB9P/dp/B00IDSM6BW/ Forget what I said. A USB to serial adapter is certainly a simpler solution than tracking down the appropriate square pin to DB9 cable, and it doesn't require opening the case. In fact, I seem to recall giving you a USB serial adapter. I'd give that a try and see whether it works for you. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Connecting UPS to desktop
On 11/25/19 9:45 AM, Rich Shepard wrote: On Mon, 25 Nov 2019, Rich Shepard wrote: The Asus Prime X470-Pro motherboard has in internal serial port socket ... Here are the expansion slots. I believe the first one is occupied by the video card. Slot Description --- 1 PCIe 3.0/2.0x16_1 slot 2 PCIe 2.0 x1_1 slot 3 PCIe 2.0 x1_2 slot 4 PCIe 3.0/2.0 x16_2 slot 5 PCIe 2.0 x1_3 slot 6 PCIe 2.0 x16_3 slot Which slot would be most appropriate for a serial port expansion card? *If* you were to do this, one of the lowest bandwidth slots would be the one to use. That would be any of the three PCIe 2.0 x1 slots. That said, if you really have square pins on the motherboard for a serial port, that's the best choice. Free Geek might have the appropriate ribbon cable to DB9 with backplate. If not, I may have what you need. Beware, though, that there are two common pinouts. You should confirm that the square pins are present and what the pinout is. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
[PLUG] UPS battery
The backup battery for my mom's Frontier fiber connection needs replacing. Can someone suggest a place near the east side of Hillsboro to purchase a 12V 8AH sealed lead acid battery? I could walk over to NW Battery Supply on Belmont and get one, but I'm hoping to avoid a trip to Hillsboro. thanks, galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Connecting UPS to desktop
On 11/25/19 8:38 AM, Rich Shepard wrote: I have an old cable for the UPS with a RJ-45 plug on one end and a female serial port on the other. Assuming the serial port attaches to a male port on the UPS can I attach the Ethernet plug to a switch, or does it need to be direcly connected to the desktop? I think there's only a single Ethernet port on my systems. *No*. That is a manufacturer-specific *serial* cable that goes between the UPS and a *serial* port. It just happens to have an RJ45 connector. I would expect the RJ45 end to connect to the UPS. You will never see ethernet on a DB9 connector. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] annotate photos
On 11/16/19 5:15 PM, Galen Seitz wrote: Hi, I have a need to add annotations to some photos. Text, lines with arrows, and circles or elipses is about all I need. In the past I've used imagemagick or xfig for this. They work, but I wouldn't describe them as easy to use. Any recommendations? I'm using CentOS, so any application needs to be available there. One more thing. I'll be creating the photos themselves by grabbing stills from video using VLC. FWIW, I ended up installing 'shutter'. It didn't take too long to do some very basic annotation. Beware that it appears to be a perl application, and it required many perl modules. yum took care of it, but there were about 50 dependencies that had to be installed. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
[PLUG] annotate photos
Hi, I have a need to add annotations to some photos. Text, lines with arrows, and circles or elipses is about all I need. In the past I've used imagemagick or xfig for this. They work, but I wouldn't describe them as easy to use. Any recommendations? I'm using CentOS, so any application needs to be available there. One more thing. I'll be creating the photos themselves by grabbing stills from video using VLC. thanks, galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Monitoring Serial Ports
On 11/16/19 8:12 AM, Michael Barnes wrote: I've got a bit of a challenge. I have an external piece of hardware connected via a serial port to my Mint computer. Normally an application deals with the data. I would like to monitor the data stream with something like minicom to see the raw serial data coming from the hardware. The ability to see bi-directional data would be a plus. On my Windows computer I have an application called Virtual Serial Port Emulator (VSPE) that creates a serial port splitter allowing multiple applications to utilize the same serial port to communicate with external hardware. Is there anything similar to that for Linux? Or perhaps some other option for doing this? If you have the ability to tap into the serial connection with a second serial port, you could use a program like jpnevulator. If you can tell you application to talk to a pty, then you may be able to use socat to monitor the serial communication. See the second answer here: <https://unix.stackexchange.com/questions/12359/how-can-i-monitor-serial-port-traffic> galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Putting knoppix-8.6 on an 8G flash drive
On 11/16/19 9:07 AM, Rich Shepard wrote: I downloaded a knoppix-8.6 .iso, checked the sha256sum, and tried to put it on an 8G USB flash drive using dd. I messed up badly. The drive shows nonsense files and won't allow root to delete the files or directories. The command I used was dd 'if=/home/rshepard/KNOPPIX_V8.6-2019-08-08-EN.iso of=/dev/sdd1'. Two questions: 1) How best to reformat /dev/sdd1/ to it's vfat state? 2) What dd command line will correctly copy the .iso to the flash drive? Looks like you copied the iso to a partition on the flash drive. With knoppix 8.6 you should copy/dd the iso to the raw drive. i.e. /dev/sdd Be absolutely certain that you have the correct device! galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] USB Adapter for NVMe drive
On 11/15/19 5:32 PM, John Jason Jordan wrote: On Fri, 15 Nov 2019 16:10:19 -0800 (PST) Rich Shepard dijo: Sure is. I recommend using rsync to copy between disks. Tomas mentioned a couple of things not to copy, and I'll make a definitive list from advice at the Clinic Sunday. Have you checked with FreeGeek? I'm going to be there first thing tomorrow morning and will ask if they have one. If so I'll buy it and you can buy it from me at Sunday's clinic. No need, as I'll borrow one from Wes on Sunday. In any event, the Free Geek store is open on Sundays now, so I can get it myself if needed. But thanks for the thought! As Tomas said, there's really no need to open up the laptop. Just boot a live distribution from a flash drive and do the partitioning and copying from it. Knoppix would be my choice too, but an Ubuntu install image would probably work. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] [Fwd: FW: Short survey for Clear Linux Project on PLUG PDX]
On 11/12/19 5:56 PM, tomas.kuchta.li...@gmail.com wrote: Hi Alan, I have never used Clear linux, so this is probably not for me. Though, I was curious what is the survey about - Embarrassingly, it does not load in current Firefox on SuSE. No private-window or paranoid setup was used. Just out of curiosity - Does it need ClearLinux or Windows or Edge ...? Anybody else brave enough to click this link in Firefox on Linux? Did it work for you? Worked for me with CentOS 7, Firefox 68.2.0esr (64-bit) in a private window. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] PCH cables out of stock: local alternatives?
On 11/7/19 4:30 PM, Rich Shepard wrote: On Thu, 7 Nov 2019, Rich Shepard wrote: Thanks for both suggestions. FreeGeek had a bunch of dongles, but they were all sold today. URS Electronics has only cables with female DVI ends. So, it's Amazon. Sigh. Monoprice probably has what you want. They may not be able to match Amazon's speed though. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] What wget options to clone a repo?
On 11/6/19 12:18 PM, Galen Seitz wrote: > > rsync -havP --no-o --no-g --safe-links --timeout=60 --contimeout=30 > rsync://slackware.cs.utah.edu/slackware/slackware64-14.2/ /scratch/mutt/ > Oops. As I said, I didn't want to fill my disk. That's why I originally tried to mirror mutt, not slackware. Hence the odd destination path. I meant to change it to this: rsync -havP --no-o --no-g --safe-links --timeout=60 --contimeout=30 rsync://slackware.cs.utah.edu/slackware/slackware64-14.2/ /my_mirror/slackware64-14.2/ galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] What wget options to clone a repo?
On 11/6/19 11:43 AM, Ben Koenig wrote: > You might want to consider using Alien Bob's scripts to handle the rsync > command. > http://www.slackware.com/~alien/ > > But.. for a quick and dirty solution the following should work > > > The syntax is > rsync [opts] [remote path] [local path] > > While people have strong opinions on this one, here's the command I use: > $ rsync -rvh https://rsync.osuosl.org/pub/slackware/slackware64-14.2/ > /path/to/local/folder/slackware64-14.2/ > > Make sure you create a slackware64-14.2 folder to put it in and specify the > full path to it. My approach is unusually explicit since I hate getting > tripped up by rsync's interpretation of / > Pay attention to the / at the end of the paths. Rysnc is very particular > about that when copying folders or their contents and if you aren't careful > it puts files in unexpected subdirectories. That's why you want to wrap it > in a script, like the one I linked above. It looks like OSU is a primary mirror for Slackware, so rsync access to it may not be available to it for mortals. At least my attempts failed. There are instructions on mirroring on the Slackware site. <https://mirrors.slackware.com/guidelines/> You are probably better off using Ben's instructions, but here's the command I tried. This is based on the Slackware instructions. It seemed to work, but I killed it quickly as I'm not interested in filling my disk. YMMV rsync -havP --no-o --no-g --safe-links --timeout=60 --contimeout=30 rsync://slackware.cs.utah.edu/slackware/slackware64-14.2/ /scratch/mutt/ I chose the Utah mirror somewhat at random out of the rsync mirrors listed here: <https://mirrors.slackware.com/mirrorlist/> galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] What wget options to clone a repo?
On 11/6/19 10:13 AM, Rich Shepard wrote: On Wed, 6 Nov 2019, Galen Seitz wrote: rsync is probably a better option. https://rsync.osuosl.org/pub/slackware/ Galen, Thanks. wget is chomping away at downloading the current contents. Once there's a seed future checks (via a cron job) will look for only patches (upgraded packages) and use rsync to download and upgrade them. So this is a one-time action. As an aside, if I were to use the above URL I'd clone all slackware distributions (32- and 64-bit) from 8.0 through -current. I need only the 14.2/x86_64 directory tree. I was merely showing you that OSU has rsync access for slackware. I didn't intend for you to mirror the whole thing. In fact, OSU has rsync access to mirrors of all the common Linux distros, as well as a bunch of other stuff. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] What wget options to clone a repo?
On 11/6/19 8:40 AM, Rich Shepard wrote: I want to clone this directory tree: https://slackware.osuosl.org/slackware64-14.2/ I've used wget very infrequently and reading the man page I've no idea which options I need. Passing that URL to wget produced only an index file. rsync is probably a better option. https://rsync.osuosl.org/pub/slackware/ galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Printer IP address
On 11/4/19 3:44 PM, Rich Shepard wrote: I think that I've discovered why I cannot communicate with the Dell C1760nw printer. Using the printer's control panel I printed out a page of its settings and noticed that it has an apparently hard-wired IP address of 169.254.98.111. No wonder I can't ping it using the LAN IP address! However, when I ping that address I see this: $ ping 169.254.98.111 PING 169.254.98.111 (169.254.98.111) 56(84) bytes of data. From 74.42.148.191 icmp_seq=1 Destination Net Unreachable FYI, the 169.254 address is a link-local address. <https://en.wikipedia.org/wiki/Link-local_address> galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Accessing external drive in Mint
On 10/25/19 5:55 PM, Michael Barnes wrote: I have a computer that suffered a hardware failure. I replaced it with a 'new' unit from Free Geek running Mint. I pulled the hard drive and need to try to recover some data from it. I have an external drive adapter that plugs into a USB port. Previously, (assuming I remember correctly) I simply hooked up the drive to the adapter and plugged it into the USB port and it showed up as sdb and I was able to transfer data as needed. This time, nothing shows up. So, either I cannot remember how it shows up or I am doing something wrong (both likely). I tried a couple of other drives that I had previously hooked up with similar results. I have tried parted -l, fdisk -l, lsblk -a, and looked at /dev with no good results. I would first confirm that the USB adapter is showing up. See whether it is present in the output of the lsusb command. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Kensington orbit w/scrool wheel: set 'paste' button
On 10/20/19 9:35 AM, Rich Shepard wrote: Not long ago I replaced a dead Logitech trackball with a Kensington Orbit with scroll wheel. Buttons left (0) and right (2) worked, but pressing both did not send a middle button (1) signal. The help I received here has apparently been lost when I copied saved mail messages from the old desktop to the new one and I don't remember how to specify pressing buttons left and right to emulate 3 buttons nor where to put that command. On my Trackman Wheel, the scroll wheel can be pressed to generate a middle button. Doesn't the Orbit work this way? galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] rsync root-owned files
On 10/20/19 9:11 AM, Rich Shepard wrote: I need to rsync the contents of /var/spool/postfix/rshepard from the defunct desktop's backup drive to the new desktop. I understand that rsync uses ssh and root is blocked from using ssh. As a user I cannot write to /var/spool/postfix/. What is the approach that will allow me to transfer these (and similar system) files from the backup drive to the new desktop? Rather than using rsync, why not this: login to your backup system sudo to root tar up the directory you want to move, putting the tar file in /tmp chown the tar file to rshepard login to new desktop use scp or other file transfer method to move the tar file sudo to root cd /tmp/ extract the tar file into /tmp carefully examine files and permissions to be sure they are correct mv or cp -a the directory to the desired spot, making sure you don't overwrite anything important FYI rsync does not require the use of ssh. It's just common to use it. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Finding suitable printer
On 10/19/19 4:55 AM, Richard Owlett wrote: I run Debian on two laptops in different rooms and networking is not feasible. I'm looking for a small low volume printer. It will generally be stored, not connected, on a shelf near one laptop. Desk space *very* limited. Occasionally used away from home. {Battery operation would be nice but not required.} I've not looked for a printer in decades. Max number pages per run -- ~10 Max pages per year -- ~50 USB connectivity I assume that due to your location, taking a flash drive to a Kinko's, etc. is not an option. With such low usage, I think you would be better served by a laser printer. Perhaps inkjet printers have improved, but anecdotally, it seems that inkjet heads don't last very long if they're not being used regularly. You can likely find a relatively compact monochrome laser printer, but I doubt you'll find a battery powered laser printer. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
[PLUG] gdb tip you should know
I occasionally have the need to use gdb for debugging, but not often enough to be a gdb expert. Typically this debugging is on embedded systems that have microcontrollers with many peripherals that need to be controlled, such as AVR or Cortex M devices. The peripheral register addresses and the bits within them are often defined using C preprocessor macros. This is fine for coding, but when debugging, information regarding these macros is typically lost. That means if I want to examine a hardware register, such as a GPIO port, I have to look up the appropriate peripheral address, and then do an examine memory command at that address: # Read port E output data register (gdb) x/x 0x40021014 0x40021014: 0x007f This morning I was looking for a script that would turn preprocessor macros into gdb macros, in hopes of simplifying this. That's when I discovered you can tell gcc to add preprocessor macros to the debug symbols. When compiling for debugging, instead of passing '-g', you pass '-ggdb3'. Now you can do this: # Read port E output data register (gdb) p/x GPIOE->ODR $1 = 0x7f This is far, far easier than having to look up addresses and bit positions. The only hitch is that when you halt your code, you have to be stopped in a context where the preprocessor macros were present. Most of the time this won't be a problem. Even if you're not debugging code that talks to hardware, it can be quite useful to print out the value of a macro, particularly if it's one that involves a calculation or another macro. // A define in my code. #define ADC_HV_DIVISOR ((499 + 200e3) / 499) # What's that value? (gdb) p ADC_HV_DIVISOR $2 = 401.80160320641284 There are some other useful tips here. This particular tip is #5 in the article. <https://blogs.oracle.com/linux/8-gdb-tricks-you-should-know-v2> galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] RadioShack Gigaware USB to serial (DB9) converter *FREE*
On 10/7/19 7:28 AM, Johnathan Mantey wrote: I'm guessing the Prolific chip in the converter is a knock off, and has been intentionally disabled by the latest Windoze versions. FTDI and Prolific both have a problem with counterfeit devices. The solution they applied was to make their drivers refuse to work with counterfeit HW. I've found Linux to be more forgiving. Based on my experience with a USB to TTL serial converter, I'd be hesitant to use anything with a counterfeit chip. Of course, some knockoff designs may be better than others. <https://www.amazon.com/gp/customer-reviews/RDH054R4VD4S6/ref=cm_cr_dp_d_rvw_ttl?ie=UTF8=B0153718YQ> galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] IP Tracking
On 9/23/19 6:21 PM, Ben Koenig wrote:> maybe instead of waiting for one guy to fight on your behalf, try pulling your head out of your ass and do it yourself. You don't need a tech manual. OK, I'm actually going to take a portion of this advice. Instead of waiting for someone else to speak up, as Denis did earlier, I will do it myself. IMHO, your posting is not conducive to a productive discussion. If you feel the need to insult someone, it's time to step away from the keyboard. In lieu of that, there is always plug-talk. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] nohup question
On 9/17/19 2:00 PM, Rich Shepard wrote: On Tue, 17 Sep 2019, Rich Shepard wrote: each takes 30+ minutes on my 1.8GB FiOS line. The list is in a bash script Oops! That's 1.8MB/sec. Unless you're planning to logout after executing the script, nohup should not be needed. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] No meeting tonight ?
On 9/5/19 7:35 PM, J. Hart wrote: just tried to "tune in" from Western NY and didn't see anything. Didn't see Mr Dexter in IRC either. Didn't see any notice of cancellation. Meeting was held, but in a different room than normal. It also appears that we may have building access issues in the future (not that that affects you). Michael did not attend, which is probably why you were unable to tune in. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Translating ^M to \n
On 8/12/19 4:34 PM, Rich Shepard wrote: On Mon, 12 Aug 2019, Michael Ewan wrote: tr is your friend tr '\013' '\n' < old_file > new_file this will probably work also tr '\r' '\n' < old_file > new_file Michael, As I've written, it should but doesn't. The smallest file can be downloaded from <https://tinyurl.com/y54p8xgv>. Looks like a mixture of line endings. I'm seeing both CR and LF in that file. [galens@toto ~]$ wc -l Downloads/hatchery_returns-2019-08-12.csv 102 Downloads/hatchery_returns-2019-08-12.csv Converting CR to LF and then counting lines yields 10801. There's also one instance of a CRLF at the end of the file. Perhaps there are some LF characters embedded in strings. I didn't bother to dive in any farther. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] [Retitled for clarity] File sharing over a two node LAN
On 8/12/19 11:43 AM, Richard Owlett wrote: My post declared SERVER/CLIENT relationships are [expletives deleted ;] And I bet your desktop is running an X *server*. Oh, the horrors! If you really want to compute like it's 1975, there's always uucp, but I think you would be much better served (pun intended) by learning how to use scp or nfs/samba. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] does this thing need a heatsink???
On 8/8/19 3:05 PM, Johnathan Mantey wrote: I'd say no. 3.3V * 100ma = 330 mW Even if I'm off by a factor of 10 it would be unnecessary. 3.3 W in a 10 mm x 10 mm package would be *interesting*. The datasheet shows a junction to ambient thermal resistance of 40.8 degrees per Watt. If it were actually dissipating 3.3 W, the junction temperature would be well into the 'don't do that' range. Touching the case would definitely be a bad idea. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] does this thing need a heatsink???
On 8/8/19 2:32 PM, Aaron Burt wrote: On 2019-08-08 13:48, Russell Senior wrote: I just ordered a few of these: https://www.pjrc.com/store/teensy40.html It has a 600MHz microcontroller. What is the world coming to? It has 1GB RAM, 2GB flash and a floating-point unit. Not only could it run Linux easily, it would be a reasonably capable server. One that happens to be smaller than a stick of gum, under $20, and would run for 24 hours on 3 AA batteries. Those are K characters, not M. It has 1 MB of RAM and 2 MB of flash. No MMU either. Very powerful for a microcontroller, but not necessarily ready to run Linux. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] C program: configures & builds, segfaults on invocation
On 8/7/19 7:23 AM, Rich Shepard wrote: I've been working with the developer on this and we're both out of ideas so I'm looking for suggestions from experienced C coders here before reaching out on LQ. I've run jpilot (the Palm PIM desktop) since the Palm Pilot Personal came out. It has built and run on Slackware since 8.0 on my 32-bit desktops and portables. It also builds and runs on my 64-bit laptops. But, when I try to load it on the new 64-bit desktop it segfaults. It works for the developer on a vm running a patched Slackware-14.2 and my new desktop runs a fresh installation, fully patched, of the same distribution. Why it will not load here is a mystery needing to be solved because I use jpilot (and the handheld Palm TX) every day for both business and personal needs. A few days ago I cloned the repo on the new desktop ran autoconf.sh, configure --prefix=/usr, make, make install and tried running it: segfaulted. Using the command line 'gdb /usr/bin/jpilot' produced these results: (gdb) run Starting program: /usr/bin/jpilot [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". removing stale pidfile (jpilot:5985): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine", [New Thread 0x7fffed52f700 (LWP 5990)] [New Thread 0x7fffecd2e700 (LWP 5991)] Thread 1 "jpilot" received signal SIGSEGV, Segmentation fault. 0x7fffef5d39f0 in __strftime_internal () from /lib64/libc.so.6 There are plenty of search results when searching for 'SIGSEGV in __strftime_internal () from /lib64/libc.so.6'. I suggest perusing them. They are unlikely to be related to jpilot, but it still might give you an idea why there is a problem. This result from stackoverflow might be relevant. The problem was incorrectly coded time calls. The seg fault was related to what locale was being used. I suggest checking for environment variable differences between the laptops and the desktop. In particular look for differences in LC_ALL. <https://stackoverflow.com/questions/10597913/sigsegv-segmentation-fault-at-strftime-l-lib64-libc-so-6> galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] fsck: recommended options? [UPDATE]
On 8/5/19 9:02 AM, Rich Shepard wrote: On Mon, 5 Aug 2019, Rodney W. Grimes wrote: I further suspect the error from logwatch is an event in history that has long since been resolved and it just continues to report it as a recent event. Rodney, I thought that was the case but not sufficiently knowledgeable to know for sure. Also, the kernel issues a warning, not an error, so the criticality is lower. As Rodney says, I think this error is likely a one-off. With a removable drive, an error like this isn't particularly unusual. You may want to consider rebooting. This isn't necessarily related, but when using a scsi tape drive, I would occasionally get errors that were most easily cleared by rebooting. BTW, I'm not seeing the error/warning in your grep of dmesg. I'd look in /var/log/messages (or the Slackware equivalent) to see if you can spot anything there. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Flash Drive went through the wash
On 7/6/19 2:17 PM, Dick Steffens wrote: I put a flash drive in a shirt pocket and forgot about it. The shirt and the drive went through the washer and dryer. I just tried it and it works. (I had already downloaded the contents, so I wasn't worried about losing data.) The question is, did running it through the dryer right after it ran through the washer dry it out enough that it will be okay? Or simply because it got wet, and corrosion began, one day it will die? Not a big deal. It's an older, smaller flash drive that I don't use often. Just an academic question. It's certainly possible that there is still moisture inside. If you want to try to preserve it, try burying it in some uncooked rice. Alternatively, if you have an electric oven or toaster oven, you could bake it for an hour or so at 125 degrees. I wouldn't do this in a gas oven due to the moisture given off by combustion. OTOH, given the low cost, I would just recycle it. Had you intercepted it between the washer and dryer, I might have recommended an extra rinse to attempt to get any detergent residue out of it before drying it out. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
[PLUG] OSCON Expo Plus pass
Hi, It appears that the discount code for a free Expo Hall pass is EPPFREE. I was able to use this to register this morning. <https://conferences.oreilly.com/oscon/oscon-or/public/register> galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Mouse connection question [FIXED]
On 7/4/19 2:26 PM, Rich Shepard wrote:> In any case, the front panel USB ports will do for now. I need to make time to get a lot of hardware stuff finished, including transitioning from this older 32-bit server/workstation to the new 64-bit server/workstation. Sigh. I didn't see what motherboard you are using, but it's possible that you have additional USB ports that aren't cabled out. Subject to mechanical considerations, you might be able to add some USB ports to the back of your machine. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Xfig question
On 6/30/19 3:43 PM, Rich Shepard wrote:> I wonder how many Tcl/Tk applications are still being used and supported. While xfig is comparatively primative it is easy to learn (when used sufficiently frequently) and offers fine control. Not as fine as PSTricks, but for the occasional user like me it's much quicker. Regarding Tcl/Tk applications, I don't know about Tk usage, but Tcl is heavily used in electronic design applications. For better or worse, tools used for FPGA and ASIC design use Tcl scripts to drive the build process. They may use Eclipse for the GUI, but underneath it's Tcl driving the compilation, mapping, and place and route of Verilog and VHDL code. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Xfig question
On 6/29/19 4:37 PM, Rich Shepard wrote: I finally have xfig grokked and am using it to create vector line drawings. The instructions and an ancient tips PDF file tell me to start a line I position the cursor and press button 1 (the left button) and to stop a line I press button 2 (the right button). However, quite often clicking button 2 does nothing and I end up with lines all over the drawing as I move the pointer, thinking I've stopped drawing the line. It takes several attempts on that button before drawing finally stops. Then I need to delete those lines before proceeding. Button 2 is the middle button, but that's probably what you meant anyway, as the right button cancels the line. Has anyone else experienced this annoying behavior? I'm running xfig-3.2.5c here. Works as expected here. xfig-3.2.5-44.c.el7.x86_64 CentOS Linux release 7.6.1810 (Core) galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Nokia 6.1 Plus turns off quickly
On 6/11/19 4:21 PM, Rich Shepard wrote: On Tue, 11 Jun 2019, Ben Koenig wrote: Also, turn off adaptive brightness. It sucks. Ben, Huh! I've not noticed whether it applied itself. My previous mobile phones were all but unreadable in direct sunlight. I've not yet tried the Nokia in full daylight so I've no idea how useful it is outdoors. With my phone (a Motorola G5+), adaptive brightness quickly ramps up the brightness when outdoors, so in that case it is actually useful. The problem I have is in low light conditions, where the phone tends to reduce the brightness too much, at least for my eyes. In case it's not obvious, the adaptive brightness feature is intended to save battery power. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug