Re: Stupid question

2022-02-12 Thread Chuck Zmudzinski

On 2/12/2022 4:04 AM, Hans wrote:

Dear list,

I am thinking of a solution of a problem. But I have an understanding problem,
maybe you can give some background knowledge.

The problem: I have one harddrive, there are two linuces installed.

The partitions are as followed:

kali-linux: 1st primary -> /boot
  2nd > /


debian3rd primary -> /boot
4th logical > /
 > swap
 > /home (encrypted)
 > /usr (encrypted)
 > /var (encrypted)


This is the structure, and as said before, only ONE drive.

Now my question: Is it possible to configure grub that way, that I can choose
either kali or debian to boot?

What I might to know, please correct me:
Both are running different kernels. As far as I understood grub, I can set the
root partition ( / ) with the UUID. This is an entry in grub.cfg and maybe in
/etc/default/grub.

But how can I tell grub, to use the kernel of the second /boot?

I dunno, if it is possible at all, to get a dual boot, the way I want it. With
a combination of Windows + Linux on one harddrive this is working, however,
just because grub does not touch the windows bootloader (as fas as I know),
and what of course is also working, if you got two harddrives, each with
different linux. They all can be booted from one grub installation, of course.

Maybe I could find a solution, if I would have fully understood how grub is
working, and what it is doing.

Any hints are welcome, and if this does never work at all, please drop me a
line.

Best regards

Hans








This is my understanding of how grub works.

It looks you are using the old MBR partitioning scheme. The logical 
partition indicates that.
So I also assume you are using the legacy booting (not UEFI). So the 
first thing that
happens is that you will have an active partition set that your BIOS 
will boot (if you have
standard bootcode installed in the first sector of the disk). The active 
partition is either 1st
primary in which case you will boot from the grub from kali, or 3rd 
primary in which
case you will boot the grub from Debian. So first you need to see which 
partition your
BIOS boots. You can view or change the partitions and which one is the 
active boot

partition using a disk partition tool such as fdisk.

If you set Debian's grub on the 3rd partition as the active boot 
partition, you should
be able to fairly easily display a menu to select either kali or Debian 
on the grub menu.
You will need to make sure os-prober is enabled, it is enabled by 
default on bullseye
and older, but I think in bookworm and sid you need to enable it by a 
setting in
/etc/default/grub). The changelog for grub on bookworm and unstable has 
an entry to
tell you how, I think. You also need to set the timeout to something 
(usually 5 or 10

seconds) to display the menu, and you can also set a default OS to boot in
/etc/default/grub to handle the case when you do not select an OS before the
timeout expires.

After that, you just run sudo update-grub from your Debian system and 
then on the next

reboot the grub menu should have entries for both kali and Debian.

Cheers,

Chuck



Re: Uninstalling a package removes other essential packages: What is the best course of action?

2022-02-12 Thread Stella Ashburne
Hello Dearie

> Sent: Sunday, February 13, 2022 at 8:34 AM
> From: "David Wright" 
> To: debian-user@lists.debian.org
> Subject: Re: Uninstalling a package removes other essential packages: What is 
> the best course of action?
>
>
> Installing those two would add 170 more packages to my system, so

OMG

>
>
> > What is the best course of action?
>
> Leave it. Worry about bigger issues than the odd library.
>
For all you know, the odd library which is this Thai file in question may 
contain poorly designed code, ill-intentioned designed code or backdoors that 
enable(s) root privileges without a user's direct intervention.

Best regards.

Stella



Re: Uninstalling a package removes other essential packages: What is the best course of action?

2022-02-12 Thread Stella Ashburne
Hello Dearie

I am happy to hear from you again and hope that everything's fine with you and 
your family.

> Sent: Sunday, February 13, 2022 at 6:23 AM
> From: "David" 
> To: "debian-user" 
> Subject: Re: Uninstalling a package removes other essential packages: What is 
> the best course of action?
>
>
> But, why do you care? There may be many packages installed
> that you will never notice that you will never use.
> Why pick on this one?
>
> libthai appears to not occupy much disk space:
>
>
> So there's hardly any win for the effort.
>

Indeed, you asked a very pertinent question.

"Why pick on this one?", you asked.

It just happens that this file was in my installed Debian. I have checked for 
other non-English files and found none other than Thai files.

"But, why do you care?" you wondered.

I care because I am worried that it may contain poorly designed code or 
backdoors that enable root privileges without my explicit intervention. Nobody 
has bothered to audit the Thai files that I mentioned for integrity and 
probable malicious activity.

> Alternatively, don't install lxqt-core. Only install what you want.
> Some ideas here:
>   https://wiki.debian.org/ReduceDebian
>
> Naturally this kind of thing takes time and effort which you may
> or may not find is worthwhile depending on your goals, and
> what you choose to spend productive time doing.
>
You're right. I don't have the time nor the intellectual capacity to customize 
my Debian setup. I'll just have to look for other ways to install a custom 
Debian without foreign-language files.



Re: Memory leak

2022-02-12 Thread tomas
On Sat, Feb 12, 2022 at 11:45:05PM +0100, Felmon Davis wrote:
> On Sat, 12 Feb 2022, Curt wrote:
> 
> > https://support.mozilla.org/en-US/kb/firefox-uses-too-much-memory-or-cpu-resources
> > 
> > Firefox may use more system resources if it's left open for long periods
> > of time [...]

> what this quote doesn´t mention is tabs opened as ´private browser´ tabs
> won´t preserved.

You don't want to have them preserved.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Memory leak

2022-02-12 Thread tomas
On Sat, Feb 12, 2022 at 09:21:00AM -0500, rhkra...@gmail.com wrote:

[...]

> The version of Firefox used in Jessie (and presumably later versions) creates 
> (typically mutlitple) files

...you mean "processes", not files, right?

> named "Web Content".  I don't know how Firefox 
> decides what to put in each of those (e.g., content from how many tabs), but 

Those are, basically, one for each tab, yes. This is "electrolysis", see
here [1] or perhaps here [2] for a rough overview and rationale. Plugins,
media players and those things also get their own process..

Now I could be snarky (I've been caught red-handed bashing browsers around
here before ;-) but given the kind of usage browsers get, this design decision
actually seems to make sense.

Cheers

[1] https://blog.mozilla.org/addons/2016/04/11/the-why-of-electrolysis/
[2] https://en.wikipedia.org/wiki/Features_of_Firefox#Firefox_57_and_above

-- 
t


signature.asc
Description: PGP signature


Re: miracle of Firefox in the hotel.

2022-02-12 Thread Dan Ritter
Felmon Davis wrote: 
> On Sat, 12 Feb 2022, Dan Ritter wrote:
> 
> > The portal works by intercepting any web page request at all and
> > answering with its own sign-up page.
> > 
> > So, go to a page which you know will be served via plain HTTP.
> > 
> > If you can't think of one, try http://www.plainwebsite.com
> 
> there are several responses, very informative; I´ll just reply to a couple.
> 
> the hotel, as Long Wind says, wants me to supply some credentials (username
> and pw).
> 
> just so I understand, I interpret you as saying going to a plain http site
> will allow me to provide credentials through another browser than FF. that
> would be nice.

