DisplayPort not working on 11th gen i7 / UHD Graphics 750

2021-08-17 Thread Eduardo M KALINOWSKI
I've installed Debian testing on a new computer, with an Intel Core 
i7-11700 processor.


After I added "i915.force_probe=4c8a" to the kernel command-line, 
graphics work, but only on the HDMI port. A second monitor in the 
DisplayPort is not recognized:


$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x 
axis y axis) 477mm x 268mm

   1920x1080 60.00*+  50.00    59.94
   1920x1080i    60.00    50.00    59.94
   1680x1050 59.88
   1280x1024 75.02    60.02
   1440x900  74.98    59.90
   1280x960  60.00
   1280x720  60.00    50.00    59.94
   1024x768  75.03    60.00
   800x600   75.00    60.32
   720x576   50.00
   720x576i  50.00
   720x480   60.00    59.94
   720x480i  60.00    59.94
   640x480   75.00    72.81    66.67    60.00    59.94
   720x400   70.08
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)

The cable and monitor are working fine. Dual screens work on Grub and in 
the beginning of boot, but once the console font changes, I only get 
HDMI output.


Some more information:

$ uname -a
Linux gandalf 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64 
GNU/Linux


$ inxi -G
Graphics:  Device-1: Intel RocketLake-S GT1 [UHD Graphics 750] driver: 
i915 v: kernel
   Display: x11 server: X.Org 1.20.11 driver: loaded: 
modesetting unloaded: fbdev

   resolution: 1920x1080~60Hz
   OpenGL: renderer: Mesa Intel Graphics (RKL GT1) v: 4.6 Mesa 
20.3.5


$ lspci -k -nn -d 8086:4c8a
00:02.0 VGA compatible controller [0300]: Intel Corporation RocketLake-S 
GT1 [UHD Graphics 750] [8086:4c8a] (rev 04)

    DeviceName: Onboard - Video
    Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
    Kernel driver in use: i915
    Kernel modules: i915

Anyone has any idea? Or is there any extra information that might be useful?



Re: DisplayPort not working on 11th gen i7 / UHD Graphics 750

2021-08-17 Thread Eduardo M KALINOWSKI

On 17/08/2021 15:12, Andrew M.A. Cater wrote:

On Tue, Aug 17, 2021 at 01:18:11PM -0300, Eduardo M KALINOWSKI wrote:

I've installed Debian testing on a new computer, with an Intel Core i7-11700
processor.

After I added "i915.force_probe=4c8a" to the kernel command-line, graphics
work, but only on the HDMI port. A second monitor in the DisplayPort is not
recognized:

$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y
axis) 477mm x 268mm
    1920x1080 60.00*+  50.00    59.94
    1920x1080i    60.00    50.00    59.94
    1680x1050 59.88
    1280x1024 75.02    60.02
    1440x900  74.98    59.90
    1280x960  60.00
    1280x720  60.00    50.00    59.94
    1024x768  75.03    60.00
    800x600   75.00    60.32
    720x576   50.00
    720x576i  50.00
    720x480   60.00    59.94
    720x480i  60.00    59.94
    640x480   75.00    72.81    66.67    60.00    59.94
    720x400   70.08
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)

The cable and monitor are working fine. Dual screens work on Grub and in the
beginning of boot, but once the console font changes, I only get HDMI
output.

Some more information:

$ uname -a
Linux gandalf 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64
GNU/Linux

$ inxi -G
Graphics:  Device-1: Intel RocketLake-S GT1 [UHD Graphics 750] driver: i915
v: kernel
    Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting
unloaded: fbdev
    resolution: 1920x1080~60Hz
    OpenGL: renderer: Mesa Intel Graphics (RKL GT1) v: 4.6 Mesa
20.3.5

$ lspci -k -nn -d 8086:4c8a
00:02.0 VGA compatible controller [0300]: Intel Corporation RocketLake-S GT1
[UHD Graphics 750] [8086:4c8a] (rev 04)
     DeviceName: Onboard - Video
     Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
     Kernel driver in use: i915
     Kernel modules: i915

Anyone has any idea? Or is there any extra information that might be useful?


If you installed Testing in the run up to Bullseye release on 20210814, can
I suggest that you retry with the installer that was released as the
final Debian 11 media. The kernel changed in the last few days, it's only
a small thing but might make a difference.


I actually installed with debootstrap, to run root on zfs. I believe I 
have the latest kernel avaliable (linux-image-5.10.0-8-amd64), I see no 
updates.



Do you have firmware installed?


Yes, I have firmware-misc-nonfree which is necessary for graphics. As I 
said, everything seems to be working fine, even hardware acceleration, 
but only one monitor is recognized.


It might be that this hardware is too new. (I did need to add one 
parameter to the i915 driver to have any graphics at all.)





Re: CUPS permissions

2021-08-26 Thread Eduardo M KALINOWSKI

On 26/08/2021 08:59, Peter Ehlert wrote:

thanks. restarting firefox worked.
I got the login dialog box

after login as (user)
Add Printer gives> Unable to add printer: Forbidden

back to square one


Users don't ordinarily have permission to add printers, you should login 
as root.


It's possible to grant this permission to users, but you'll have to look 
it up how this is done.



--
Alive without breath,
As cold as death;
Never thirsty, ever drinking,
All in mail never clinking.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Soft link confusion

2021-08-30 Thread Eduardo M KALINOWSKI

On 29/08/2021 21:10, Greg Wooledge wrote:

The syntax is:  ln -s TARGET LINKNAME

I.e. you specify the existing thing first, and the name of the link that
you want to create last.


If you need a mnemonic, this is just like cp.

$ cp ORIGINAL NEW

creates NEW as a copy from ORIGINAL. Similarly,

$ ln -s ORIGINAL NEW

creates a link NEW pointing to ORIGINAL.

--
"Be there.  Aloha."
-- Steve McGarret, _Hawaii Five-Oh_

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: How to update Debian 11 source.list to testing?

2021-09-03 Thread Eduardo M KALINOWSKI

On 03/09/2021 11:40, The Wanderer wrote:

On 2021-09-03 at 10:17, Roberto C. Sánchez wrote:


On Fri, Sep 03, 2021 at 04:11:49PM +0200, Richard Forst wrote:

If you change all instances of bullseye -> testing, then you are not
mixing. Go ahead with that, modulo the standard caveats associated
with running testing. The problem would come if you tried to include
both bullseye *and* testing sources in your sources.list. Then you
might create very difficult to resolve problems.

Are you sure about that last part?

I have been running with (e.g.)

deb http://ftp.us.debian.org/debian/ stable main non-free contrib
deb http://ftp.us.debian.org/debian/ testing main non-free contrib

for over a decade, and while there have been some problems, I think
they've been basically the same ones I'd have seen from running testing
alone; none of them have seemed terribly difficult to resolve, either.
(At least not by my standards, although I'll admit that I may not be the
best or most representative example.)

I don't particularly consider this mixing releases; it's more tracking
testing, while still keeping available any packages which were in stable
but have been removed from testing.

IMO, if you're going to track testing at all on a production computer
(as opposed to, well, for the purpose of actually *testing the upcoming
release*), it only makes sense to also include stable; there's too much
chance of an important package being (temporarily or permanently)
unavailable, otherwise.


But there's a chance that the version in stable is not installable 
anymore because it depends on packages that have been upgraded on 
testing and are incompatible with stable.


That said, I agree with you that there's a bit of exaggeration about 
mixing releases. Sure, it's not something to be recommended to a 
beginner or someone who's used to just clicking "Next >" to 
install/upgrade software, but provided one knows what they are doing and 
are careful when running apt-get (or equivalents), it's certainly 
possible and won't lead to guaranteed breakage.



--
  Goes (Went) over like a lead balloon.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: help new install debian via WiFi

2021-09-13 Thread Eduardo M KALINOWSKI

On 13/09/2021 09:28, 황병희 wrote:

and i put mini.iso in usb stick as follow commands:

#+begin_src: sh
$ sudo cp mini.iso /dev/sda1


That should have been /dev/sda, but since you said the installer booted 
and started, I assume it's just a typo.



$ sudo sync
#+end_src

then i did try to boot with usb stick on thinkpad notebook.

and that showed well the some configs such as lang/contry/keyboard
but faild to detacting internet zone.
that did to try searching some DHCP thing all the time.
fail and fail and so on...

so i did open chromebook and Gnus.

How can i connect WiFi zone (not DHCP) at new install (Debian 11)?


Try the installer with non-free firmware, pretty much all Wi-Fi cards 
require non-free firmware: 
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/



--
'Back in the USSR' musica dos Beatles, por John Lenin e Ringo Stalin.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: help new install debian via WiFi

2021-09-13 Thread Eduardo M KALINOWSKI

On 13/09/2021 09:45, 황병희 wrote:

Hellow! Eduardo^^^

Eduardo M KALINOWSKI  writes:


Try the installer with non-free firmware, pretty much all Wi-Fi cards
require non-free firmware:
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/


Wow you are my hero!
How can i input the file into *the usb stick*?

With no error, i did download firmware-11.0.0-amd64-netinst.iso.
(My file system is Chrome OS that have linux shell and commands)


The same way you copied the other installed: just cp the file to the 
drive. Something like


# cp firmware-11.0.0-amd64-netinst.iso /dev/sdX

Substitute sdX for the device your USB drive gets assigned. Be sure to 
use the whole drive, not a partition.



--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: static photo album generator

2021-09-26 Thread Eduardo M KALINOWSKI

On 26/09/2021 07:57, Emanuel Berg wrote:

fgallery - static HTML+JavaScript photo album generator


Hm, HTML and JavaScript, doesn't sound so static ...


Static means no server side processing is required (no CGI, PHP or 
similar), any web server that can just serve files is enough.



--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Mouse left button acts really strange

2021-10-09 Thread Eduardo M KALINOWSKI

On 09/10/2021 10:04, Andreas Rönnquist wrote:

Hi!

I have massive problems with my Logitech M705 - Or specifically with
the left mouse button. Sometimes (very often) singleclick becomes
double-click, dragging items is very hard, it drops the drag before I
release the mouse button. Clicking on the terminal icon in my xfce
panel often starts three terminals. The weird thing is that mouse
movement and the mousewheel works just fine. No problems there of any
kind.


Seems like a hardware problem. Have you tried another mouse?