Correct.


-dsr-



Re: Stalled system shutdown

2022-02-12 Thread Flacusbigotis
> I wonder if the package ntopng is necessary for something.

See manpage gor ntopng it's for monitoring network resources/activity.

So if you aren't interested in doing that  then you don't need it installed.


Re: miracle of Firefox in the hotel.

2022-02-12 Thread Felmon Davis

folks,

I decided to waste more time and booted up the other laptop; it has MX 
installed. (I had forgotten; usually on TDE, a continuation of KDE3.)


had to fool around with the configuration, also forgotten since that 
laptop usually boots straight to Windows 10 Pro.


figured it out and, lo and behold!, it sucked down the hotel´s gateway 
and everything - the whole route table nicely filled in!


easy to start Brave and input the needed credentials.

of course the commandline ´ip --oneline route get 1.1.1.1´ incantation 
also yields the gateway.


you need the browser to input the credentials but any modern browser 
will do.


nice outcome! useful discussion!

thank you.

f.


--
Felmon Davis

Verbum sat sapienti.

Re: Uninstalling a package removes other essential packages: What is the best course of action?

2022-02-12 Thread David Wright
On Sat 12 Feb 2022 at 17:03:06 (+0100), Stella Ashburne wrote:
> I did a minimal install of LXQt:
> 
> sudo apt install lxqt-core lightdm
> 
> and discovered that the following two packages were installed as well:
> 
> libthai-data/stable,now 0.1.28-3 all [installed,automatic]
> libthai0/stable,now 0.1.28-3 amd64 [installed,automatic]

Installing those two would add 170 more packages to my system, so
I presume quite a lot more besides those two were installed on yours.

> *I do not speak or write Thai*

Nor I.

> When I did the following
> 
> sudo apt remove libthai*
> 
> I was very surprised to see that many packages that I think are essential to 
> running Debian properly would be removed if I answered "Yes" to the question 
> "Do you want to continue?"
> 
> What should I do?

You should type:

$ apt-cache rdepends libthai0

and notice that the printed list includes libpango-1.0-0.
So now type:

$ apt-cache rdepends libpango-1.0-0 | less

and that shows the cause of your problem. Whether or not
you read Thai, in order to typeset a document that contains,
say, an aphorism in a foreign language, you need to at least
know how to lay out that language, which includes how its
words break or are spaced.

>From a very superficial reading of APT-ish metadata, I'd guess
that you might have spotted the language Thai because there
are some wrinkles in pango's support for it, and perhaps those
led to libthai* being linked to it.

Anyway, the upshot is that you'll have a job to run a system
without pango's support for text.

> What is the best course of action?

Leave it. Worry about bigger issues than the odd library.

Cheers,
David.



Re: miracle of Firefox in the hotel.

2022-02-12 Thread Charlie Gibbs

On Sat Feb 12 15:17:38 2022 Dan Ritter  wrote:

> Felmon Davis wrote:
>
>> Greets!
>>
>> Sitting in a hotel in Hamburg, Germany, thankful for Firefox-esr
>> which provides the page necessary for logging into the network.
>> I'm on Debian 10.
>>
>> this miracle of connectivity doesn't seem to happen with Brave
>> browser or Iron.
>>
>> (a) what is the mechanism FF uses for this feat?
>>
>> (b) can it be replicated in Brave and Iron (which I generally
>> prefer)?
>>
>> I admit Brave is often a bit touchy about accessing pages where
>> it suspects security threats.
>
> The portal works by intercepting any web page request at all and
> answering with its own sign-up page.
>
> Good implementations of HTTPS prevent this.
>
> So, go to a page which you know will be served via plain HTTP.
>
> If you can't think of one, try http://www.plainwebsite.com

When I try that one, I get re-routed to https://www.buydomains.com.

My go-to in this situation is http://neverssl.com

--
/~\  Charlie Gibbs  |  Life is perverse.
\ /|  It can be beautiful -
 X   I'm really at ac.dekanfrus |  but it won't.
/ \  if you read it the right way.  |-- Lily Tomlin



Re: Memory leak

2022-02-12 Thread Felmon Davis

On Sat, 12 Feb 2022, Curt wrote:


https://support.mozilla.org/en-US/kb/firefox-uses-too-much-memory-or-cpu-resources

Firefox may use more system resources if it's left open for long periods
of time. A workaround for this is to periodically restart Firefox. You
can configure Firefox to save your tabs and windows so that when you
start it again, you can start where you left off.


what this quote doesn´t mention is tabs opened as ´private browser´ 
tabs won´t preserved.


--
Felmon Davis

Verbum sat sapienti.

Re: Memory leak

2022-02-12 Thread Felmon Davis

On Sat, 12 Feb 2022, rhkra...@gmail.com wrote:


Maybe things would work better with more swap, but I haven/t (and probably
won't try that) -- in the reasonably near future (maybe after tax season), I
plan to set up a new system with Debian 1 (whatever that is "code named").


increasing swap here helped a *lot*. (I only have 8GB.)

stopping using Firefox helped some too.

also killing ´web content´ locations but that´s a tad risky. (also I 
believe it sometimes crashes Firefox altogether.)


I didn´t know the memory tweak mentioned somewhere else in the thread. 
it´s nice to know.


f.

--
Felmon Davis

Verbum sat sapienti.

Re: Installation on a Lenovo IdeaPad Yoga 13

2022-02-12 Thread Andrew M.A. Cater
On Sat, Feb 12, 2022 at 12:05:54PM -0700, Charles Curley wrote:
> On Sat, 12 Feb 2022 14:42:27 +0100
> Andrei POPESCU  wrote:
> 
> > On Vi, 11 feb 22, 15:24:55, Charles Curley wrote:
> > > 
> > > 1) The graphics are terrible. Both graphical and text mode are
> > > scrunched into the top third or so of the screen, with two copies
> > > across the top. They are damn near unreadable.  
> > 
> > That's likely because your graphic chip is not properly recognized
> > and the OS is using some low resolution. That image is displayed by
> > the hardware 1:1 on the physical pixels of the screen.
> 

I would not have done it this way, myself. As ever, other people, other
requirements and ways of thinking.

Looking quickly, it looks as if the Yoga has 1600 x 900 so something might
have got confused.

I'd have plugged in an external display and done it that way, expert text mode 
only and used the unofficial non-free firmware .iso. Definitely text mode
only to start with. It's an Intel chipset, so Intel firmware likely needed.

> Right. But changing from UEFI to legacy boot helped that situation. Go
> figure.
> 

BIOS mode sometimes gives a larger display: I'd never tell it to use anything 
other than UEFI given the vintage of the laptop.