--
Half Moon tonight.  (At least it's better than no Moon at all.)

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: A real bounce between GMX and bendel.debian.org

2021-10-10 Thread Eduardo M KALINOWSKI

On 10/10/2021 17:18, Thomas Schmitt wrote:

Hi,

although i seem not to be worth to be targeted by our bounce assassin,
my mail provider and bendel.debian.org are at odds enough to produce
a real bounce message, which then causes a warning mail from
listmas...@lists.debian.org .

I am trying to make sense out of the given bounce report

   https://lists.debian.org/bounces/79gUBBa56gHKY3wtHzNKdg

It is hard to distinguish the hearsay by bendel.debian.org from the
message parts which come from my provider's server mx00.emig.gmx.net.
Especially i wonder from where bendel takes the association to my
mail address (and which mentionings show its conclusions about my
address).

Whatever, the reason for the bounce is that GMX accuses debian-user
of not meeting its requirements
   https://www.gmx.net/mail/senderguidelines
All points there look like they are not volatile problems but rather
persistent ones. But listmas...@lists.debian.org wrote i had

  1 bounce out of 68 mails in one day (1%, kick-score is 80%)

So why did the other 67 succeed ?


That seems unrelated to the OVH bounces.

My mailserver bounced the same email (and I got a warning like that). 
Since I run my own mailserver, and can look at the logs and see exactly 
why it has been rejected, and here's what I got:


2021-10-10 16:07:37 1mZeAb-0005Mc-Hn H=bendel.debian.org 
[2001:41b8:202:deb:216:36ff:fe40:4002] 
X=TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256 CV=no 
F= 
rejected after DATA: header syntax (malformed address: >\n may not 
follow Pierre-Elliott =?utf-8?Q?B=C3=A9cue?= : failing 
address in "From:" header is: Pierre-Elliott =?utf-8?Q?B=C3=A9cue?= 
>): malformed address: >\n may not follow Pierre-Elliott 
=?utf-8?Q?B=C3=A9cue?= : failing address in "From:" 
header is: Pierre-Elliott =?utf-8?Q?B=C3=A9cue?= >


And this is From header:

From: Pierre-Elliott =?utf-8?Q?B=C3=A9cue?= >

(There does seem to be an extra > in there.)


In this case, my server bounced a mail, and so the listserver is correct 
in sending me that notification. And since it was just one email, I did 
not get unsubscribed.


However, perhaps the listserver should have not accepted that email with 
the (possibly) invalid From header in the first place.





Re: Problem with Synaptic

2021-11-12 Thread Eduardo M KALINOWSKI

On 12/11/2021 09:30, Stephen P. Molnar wrote:

This is the immediate problem that I need to fix:

comp@AbNormal:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package brscan4 needs to be reinstalled, but I can't find an 
archive for it.


sudo apt update ran without any problems.
Try downloading it again (since it's not part of the archives, it must 
be downloaded manually) and running 'apt install ./brscan4-..deb' 
(substituting the actual file name, naturally). The './' is necessary to 
tell apt it's a file name.



--
finlandia:~> apropos win
win: nothing appropriate.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Problem with Synaptic

2021-11-12 Thread Eduardo M KALINOWSKI

On 12/11/2021 10:02, Stephen P. Molnar wrote:
Try downloading it again (since it's not part of the archives, it must 
be downloaded manually) and running 'apt install ./brscan4-..deb' 
(substituting the actual file name, naturally). The './' is necessary 
to tell apt it's a file name.




I appreciate your reply.

Here is what happened:

comp@AbNormal:~/Desktop$ sudo apt install ./brscan4-0.4.10-1.i386.deb
[sudo] password for comp:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package brscan4 needs to be reinstalled, but I can't find an 
archive for it.


Yeah, that didn't work.

You might try copying the .deb file to /var/cache/apt/archives and then 
trying something like 'apt -f install' to see if it picks the file.


If not, this like has some possible solutions: 
https://askubuntu.com/questions/88371/apt-synaptic-needs-to-reinstall-package-but-cant-find-the-archive-for-it 
(for another package, conincidentally also printer related). They seem 
to involve making apt/dpkg forget completely about the package. Backups 
are important here. (Well, they always are, but in this case they're 
even more important.)


If it works you can then try reinstalling it or going the "driverless" 
option.





--
And I alone am returned to wag the tail.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Fwd: lists.debian.org has received bounces from you

2021-11-24 Thread Eduardo M KALINOWSKI



On 24/11/2021 15:08, Nicholas Geovanis wrote:

Top posting necessarily.
Folks have discussed list bounces like this one in this forum already. 
I would like to draw the administrators' attention to 
bendel.debian.org <http://bendel.debian.org>, as shown here. I can't 
see enough to diagnose it as false positive or problem. Thanks


This seems to be perfectly legit and valid. Your mailserver (gmail) 
reject a spam that evaded debian's filters. In rejecting it, it caused a 
bounce. When the list server got the bounce, it warned you about it.


Since it's only one bounce, nothing happens. Only if your server bounces 
a lot of emails (80%, as the message shows) you'll be unsubscribed.





-- Forwarded message -
From: *Debian Listmaster Team* <mailto:listmas...@lists.debian.org>>

Date: Wed, Nov 24, 2021, 10:45 AM
Subject: lists.debian.org <http://lists.debian.org> has received 
bounces from you

To: mailto:nickgeova...@gmail.com>>


Dear subscriber,

We've encountered some problems while sending listmail to your
emailaddress nickgeova...@gmail.com <mailto:nickgeova...@gmail.com>.

In the last seven days we've seen bounces for the following list:
* debian-user
        1 bounce out of 149 mails in 7 days (0%, kick-score is 80%)
        (https://lists.debian.org/bounces/u9lHbXYWgI1VcxqPZbbglg 
<https://lists.debian.org/bounces/u9lHbXYWgI1VcxqPZbbglg>)


(The link above points to a copy of the latest bounce
and will be valid for seven days.)

If the bounce-rate passes the kick-score, our bounce-detection will 
forcibly

remove your subscription.

Bounces happen from time to time when spam slips through our filters 
but are

rejected by your mail provider.  If you are your own mail provider and use
'Before-Queue Content filtering', you should whitelist 
bendel.debian.org <http://bendel.debian.org> from

Content filtering.

However: You can safely ignore this message (and you will not be 
unsubscribed

:-) ) if your bounce rate remains low.

For more information see https://wiki.debian.org/Teams/ListMaster/FAQ 
<https://wiki.debian.org/Teams/ListMaster/FAQ>


You are welcome to contact listmas...@lists.debian.org 
<mailto:listmas...@lists.debian.org> if you think this

message was sent in error.

        Sincerely,
The Listmaster Team
--
http://lists.debian.org <http://lists.debian.org>



--
Last time I had intimate contact with another human being was rather a
painful experience... I rather liked it... ;)
-- Brett Manz

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Btrfs best practices

2021-12-16 Thread Eduardo M KALINOWSKI

On 16/12/2021 14:13, Jorge P. de Morais Neto wrote:

I'll put system and /home on the
SSD but all XDG user dirs² on the HDD [snip]


I don't have that manpage installed, but if you're refering to 
~/.config, ~/.local, etc, these are exactly the kinds of things that 
should be on the SSD - it'll help with application startup times as 
files in those directories are read when applications start.


Put large files (photos, music, video, etc) on the HD. For everything 
else, prefer the SSD.


As for the other questions, I cannot help specifically, but as a general 
advice, don't overthink it and don't bother trying to optimize 
everything up to the smallest details. Unless you have some very 
specific use, default settings are good enough, you should'nt notice any 
different in day to day use.


--
The best way to get rid of worries is to let them die of neglect.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: [?] Why should Distros be called as i386 for a 32-bit PC, and as amd64 for a 64-bit PC, when Intel Core PCs are also 64bit systems

2021-03-14 Thread Eduardo M KALINOWSKI

On 14/03/2021 07:49, Susmita/Rajib wrote:

While Intel PCs are also 64bit processors?

For instance, my current laptop is Lenovo IdeaPad 320-15ISK 80XH01FKIN
15.6-inch Laptop (6th Gen Core i3-6006U/4GB/2TB/Integrated Graphics),
a 64bit processor.

It can't be that intellectuals, technocrats and cognitive elites
involved in the development of this complete OS+packages could be
misplaced in their perceptions. This is impossible.

So why such naming?

Could I be educated in this regard please?


Because AMD was first in developing what is now known as amd64; at the 
time Intel was pursuing its non-i386-compatible architecture ia64. Later 
it also implemented the same architecture as AMD, but the name was stuck.


I believe the i in i386 and similar stands for Intel, and yet several 
other companies also made i386 chips.



--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: xsane can't see Brother ADS-2700W scanner

2021-03-31 Thread Eduardo M KALINOWSKI

On 30/03/2021 23:24, Charlie Gibbs wrote:

The one way I did manage to get the scanner to work was to a
USB flash drive.  It quickly sucked in a handful of sheets,
scanned both sides, and wrote them to a file on the stick.
If all else fails, I can work with it that way.  But I'd
really like to let xsane manage the process.


Which sane backend are you using?

Most new scanners support airscan, so try installing sane-airscan. Note 
that for your scanner to be discovered you need avahi-daemon running. 
(Or maybe you just need avahi-utils).


Brother generally offers proprietary drivers, including a Sane backend. 
Did you install that?



--
The most disagreeable thing that your worst enemy says to your face does
not approach what your best friends say behind your back.
-- Alfred De Musset

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Can't connect to torproject.org

2021-04-11 Thread Eduardo M KALINOWSKI

On 11/04/2021 11:25, Celejar wrote:

I feel silly for not being able to figure this out.

I can't connect to torproject.org via either Firefox or Chromium. The
browsers object that HSTS is in place and they don't recognize the
site's certificate (SEC_ERROR_UNKNOWN_ISSUER). There's no opportunity
offered to add an exception.

I've seen these threads:

https://support.mozilla.org/en-US/questions/1201504
https://superuser.com/questions/1066863/how-can-i-add-a-certificate-exception-for-an-hsts-protected-site-in-firefox
https://support.mozilla.org/en-US/questions/942924

But I don't see any good suggestions for fixing this in my case. I have
a pretty standard Debian installation, with standard certificates
installed, and no customization to my local certificate infrastructure.
I'm connecting via Verizon FioS, with no proxy in use (on my end, at
least).


There seems to be to issues:

- The certificate issuer is invalid
- Since the site uses HSTS[0], the browser does not allow the user to 
override the certificate problem.


[0]https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security

HSTS doesn't really seem to be problem. It just tells the browser that 
https is to be used at all times. If there's a certificate error, that 
means that TLS is being used.


The real question is then why is the issuer considered invalid. I can 
access the site normally and it uses a Let's Encrypt certificate, which 
should be trusted, and should be used by many other sites.


What happens when you try to access https://letsencrypt.org/, which is 
signed by the same CA?



--
Persistence in one opinion has never been considered a merit in political
leaders.
-- Marcus Tullius Cicero, "Ad familiares", 1st century BC

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Firefox HTTPS-only mode breaks sites that return 404 for HTTPS connections

2021-04-15 Thread Eduardo M KALINOWSKI



On 15/04/2021 09:12, Celejar wrote:

On Thu, 15 Apr 2021 11:16:59 +0100
piorunz  wrote:


On 15/04/2021 03:15, Celejar wrote:


http://www.daat.ac.il/
https://www.daat.ac.il/

Celejar


I can confirm the problem, by the way.


Their webserver is misconfigured. AFAIR, if they don't support https,
their server should redirect to http page. Instead, they throw 404 error.

Do you have a reference for this as required by the standards?


I don't think this is required by any standard.

But it's certainly bad practice: if they don't want to support https, 
they should disable it, and not return a 404 error. It may not be a 
requirement that the http and https content have to be the same, but it 
certainly makes a lot of sense that they are.


So I'd agree that the website is misconfigured. You might try contacting 
them.


Unlike the HTTPS Everywhere extension, that has a list of sites that 
should be accessed only with https, the built-in Firefox function seems 
to just try to make an https connection, and if it succeeds, assumes 
(reasonably, IMHO) that the site supports https. Since 404 is a valid 
response that in no way indicates lack of https support (on the 
contrary), it then redirects everything to https.


The docs say you can disable https for a specific site: 
https://blog.mozilla.org/security/2020/11/17/firefox-83-introduces-https-only-mode/ 
. But if this happens a lot, it might be simpler to simply disable that 

Firefox feature. Not because it's buggy, but because it make reasonable 
assumptions about websites' behaviours, which unfortunately are not 
followed by everyone.




--
Canada Bill Jones's Motto:
It's morally wrong to allow suckers to keep their money.

Canada Bill Jones's Supplement:
        A Smith and Wesson beats four aces.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Smart TV on WiFi as Extra Display

2021-04-19 Thread Eduardo M KALINOWSKI

On 19/04/2021 08:24, Barak A. Pearlmutter wrote:

I have a smart TV which includes a browser. (An LG running WebOS, as
it happens.) It can, of course, display video streams from a given
URL. So I'm hoping someone has figured out a way to create a virtual
display on a Debian computer which streams its contents out as a live
video stream on some nice port, and which X or Wayland or whatever
sees as an extra display in xrandr or Gnome Settings>Displays or
whatever.

The dream:

- on Debian box, run /usr/local/bin/virtual-display -size 1920x1080 -port  &
- on TV, browse to http://192.168.0.246:
- go to Gnome Settings>Displays and enable/configure the new display
- enjoy extra screen without dog chewing HDMI cable

Bonus points for getting pulseaudio to have a new sink that sends
audio output to the outgoing stream.


It seems you want to connect the TV to the computer as use it as a 
display, but wirelessly.


There are some wireless hdmi kits, you plug one in the computer, one in 
the display, and it works like a cable, but without the actual cable. 
You should be able to find them on Amazon and other stores. I've never 
tried them, though.


Naturally, you'll need an available HDMI port.


--
The faster we go, the rounder we get.
    -- The Grateful Dead

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: generate a rss.xml from a bunch of HTML files

2021-05-11 Thread Eduardo M KALINOWSKI

On 10/05/2021 19:30, Emanuel Berg wrote:

OK so no XSLT, no yacc for me, I got another idea, can you use
the static generators, get the RSS, then discard everything
else and use the RSS on the regular or real site?


The links in the RSS will be pointing to the articles using the file 
names and paths that the static site generator uses, they might not 
correspond to what your manual solution uses. So there's at least one 
extra step.



--
Bacon's not the only thing that's cured by hanging from a string.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Problem with Grub

2021-06-19 Thread Eduardo M KALINOWSKI

On 19/06/2021 13:19, William Lee Valentine wrote:

I have now another 64-bit computer, running Windows 10, whose BIOS
provides the option of booting from a USB device. If I install Debian
10.2 in a partition on this computer, would I tell Grub to make the
partition bootable? Would Grub instead install itself on the master boot
record anyway, allowing only Linux to be booted? I can not afford to
lose access to Windows 10 again.

You probably need the os-prober package installed so that other OS's are 
detected and included in the boot menu.



--
BOFH excuse #206:

Police are examining all internet packets in the search for a 
narco-net-trafficker

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: How's @ $ €

2021-08-05 Thread Eduardo M KALINOWSKI

On 05/08/2021 04:48, Gunnar Gervin wrote:

Thx all.
Problem solved;
to your orientation.
Most other challenges are
possible to find in Duckduckgo or Google, & in former answers.
I was in lack of sleep cos of heat
Thus a bit manic; flooding, sorry.
& didn't see the importance of culture, rules, definition of issue, & 
similar; I'm quite self-centered.


Apart from everthing that has been said about asking meaningful 
questions (and using a proper subject line, which you still didn't use), 
I'd like to point out that there are mailing lists in other languages in 
case you're more confortable writing in another language: 
https://lists.debian.org/users.html .



--
The verdict of a jury is the a priori opinion of that juror who smokes
the worst cigars.
    -- H. L. Mencken

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: My printer doesn't work for bullseye's cups

2022-02-24 Thread Eduardo M KALINOWSKI

On 24/02/2022 06:35, Klaus Singvogel wrote:

linuxprinting.org showed me, that your printer Brother MFC-J6920DW is
listed as paperweight only, regarding Open Source drivres.


It seems to support AirPrint (https://support.apple.com/en-us/HT201311), 
so driverless printing (actually a universal driver) should work.


This wiki page has some instructions: 
https://wiki.debian.org/CUPSDriverlessPrinting . It's a bit confusing, 
though.



--
A free society is one where it is safe to be unpopular.
-- Adlai Stevenson

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: exim4-base dependency on mysql?

2022-03-12 Thread Eduardo M KALINOWSKI

On 12/03/2022 16:14, Kaz Kylheku wrote:

Hi,

Can someone explain why MySQL/MariaDB detritus gets pulled in when you 
install exim4?


Does exim4 use a database now?

I thought all the queues and such were just text files. 


If by 'detritus' you mean libmariadb3, a client library for MariaDB, 
then exim4-daemon-heavy does indeed have that as a dependency.


Exim can (but does not have too) connect to databases, so it needs to 
have the client library. It won't use a database in the standard Debian 
setup, though.


Note that there's exim4-daemon-light, which does not have support for 
databases, embedded perl, and other less frequently used features. But 
it should be enough for most simple use cases.



--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: OT EU-based Cloud Service

2022-03-18 Thread Eduardo M KALINOWSKI

On 18/03/2022 04:37, Byung-Hee HWANG wrote:

Very long time i did googling for searching EU-based Cloud Service. But
i did fail. So i ask here Debian users. Because here Debian users looks
like to know good place, EU-based Cloud.


Both Linode (https://www.linode.com) and Digital Ocean 
(https://www.digitalocean.com) have EU datacenters.



--
Pessoas que são boas para arranjar desculpas raramente são
boas em qualquer outra coisa.
-- Benjamim Franklin

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Under each of these scenarios, what is the neatest and simplest way to manipulate the /etc/network/interfaces file?

2022-03-19 Thread Eduardo M KALINOWSKI

On 18/03/2022 23:14, Stella Ashburne wrote:

Hi

There are instances in which my machine is connected to a mobile hotspot. And 
in some situations, it's connected to a smartphone via USB tethering. And when 
I'm in the office, I may connect it to a LAN cable.

Below are the contents of my /etc/network/interfaces file:

[...]

1. At the moment, if I wish to change to using a mobile hotspot from USB 
tethering, I'll edit the /etc/network/interfaces file, uncomment the applicable 
lines under #The primary network interface for wireless connections and place a 
# in front of all the lines under #The primary network interface for USB 
tethering

Instead of carrying out the above steps, is there a neater and simpler way?


That's exactly the kind of situation that NetworkManager is made for. It 
gained a bad reputation when it was released, but seems to have improved 
- I've been using it for years without issues.


There's a command-line interface (nmcli), so you don't need a desktop 
environment.



--
On-line, adj.:
The idea that a human being should always be accessible to a computer.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: update, reboot required?

2022-03-19 Thread Eduardo M KALINOWSKI

On 18/03/2022 23:47, Lee wrote:

So
it would be nice if there was some program that would just say that I
needed to reboot


The needrestart package will offer to restart services affected when 
there'a a library update, and it also warns you when the kernel has been 
udpated (and a reboot is necessary). It just doesn't warn you about 
microcode updates, AFAIK.



--
On-line, adj.:
The idea that a human being should always be accessible to a computer.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Under each of these scenarios, what is the neatest and simplest way to manipulate the /etc/network/interfaces file?

2022-03-19 Thread Eduardo M KALINOWSKI

On 19/03/2022 09:06, Stella Ashburne wrote:

No thank you. I won't touch NetworkManager or its variants with a ten foot 
pole. Why?

Reason #1

[quote] I am sorry but we do not support NetworkManager.

I would go so far as to say do not use it at all .. but Linux distros think it 
is some sort of magic ..[end quote]

Reply by TinCanTech, Forum Team, to the original post "Can connect via terminal, but 
not with NetworkManager" (URL: https://forums.openvpn.net/viewtopic.php?t=26802)

Reason #2

[quote] Due to multiple, critical  problems in network-manager-openvpn which after years have not 
been solved we recommend to NOT use it. Please understand that we will not provide support to 
network-manager-openvpn. In GNU/Linux we recommend that you run our free and open source software 
"Eddie", or our free and open source software "Hummingbird", or OpenVPN 
directly [end quote]

A notice posted by the staff of AirVPN under the title "Using AirVPN with Debian 
Network Manager (NOT RECOMMENDED)" (URL: 
https://airvpn.org/forums/topic/11416-using-airvpn-with-debian-network-manager-not-recommended/
)

Eduardo, I do use VPNs frequently in my line of work and always use the 
community edition of OpenVPN to connect to VPN servers directly.


Unfortunately I cannot say whether your use case will work with NM. I 
occasionally use a wireguard firewall, but I don't think I've used 
OpenVPN with NM.


However, note that the posts are from 2014 and 2018. A lot might have 
changed since then.



--
Why is it that we rejoice at a birth and grieve at a funeral?  It is because we
are not the person involved.
    -- Mark Twain, "Pudd'nhead Wilson's Calendar"

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Thunderbird security

2022-03-26 Thread Eduardo M KALINOWSKI

On 26/03/2022 05:50, André Rodier wrote:
I would like to collect, from this thread, your experience and opinion 
about Mozilla Thunderbird, in term of security.


I am registered on The Debian security list, and I see a lot of CVE 
coming, some of them with a high score, mentioning execution of 
arbitrary code or information disclosure.


Most of them seems pretty severe to me, and I am now running 
Thunderbird in firejail. However, I wonder if such vulnerability would 
allow a remote attacker to send an email, and get, for instance, the 
credentials stored in Thunderbird, with or without master password.


This seem habitual to me, compared to other mail clients in Debian, 
like evolution / claws, etc...


In term of security, Which email clients, or which practices, you 
would recommend to me ?


If you search the CVE numbers[0], you should be able to find information 
about the vulnerabilities[1], describing the conditions necessary for it 
to be exploited and the possible consequences. You can then judge if 
they might affect you (some vulnerabilities can only be exploited in 
particular circunstances, which might not apply to your case) and 
evaluate the risk.


But, overall, the fact the vulnerabilities are being found and fixed is 
a good sign: it means that the code is being looked at and problems are 
being solved. The fact that the details have not been released yet 
suggests that those were found by someone well-intentioned, and not 
because they were being exploited in the wild, but on the other hand 
also suggests the risk is high enough that it's better to withhold that 
information until people have had a chance to upgrade to a fixed version.



[0] The announcements on debian-security-announce could be improved by 
having a link to the CVE database. But for now, you'll have to search 
them manually.


[1] Eventually... The last CVEs for Thunderbird are still in the 
"reserved" state. I believe this is meant to give some time for 
distributions to update the software before the details about how to 
exploit the vulnerability are disclosed.



--
Insomnia isn't anything to lose sleep over.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: (cmake) Could NOT find LibSoup: Found unsuitable version "" ...

2022-06-03 Thread Eduardo M KALINOWSKI

On 03/06/2022 14:02, Albretch Mueller wrote:

  Basically, I am trying to compile WebKit2 (on WSL! ;-)) with
debugging symbols included in order to teach my students how to debug,


Debian has debug symbols for most (if not all) packages, but they're in 
a different repository. See 
https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols 
.


--
By all means marry: If you get a good wife, you'll become happy; if you
get a bad one, you'll become a philosopher.
    -- Socrates

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: (cmake) Could NOT find LibSoup: Found unsuitable version "" ...

2022-06-04 Thread Eduardo M KALINOWSKI

On 03/06/2022 18:51, Albretch Mueller wrote:

On 6/3/22, Eduardo M KALINOWSKI  wrote:

Debian has debug symbols for most (if not all) packages, but they're in
a different repository. See
https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols


   Are you saying that debian keeps "instrumented" binary versions of
their packages ready for debugging!? I checked and it doesn't seem to
be the case (and/or I am making some mistake)


No. It has, in that repository, packages with only the symbols, that gdb 
can then use, as if the executables and libraries had debug symbols 
included. gdb should be already set up to automatically find the symbols 
in the locations that the -dbg[sym] packages install them.



$ apt-cache search webkit2 dbg
$

$ apt-cache search webkit dbg
python3-pyqt5.qtwebchannel-dbg - Python 3 bindings for Qt5's
Webchannel module (debug extension)
python3-pyqt5.qtwebkit-dbg - Python 3 bindings for Qt5's WebKit module
(debug extensions)
$

$ sudo apt install webkit-dbgsym
...
E: Unable to locate package webkit-dbgsym

$ sudo apt install webkit2-dbgsym
...
E: Unable to locate package webkit2-dbgsym
$
  lbrtchx



You have python installed, which is an extra complication layer (and one 
about which I know very little).


But for debugging C/C++ programs, you'd need to find the package that 
contains the actual library you want debugged, and install the 
corresponding -dbgsym package. Hint: library packages are name 
lib. For example, there's


libqt5webkit5 - Web content engine library for Qt
libwebkit2gtk-4.0-37 - Web content engine library for GTK

... and others (and other versions). Unfortunately, I don't use Webkit 
or Python, so can't help much more here. But look for installed packages 
related to webkit, and search for the corresponding -dbgsym packages. 
Note that probably there won't be -dbgsym packages for the python 
bindings, since these are just python code, not object files (libraries, 
executables).


--
Caution: Write-protection will not prevent a cartridge being erased by
bulk-erasure or degaussing.
-- HP Ultrium tape drive user's guide, page 12

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Printing problem (was snapshot.debian.org)

2022-06-06 Thread Eduardo M KALINOWSKI

On 06/06/2022 08:19, Gareth Evans wrote:

Hello,

I have a strange printing problem which can be replicated on two identical 
printers on two different networks, when printing to wireless driverless IPP 
with Brother MFC-L2740DW printers from Bullseye, whether the printer is 
auto-detected or manually added via ocalhost:631 or system-config-printer.


I have this exact printer. Driverless printing works, but not with the 
automatically generated entry included by cups-browsed (or some other 
package), i have to manually add a printer queue using


# lpinfo -v

to get a list of URLs (the one starting with ipp:// is the one 
necessary), and then something like


# lpadmin -p Brother2740 -v IPP_URL_FROM_ABOVE -E -m everywhere


--
BOFH excuse #201:

RPC_PMAP_FAILURE

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Printing problem (was snapshot.debian.org)

2022-06-06 Thread Eduardo M KALINOWSKI

On 06/06/2022 10:48, Gareth Evans wrote:

Not sure what's happened though as it worked perfectly with both auto-detected 
and manually-added printer profiles from Bullseye until a week or two ago.  My 
logs suggest no update to system-config-printer.  I did change the printer's 
hostname (on printer console) but both the printer and laptop have been 
restarted several times since then, printers re-added and re-auto-detected etc.


In my case it never worked any other way. But I never dug very deep to 
try to find out why.



Why should adding via the command line work, but not via system-config-printer 
or localhost:631?


I guess adding it in CUPS web interface (localhost:631) should work, if 
the exact same parameters are selected: the ipp:// url and the "CUPS PPD 
generator" (selected by "-m everywhere" option) as opposed to 
"cups-filters PPD generator".


That might be the explanation (at least for my case). From what I 
understand from https://wiki.debian.org/CUPSDriverlessPrinting , there 
are those two options, and "The cups-filters PPD generator is used by 
default with cups-browsed". In theory either should work, but there's 
probably some quirk in the printer and some small difference between the 
two methods.


--
Tchurin-tchurin-tchun-clain!

-- Chapolim

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: user perms

2022-06-13 Thread Eduardo M KALINOWSKI

On 13/06/2022 15:33, Greg Wooledge wrote:

Why the hell do you CONTINUE to make these vague statements with NO
demonstration of what the actual problem is?


And why do you continue asking for the same things, knowing that they 
won't be provided?


Not that your request in invalid - certainly if the user wants actual 
help, they must provided good and accurate details of the problem and of 
what they have tried in order to identify and/or solve the problem.


But the OP in question never provides such details - even after 
repeatedly being asked for them, by you and other equally patient people.


I understand the desire to help, but the user must be willing to help 
themselves - providing details when asked for, showing output of 
diagnostic commands, or just not jumping from unrelated problem to 
unrelated problem in the same conversation.


And Gene is one of a few users that never help themselves, even when 
repeatedly told what to do and what not to do.



--
In the strict scientific sense we all feed on death -- even vegetarians.
-- Spock, "Wolf in the Fold", stardate 3615.4

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: user perms

2022-06-13 Thread Eduardo M KALINOWSKI

On 13/06/2022 18:39, Felix Miata wrote:

Eduardo M KALINOWSKI composed on 2022-06-13 16:29 (UTC-0400):


And Gene is one of a few users that never help themselves, even when
repeatedly told what to do and what not to do.


Just wait until your wife of 60 years is gone and you're 89. See how you like
having no one there to talk to any more while your memory is fading from memory.
It may be poor excuse, but it isn't something you can expect to go away through
razzing, if ever. Be kind.


At this stage, I cannot rule out the possibility that Gene Heskett is 
actually a social experiment to figure out how far people on debian-user 
will go in trying to help someone that asks for help, and then ignores 
the actual attempts at help received.


Or maybe it's performance art, as someone else observed.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: How to change lightdm background in bullseye? (additional: weird stat behaviour)

2022-06-17 Thread Eduardo M KALINOWSKI

On 16/06/2022 06:47, Christoph K. wrote:

Procedure:
1. touch test.txt
2. stat test.txt -> correct access time from touch
3. cat test.txt
4. stat test.txt -> access time changed due to cat - fine
5. cat test.txt
6. stat test.txt -> still the same access time as in step 4 - caching?
7. reboot
8. cat test.txt
9. stat test.txt -> STILL the same access time as in step 4 - WTF?

Expectations:
1) After a reboot there is no cache to read from.
2) The cat command accesses the file.
3) Stat shows the time of "cat" in the access time stamp.