> >  
> > > 2) How do I tell it how to pre-seed? In booting I never get access
> > > to the boot command line.  
> > 
> > Sorry, can't imagine what you mean here. Pre-seeding is a function of 
> > the Debian Installer, which (as far as I recall) is always waiting
> > for some input at the first menu. There should be an option to get to
> > a command line by pressing some key.
> 
> Right. All of these remarks refer to d-i. Sorry I wasn't clear on that.
> 
> Yes, there should be an option. It wasn't present when I booted to
> UEFI. D-i went directly to a GUI menu, not the text mode to which I am
> accustomed.
>

Hit advanced options and you get the option for text mode install / expert 
etc. It may occasionally come up initially as almost a box within a box
in UEFI mode but that's normal. 

> I got the text mode when I changed to legacy support, hit the Help
> option, and entered my command line stuff there.
> 
> 
> And, for the record, an interesting occurrence: d-i came up with
> /dev/sdaX (I think 2??) mounted on /media. Oops. It usually picks up
> the USB stick I usually have the preseed file on. I umounted and
> mounted /dev/sdc1, and was able to load my preseed file and continue.
> 
>

That might be an artifact of having the extra USB stick there at disk
evaluation time. 
> -- 

All the very best, as ever,

Andy Cater

> Does anybody read signatures any more?
> 
> https://charlescurley.com
> https://charlescurley.com/blog/




Re: Uninstalling a package removes other essential packages: What is the best course of action?

2022-02-12 Thread David
On Sun, 13 Feb 2022 at 08:33, Stella Ashburne  wrote:

> > 3. Remove it some sneaky that only removes libthai but leaves everything
> > else the same, and have things break and or apt/dpkg complain.
> >
> Could you show me how to do it please? Thanks.

Hi Stella,

With a small effort, you can try something like this:
   https://wiki.debian.org/Packaging/HackingDependencies

But, why do you care? There may be many packages installed
that you will never notice that you will never use.
Why pick on this one?

libthai appears to not occupy much disk space:

$ for n in $(dpkg -L libthai-data libthai0) ; do if [[ -f "$n" ]] &&
[[ ! -h "$n" ]] ; then ls -l "$n" ; fi ; done
-rw-r--r-- 1 root root 9314 2019-08-27 10:56
/usr/share/doc/libthai-data/changelog.Debian.gz
-rw-r--r-- 1 root root 28215 2018-08-01 15:08
/usr/share/doc/libthai-data/changelog.gz
-rw-r--r-- 1 root root 2450 2019-08-27 10:56
/usr/share/doc/libthai-data/copyright
-rw-r--r-- 1 root root 579256 2019-08-27 10:56 /usr/share/libthai/thbrk.tri
-rw-r--r-- 1 root root 41000 2019-08-27 10:56
/usr/lib/x86_64-linux-gnu/libthai.so.0.3.1
-rw-r--r-- 1 root root 9314 2019-08-27 10:56
/usr/share/doc/libthai0/changelog.Debian.gz
-rw-r--r-- 1 root root 28215 2018-08-01 15:08
/usr/share/doc/libthai0/changelog.gz

So there's hardly any win for the effort.

Alternatively, don't install lxqt-core. Only install what you want.
Some ideas here:
  https://wiki.debian.org/ReduceDebian

Naturally this kind of thing takes time and effort which you may
or may not find is worthwhile depending on your goals, and
what you choose to spend productive time doing.



Re: miracle of Firefox in the hotel.

2022-02-12 Thread Felmon Davis

On Sat, 12 Feb 2022, Curt wrote:


On 2022-02-12, Felmon Davis  wrote:


Greets!

Sitting in a hotel in Hamburg, Germany, thankful for Firefox-esr which provides
the page necessary for logging into the network. I´m on Debian 10.

this miracle of connectivity doesn´t seem to happen with Brave browser or Iron.

(a) what is the mechanism FF uses for this feat?

(b) can it be replicated in Brave and Iron (which I generally prefer)?

I admit Brave is often a bit touchy about accessing pages where it suspects
security threats.

f.



Some techniques are given below (I don't know how effective they are,
though).

https://wiki.debian.org/CaptivePortal




interesting!

I tried this line at the command line (derived from your reference):

ip --oneline route get 1.1.1.1

that did yield the gateway.

maybe coincidence but my connection immediately collapsed and I had to 
log back in.


can´t see why the already present connection would break because of it 
though.


I´ll play again (or some other time). but seems this should work.

f.

--
Felmon Davis

Verbum sat sapienti.

Re: miracle of Firefox in the hotel.

2022-02-12 Thread Felmon Davis

On Sun, 13 Feb 2022, Bret Busby wrote:


On 13/2/22 3:52 am, Felmon Davis wrote:


Greets!

Sitting in a hotel in Hamburg, Germany, thankful for Firefox-esr which 
provides the page necessary for logging into the network. I´m on Debian 10.


this miracle of connectivity doesn´t seem to happen with Brave browser or 
Iron.


(a) what is the mechanism FF uses for this feat?

(b) can it be replicated in Brave and Iron (which I generally prefer)?

I admit Brave is often a bit touchy about accessing pages where it suspects 
security threats.


f.



With you having referred to having tried Brave, have you tried Vivaldi
https://computingforgeeks.com/install-vivaldi-web-browser-on-ubuntu-debian-linux/
https://www.osradar.com/install-vivaldi-debian-11/
?


yrs ago I used it and last yr had a newer version installed but didn´t 
use it much, was satisfied with Brave and Iron.


I don´t recall if Vivaldi works with various extensions I use; might 
have been a reason I didn´t get into it much.


I just tested a version of Curt´s suggestion; that may work!

f.

--
Felmon Davis

Verbum sat sapienti.

Re: miracle of Firefox in the hotel.

2022-02-12 Thread Felmon Davis

On Sat, 12 Feb 2022, Dan Ritter wrote:


Felmon Davis wrote:


Greets!

Sitting in a hotel in Hamburg, Germany, thankful for Firefox-esr which
provides the page necessary for logging into the network. I´m on Debian 10.

this miracle of connectivity doesn´t seem to happen with Brave browser or Iron.

(a) what is the mechanism FF uses for this feat?

(b) can it be replicated in Brave and Iron (which I generally prefer)?

I admit Brave is often a bit touchy about accessing pages where it suspects
security threats.


The portal works by intercepting any web page request at all and
answering with its own sign-up page.

Good implementations of HTTPS prevent this.

So, go to a page which you know will be served via plain HTTP.

If you can't think of one, try http://www.plainwebsite.com

-dsr-


there are several responses, very informative; I´ll just reply to a 
couple.


the hotel, as Long Wind says, wants me to supply some credentials 
(username and pw).


just so I understand, I interpret you as saying going to a plain http 
site will allow me to provide credentials through another browser than 
FF. that would be nice.


f.

--
Felmon Davis

Verbum sat sapienti.

Re: Uninstalling a package removes other essential packages: What is the best course of action?

2022-02-12 Thread Stella Ashburne
Hi,

> Sent: Sunday, February 13, 2022 at 12:35 AM
> From: "Bijan Soleymani" 
> To: debian-user@lists.debian.org
> Subject: Re: Uninstalling a package removes other essential packages: What is 
> the best course of action?
>
>
> 3. Remove it some sneaky that only removes libthai but leaves everything
> else the same, and have things break and or apt/dpkg complain.
>
Could you show me how to do it please? Thanks.