But 3) does not happen. More precisely: It only happens sometimes.


Question 3:
Could someone please explain to me what's going on here with stat?


Looks like the relatime option, which has been the default for some 
time: 
https://www.linuxquestions.org/questions/linux-hardware-18/what-does-mount-option-relatime-4175575024/



--

Não tenha pressa, mas não perca tempo

--José Saramago

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: CVE Applicability Inquiry

2022-06-29 Thread Eduardo M KALINOWSKI

On 29/06/2022 15:30, Griffin Weikel wrote:

Good Afternoon,

I’m writing to inquire about the applicability of a couple CVEs to the 
Bullseye release. The two CVEs below are popping in our Prisma scans as 
vulnerable, however I noticed on the Debian site that Bullseye isn’t 
listed. This seemed to deviate from the majority of CVEs we’re 
reviewing. Are you able to confirm that if a CVE page doesn’t list a 
release in the tracker that we’re to assume the release isn’t vulnerable?


https://security-tracker.debian.org/tracker/CVE-2022-24675 

https://security-tracker.debian.org/tracker/CVE-2022-28327 


If you search for the golang packages 
(https://packages.debian.org/search?keywords=golang-1.17 , and also for 
-1.18) you'll see that they weren't included in bullseye. (Only as 
backports, but these aren't included in the regular security support.)




--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: libpq-dev package

2022-07-11 Thread Eduardo M KALINOWSKI

On 10/07/2022 21:30, Igor Korot wrote:

Apparently the package name is exactly libpq-dev. ;-)

Naming convention sucks sometimes... ;-)
It can, but I don't think this is one such case. The library is libpq5, 
and its development headers is libpq-dev. postgresql-client is the user 
tool to connect to a PostgreSQL instance and issue SQL commands. It 
depends on libpq5.



--
In the Halls of Justice the only justice is in the halls.
-- Lenny Bruce

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: how to test disk for bad sector

2020-08-31 Thread Eduardo M KALINOWSKI
On 30/08/2020 19:02, Long Wind wrote:
> On Sunday, August 30, 2020, 10:20:53 AM EDT, Charles Curley
>  wrote:
>> Yahoo mail is broken. I encourage Mr. Wind to get another mail reader.
> 
> 
> 
> i don't have choice. gmail is blocked in china. i've tried some free
> chinese mail provider, they block debian list. (i've sent subscription
> request thru their mail service, then nothing happened)

Pretty much all webmail services are bad with regards to proper quoting
and interleaved text. Some are worse than others, though.

Does Yahoo provide IMAP/SMTP support? Then you can use a real mail
client (Thunderbird/KMail/mutt/etc).


-- 
True leadership is the art of changing a group from what it is to what
it ought to be.
    -- Virginia Allan

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Security Vulnerabilities with Nginx v1.14.2 and GNOME Evolution

2020-09-15 Thread Eduardo M KALINOWSKI
On 15/09/2020 10:38, Klaus Singvogel wrote:
> No: no new version.
> 
> If you're unhappy with that, think about these choices:
> 
> - install upcoming Debian 11 (Testing, Bullseye) and live with the changes
>   of packages and possible errors in the system. Release date unknown.
> 
> - install Debian Sid (Unstable) and live with many more changes

You can also check if there is a newer version in backports (there
doesn't seem to be), and you can request one (but it will depend on some
volunteer's effort to create it, so no guarantees).

But note that there is no offical security support for backports. A
newer version may also get backported, but it might take a while, or it
might not happen.


-- 
We gave you an atomic bomb, what do you want, mermaids?
-- I. I. Rabi to the Atomic Energy Commission

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Security Vulnerabilities with Nginx v1.14.2 and GNOME Evolution

2020-09-15 Thread Eduardo M KALINOWSKI
On 15/09/2020 10:44, Greg Wooledge wrote:
> Another choice would be to run Debian stable, but don't install Debian's
> version of nginx.  Use upstream's releases, compile them yourself, and
> update them yourself whenever you need to (for security reasons or
> otherwise).

If one chooses to do so, it might be better to fetch the debian source
package of the newer version and create a .deb out of it. At least the
benefits of the debian packaging are retained.

(In other words, you create your own backport.)

But if the versions of libraries required for building the newer version
are not available in stable, the process becomes much more difficult.
(But so would be building from the upstream source, probably.)


-- 
I enjoy the time that we spend together.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Cron Jobs and Time Zones Has Anything Changed?

2020-12-02 Thread Eduardo M KALINOWSKI
On 02/12/2020 10:30, Martin McCormick wrote:
> In a recent discussion, someone indicated that there might be a
> way to set individual parts such as accounts on a unix system so
> that cron could use another time zone if needed to kickoff jobs
> on that system based on the time in another country.
>
>   As far as I understand cron, one can set the system's
> time zone to only one value which is usually one's local clock
> time and that works very well since system logs and cron jobs all
> agree with what is appropriate for one's location.
>
>   I record a news broadcast from one of the BBC services
> every week day at 17:45 British time.  When Europe and North
> America stop or start shifting daylight in Autumn or Spring,
> there's a really good chance of missing some of the broadcasts if
> one doesn't think about it since these shifts don't all happen on
> the same time.
>
>   One can certainly get the time anywhere as recently
> discussed by setting the TZ environment variable but, if you tell
> cron to trigger a job at 17:45, it only knows when that is based
> on the entire system's local time.
>
>   Has anything changed recently to make this logic
> obsolete?
>
>   In my case, I just have an old Linux box for which I set
> it's system time zone to Europe/London and call it good but this
> could get out of hand if one had more than 2 or 3 such schedules.
>
>   One could also setup VM's if you have the memory to spare
> but this adds a lot of resource usage and complexity to the job
> at hand so my question is basically, has anything fundamentally
> changed in the way cron is used?
>
>   This is not a complaint at all.  I was first introduced to
> unix-like systems in 1989 and immediately knew that this was the
> sort of OS I wanted to stick with in amateur radio and technical
> tinkering in general.
>
> Martin McCormick   WB5AGZ
>
systemd timers seem to allow specification of activation time including
a time zone. However, I'm not sure if DST changes are considered - it
might just convert the specified time to the local time zone when the
timer definition is read so that you can specify '17:45 GMT' and it runs
at, say, your 10:45, but it won't automatically pick up that 17:45 GMT
is not 11:45 local. I might be wrong, though.


-- 
To do nothing is to be nothing.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: What is the command to access the temp sensors in a rpi4?

2021-01-18 Thread Eduardo M KALINOWSKI

On 18/01/2021 15:35, Gene Heskett wrote:

On Monday 18 January 2021 12:15:00 Stefan Monnier wrote:


ISTR there is a "vcg*" sort of thing to read that stuff, but have
lost it in the fog of time.


If the kernel is sane, then I think that the following command should
give you this info:

 sensors

This kernel isn't "sane": 4.19.71-rt24-v7l+ #1 SMP PREEMPT RT


it comes from the `lm-sensors` package.

Returns a null.





In my RPI4, running stock Debian from https://raspi.debian.net/, sensors 
works:


$ sensors
cpu_thermal-virtual-0
Adapter: Virtual device
temp1:+43.8°C  (crit = +90.0°C)



--
Linux é user-friendly e não idiota friendly. Se você não entende isso, 
use o Windows!


Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: If some package have serious bug and fixed on unstable and testing release, how long it will be available on stable release?

2021-01-29 Thread Eduardo M KALINOWSKI

On 28/01/2021 22:59, Robbi Nespu wrote:

Hello everyone,
I am curious something (as per title). I not sure whether to ask here 
or on devel mail list.


Yesterday on OFTC #debian, some guy ask about unfix CVE-2020-25681 to 
CVE-2020-25687 for dnsmasq[1] package on stable release.


I not using dnsmasq but I curious how and will it be backport to 
stable on cases like this?


Stable = 2.80-1 (vulnerable)
Testing = 2.83-1 (fix)
Unstable = 2.84-1 (fix)

There is 2 revision gap between stable and testing, do the security 
team will apply the fixes on 2.80-1 or will update the package rev up 
to 2.83-1?



1. https://security-tracker.debian.org/tracker/source-package/dnsmasq


As a general rule, fixes are backported to the current version in stable.

If it's simply not possible or very costly, it might happen that a new 
version is introduced, but this is rare.


--
Programmers do it bit by bit.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: debian-user list info and guidelines (FAQ) - posted monthly

2021-02-03 Thread Eduardo M KALINOWSKI

On 02/02/2021 18:07, Brian wrote:
Users do not read email headers. Many do not even know they exist. 


That is true, but MUAs can detect the List-Unsubscribe header and offer 
a button to unsubscribe.


Even gmail, which has very particular (and wrong) opinions on how email 
should work supposedly offers this options when that header is present.



--
Q:  What's the difference between Bell Labs and the Boy Scouts of America?
A:  The Boy Scouts have adult supervision.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: using git locally

2019-05-17 Thread Eduardo M KALINOWSKI
On 17/05/2019 11:31, mick crane wrote:
> well that seems to work
> "git clone myserver:/path_to_git_repository"
> whereas
> "git remote add origin myserver:/path_to_git_repository"
> fatal: not a git repository (or any of the parent directories): .git
>
> probably I can worry about that later at least I know now I can talk
> to it. 

That's because git remote add is meant to add a remote to an existing
git (local) repository. You're probably running it on an empty
directory, so it complains (correctly) that you're not in a repository.

If you really must, do "git init ." and then "git remote add". But just
use clone to create the local repository based on another repository.

-- 
The Marines:
The few, the proud, the not very bright.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Please help delete printer job

2019-06-13 Thread Eduardo M KALINOWSKI

On qui, 13 jun 2019, Rodolfo Medina wrote:


Thanks.  Solved.  I deleted the printer from Cups managing section and then
added it again.  It still printed another few pages and then  
stopped.  But next

time...?


There should be a way to view the queue from the Cups web interface  
(which I assume you used to delete the printer), but I don't know the  
exact path.


From the command-line lpq to view the queue, lprm to remove jobs.  
They might be in another package (perhaps lpd compatibility).


But often the job does not appear anymore in the queue anymore because  
the computer has finished sending it to the printer. In this case you  
have to cancel in the printer, if it provides an option for that.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Proper threading [was: big-cursor DOA in Stretch]

2019-06-20 Thread Eduardo M KALINOWSKI
On 19/06/2019 22:22, bw wrote:
> In-Reply-To: 
>
Just so you know, this line has to be in the headers for it to work.
You're sending it as the first line of the body (after the blank line
that separates headers from the body). This only pollutes the message,
and still breaks the thread.