Stella



Re: miracle of Firefox in the hotel.

2022-02-12 Thread Dan Ritter
Felmon Davis wrote: 
> 
> Greets!
> 
> Sitting in a hotel in Hamburg, Germany, thankful for Firefox-esr which
> provides the page necessary for logging into the network. I´m on Debian 10.
> 
> this miracle of connectivity doesn´t seem to happen with Brave browser or 
> Iron.
> 
> (a) what is the mechanism FF uses for this feat?
> 
> (b) can it be replicated in Brave and Iron (which I generally prefer)?
> 
> I admit Brave is often a bit touchy about accessing pages where it suspects
> security threats.

The portal works by intercepting any web page request at all and
answering with its own sign-up page.

Good implementations of HTTPS prevent this.

So, go to a page which you know will be served via plain HTTP.

If you can't think of one, try http://www.plainwebsite.com

-dsr-



Re: miracle of Firefox in the hotel.

2022-02-12 Thread Bret Busby

On 13/2/22 3:52 am, Felmon Davis wrote:


Greets!

Sitting in a hotel in Hamburg, Germany, thankful for Firefox-esr which 
provides the page necessary for logging into the network. I´m on Debian 10.


this miracle of connectivity doesn´t seem to happen with Brave browser 
or Iron.


(a) what is the mechanism FF uses for this feat?

(b) can it be replicated in Brave and Iron (which I generally prefer)?

I admit Brave is often a bit touchy about accessing pages where it 
suspects security threats.


f.



With you having referred to having tried Brave, have you tried Vivaldi
https://computingforgeeks.com/install-vivaldi-web-browser-on-ubuntu-debian-linux/
https://www.osradar.com/install-vivaldi-debian-11/
?

--
Bret Busby
Armadale
West Australia
(UTC+0800)
..



Re: miracle of Firefox in the hotel.

2022-02-12 Thread Curt
On 2022-02-12, Felmon Davis  wrote:
>
> Greets!
>
> Sitting in a hotel in Hamburg, Germany, thankful for Firefox-esr which 
> provides 
> the page necessary for logging into the network. I´m on Debian 10.
>
> this miracle of connectivity doesn´t seem to happen with Brave browser or 
> Iron.
>
> (a) what is the mechanism FF uses for this feat?
>
> (b) can it be replicated in Brave and Iron (which I generally prefer)?
>
> I admit Brave is often a bit touchy about accessing pages where it suspects 
> security threats.
>
> f.


Some techniques are given below (I don't know how effective they are,
though).

https://wiki.debian.org/CaptivePortal



Re: miracle of Firefox in the hotel.

2022-02-12 Thread Brian
On Sat 12 Feb 2022 at 21:07:10 +0100, to...@tuxteam.de wrote:

> On Sat, Feb 12, 2022 at 08:52:58PM +0100, Felmon Davis wrote:
> > 
> > Greets!
> > 
> > Sitting in a hotel in Hamburg, Germany, thankful for Firefox-esr which
> > provides the page necessary for logging into the network. I´m on Debian 10.
> > 
> > this miracle of connectivity doesn´t seem to happen with Brave browser or 
> > Iron.
> > 
> > (a) what is the mechanism FF uses for this feat?
> > 
> > (b) can it be replicated in Brave and Iron (which I generally prefer)?
> > 
> > I admit Brave is often a bit touchy about accessing pages where it suspects
> > security threats.
> 
> This is Firefox's captive portal [1] detection [2].
> 
> Cheers
> 
> [1] Had I a say in it, I'd reserve a very special place in Hell
>for those.

Could the process to replace them on, say, public transport be outlined?

-- 
Brian.



Re: miracle of Firefox in the hotel.

2022-02-12 Thread tomas
On Sat, Feb 12, 2022 at 08:52:58PM +0100, Felmon Davis wrote:
> 
> Greets!
> 
> Sitting in a hotel in Hamburg, Germany, thankful for Firefox-esr which
> provides the page necessary for logging into the network. I´m on Debian 10.
> 
> this miracle of connectivity doesn´t seem to happen with Brave browser or 
> Iron.
> 
> (a) what is the mechanism FF uses for this feat?
> 
> (b) can it be replicated in Brave and Iron (which I generally prefer)?
> 
> I admit Brave is often a bit touchy about accessing pages where it suspects
> security threats.

This is Firefox's captive portal [1] detection [2].

Cheers

[1] Had I a say in it, I'd reserve a very special place in Hell
   for those.

[2] https://en.wikipedia.org/wiki/Captive_portal

-- 
t


signature.asc
Description: PGP signature


miracle of Firefox in the hotel.

2022-02-12 Thread Felmon Davis


Greets!

Sitting in a hotel in Hamburg, Germany, thankful for Firefox-esr which provides 
the page necessary for logging into the network. I´m on Debian 10.


this miracle of connectivity doesn´t seem to happen with Brave browser or Iron.

(a) what is the mechanism FF uses for this feat?

(b) can it be replicated in Brave and Iron (which I generally prefer)?

I admit Brave is often a bit touchy about accessing pages where it suspects 
security threats.


f.

--
Felmon Davis

Verbum sat sapienti.

Re: Installation on a Lenovo IdeaPad Yoga 13

2022-02-12 Thread Charles Curley
On Sat, 12 Feb 2022 14:42:27 +0100
Andrei POPESCU  wrote:

> On Vi, 11 feb 22, 15:24:55, Charles Curley wrote:
> > 
> > 1) The graphics are terrible. Both graphical and text mode are
> > scrunched into the top third or so of the screen, with two copies
> > across the top. They are damn near unreadable.  
> 
> That's likely because your graphic chip is not properly recognized
> and the OS is using some low resolution. That image is displayed by
> the hardware 1:1 on the physical pixels of the screen.

Right. But changing from UEFI to legacy boot helped that situation. Go
figure.

>  
> > 2) How do I tell it how to pre-seed? In booting I never get access
> > to the boot command line.  
> 
> Sorry, can't imagine what you mean here. Pre-seeding is a function of 
> the Debian Installer, which (as far as I recall) is always waiting
> for some input at the first menu. There should be an option to get to
> a command line by pressing some key.

Right. All of these remarks refer to d-i. Sorry I wasn't clear on that.

Yes, there should be an option. It wasn't present when I booted to
UEFI. D-i went directly to a GUI menu, not the text mode to which I am
accustomed.

I got the text mode when I changed to legacy support, hit the Help
option, and entered my command line stuff there.


And, for the record, an interesting occurrence: d-i came up with
/dev/sdaX (I think 2??) mounted on /media. Oops. It usually picks up
the USB stick I usually have the preseed file on. I umounted and
mounted /dev/sdc1, and was able to load my preseed file and continue.


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/


pgpc9h1esGDWM.pgp
Description: OpenPGP digital signature