-- 
LILO, you've got me on my knees!
-- David Black, dbl...@pilot.njin.net, with apologies to Derek and
   the Dominos, and Werner Almsberger

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: please stop breaking threads (was: Problem Installing DiscoveryStudio2019 in Buster

2019-07-09 Thread Eduardo M KALINOWSKI


On 9 de julho de 2019 11:36, bw wrote:
> I would subscribe, but there is a lot of (pointless) mail and I have 
> limited bandwidth.  Until broadband is lower than my electric bill I am stuck 
> with 
> 500MB per month.

Any decent mail client should be able to download only metadata for messages 
(subject, etc), which is minimal amounts of data, and only fetching the actual 
bodies of the ones you want.



Re: hp-plugin fails

2019-08-01 Thread Eduardo M KALINOWSKI

On qui, 01 ago 2019, Pierre Frenkiel wrote:

On Thu, 1 Aug 2019, to...@tuxteam.de wrote:
Perhaps you succeeded running hp-plugin once as root and it created  
the lock file (/data/home/frenkiel/.hplip/hp-plugin.lock) with root  
permission


   hi Tomas,
   thank you for your suggestion, but it's of course the first thing  
I checked

   and  found no lock file
   Anyway, I dont see how running anything as root, in the root tree,
   could create a file in mmy home tree.


And what are the permissions in the directory, as Tomas asked? (ls -al  
/data/home/frenkiel/.hplip)


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: hp-plugin fails

2019-08-01 Thread Eduardo M KALINOWSKI

On qui, 01 ago 2019, Eduardo M KALINOWSKI wrote:

And what are the permissions in the directory, as Tomas asked?
(ls -al /data/home/frenkiel/.hplip)


Even better, "ls -ald /data/home/frenkiel/.hplip"

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Arrow annotation in GIMP.

2019-08-14 Thread Eduardo M KALINOWSKI

On qua, 14 ago 2019, peter wrote:

BEGIN TEDIOUS ASIDE
For the header for this message I copied References holus-bolus and
appended the Message-id from the Web page. I understand David's
suggestion of including In-Repy-To rather than References but can
afford a few extra ms for References.  In-Reply-To is the last
parameter of References; therefore References contains all the
information that In-Reply-To does; therefore nothing is lost by
supplying References and not In-Reply-To.  We'll see how the header
for this message comes out.  =8~|

The case specificity of In-Reply-To rather than In-reply-to appears to
be unnecessary but that is what the IETF chose.  So the mailing list
software could stick to that. Putting In-reply-to on the Web pages is
just another source of distraction and confusion.
END TEDIOUS ASIDE


Or you could use any modern MUA that does all that automatically and  
is not prone to errors.


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: ttf-mscore fonts and contrib repos

2019-08-22 Thread Eduardo M KALINOWSKI

On qui, 22 ago 2019, Mindaugas Celiesius wrote:

Hello. Your source list should be like this
## Debian Buster Repos
deb http://deb.debian.org/debian/ buster main contrib non-free
deb-src http://deb.debian.org/debian/ buster main contrib non-free

deb http://deb.debian.org/debian/ buster-updates main contrib non-free
deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free

deb http://deb.debian.org/debian-security buster/updates main
deb-src http://deb.debian.org/debian-security buster/updates main


Better yet, comment or remove the deb-src lines, unless you usually  
download the sources for packages (using the debian tools for that).  
Most people don't, and the deb-src only wastes bandwidth, processing  
time, and disk space.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: error while doing apt-get update

2019-09-07 Thread Eduardo M KALINOWSKI
On 06/09/2019 13:29, Tapas Mishra wrote:
> Hi,
> I am getting some error while doing
> debian@debian:~$ sudo apt-get update
> [sudo] password for debian:
> Get:1 http://security-cdn.debian.org/debian-security buster/updates
> InRelease [39.1 kB]
> Hit:2 http://cdn-fastly.deb.debian.org/debian buster InRelease
> Get:3 http://cdn-fastly.deb.debian.org/debian buster-updates InRelease [49.3 
> kB]
> Reading package lists... Done
> E: Repository 'http://cdn-fastly.deb.debian.org/debian buster-updates
> InRelease' changed its 'Label' value from 'Debian-Security' to
> 'Debian'
> N: Repository 'http://cdn-fastly.deb.debian.org/debian buster-updates
> InRelease' changed its 'Version' value from '10' to ''
> E: Repository 'http://cdn-fastly.deb.debian.org/debian buster-updates
> InRelease' changed its 'Suite' value from 'stable' to 'stable-updates'
> E: Repository 'http://cdn-fastly.deb.debian.org/debian buster-updates
> InRelease' changed its 'Codename' value from 'buster' to
> 'buster-updates'
> N: This must be accepted explicitly before updates for this repository
> can be applied. See apt-secure(8) manpage for details.

This is a known issue when updating for the fist time, see
https://unix.stackexchange.com/questions/528751/cannot-update-apt-list-repository-no-longer-has-a-release-file


-- 
BOFH excuse #93:

Feature not yet implemented

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: HTML mail + PDF attachments

2020-03-26 Thread Eduardo M KALINOWSKI
On 26/03/2020 00:03, Russell L. Harris wrote:
> At the moment I am running neo-mutt on Debian 9.  Once or twice a day
> I receive a HTML message, typically with a PDF file as an attachment.
> Picking out and viewing the links and attachments always is a hassle,
> and sometimes is rather difficult.
>
> Rather than hassle with mutt, I hoped to install an auxiliary mail
> client with GUI (such as Thunderbird) with which I could open such
> messages, view the links, and print the attachments.
>
> But Thunderbird is demanding the URLs of POP and SMPT servers, and I
> do not wish to allow Thunderbird to mess around with my mail, other
> than viewing specific messages.
>
> One approach would be to get a mail account strictly for this purpose,
> and set up a complete Thunderbird mail system using that account.
>
> But is there a better solution?
>
> RLH
>
If neo-mutt can save the email as a .eml file (which is basically just
the headers and body as-is) (and I'd be surprised if it can't), you can
open that file in Thunderbird.

-- 
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Saner way to install ohmyzsh

2020-04-16 Thread Eduardo M KALINOWSKI
On 16/04/2020 15:12, Ihor Antonov wrote:
> Hi Debian Community,
>
> I was looking for a better way to install oh-my-zsh.
>
> The website advocates for
>sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/
> install.sh)"
>
> I did not find existing Debian packages, so maybe someone knows a a way to 
> install it without piping internet into sh.
I haven't tried this, but antigen is available as the zsh-antigen
package, and according to its webpage
(https://github.com/zsh-users/antigen) you can add oh-my-zsh using it.


-- 
decafalon, n.:
The grueling event of getting through the day consuming only things
that are good for you.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Return a Debian system to a pristine state

2020-05-28 Thread Eduardo M KALINOWSKI
On 28/05/2020 10:50, Victor Sudakov wrote:
> What is searched for in Debian is the ability to remove the bloatware
> which was not present at the time of installation.

Software you manually added later isn't bloatware. You may not like it
and want it removed, but you have to specifically install it.

bloatware would be things installed during the initial installation
(especially a minimal installation) that are unnecessary or undesirable.[0]

[0]What's unnecessary or undesirable varies a lot between people.

-- 
Beware of the Turing tar-pit in which everything is possible but nothing
of interest is easy.
-- Alan Perlis

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: mpv interface

2020-06-13 Thread Eduardo M KALINOWSKI
On 13/06/2020 04:26, Russell L. Harris wrote:
> In Debian 10, I need to view a mp4 video which I downloaded.  Using
> the menu:
>
>    APPLICATIONS -> Multimedia -> mpv Media Player menu
>
> I end up with a window labeled MPV with a black screen on which is
> what appears to be a START icon (an arrow) and the line:
>
>   Drop files or URLs to play here.
>
> Would someone kindly tell me how to make use of the mpv player?  The
> display makes no sense to me.  Is not "drop" an operation pertaining
> to the Window$ environment?  How does one go about dropping a file or
> URL on
> the window in the Linux environment?

mpv is a command-line application. That window is a minimal gui just to
be launched by desktop environments.

For a full gui player, try smplayer, which is a gui wrapper for mpv.
There are other options as well, but this is the one I use.


-- 
You have many friends and very few living enemies.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: where to find location info of photo?

2020-06-21 Thread Eduardo M KALINOWSKI
On 21/06/2020 03:38, Long Wind wrote:
> actually cell phone shows my address, not GPS
> 
> isn't  there some gui tool for such purpose?
> program in Graphics section

Pretty much any image viewer can show exif information. The question is
how this address is encoded. There are standard ways to encode gps
coordinates, but I'm not sure

Select one picture from your phone. Transfer it to the computer, run
$ exiftool -s image.jpg | grep ''

If the address is stored in the photo as part of Exif data, this should
show the field name, which you can then query again using
$ exiftool - image.jpg

If the first grep does not find the address, then either it's encoded in
some weird binary format, or not stored in the picture at all. It could
be stored in some other file in the phone, or the phone dynamically gets
an address based on the gps coordinates.

To get GPS coordinates, you can try
$ exiftool -a -s -gps:all image.jpg


-- 
We make our mailing list available to selected organizations.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: CDROM will not play a music cd.

2018-07-23 Thread Eduardo M KALINOWSKI

On seg, 23 jul 2018, Doug wrote:

This may or may not be off topic,


I wouldn't call it completely off-topic, but it's definitely a thread  
hijacking. It would have been better to start a new thread.


My friend has just gotten a Korean car--it's either a Hundai or a  
Kia, I don't remember, but
it has no CD player, but it does have a USB connection, which  
purports to be a sound input.
So the question: I would make some copies of CDs onto a flash drive,  
if I knew how! I would
prefer to use K3b to copy the CDs; do I have to format the flash  
drive, and if so with what
system? (I thought that flash drives come formatted with a Windows  
file system?)
And what other questions should I be asking, which I'm too  
uninformed to ask? And
what are the answers? BTW: I have never, in 20 years or more, ever  
gotten Audacity to do

anything for me, so that is out!


Format the USB as FAT32 (other FAT variants should work), and add .mp3  
files to it. Could not be simpler.


(Other filesystems might be supported, and other audio formats, but  
don't count on that.)


There are several CD rippers and mp3 encoders in Debian.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: DNS Key rollover for dnsmasq [SOLVED}

2018-10-07 Thread Eduardo M KALINOWSKI
On 07-10-2018 07:11, Rick Thomas wrote:
> On further study, it seems that (in Debian Stretch, at least) the root KSK’s 
> used by dnsmasq are taken from the file /usr/share/dns/root.ds, which is 
> provided by the package dns-root-data; and that package seems to be part of 
> the standard Stretch installation.  That file lists both keys (the new 
> “20326” and the old “19036”). So it’s all set to go.  No need to panic…  (-:

Where did you get that information from? I found nothing about
dns-root-data in dnsmasq package.

I'd just add a new trust-anchor to the configuration. Just copy and
paste from https://github.com/imp/dnsmasq/blob/master/trust-anchors.conf

-- 
O que eu temo não e a estrategia do inimigo, mas os nossos
erros
-- Pericles, filosofo grego

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Raid 0

2018-11-06 Thread Eduardo M KALINOWSKI

On ter, 06 nov 2018, Finariu Florin wrote:

 Hi,
Somebody can help me with some information about why I can not see  
the Raid0 created in bios?
I have a motherboard EPC602D8A with 2 chipsets: Intel C602 (Sata 2 x  
4, Sata 3 x 2) and Marvell SE9172 (Sata 3 x 2). I create in BIOS a  
Raid0 on Marvel and another Raid0 on Intel C602.
When I start installation of OS in the section 'detect disk' it's  
show me nothing ask me to verify if the SSDs are connected. When I  
install OS with no Raid partition it see all SSDs I have plugged. I  
verified all SSDs one by one all cables too but nothing...
So how can I see the Raids created in Bios? Is something else should  
I do to be able to see them? I tried on RedHat, Fedora, CentOS,  
Kubuntu but the same thing!


It's the third time you've asked this. I'm assuming you're not  
subscribed to the list. You'd better subscribe in order to view the  
replies: https://lists.debian.org/debian-user/


Or at least look for replies in the web archives at that same address.  
But please don't keep reposting the same question.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: sigc++ library missing object.h file

2022-10-08 Thread Eduardo M KALINOWSKI

On 08/10/2022 13:17, Gary L. Roach wrote:
The one idea that is intriguing is to find another distribution that 
contains the missing file and add it to my sigc++ directory.


That's unlikely to work.

What you can try is to include the main header:


#include 


And see what happens. If the only changes were in how the headers are 
organized, this might work. If there have been API changes, then you'll 
need to adapt the code.



--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: gpg says no user ID

2022-11-16 Thread Eduardo M KALINOWSKI

On 16/11/2022 13:55, Thomas George wrote:
I am giving up and will proceed with the netinst. Thanks everyone for 
the many helpful comments and recommendations.


I stripped the spaces from the fingerprint and equated it RSA key. They 
matched. So every thing is correct until the last step


Dragonette:/home/tom/Downloads/debian# gpg2 --verify SHA512SUMS.sign.txt 
debian-11.5.0-amd64-netinst.iso

gpg: Signature made Sat 10 Sep 2022 07:00:08 PM EDT
gpg:    using RSA key DF9B9C49EAA9298432589D76DA87E80D6294BE9B
gpg: BAD signature from "Debian CD signing key 
" [unknown]


That will never work: you're attempting to verify that the ISO file is 
signed with the signature in SHA512SUMS.sign.txt. It will never match.


There is no signature for the ISO file. Instead, it's sha512sum is 
listed in SHA512SUMS, and that file is signed.


First, verify that the hash matches:

$ sha512sum -c SHA512SUMS

And then verify that the hash file is properly signed:

$ gpg2 --verify SHA512SUMS.sign SHA512SUMS

Actually, the order does not matter.


--
When in doubt, mumble; when in trouble, delegate; when in charge, ponder.
    -- James H. Boren

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: debian sid no boot after this morning's update

2023-01-05 Thread Eduardo M KALINOWSKI

On 05/01/2023 11:12, Frank wrote:
Is there a way to reinstall lightdm and the greeter from Fedora ?? 
Perhaps using chroot

which I have zero knowledge of.


Since the problem seems to be the display manager/greeter, there's a 
good chance that you can press Ctrl+F1 (or F2, F3...) to reach a 
console, so no need to a console to reinstall debian packages. Try also 
Ctrl+Alt+Fn.



--
To give of yourself, you must first know yourself.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: lpr hangs on emojis

2023-02-17 Thread Eduardo M KALINOWSKI

On 17/02/2023 00:46, Greg Marks wrote:

When trying to print a file that contains emojis with the lpr
command, not only do the emojis not print, nothing following the first
non-printing emoji prints.  (This makes it a hassle to print certain
e-mails piped to lpr using mutt.)  As a small example, after entering
the command:

echo -e "Hello\n\0360\0237\0230\0212\nGoodbye" > /tmp/test.txt && cat /tmp/test.txt 
&& lpr /tmp/test.txt

only the first of the three lines prints.


I find it highely unlikely that the printer understands UTF-8, let alone 
that its built-in fonts contains emoji. Maybe it supports the whole 
ISO-8859-1 character set, but probably only ASCII.


It might be trying to interpret the non-ASCII codes as control 
sequences, or it just doesn't know what to do with them.



Does anyone have a good way of printing text that contains emojis?


You can convert it to PDF. Or open the file in word processor and print 
from there. Even if it's just plain text, it'll be converted to a format 
that the printer understands, including extra fonts.


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: dmesg ... XFS (sdb1): log I/O error ...

2023-02-27 Thread Eduardo M KALINOWSKI

On 26/02/2023 18:56, Albretch Mueller wrote:

  I started using another power cable and so far so good, but I would
not be too happy too soon. It may sound more than half way off to you,
but it is physically possible and it has been actually demonstrated
that "they" have been hacking into computers through the power supply
lines . . .
  What physical means do we have to avoid that? Would some sort of
"denoising"/"gray noIsing" power surge protector help?


Maybe putting a tiny tinfoil hat on the power cable?

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: choose the right email address to send to the lists

2023-03-10 Thread Eduardo M KALINOWSKI

On 10/03/2023 09:09, cor...@free.fr wrote:

On 10/03/2023 19:30, cor...@free.fr wrote:

I saw some people using email addresses like yahoo, AOL, mail.ru to
post messages to the lists (such as debian-user, postfix-user etc).

I am thinking those addresses which have the strictest DKIM setup are
not suitable to send a list mail, they will be blocked by many
recipients (list members).

For example, yahoo has this DMARC setting:

v=DMARC1; p=reject; pct=100; rua=mailto:d...@rua.agari.com;
ruf=mailto:d...@ruf.agari.com;

And Mail.ru:

v=DMARC1;p=reject;rua=mailto:dmarc_...@corp.mail.ru

And zoho.com:

v=DMARC1; p=reject; sp=reject; fo=0;
rua=mailto:dmarcaggregat...@zoho.com;
ruf=mailto:dmarcaggregat...@zoho.com

The all have "p=reject" rules which mean when DKIM (most modern email
providers have this enabled) break at the recipient end, this mail
will be rejected by the recipient MTA.

As we know DKIM will fail due to:

1. SPF fail (for the From: address in header) - this will 100% happen
regardless list server implements SRS or not.
2. DKIM fail (for header address as well) - this will most probably
happen since some list servers change the message content by adding a
signature etc.


So we should choose a email address which at least has no "p=reject"
in their DKIM policy.




I am sorry for the typos. What I meant is DMARC, not DKIM. :)


This list does not modify the contents, except for adding List-* headers.

So as long as these are not part of the signature, DKIM should pass. 
Your emails, for example, had a valid DKIM signature. So should this one.


This is enough to satisfy DMARC.


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Question on dpkg -l output.

2018-12-21 Thread Eduardo M KALINOWSKI
On 21 de dezembro de 2018 20:24, aprekates wrote:
> In a new installed system with Debian 9.6
> 
> $ dpkg -l
> 
> will list only packages with 'ii' state and a couple of 'rc'.
> 
> But if i  run:
> 
> $ dpkg -l w*
> 
> i will get a dozen also of 'un' packages.
> 
> So i dont understand the logic of altering the output when
> i use a pattern . I would expect to see only 'ii' packages starting
> from the letter 'w' .
> 
> Also i dont understand why in a new system dpkg would know
> anything about uninstalled packages!

dpkg -l w*
will be expanded by the shell (if there is any file starting with w in the 
current directory). 

Have you tried
dpkg -l 'w*' 
? 



Re: Upgrade Problem

2019-01-04 Thread Eduardo M KALINOWSKI

On sex, 04 jan 2019, steve wrote:
where useful in that they convinced me that reinstalling the OS is  
the simplest remedy for the problems.


You're welcome. But this last sentence is pretty sad because normally,
issues like yours do not require windows-style operation. For your info,
I have not reinstalled my Debian system for the last 15 years.
Reinstalling is a solution but what if in ten days the same issue arises
again? You'll ask the same questions and won't have learned much…

One of the power of GNU/Linux is that you can learn and fix problems.


I agree.

And in this case, the problem is easy to solve:
  rm /path/to/some/large/files/*
--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Upgrade Problem

2019-01-04 Thread Eduardo M KALINOWSKI

On sex, 04 jan 2019, Eduardo M KALINOWSKI wrote:

And in this case, the problem is easy to solve:
  rm /path/to/some/large/files/*


The usual suspects (/var/logs, /var/cache, etc) have already been  
mentioned, and are in a different partition. One place to investigate  
is /lib/modules. It can grow quite a bit if one has several kernels  
installed. Ideal way to free up space is to apt-get remove the older  
kernel packages, but since that will likely not work while there is no  
free space, one could simply delete the files (with care not to remove  
the modules of the running kernel), and then remove the packages.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Upgrade Problem

2019-01-04 Thread Eduardo M KALINOWSKI

On sex, 04 jan 2019, David Wright wrote:

On Fri 04 Jan 2019 at 16:52:45 (+), Eduardo M KALINOWSKI wrote:

And in this case, the problem is easy to solve:
  rm /path/to/some/large/files/*


Wrong again. The free space on /home is sufficient to hold 10 copies
of the entire / filesystem. And you presuppose that these large files
exist, for which the OP has currently shown no evidence.


The used disk space must be somewhere. But you're right, there is  
another possibility: lots of small files that together occupy a lot of  
space.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Upgrade Problem

2019-01-05 Thread Eduardo M KALINOWSKI
On 05/01/2019 01:15, Felix Miata wrote:
> David Wright composed on 2019-01-04 19:21 (UTC-0600):
>
>> Ignoring /home as it dwarfs / in size, it would be very easy to make a
>> mistake if you take an existing installation and hive off the /tmp and
>> /var into separate partitions. The problem boils down to leaving the
>> existing /var contents (in the root filesystem) in place when you
>> mount the new var partition onto /var, thereby making those files
>> inaccessible.
> +1
>
> So, boot rescue media, mount sda1, and check the contents of /var/. 
> Its apt cache might be
> loaded, thus you might not any more have reason to reinstall - just delete 
> everything in it and
> reboot. If something goes wrong, you planned on reinstalling anyway. :-)

No need for a live CD: you can use bind mounts to access the original
contents of dirs that serve as mount points for other filesystems:
https://unix.stackexchange.com/questions/4426/access-to-original-contents-of-mount-point

(Unless mount fails because of no free space...)


-- 
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: WiFi without Network Manager

2019-02-12 Thread Eduardo M KALINOWSKI

On ter, 12 fev 2019, Kenneth Parker wrote:

What gives you the list of potential WiFi hosts, to choose from?  (These
LAN Parties may be at a Coffee House I haven't been to before).

That's what I meant by "Interactive".


So you want something that does exactly what NetworkManager does, but  
is not NetworkManager?


There's wicd, which is similar. I don't know of any others.
--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: systemd error

2019-03-10 Thread Eduardo M KALINOWSKI
On 10/03/2019 04:20, Reco wrote:
> On Sat, Mar 09, 2019 at 09:27:35PM -0500, Default User wrote:
>> Hi, Reco.
>> Thanks for the reply and information.
>>
>> Since I know very little about systemd, may I ask, should:
>>
>> [Unit]
>> After=sys-subsystem-net-devices-enp7s0.device
>> sys-subsystem-net-devices-wlp6s0.device
>> Requires=sys-subsystem-net-devices-enp7s0.device
>> sys-subsystem-net-devices-wlp6s0.device
>>
>> be appended to an existing .service or .target file, or should a new
>> .service or .target file be created with these contents? And if a new file
>> is needed, what should it be named, and in what directory should it be
>> placed?
> 
> To do it proper systemd way, you should do the following:
> 
> # directory name is crucial
> mkdir /etc/systemd/system/minissdpd.service.d
> # file name is not important
> cat > /etc/systemd/system/minissdpd.service.d/override.conf << EOF
> [Unit]
> After=sys-subsystem-net-devices-enp7s0.device 
> sys-subsystem-net-devices-wlp6s0.device
> Requires=sys-subsystem-net-devices-enp7s0.device 
> sys-subsystem-net-devices-wlp6s0.device
> EOF
> 
> systemctl daemon-reload

Or run

systemctl edit minissdpd.service

which will create the file in the appropriate location, open $EDITOR on
it, and run daemon-reload automatically afterwards.


-- 
Everyone is a genius.  It's just that some people are too stupid to
realize it.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: systemd error

2019-03-10 Thread Eduardo M KALINOWSKI
On 10/03/2019 13:25, Default User wrote:
> So, should I try manually editing /lib/systemd/system/minissdpd.service?
>
If you do that, you'll lose changes the next time the package is upgraded.

To see if systemd is seeing your add-in file, use 'systemctl cat
minissdpd.service'. It should list your file and it's contents.


-- 
Soldiers who wish to be a hero
Are practically zero,
But those who wish to be civilians,
They run into the millions.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



apt-cacher-ng's expiry job failing

2019-04-25 Thread Eduardo M KALINOWSKI
The daily apt-cacher-ng expiry job is failing in my machine. It refers  
me to a log file, whose contents are:


---
Maintenance task Expiration, apt-cacher-ng version: 2

Locating potentially expired files in the cache...
Scanning, found 1 file...
Scanning, found 2 files...
Scanning, found 4 files...
Scanning, found 8 files...
Scanning, found 16 files...
Scanning, found 32 files...
Scanning, found 64 files...
Scanning, found 128 files...
Scanning, found 256 files...
Scanning, found 512 files...
Scanning, found 1024 files...
Found 1617 files.
Checking implicitly referenced files...
Restoring virtual file  
debrep/dists/testing/contrib/Contents-i386.diff/Index (equal to )


Restoring virtual file  
debrep/dists/testing/contrib/i18n/Translation-en.diff/Index (equal to )


Restoring virtual file  
debrep/dists/unstable/contrib/i18n/Translation-en.diff/Index (equal to )


Bringing index files up to date...

Restoring virtual file  
debrep/dists/unstable/contrib/i18n/Translation-en.diff/Index (equal to )


Error at debrep/dists/unstable/45961554550630227606591

Found errors during processing, aborting as requested.
---

I can also run the expiry from its web interface, and get the same results.

Unfortunately, it does not make clear *what* is the error that was  
found. The only clue is 'Error at  
debrep/dists/unstable/45961554550630227606591', but there is no such  
file under

 /var/cache/apt-cacher-ng/debrep/dists/unstable .

Anyone has any clue on how to fix this problem?
--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: apt-cacher-ng's expiry job failing

2019-04-27 Thread Eduardo M KALINOWSKI
On 26/04/2019 13:05, David Wright wrote:
> Today's successful run, which removed probably most of the wheezy
> packages in my cache¹, had the following error in the log:
>
> Error at 
> security.debian.org/debian-security/dists/stretch/updates/19704841552237202370979443
>
> but it didn't stop the run. This file exists, but is actually at
> /var/cache/apt-cacher-ng/_xstore/rsnap/security.debian.org/…
> so take a look there perhaps.

That made me look for a file with that name in the whole hierarchy, and
I found it at

/var/cache/apt-cacher-ng/_xstore/rsnap/debrep/dists/unstable/45961554550630227606591

I removed the file and it started complaining about other similar files.
After deleting a couple, the logs became even more unhelpful:

Maintenance task Expiration, apt-cacher-ng version: 2 (Cancel)
Locating potentially expired files in the cache...
Scanning, found 1 file...
Scanning, found 2 files...
Scanning, found 4 files...
Scanning, found 8 files...
Scanning, found 16 files...
Scanning, found 32 files...
Scanning, found 64 files...
Scanning, found 128 files...
Scanning, found 256 files...
Scanning, found 512 files...
Scanning, found 1024 files...
Scanning, found 2048 files...
Found 2427 files.
Checking implicitly referenced files...
Restoring virtual file
debrep/dists/testing/contrib/Contents-i386.diff/Index (equal to )
Restoring virtual file
debrep/dists/testing/contrib/i18n/Translation-en.diff/Index (equal to )
Restoring virtual file
debrep/dists/unstable/contrib/i18n/Translation-en.diff/Index (equal to )
Bringing index files up to date...
Found errors during processing, aborting as requested.



-- 
Stult's Report:
Our problems are mostly behind us.  What we have to do now is
fight the solutions.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: KISS gpg

2019-10-31 Thread Eduardo M KALINOWSKI

On qui, 31 out 2019, Greg Wooledge wrote:

On Fri, Nov 01, 2019 at 02:12:54AM +1100, Andrew McGlashan wrote:

If you kill all agents to stop them interfering, then use the
- --homedir option of gpg with a copy of your files, I think you will
have what you need.


Huh.  There's that "dash space dash dash" pattern again, from a completely
different person this time.

Is the mailing list software mangling people's posts (lines that begin
with dash dash get an extra dash space prepended), or is there some
common mail user agent in the wild that's doing this?


Neither, it's GPG that does that. It's some kind of escaping because  
of it's own lines (which start with --).

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: New list for Raspbian? (was: Re: systemdq)

2019-12-30 Thread Eduardo M KALINOWSKI

On seg, 30 dez 2019, rhkramer wrote:

It would not be that hard to create a new mailing list for raspbian users,
maybe over on groups.io (can even be done for free).


There are already support channels for raspbian:  
https://www.raspberrypi.org/forums/ . True, it's a forum, not a  
mailing list, but it's probably better to use that than to split  
support in two places.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: how to create debian live usb

2020-01-04 Thread Eduardo M KALINOWSKI
On 04/01/2020 09:27, Gene Heskett wrote:
> [Complains about automounting, udev, etc]

Could you please *not* hijack threads? If you want to have one of your
signature endless threads about automounting, udev, desktop
environments, etc, in which many solutions will be provided but none
will work for you, feel free to start a new thread. But please leave
this one for solving the OPs problem about creating a bootable usb drive.


-- 
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Install OpenSMTPD from source or use the Debian packages?

2020-02-12 Thread Eduardo M KALINOWSKI

On qua, 12 fev 2020, Tom Browder wrote:


I started looking in to use of OpenSMPTD for a mail server and have
installed it from Debian packages.

In the process of reading a blog article by the current developer I
discovered the upstream is now at version 6.6.2p1+ after some serious
security issues were discovered by SSL Labs (Qualys). Note that Debian
10 is only at version 6.0.3p1!  See the source at:

  https://github.com/OpenSMTPD/OpenSMTPD

I would like to install from source but I wonder if that is such a
smart move, especially when we now use systemd and the source is set
up with the traditional GNU automake system and I don't see any
provision for systemd.  I don't grok systemd very well and usually
rely on others for the proper setup.

I have asked for help on the OpenSMTPD mailing list, but I suggested
my first effort would be to use the systemd setup used by the Debian
installation (with appropriate renaming). I haven't received an answer
yet.


buster-backports has 6.6.2p1:  
https://packages.debian.org/search?keywords=opensmtpd


But note that while Debian stable rarely gets new versions, security  
fixes are backported onto the stable versions, so 6.0.3p1 might be  
"old", but probably has the security bugs fixed. You can see the  
status in  
https://security-tracker.debian.org/tracker/source-package/opensmtpd .

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: *nix

2020-02-16 Thread Eduardo M KALINOWSKI
On 16/02/2020 05:52, Andrei POPESCU wrote:
> On Sb, 15 feb 20, 20:17:07, Charles Curley wrote:
>> On Sat, 15 Feb 2020 14:03:02 -0700
>> ghe  wrote:
>>
>>> Until recently, the *nix communities have stuck pretty well to these
>>> recommendations -- they're just descriptions of competent programming,
>>> after all. There may be some discussion over the definitions of "one
>>> thing" and "well" but there is software in our Linux that, I think,
>>> doesn't conform to anybody's understanding of these maxims.
>> And then there are the exceptions that illustrate the rule. Emacs,
>> LibreOffice and systemd (all of which I use, not necessarily
>> enthusiastically) come to mind.
> ... as well as Linux (the kernel), grub, u-boot, busybox, GCC, vim, 
> apache / nginx, mc, (neo)mutt, etc. and that is not even including GUI 
> programs.
>
> If you truly believe in this principle without any exception throw away 
> your Swiss army knife / Leatherman now.
And how about cat, at least the gnu version? From the man page it can
also number lines, show non-printing characters, indicate line ends and
suppress repeated blank lines.


-- 
 anyone around?
 no, we're all irregular polygons

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: why is my local user (/dev/sda5) drive not being displayed by df?

2020-03-07 Thread Eduardo M KALINOWSKI
On 07/03/2020 08:44, Albretch Mueller wrote:
> $ sudo blkid
> /dev/mapper/sda5_crypt: UUID="HA3h3P-GUUe-brth-12Jb-VYcF-sE7h-l7Ep7Q"
> TYPE="LVM2_member"
> /dev/mapper/lbrtchx--vg-root:
> UUID="d2f3c65d-063b-441e-878e-e283e9ab39a2" TYPE="ext4"
> /dev/sda1: UUID="22e7b834-11f9-4f29-84d2-8757aa9f721d" TYPE="ext2"
> PARTUUID="c67530bc-01"
> /dev/sda5: UUID="27928fd6-a5a9-47a7-8e84-c65c2e2ed1df"
> TYPE="crypto_LUKS" PARTUUID="c67530bc-05"
> /dev/mapper/lbrtchx--vg-swap_1:
> UUID="0e990461-59f0-470c-9e07-c2942e683d2a" TYPE="swap"
>
> $ sudo df --human-readable --all
> Dateisystem  Größe Benutzt Verf. Verw% Eingehängt auf
> sysfs0   0 0 - /sys
> proc 0   0 0 - /proc
> udev  1,8G   0  1,8G0% /dev
> devpts   0   0 0 - /dev/pts
> tmpfs 356M 11M  346M3% /run
> /dev/mapper/lbrtchx--vg-root  289G131G  144G   48% /
> securityfs   0   0 0 - /sys/kernel/security
> tmpfs 1,8G105M  1,7G6% /dev/shm
> tmpfs 5,0M4,0K  5,0M1% /run/lock
> tmpfs 1,8G   0  1,8G0% /sys/fs/cgroup
> cgroup   0   0 0 - /sys/fs/cgroup/systemd
> pstore   0   0 0 - /sys/fs/pstore
> cgroup   0   0 0 -
> /sys/fs/cgroup/cpu,cpuacct
> cgroup   0   0 0 - /sys/fs/cgroup/freezer
> cgroup   0   0 0 -
> /sys/fs/cgroup/net_cls,net_prio
> cgroup   0   0 0 - /sys/fs/cgroup/cpuset
> cgroup   0   0 0 - /sys/fs/cgroup/memory
> cgroup   0   0 0 - /sys/fs/cgroup/pids
> cgroup   0   0 0 - /sys/fs/cgroup/devices
> cgroup   0   0 0 - 
> /sys/fs/cgroup/perf_event
> cgroup   0   0 0 - /sys/fs/cgroup/blkio
> systemd-1-   - - - 
> /proc/sys/fs/binfmt_misc
> hugetlbfs0   0 0 - /dev/hugepages
> debugfs  0   0 0 - /sys/kernel/debug
> mqueue   0   0 0 - /dev/mqueue
> /dev/sda1 236M 66M  159M   30% /boot
> tmpfs 356M 20K  356M1% /run/user/1000
> binfmt_misc  0   0 0 - 
> /proc/sys/fs/binfmt_misc
> $
> ~
>  lbrtchx
>
Please include your question in the body as well. The subject should be
a summary of the email, not part of it.

df shows mounted filesystems. So your sda5 is not mounted.

Since it seems to be a LUKS encrypted volume, it cannot be mounted, but
rather it's contents can be decrypted and mounted (sda5_crypt).

... Except that sda5_crypt seems to be a LVM physical volume, so you
don't mount that directly either, you mount the logical volumes.
/dev/mapper/lbrtchx--vg-root seems to be one of those volumes.

Try running lsblk, it should show the device tree.


-- 
We don't know who it was that discovered water, but we're pretty sure
that it wasn't a fish.
-- Marshall McLuhan

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: kde, localization and keyboards

2020-03-08 Thread Eduardo M KALINOWSKI
On 08/03/2020 06:15, Graham Seaman wrote:
> I've previously used either Gnome or Enlightenment as my main
> environment; I just installed Debian on an old laptop and decided to
> give KDE a go instead. I often want to switch keyboard briefly to do a
> bit of text editing with non-english characters (pt, de, ru). I don't
> ever want to change localization away from GB English. In Gnome I
> could do this: switching keyboard had no effect on localization. In
> KDE I get randomly switch between localizations: for example, I just
> ran apt install, and the first half of the messages were in
> Portuguese, then it suddenly switched to German, with no input from
> me. The only localizations I get match the keyboards I've set up
> (though I'm not switching keyboard). I've removed all languages except
> British English from Settings->language->configure plasma translations.
>
I configure layouts via System settings->Input
Devices->Keyboard->Layouts and switch them using the tray icon or the
keyboard shortcut, and only the keyboard is changed - not the full
system locale.


-- 
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Driver ACX - Texas Instruments ACX 111 54Mbps Wireless Interface

2008-01-30 Thread Eduardo M KALINOWSKI
On 1/30/08, Rodrigo Tavares <[EMAIL PROTECTED]> wrote:
> Pessoal,
>
> Estou tentando configurar um adaptador wireless Dlink
> AirPlus G+ DWL-G520+ no Debian testing.
>
> Estou usando a doc
> http://acx100.sourceforge.net/wiki/ACX.
>
> Primeiramente vou tentar recompilar o Kernel, e usar o
> driver nativo.
>
> A segunda opção é utilizar o comando ndiswrapper, que
> através dele usa driver do Windows, para instala-lo no
> Linux, apesar de demonstrar instabilidades.
>
> Alguém sabe onde posso achar o driver da placa em
> questão para Windows ?
>
> Pesquisei no site da Dlink, e não vi nada relacionado
> a drivers.

Tente perguntar na lista
http://lists.debian.org/debian-user-portuguese/

**

(Rodrigo asked for help on installing a Dlink AirPlus G+ DWL-G520+
wireless card; and I redirected him to the Portuguese mailing list.)



Re: What am I missing without mutt?

2008-02-12 Thread Eduardo M KALINOWSKI

Dotan Cohen wrote:

Yes, the .. are pointless (pun intended). Well, they do
have a purpose, but they are not everyday essentials. Arabic speakers
feel very comfortable speaking Hebrew, I should imagine that Farsi is
similar.
  


Not really, Arabic and Hebrew both belong to the Semitc family of 
languages. Farsi, on the other hand, despite being written with a 
similar alphabet to Arabic, belongs to the Indo-European family (which 
incidentally is the same one that English belongs to), so the languages 
are quite different.


--
I owe the government $3400 in taxes.  So I sent them two hammers and a
toilet seat.
-- Michael McShane

Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: How to compare the package version?

2008-02-14 Thread Eduardo M KALINOWSKI
On Wed, Feb 13, 2008 at 10:55 PM, hhding <[EMAIL PROTECTED]> wrote:
> hi list
>
>  Assume I have installed gcc-4.1 with version 4.1.2-15, and some
>  application need gcc with version greater than 4.1.2-18. How can I check
>  and compare the installed gcc version in debian way then decide install
>  the new version or not? I have read the debian policy manual, but no
>  version compare tool or command is mentioned.

If you want to see the changes between the versions, you can open
aptitude, select the gcc-4.1 package and press 'C' (or was it a
lowercase 'c'?) to view the changelog of the package. This hopefully
clarifies what has changed.

There is probably a command-line tool to show the changelog. And you
can view it from packages.debian.org .


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How to compare the package version?

2008-02-15 Thread Eduardo M KALINOWSKI

s. keeling wrote:

Eduardo M KALINOWSKI <[EMAIL PROTECTED]>:
  

 On Wed, Feb 13, 2008 at 10:55 PM, hhding <[EMAIL PROTECTED]> wrote:


hi list

 Assume I have installed gcc-4.1 with version 4.1.2-15, and some
 application need gcc with version greater than 4.1.2-18. How can I check
 and compare the installed gcc version in debian way then decide install
 the new version or not? I have read the debian policy manual, but no
 version compare tool or command is mentioned.
  

 If you want to see the changes between the versions, you can open
 aptitude, select the gcc-4.1 package and press 'C' (or was it a
 lowercase 'c'?) to view the changelog of the package. This hopefully



locate changelog.gz | grep whatever # :-


Does not work if the new version is not installed, though.

--
An elephant is a mouse with an operating system.

Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: New User-Network Problem Still

2008-02-17 Thread Eduardo M KALINOWSKI

Mitch Crawford wrote:

I _DON'T_  think this _IS_ a dns issue anymore.

I can ping external addresses & traceroute finds them it just appears to be
the web browsers that can't.

Anybody got any idea


Check the browser's configuration? (Proxies and the like?)


--
Bones: "The man's DEAD, Jim!"

Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]





Re: wget vs lynx

2008-02-19 Thread Eduardo M KALINOWSKI
On Feb 19, 2008 11:53 AM, Ron Johnson <[EMAIL PROTECTED]> wrote:
> On 02/19/08 05:10, Michelle Konzack wrote:
> > Note:  You can write the "USER_AGENT" string directly into your ".wgetrc" as
> >
> >  user-agent = "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) 
> > Gecko/20080129 Iceweasel/2.0.0.12 (Debian-2.0.0.12-0etch1)"
> >
> >which do wonders...
>
> Thanks!  That's better than a huge alias!

For the record, some sites (all the ones I've had problems with, at
least) seem only to check for the presence of "Mozilla"; setting the
user-agent string to simply "Mozilla" fools them. But, especially in
the case of setting it in the .wgetrc file, it is much more convenient
to set it to a full string like that.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: diff files matching a pattern

2008-02-24 Thread Eduardo M KALINOWSKI

Kamaraju S Kusumanchi wrote:

Let's say I have two directories dir1, dir2 each with 1000 files.
Of these 1000 files in each directory, there are 50 files named file1.txt,
file2.txt ... file50.txt. The rest of the files do not follow any pattern
and are very large in size.

Now is there any way to compare

dir1/file1.txt and dir2/file1.txt
dir1/file2.txt and dir2/file2.txt

dir1/file50.txt and dir2/file50.txt


Manually diffing the files 50 times is cumbersome. Something like

diff dir1/file*.txt dir2/file*.txt

is what I am after. I do not want to do

diff -r dir1 dir2

since that compares the other 950 files as well besides the 50 files that I
want. Any idea how to achieve this in the most generic fashion? Has anyone
done this kind of thing before?

thanks
raju
  
for i in `seq 1 50`; do diff dir1/file$i.txt dir2/file$i.txt > 
diff$i.txt ; done


For details on for, se man bash.

--
He had occasional flashes of silence that made his conversation perfectly
delightful.
-- Sydney Smith

Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: C Compiler cannot create executables

2008-02-26 Thread Eduardo M KALINOWSKI
On Tue, Feb 26, 2008 at 8:00 AM, Rich Healey <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
>  Hash: SHA1
>
>  I think i did something stupid accidentally apt-get dist-upgrade'd for
>  the first time in 6 months with a compile going in the background, and
>  now when i go to build E the autogen script tells me that gcc can't
>  create executables...?
>
>  What else CAN it do?

Have you tried reinstalling the gcc package?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Goodbye Debian

2008-02-26 Thread Eduardo M KALINOWSKI
On Tue, Feb 26, 2008 at 10:18 AM, Nate Bargmann <[EMAIL PROTECTED]> wrote:
>  Coporate IT is driven by sweetheart deals from suppliers to IT
>  management.  It is full of fiefdoms and "not invented here" syndromes.
>  It is a meca to the power hungry and the control freaks.  It has little
>  to do with helping the workers use the best tool for the job.  If that
>  happens, it's often the result of an accident or an oversight and will
>  soon be corrected.

Not to mention that the IT department sometimes is run by people with
very little understanding of that field.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: IceWeasel and IceDove or other OS?

2008-02-27 Thread Eduardo M KALINOWSKI

Sunnz wrote:

Hello there,

The only Debian distro I have tried so far are Ubuntu's... however I
am just wondering what are the state of IceWeasel and IceDove like?
Are the source distributed in a portable form somewhere that can be
downloaded and recompiled on other Unix like OS like other Linux
distros, the BSD's, Solaris, etc??

I am aware that those other Unix like OS already has the Mozilla
Firefox in their respective package manager... but I thought it would
be good to let eveyone have a choice, but I am not very familiar with
Debian... so if anyone can advice or comment about it that would be
great!!
  


I never tried, but I suppose there should be no difficulty in grabbing 
the Debian source packages and compiling them in Ubuntu.


On the other hand, Iceweasel is just Firefox with another name and icon. 
The rest is all the same, so I see no reason not to use the Ubuntu 
package of that.


--
Dinheiro não traz felicidade. Manda buscar.

Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: basic gnome question

2008-03-03 Thread Eduardo M KALINOWSKI

Jude DaShiell wrote:
Does gnome itself have any prerequisite packages?  In one tutorial I 
read about x-window-system-core being one of them and am curious to 
know if this still holds true for lenny.


Gnome certainly requires the X libs. It also requires Gtk+ and assorted 
libs. Not to mention a bunch of libraries of its own.


--
The so-called lessons of history are for the most part the rationalizations
of the victors.  History is written by the survivors.
-- Max Lerner

Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Suggestions for improving ffmpeg performance?

2008-03-08 Thread Eduardo M KALINOWSKI

Kevin Monceaux wrote:

Debian Enthusiasts,

Does anyone have any suggestions for improving ffmpeg performance.  To 
make a long story, well, not quite so long, I recently converted my 
home desktop box from ArchLinux to Debian.  Back when I was running 
ArchLinux, and maybe one or two distros before, I started using 
pyTivo, a python script that can convert almost any video format into 
something a TiVo box can play and stream it to said TiVo box.  It uses 
ffmpeg for the conversion.  Under ArchLinux I could start a transfer 
and watch the video on my TiVo as it was being streamed.  In most 
cases it would stream the video faster than normal playback speed, and 
would finish transferring it before one could finish watching it.  
Judging from the indicator lights on my network switch while a video 
was being transferred there was constant communication between my 
desktop PC and my TiVo.  But, since I've switched to Debian that 
performance has gone down the drain.  I have ffmpeg installed from 
Debian-Multimedia.org.  Now, running Debian(Lenny), if I start a video 
transfer from my PC to my TiVo I have to wait for quite a while before 
I try to start watching it.  Sometimes the transfer dies in 
mid-transfer.  Watching my network switch I see intermittent activity 
between my desktop PC and my TiVo with two to three second pauses in 
between.  ldd shows ffmpeg is using the i686 libc6 libraries.  I tried 
rebuilding the ffmpeg package from source optimizing it for i686, but 
that didn't help.  Does anyone have any suggestions I might try to 
improve performance?


The ffmpeg version in the debian-multimedia repository is build without 
MMX, I don't know exactly why. And this makes the program quite slow 
(something like 3 times slower).


I've just rebuilt the package reenabling MMX, and apparently it works 
OK, and much faster. I've read that you've rebuilt the package, but are 
you sure MMX is enabled?



--
BOFH excuse #75:

There isn't any problem

Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Suggestions for improving ffmpeg performance?

2008-03-08 Thread Eduardo M KALINOWSKI

David Fox wrote:

On 3/8/08, Eduardo M KALINOWSKI <[EMAIL PROTECTED]> wrote:
  

The ffmpeg version in the debian-multimedia repository is build without
MMX, I don't know exactly why. And this makes the program quite slow
(something like 3 times slower).



I wonder why -disable-mmx was chosen? Stability possibly but maybe we
should query why that and
see if it can be fixed. Strictly speaking, debian-multimedia is
something that can't be addressed by reportbug it seems. Oh well.
  


I don't really now. I think there were some revisions in which MMX was 
causing problems, but in that version there seemed to be no problems 
enabling it.



Oddly enough, I figured I'd do the same thing but there doesn't seem
to be a source package to build from as I am getting errors from
apt-get (is there an equivalent way to do source-level gets in
aptitude - I use it for everything) saying it can't find a source for
'ffmpegcvs'. I'm on marillat's site just now looking for a direct
download.


You have to add the deb-src line given in the end of 
www.debian-multimedia.org and then apt-get source it. That should work, 
at least. But I downloaded the files manually from the ffmpeg directory 
of that site. There is a link in the package page for ffmpeg.


--
Good salesmen and good repairmen will never go hungry.
-- R. E. Schenk

Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Suggestions for improving ffmpeg performance?

2008-03-08 Thread Eduardo M KALINOWSKI

David Fox wrote:

Oddly enough, I inspected the /etc/apt/sources.list and the line was
definitely there. But I worked
around that problem well enough by using apt-build, and the package
(revision 0.1 even though there is a 0.2 on marillat's site - it must
just not be available in lenny yet) is building. I set up apt-build to
build packages with -O3 and to tune it for my architecture (athlon
thunderbird) but only the -O3 seems to have taken effect, from what I
can see in the compiler output.

And I didn't yet get to add --enable-mmx so I guess I have to do that
again. How did you get around that issue? I'm somewhat inexperience
with building packages the debian way - and this is pretty much my
first time using apt-build. I've built plenty of packages by using
configure & make & make install, however


The --disable-mmx switch is hardcoded in the debian/rules file. You'll 
have to unpack the source (dpkg-source -x .dsc-file), edit the file, and 
then build the package (I like to use debuild, in my case "debuild -us 
-uc -b" got me everything I needed). While you're at it, you might want 
also to edit debian/changelog to define a new version number.


--
Hanson's Treatment of Time:
There are never enough hours in a day, but always too many days
before Saturday.

Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Suggestions for improving ffmpeg performance?

2008-03-08 Thread Eduardo M KALINOWSKI

David Fox wrote:

On 3/8/08, Eduardo M KALINOWSKI <[EMAIL PROTECTED]> wrote:
  

The --disable-mmx switch is hardcoded in the debian/rules file. You'll
have to unpack the source (dpkg-source -x .dsc-file), edit the file, and



OK, got that far and added the tune for athlon tbird as well. Seems to
be building
OK thus far, except for a number of #included files for vhook not
being found, and (in the previous run with apt-build) a fair number of
warnings about shared libraries. I'm gonna see if these persist. If
so, I'm not so sure I want to install the debs - apt-build did finish
building the debs.


There were warnings, indeed. Apparently, nothing very serious, though.

Even if the packages do not work, you can always reinstall the previous 
version. Some --force option will be necessary for the downgrade or 
reinstall, but it will work.


--
O que eu penso da censura? Algo pior que o que se pretende censurar.
   -- Robert Altman

Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




  1   2   3   4   5   6   7   8   9   >