Re: Installation on a Lenovo IdeaPad Yoga 13

2022-02-12 Thread Charles Curley
On Fri, 11 Feb 2022 15:24:55 -0700
Charles Curley  wrote:

> I have a Lenovo IdeaPad Yoga 13, with a Realtek RTL8723A
> wifi/bluetooth adapter, and an Intel 3rd gen core processor graphics
> controller. I have firmware-11.2.0-amd64-netinst.iso from
> https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.2.0+nonfree/amd64/iso-cd/.
> 
> I did find this report,
> https://wiki.debian.org/InstallingDebianOn/Lenovo/IdeaPad%20Yoga%2013%20(Wheezy).
> Has there been no progress on this hardware since? Should I get a USB->
> Ethernet adapter for this beast? If so, is there one that d-i is known
> to support?
> 
> Some issues:

I should have specified earlier that these are issues with the Debian
installer (d-i). I hadn't gotten as far as actually installing anything.

> 
> 1) The graphics are terrible. Both graphical and text mode are
> scrunched into the top third or so of the screen, with two copies
> across the top. They are damn near unreadable.
> 
> 2) How do I tell it how to pre-seed? In booting I never get access to
> the boot command line.

I solved both of these problems for the installer by changing the BIOS
to legacy boot, per the Debian installation notes I mentioned earlier.

> 
> 3) The network device is never correctly detected, automatically or
> manually. I think it figures out that it is a Realtek, but doesn't go
> any further. I was unable to find the WiFi adapter in the manual
> selector, probably due to the atrocious graphics. I tried several
> 8723X drivers, but d-i didn't like any of them. I think the firmware
> package supports it, and I think the driver (8723au) is in the
> kernel. On my desktop, also running Bullseye:

Still not found. I will let the installation proceed, and examine the
logs later.


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: solid state storage device with USB type-A plug for use as OS drive (was Re: Installation "Bullseye")

2022-02-12 Thread David Christensen

On 2/12/22 09:40, Stefan Monnier wrote:

The relevant stat is the total data written specification. It's
usually in "terabytes written".

For a 1 TB SSD, 300TBW is bad. 600 is pretty bad. 1200 is okay
for a desktop. 1800 is reasonable for some server applications.


I think the "bad" vs "good" judgment above relates to what is commonly
available (so it really expresses whether it's near the bottom or near
the top of the range of available drives) but in practice what matters
more is the intended use of the drive.

Hence the question: what does "high-endurance" mean to the OP (as
opposed to "to the market")?


 Stefan



"High endurance" means "I will not be awoken in the middle of the night 
by the smell of fried electronics".  This was what happened when I was 
using SanDisk Ultra Fit USB 3.0 128 GB flash drives for Time Machine 
backups.



I have several 16 GB models of the same drive and they have survived 
usage as Debian and FreeBSD OS disks.  I very much like their compact 
size, but do not like their heat generation.  I am worried that they may 
suffer the same fate as above.



David



Re: Stupid question

2022-02-12 Thread David Christensen

On 2/12/22 01:04, Hans wrote:

Dear list,

I am thinking of a solution of a problem. But I have an understanding problem,
maybe you can give some background knowledge.

The problem: I have one harddrive, there are two linuces installed.

The partitions are as followed:

kali-linux: 1st primary -> /boot
  2nd > /


debian3rd primary -> /boot
4th logical > /
 > swap
 > /home (encrypted)
 > /usr (encrypted)
 > /var (encrypted)


This is the structure, and as said before, only ONE drive.

Now my question: Is it possible to configure grub that way, that I can choose
either kali or debian to boot?

What I might to know, please correct me:
Both are running different kernels. As far as I understood grub, I can set the
root partition ( / ) with the UUID. This is an entry in grub.cfg and maybe in
/etc/default/grub.

But how can I tell grub, to use the kernel of the second /boot?

I dunno, if it is possible at all, to get a dual boot, the way I want it. With
a combination of Windows + Linux on one harddrive this is working, however,
just because grub does not touch the windows bootloader (as fas as I know),
and what of course is also working, if you got two harddrives, each with
different linux. They all can be booted from one grub installation, of course.

Maybe I could find a solution, if I would have fully understood how grub is
working, and what it is doing.

Any hints are welcome, and if this does never work at all, please drop me a
line.

Best regards

Hans



It's not a stupid question -- it's an observation of how complexity 
grows as the number of items grows.



I have found it is better to install mobile racks in each computer, 
install one OS disk in each computer, and install one OS on each OS disk.



But, if you have fewer computers that OS's, you may find that you are 
constantly shutting down, swapping disks, and rebooting another OS; only 
to find that you need the OS you just shutdown.  The solution to this 
problem is virtualization.



David



Re: Uninstalling a package removes other essential packages: What is the best course of action?

2022-02-12 Thread Bijan Soleymani

On 2022-02-12 11:03, Stella Ashburne wrote:

What should I do? What is the best course of action?


It seems that basic X windows or GUI apps are compiled with libthai support.

This is probably done in a way that they won't run without it being 
installed (failed to load due to missing library).


If you remove it you probably won't be able to run those programs.

It would seem your options are:
1. Keep libthai installed

2. Remove it the way you are trying to do and lose all those GUI apps 
and libraries


3. Remove it some sneaky that only removes libthai but leaves everything 
else the same, and have things break and or apt/dpkg complain.


Bijan



Uninstalling a package removes other essential packages: What is the best course of action?

2022-02-12 Thread Stella Ashburne
I did a minimal install of LXQt:

sudo apt install lxqt-core lightdm

and discovered that the following two packages were installed as well:

libthai-data/stable,now 0.1.28-3 all [installed,automatic]
libthai0/stable,now 0.1.28-3 amd64 [installed,automatic]

*I do not speak or write Thai*

When I did the following

sudo apt remove libthai*

I was very surprised to see that many packages that I think are essential to 
running Debian properly would be removed if I answered "Yes" to the question 
"Do you want to continue?"

What should I do? What is the best course of action?

Below is the output of sudo apt remove libthai*

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libthai0' for glob 'libthai*'
Note, selecting 'libthai-data' for glob 'libthai*'
Note, selecting 'libthai-dev' for glob 'libthai*'
Note, selecting 'libthai-doc' for glob 'libthai*'
Package 'libthai-dev' is not installed, so not removed
Package 'libthai-doc' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  adwaita-icon-theme at-spi2-core cpp cpp-10 cups-pk-helper fonts-quicksand
  gir1.2-atk-1.0 gir1.2-freedesktop gir1.2-gdkpixbuf-2.0 gir1.2-glib-2.0
  gir1.2-harfbuzz-0.0 gir1.2-notify-0.7 gir1.2-packagekitglib-1.0
  gir1.2-polkit-1.0 gir1.2-secret-1 gnome-accessibility-themes
  gnome-keyring-pkcs11 gnome-themes-extra gnome-themes-extra-data
  gparted-common gsfonts gsfonts-x11 gtk2-engines-pixbuf i965-va-driver
  intel-media-va-driver libaom0 libappstream4 libass9 libatk-bridge2.0-0
  libatk1.0-0 libatk1.0-data libatkmm-1.6-1v5 libatspi2.0-0 libavutil56
  libblas3 libbs2b0 libcairo-gobject2 libcairo2 libcairomm-1.0-1v5
  libcodec2-0.9 libcolord2 libcurl3-gnutls libdatrie1 libdav1d4 libepoxy0
  libfftw3-double3 libflite1 libgdk-pixbuf-xlib-2.0-0 libgdk-pixbuf2.0-0
  libgfortran5 libgirepository-1.0-1 libglibmm-2.4-1v5 libgme0 libgomp1
  libgsm1 libgstreamer1.0-0 libgtk-3-common libgtk2.0-common libigdgmm11
  libisl23 libjpeg-turbo-progs liblapack3 liblightdm-gobject-1-0 liblilv-0-0
  libmfx1 libmp3lame0 libmpc3 libmpfr6 libmpg123-0 libmysofa1
  libnet-dbus-perl libnorm1 libnotify4 libnuma1 libopenjp2-7 libopenmpt0
  libpackagekit-glib2-18 libpam-gnome-keyring libpgm-5.3-0 libpixman-1-0
  libplymouth5 libpocketsphinx3 libpostproc55 libquadmath0 librabbitmq4
  librest-0.7-0 librubberband2 libsamplerate0 libserd-0-0 libshine3
  libsigc++-2.0-0v5 libsnappy1v5 libsord-0-0 libsoup-gnome2.4-1 libsoxr0
  libspeex1 libsphinxbase3 libsratom-0-0 libsrt1.4-gnutls libssh-gcrypt-4
  libstartup-notification0 libstemmer0d libswresample3 libswscale5 libtheora0
  libtie-ixhash-perl libturbojpeg0 libtwolame0 libunwind8 libva-drm2
  libva-x11-2 libva2 libvdpau-va-gl1 libvdpau1 libvidstab1.1 libvorbisfile3
  libvpx6 libwavpack1 libwnck-3-common libx11-protocol-perl libx264-160
  libx265-192 libxatracker2 libxfce4ui-common libxfce4util-bin
  libxfce4util-common libxfce4util7 libxfconf-0-3 libxfont2 libxklavier16
  libxml-parser-perl libxml-twig-perl libxml-xpathengine-perl libxpresent1
  libxres1 libxvidcore4 libxvmc1 libyaml-0-2 libzmq5 libzvbi-common libzvbi0
  mesa-va-drivers mesa-vdpau-drivers ocl-icd-libopencl1 p11-kit
  p11-kit-modules p7zip p7zip-full packagekit packagekit-tools plymouth
  pocketsphinx-en-us python3-cairo python3-certifi python3-chardet
  python3-cups python3-cupshelpers python3-dbus python3-gi python3-idna
  python3-pkg-resources python3-requests python3-smbc python3-urllib3
  python3-xdg qt5-style-plugin-cleanlooks qt5-style-plugin-motif
  qt5-style-plugin-plastique system-config-printer-udev unzip va-driver-all
  vdpau-driver-all x11-xserver-utils xauth xdg-utils xfconf xfonts-base
  xfonts-encodings xfonts-utils xscreensaver-data xserver-common xserver-xorg
  xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-libinput
  xserver-xorg-input-wacom xserver-xorg-legacy xserver-xorg-video-all
  xserver-xorg-video-amdgpu xserver-xorg-video-ati xserver-xorg-video-fbdev
  xserver-xorg-video-intel xserver-xorg-video-nouveau xserver-xorg-video-qxl
  xserver-xorg-video-radeon xserver-xorg-video-vesa xserver-xorg-video-vmware
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  lxqt-themes
The following packages will be REMOVED:
  desktop-base ffmpegthumbnailer galternatives gcr gir1.2-gtk-3.0
  gir1.2-pango-1.0 gnome-keyring gpa gparted libavcodec58 libavfilter7
  libavformat58 libayatana-ido3-0.4-0 libayatana-indicator3-7 libchromaprint1
  libffmpegthumbnailer4v5 libgail-common libgail18 libgcr-ui-3-1 libgtk-3-0
  libgtk-3-bin libgtk2.0-0 libgtk2.0-bin libgtkmm-3.0-1v5 libpango-1.0-0
  libpangocairo-1.0-0 libpangoft2-1.0-0 libpangomm-1.4-1v5 libpangoxft-1.0-0
  librsvg2-2 librsvg2-common libthai-data libthai0 libwnck-3-0 libxfce4ui-2-0
  lightdm lightdm-gtk-greeter lxqt-branding-debian lxqt-theme-debian
  pinentry-gnome3 plymouth-label qt5-gtk-platformtheme 

Re: adb install F-Droid.apk, icon gevonden

2022-02-12 Thread Paul van der Vlis

Op 11-02-2022 om 16:35 schreef Geert Stappers:

On Tue, Feb 08, 2022 at 06:19:27PM +0100, Geert Stappers wrote:


Op mijn laptop heb ik `adb`, android debug bridge, ge-installeerd.
(hostname van laptop is "trancilo")

Op het verse Android device heb "Developer modus" via USB actief.

   ...
stappers@trancilo:~/Downloads
$ adb install F-Droid.apk
Performing Streamed Install
Success
stappers@trancilo:~/Downloads
$ adb shell reboot
stappers@trancilo:~/Downloads
$

Waar zou nu het F-Droid icon moeten staan?



Swipe up from the bottom of the screen.


Dat is blijkbaar bij jou zo, maar bij mij gebeurd er dan niets.

Android is er in vele smaken en versies. Als iets open source software 
is, dan krijg je dat al snel. https://source.android.com/


Groet,
Paul


--
Paul van der Vlis Linux systeembeheer Groningen
https://vandervlis.nl/



Re: Memory leak

2022-02-12 Thread rhkramer
On Saturday, February 12, 2022 05:11:31 AM Curt wrote:
>  Firefox may use more system resources if it's left open for long periods
>  of time. A workaround for this is to periodically restart Firefox. You
>  can configure Firefox to save your tabs and windows so that when you
>  start it again, you can start where you left off.

The version of Firefox used in Jessie (and presumably later versions) creates 
(typically mutlitple) files named "Web Content".  I don't know how Firefox 
decides what to put in each of those (e.g., content from how many tabs), but 
...

I keep top running in a VT and check it every once in a while, and when too 
much memory is used, I kill one or more of those files, usually the largest 
first.

My tabs remain as tabs (with the associated URL), but the content is gone, but 
I can get it back by reloading the tab.

When too much memory is used on my Jessie system, the system hangs (on 
occasion i've even left it running overnight to see if it was triyng to do 
something to free up memory itself (like the, iirc, OOM killer), but so far it 
never has.

On that Jessie system (with 12 GB of RAM and 2 GB of swap), I try to kill one 
or more Web Content files when RAM usage reaches the high 9GB  of RAM (I don't 
pay much attention to swap usage, but I guess at least some is used at that 
point), because when RAM usage reaches 10 GB I run into the hang problem.

Maybe things would work better with more swap, but I haven/t (and probably 
won't try that) -- in the reasonably near future (maybe after tax season), I 
plan to set up a new system with Debian 1 (whatever that is "code named").



Re: Pasenme la descarga directa, por favor.

2022-02-12 Thread JavierDebian




El 11/2/22 a las 06:17, José Manuel Garrochena Boza escribió:
Necesito el firmware realtek rtl_nic/rt18168g.fw para poder instalar 
kalinux 2021 net installer con mi TP-LINK USB Internet.

Gracias.



https://www.diversidadyunpocodetodo.com/firmware-failed-to-load-rtl_nic-rtl8168g-2-fw-2-debian-no-arranca/

JAP



Re: Stupid question

2022-02-12 Thread rhkramer
On Saturday, February 12, 2022 04:04:43 AM Hans wrote:
> But how can I tell grub, to use the kernel of the second /boot?
> 
> I dunno, if it is possible at all, to get a dual boot, the way I want it.
> With a combination of Windows + Linux on one harddrive this is working,
> however, just because grub does not touch the windows bootloader (as fas
> as I know), and what of course is also working, if you got two harddrives,
> each with different linux. They all can be booted from one grub
> installation, of course.
> 
> Maybe I could find a solution, if I would have fully understood how grub is
> working, and what it is doing.
> 
> Any hints are welcome, and if this does never work at all, please drop me a
> line.

The way I understand it (but I may be misremembering), grub temporaily boots 
into a, well I'll say restricted Linux kernel and OS which is used by grub 
until it boots up the main system.  The kernel used in grub may not (probably 
doesn't match the kernel used after grub brings up the main system, and it wil 
bring up the appropriate kernel for that main system (the one you choose).

Think about grub bringing up a Windows system -- grub doesn't use a Windows 
kernel in that case but uses that restricted (mcow) Linux kernel to bring up 
Windows, but Windows doesn't use a Linux kernel once it is up and running.

Further, iirc, the Linux kernel in Grub (I guess I should write it GRUB) is 
contained in an image file that is loaded into RAM on a temporary basis until 
the main OS is brought up.

I guess it is possible, but it is hard (for me) to imagine a need to have that 
GRUB kernel match the kernel that will be used after the main OS is running.



Re: Installation on a Lenovo IdeaPad Yoga 13

2022-02-12 Thread Andrei POPESCU
On Vi, 11 feb 22, 15:24:55, Charles Curley wrote:
> 
> 1) The graphics are terrible. Both graphical and text mode are
> scrunched into the top third or so of the screen, with two copies
> across the top. They are damn near unreadable.

That's likely because your graphic chip is not properly recognized and 
the OS is using some low resolution. That image is displayed by the 
hardware 1:1 on the physical pixels of the screen.

There should be a setting in the BIOS / UEFI Firmware to stretch the 
image over the entire screen. The image quality will likely be poor, but 
it should be readable.
 
> 2) How do I tell it how to pre-seed? In booting I never get access to
> the boot command line.

Sorry, can't imagine what you mean here. Pre-seeding is a function of 
the Debian Installer, which (as far as I recall) is always waiting for 
some input at the first menu. There should be an option to get to a 
command line by pressing some key.
 
> Thinkwiki doesn't seem to mention this beast.

Maybe because it's not a *Think*pad?

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Stalled system shutdown

2022-02-12 Thread Andrei POPESCU
On Vi, 11 feb 22, 13:36:09, José Luis González wrote:
> 
> I wonder if the package ntopng is necessary for something. If I remove
> it nothing else complains. I didn't know this package before.

At least on buster/arm64 nothing depends on it.

Was the package manually installed or does the description ring any 
bells?

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Request free live CD

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

Assuming I might have a decent internet connection, a disc burner and 
spare blank media I might consider helping out.

However, this particular request feels too much like someone just 
wanting to take advantage of some freebie ("hey, I heard you give out 
stuff for free so I want some"), as opposed to someone in real need 
(hey, internet here is slow and/or metered, media burners are nowhere to 
be found, etc., could someone help out?").

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Pasenme la descarga directa, por favor.

2022-02-12 Thread 황병희
to...@tuxteam.de writes:

> On Sat, Feb 12, 2022 at 07:27:52PM +0900, 황병희 wrote:
>
> [...]
>
>> Well i don't know Spanish, by the way!
>
> ...and I don't know Korean. I guess you span a much longer bridge
> between Korean and English than I could hope to span between Spanish
> and English.
>
> So my respect to you :-)
>
> Cheers

Thanks tomás! ALWAYS ^^^

Sincerely, Linux fan Byung-Hee

-- 
황병희, 대숲농장
경북 울진군 평해읍 평오곡길 213-12 [36363]
비상 연락망: +82-10-7558-5952



Re: 5.15 kernel just won't do on Intel Rocket Lake...

2022-02-12 Thread Andrei POPESCU
On Jo, 10 feb 22, 09:27:26, David Wright wrote:
> On Thu 10 Feb 2022 at 03:39:26 (-0500), Felix Miata wrote:
> > ...if you have a bad BIOS, and wish to boot with more than one connected 
> > display.
> > https://gitlab.freedesktop.org/drm/intel/-/issues/4762 explains the issue, 
> > which
> > has just been announced fixed. But, it appears the fix may only be landing 
> > in
> > kernel 5.17rc3.
> > 
> > I tried to get the latest available kernel that is packaged by Debian 
> > people by
> > reading on
> > 
> > https://wiki.debian.org/HowToUpgradeKernel
> > https://wiki.debian.org/DebianExperimental
> > 
> > I put
> > 
> > Package: linux-image
> 
> Don't you need to glob this?
> 
>   Package: linux-image*

According to apt_preferences(5) it can also be a POSIX extended regular 
expression if surrounded by slashes, but in this case the glob seems 
more appropriate ;)

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Memory leak

2022-02-12 Thread Curt
On 2022-02-12, piorunz  wrote:
> On 11/02/2022 22:16, Roy J. Tellason, Sr. wrote:
>> Somewhere in their help or documentation they even say that you shouldn't 
>> leave it running for extended periods of time.
>
> Never heard such a thing. Do you have source?
>

See my other post in this thread. 





Re: Stupid question

2022-02-12 Thread harryweaver


12 Feb 2022, 19:04 by hans.ullr...@loop.de:

> Dear list, 
>
> I am thinking of a solution of a problem. But I have an understanding 
> problem, 
> maybe you can give some background knowledge.
>
> The problem: I have one harddrive, there are two linuces installed.
>
> The partitions are as followed:
>
> kali-linux: 1st primary -> /boot
>  2nd > /
>
>
> debian3rd primary -> /boot
>  4th logical > /
>  > swap
>  > /home (encrypted)
>  > /usr (encrypted)
>  > /var (encrypted)
>
>
> This is the structure, and as said before, only ONE drive.
>
> Now my question: Is it possible to configure grub that way, that I can choose 
> either kali or debian to boot?
>
> What I might to know, please correct me:
> Both are running different kernels. As far as I understood grub, I can set 
> the 
> root partition ( / ) with the UUID. This is an entry in grub.cfg and maybe in 
> /etc/default/grub. 
>
> But how can I tell grub, to use the kernel of the second /boot? 
>
> I dunno, if it is possible at all, to get a dual boot, the way I want it. 
> With 
> a combination of Windows + Linux on one harddrive this is working, however, 
> just because grub does not touch the windows bootloader (as fas as I know), 
> and what of course is also working, if you got two harddrives, each with 
> different linux. They all can be booted from one grub installation, of course.
>
> Maybe I could find a solution, if I would have fully understood how grub is 
> working, and what it is doing.
>
> Any hints are welcome, and if this does never work at all, please drop me a 
> line.
>


This will work without any problems, despite what I see as unusual partitioning.
You would have no need to configure Grub, but you would need to re-enable 
OS-prober, which would do it for you.
Cheers!

Harry



Re: Pasenme la descarga directa, por favor.

2022-02-12 Thread tomas
On Sat, Feb 12, 2022 at 07:27:52PM +0900, 황병희 wrote:

[...]

> Well i don't know Spanish, by the way!

...and I don't know Korean. I guess you span a much longer bridge
between Korean and English than I could hope to span between Spanish
and English.

So my respect to you :-)

Cheers
-- 
tomás


signature.asc
Description: PGP signature


Re: Pasenme la descarga directa, por favor.

2022-02-12 Thread 황병희
Dear José,

 writes:

> On Fri, Feb 11, 2022 at 10:16:13AM +0100, José Manuel Garrochena Boza wrote:
>> Necesito el firmware realtek rtl_nic/rt18168g.fw para poder instalar
>> kalinux 2021 net installer con mi TP-LINK USB Internet.
>
> Esto es una lista de correos para usuarios de Debian GNU/Linux. Creo que
> kalinux está por aquí:
>
>   https://forums.kali.org/
>
> Si buscas una lista de usuarios de Debian en lengua castellana, la encontrarás
> por allí:
>
>   https://lists.debian.org/debian-user-spanish/
>
> ¡Espero que encuentres lo que buscas!

Well i don't know Spanish, by the way!

I guess you have hardware touble. In that case, i think you would be try
the latest Ubuntu distro! Also Ubuntu is Debian family like as Kali.

Ubuntu will be the best choice for hardware things!

(and thanks for guide, tomas!)

Sincerely, Linux fan Byung-Hee

-- 
황병희, 대숲농장
경북 울진군 평해읍 평오곡길 213-12 [36363]
비상 연락망: +82-10-7558-5952



Re: Memory leak

2022-02-12 Thread Curt
On 2022-02-11, Roy J. Tellason, Sr.  wrote:
> On Friday 11 February 2022 11:06:01 am Celejar wrote:
>> I seem to have a serious memory leak on my system (Lenovo W550s) - the
>> memory usage seems to slowly but more or less steadily keep increasing.
>> 
>> This is a more or less normal (I think) desktop installation of Sid,
>> running Xfce4. Typical applications used are Firefox (currently with
>> just one extension: uBlock Origin), LibreOffice Writer, Sylpheed, Xfce4
>> Terminal, and Liferea, all from the official repos.
>  
> I have noticed similar behavior here,  and the culprit seems to be firefox.  
> If I ignore it things get sluggish, and then the machine starts to thrash,  
> until the only recourse is the power switch.  If I notice it in time,  close 
> firefox and restart it,  the memory used after I do that is significantly 
> less than it was before.
>
> Somewhere in their help or documentation they even say that you shouldn't 
> leave it running for extended periods of time.
>
> I wish they'd fix it!
>
>

I don't think they're headed in the direction of a fix.

https://support.mozilla.org/en-US/kb/firefox-uses-too-much-memory-or-cpu-resources

 Firefox may use more system resources if it's left open for long periods
 of time. A workaround for this is to periodically restart Firefox. You
 can configure Firefox to save your tabs and windows so that when you
 start it again, you can start where you left off. 






Stupid question

2022-02-12 Thread Hans
Dear list, 

I am thinking of a solution of a problem. But I have an understanding problem, 
maybe you can give some background knowledge.

The problem: I have one harddrive, there are two linuces installed.

The partitions are as followed:

kali-linux: 1st primary -> /boot
 2nd > /


debian3rd primary -> /boot
   4th logical > /
 > swap
> /home (encrypted)
> /usr (encrypted)
> /var (encrypted)


This is the structure, and as said before, only ONE drive.

Now my question: Is it possible to configure grub that way, that I can choose 
either kali or debian to boot?

What I might to know, please correct me:
Both are running different kernels. As far as I understood grub, I can set the 
root partition ( / ) with the UUID. This is an entry in grub.cfg and maybe in 
/etc/default/grub. 

But how can I tell grub, to use the kernel of the second /boot? 

I dunno, if it is possible at all, to get a dual boot, the way I want it. With 
a combination of Windows + Linux on one harddrive this is working, however, 
just because grub does not touch the windows bootloader (as fas as I know), 
and what of course is also working, if you got two harddrives, each with 
different linux. They all can be booted from one grub installation, of course.

Maybe I could find a solution, if I would have fully understood how grub is 
working, and what it is doing.

Any hints are welcome, and if this does never work at all, please drop me a 
line.

Best regards

Hans








Re: Memory leak

2022-02-12 Thread tomas
On Fri, Feb 11, 2022 at 06:22:48PM +, piorunz wrote:
> On 11/02/2022 17:58, Charlie Gibbs wrote:
> 
> > It seems to be the fashion nowadays to leave one's web browser up 24/7,
> > with dozens of tabs open.  Personally I can't understand this - I seldom
> > have more than two or three tabs open at once, and most of the time I
> > have only one open, which is why I treasure the option to not display
> > a tab bar when only one tab is open.
> 
> That would be very very ineffective for me. I work with dozens of things
> all over internet everyday. Opening these pages every day again and
> again would take time to find the bookmarks, click each of them or load
> entire tree, wait for entire tree of bookmarks to load.. Why? I just
> keep tabs open. Most used tabs which I check every few hours I keep
> pinned, they change from tab into an icon only.

FWIW, my usage profile is more like Charlie's. I go even further: I tend
to have different browser profiles for different tasks: my main browser
profile (that one for "looking around" in the Internets) has even Javascript
disabled. Some pages turn up unviewable, but then, that's a feature for
me: I deeply mistrust that model where I have an application in my computer
set up to execute random bits of code sucked up from somewhere in the 'net.

For tasks-specific things (mostly job related), I do set up separate
profiles.

Perhaps a bit less convenient, but not too bad.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Memory leak

2022-02-12 Thread piorunz

On 11/02/2022 22:16, Roy J. Tellason, Sr. wrote:

Somewhere in their help or documentation they even say that you shouldn't leave 
it running for extended periods of time.


Never heard such a thing. Do you have source?

--
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