Re: Proprietary WiFi drivers for live mode

2022-06-25 Thread tomas
On Sun, Jun 26, 2022 at 02:24:48AM +0100, piorunz wrote:
> On 25/06/2022 22:41, Charles Curley wrote:
> 
> > There are also USB WiFi adapters, but I cannot recommend any.
> I actually use many of them and they are just fine. Many models are 100%
> compatible with Linux and work out of the box without installing extra
> drivers.

Actually, last time I tried one of those (whatever my local store had
around) it was /easier/ to get it up and running under Linux than under
That OS That Cannot Be Named (TM).

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Proprietary WiFi drivers for live mode

2022-06-25 Thread tomas
On Sat, Jun 25, 2022 at 10:34:59PM +0100, piorunz wrote:
> On 25/06/2022 22:13, Bijan Soleymani wrote:
> > On 6/25/2022 5:05 PM, piorunz wrote:
> > > On 25/06/2022 22:01, Bijan Soleymani wrote:
> > > 
> > > > Unfortunately in this case that might not work.
> > > > 
> > > > The file that is needed is wl.ko
> > > 
> > > That's what dmesg says? Can you copy entire line here?
> > 
> > I think the dmesg output is of the form
> > 
> > [time] wl: ...
> > 
> > I guess between that wl kernel module and the output of lspci you could
> > find the package through apt-file and apt-cache.
> > 
> > Bijan
> > 
> Usually it says something like this:
> 
>  9.826410] rtl8821ae :05:00.0: Direct firmware load for
> rtlwifi/rtl8821aefw_29.bin failed with error -2
> [ 9.826420] rtl8821ae :05:00.0: firmware: failed to load
> rtlwifi/rtl8821aefw.bin (-2)

Ah, but that's when you already have the driver (rtl8821ae), and
this driver looks for the firmware to push to the network card
(that would be .bin). The driver is complaining in dmesg that
it can't find the firmware.

If I understand the original case, wl, the whole kernel driver
is missing and can only be compiled at the user's site for
license reasons. That's where DKMS comes in.

There's no driver which can complain in dmesg.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Proprietary WiFi drivers for live mode

2022-06-25 Thread Kamil Jońca
piorunz  writes:

> On 25/06/2022 22:41, Charles Curley wrote:
>
>> There are also USB WiFi adapters, but I cannot recommend any.
> I actually use many of them and they are just fine. Many models are 100%
> compatible with Linux and work out of the box without installing extra
> drivers.

Would you be so kind and give us some links?

KJ

-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html



Re: Proprietary WiFi drivers for live mode

2022-06-25 Thread David Wright
On Sat 25 Jun 2022 at 19:12:30 (+0300), Kristijonas Lukas Bukauskas wrote:
> On 2022-06-25 18:48, Bijan Soleymani wrote:
> > On 6/25/2022 11:11 AM, Kristijonas Lukas Bukauskas wrote:
> >> How do I get Wifi working right in live mode? I would prefer Debian, but
> >> any Linux ready-to-use image would work for me.
> > 
> > You can install packages on the live CD. (sudo apt update, sudo apt
> > install, etc.)
> > 
> > Whatever actions are required to get it to work on a full install you
> > can do on the live CD (assuming you have enough RAM to hold stuff on
> > ramdisk I guess).
> > 
> > As long as you don't need to reboot (which you shouldn't to load a
> > kernel module) you should be fine.
> > 
> WiFi will be the only networking option. The installation guide [1]:
> 
> > apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') 
> > linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
> > modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
> > modprobe wl
> 
> Would these packages be in 11.3.0-live+nonfree image?

I don't know where you obtained your live image, but the Debian
website typically carries:

$ ls -Glg live/11.3.0/i386-with/
total 1877468
-rw-r- 1   5584 Mar 26 12:47 SHA512SUMS
-rw-r- 1833 Mar 26 16:23 SHA512SUMS.sign  

-rw-r- 1  84346 Mar 26 12:10 
debian-live-11.3.0-i386-standard+nonfree.contents
-rw-r- 1 1921843200 Mar 26 12:10 
debian-live-11.3.0-i386-standard+nonfree.iso
-rw-r- 1 546324 Mar 26 12:10 
debian-live-11.3.0-i386-standard+nonfree.log
-rw-r- 1  30624 Mar 26 12:10 
debian-live-11.3.0-i386-standard+nonfree.packages
$ 

> I would really prefer building an image to the USB stick so that I could
> use Wi-fi right after booting the system without a need to install
> packages every single time (The laptop is used by someone else who isn't
> that programming/configuring things/terminal-commands friendly).

Like David Christensen, I'd install Debian on a USB stick (I use
netinst with firmware) on your regular computer, and then boot it
there, and install all the software that you want on your system.
If you don't actually install the wifi packages (and any firmware)
that you will need, at least make sure they're downloaded onto the
stick. When you boot it on the old laptop, you can install them then.

I've only performed this with a 16GB laptop, so I didn't put a swap
partition on the USB stick, saving wear and tear. I don't know how
much memory your old laptop has. In any case, as David points out,
use a very good stick.

There may be extra factors to consider if your regular computer and
the old laptop differ in how they boot (ie BIOS vs UEFI). My habit
has been to partition with GPT, and start with a BIOS Boot partition
followed by the ESP, ie like:

Number  Start (sector)End (sector)  Size   Code  Name
   120488191   3.0 MiB EF02  BIOS boot partition
   28192 1023999   496.0 MiB   EF00  EFI System
   … ……… …  … … ………  …  …

Cheers,
David.



Re: Sair da lista do Debian

2022-06-25 Thread Gilberto F da Silva
Jack Pogorelsky Jr. escreveu:
> 1) Responde de qualquer e-mail que talvez pela linha do assunto
> conclua a saída da lista.
    Essa opção funcionou.  Obrigado.
>
> 2) Habilita a conta para enviar, envia, depois desabilita de novo
>
> 3) Em último caso cria um filtro que envia as mensagens da lista
> direto para lixeira.
>
>
>
> Jack Pogorelsky Jr.
> Engenheiro Mecânico
> Tel/WhatsApp: +55 51 982017877
> E-mail: mecan...@sulmail.com
> Website: sulmail.com/mecanica
>
> Em 25/06/2022 11:30, Gilberto F da Silva escreveu:
>>  Entrei aqui
>>  https://lists.debian.org/debian-user-portuguese/ e
>>  coloquei o endereço registrado na lista. Recebi um email
>>  pedindo para responder com algo específico no campo
>>  assunto. Na verdade a resposta já é preenchida
>>  corretamente.
>>
>>  O problema é que a conta do email inscrito não é mais capaz de
>>  fazer envios.
>>



signature.asc
Description: OpenPGP digital signature


Re: Proprietary WiFi drivers for live mode

2022-06-25 Thread piorunz

On 25/06/2022 22:41, Charles Curley wrote:


There are also USB WiFi adapters, but I cannot recommend any.

I actually use many of them and they are just fine. Many models are 100%
compatible with Linux and work out of the box without installing extra
drivers.

--
With kindest regards, Piotr.

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



No filename tab completion in common "Save File As" window after upgrade from 10.12 to 11.3

2022-06-25 Thread Matt Roberds

Hello all!

tl;dr: I recently upgraded from Debian 10.12 to 11.3.  In 10.12, GUI
applications that used the "standard" save-file-as window, including
Firefox and Mousepad (from Xfce), allowed me to tab-complete the file
name I wanted to save as.  In 11.3, this seems to be broken.  Is there
some kind of GTK or Xfce setting that will make this work again?

Long version:
-

I have a desktop PC, amd64 (x86_64) that was running Debian 10.12.  A
few days ago, I upgraded it to Debian 11.3.  I use sysvinit, Xorg, and
Xfce - full list below under "Software stack".

What used to work:
--

Under 10.12, some GUI programs, notably Firefox, seemed to use a
"standard" save-file-as window.  I *think* it's GtkFileChooser but it
might be something else.

If I had a directory containing files named like

data-2022-01.txt
data-2022-02.txt
data-2022-03.txt

and I wanted to save a new file in that directory, I could click the
"save as" menu option in the program, click in the file name box, type
d a t , hit Tab, and the file name would fill in as far as it could -
in this example, it would fill in with "data-2022-0".  I could then
further edit the filename as I wished, hit the "save" button, and the
new file would be saved under that name.

What broke:
---

Under 11.3, tab-complete doesn't work anymore.  I can click the "save
as" menu option in the program, click in the file name box, and type
d a t .  When I do that, I get a drop-down list of possible file names
underneath the file name box.  However, as soon as I hit Tab, that
drop-down list closes, and nothing fills in in the file name box.

I expected that when I hit Tab, the file name box would fill in as far
as it could, like with "data-2022-0" in this example.

Where I see the break:
--

Firefox and mousepad (Xfce's simple text editor) show this behavior.
Other applications may show it as well, but I haven't checked
everything.

What isn't broken:
--

GIMP does *not* show this behavior.  Then again, it seems to be using
a different "save-as" window, or a more customized version, than Firefox
and mousepad do.

LibreOffice does *not* show this behavior.  Then again, it seems to use
its own unique "save-as" window.

Filename completion with the tab key on the command line, like in bash
in either an xterm or on the console, is still working OK.

What I tried to fix it:
---

Since more than one application has the same problem, I *think* it's
something at the desktop environment / X toolkit / X level, rather than
application specific.

I looked through the Xfce settings ("X-mouse" button > Settings >
several things) and changed a few things that seemed related, but with
no effect.

I ran gtk-query-settings and looked for any existing options that seemed
to be relevant, but I couldn't find any.

I ran a Web search and found some prior complaints about this problem,
but nearly all of them were relatively old (2011 and before).  Some of
the complaints mentioned changes in the way GtkFileChooser worked in
different versions or releases of GTK.

There were a few references to using either Ctrl-I or Ctrl-L to turn
tab completion on and off when typing a file name in that window.  I
tried both of them but they didn't seem to have any effect.

Software stack:
---

This is a partial list, obtained from dpkg.  If it would be helpful to
know the version of additional packages, please let me know.

linux-image-5.10.0-15-amd64  5.10.120-1
sysvinit-core2.96-7+deb11u1
xserver-xorg 1:7.7+22
xserver-xorg-core2:1.20.11-1+deb11u1
xfce44.16
libgtk2.0-0:amd642.24.33-2
libgtk-3-0:amd64 3.24.24-4+deb11u2
firefox-esr  91.10.0esr-1~deb11u1
mousepad 0.5.2-1

What I am looking for:
--

Hopefully, there is some kind of GTK or Xfce setting that will make this
work again.

If not, I would like to know the most appropriate package to file a bug
against.

Thanks!

Matt Roberds



Re: Sair da lista do Debian

2022-06-25 Thread Jack Pogorelsky Jr.
1) Responde de qualquer e-mail que talvez pela linha do assunto conclua 
a saída da lista.


2) Habilita a conta para enviar, envia, depois desabilita de novo

3) Em último caso cria um filtro que envia as mensagens da lista direto 
para lixeira.




Jack Pogorelsky Jr.
Engenheiro Mecânico
Tel/WhatsApp: +55 51 982017877
E-mail: mecan...@sulmail.com
Website: sulmail.com/mecanica

Em 25/06/2022 11:30, Gilberto F da Silva escreveu:

  Entrei aqui
  https://lists.debian.org/debian-user-portuguese/  e
  coloquei o endereço registrado na lista. Recebi um email
  pedindo para responder com algo específico no campo
  assunto. Na verdade a resposta já é preenchida
  corretamente.

  O problema é que a conta do email inscrito não é mais capaz de
  fazer envios.


Re: Proprietary WiFi drivers for live mode

2022-06-25 Thread Charles Curley
On Sat, 25 Jun 2022 22:05:26 +0100
piorunz  wrote:

> Sadly. Ok, so in that case try to narrow down what you exactly need,
> what packages. Once you made yourself a procedure, you can copy it
> each time. Download packages via apt download, put files on USB stick
> and install them via one line bash script (sudo dpkg -i filename.deb)
> on that laptop.

AAkkk! The OP might be better off with a USB Ethernet adapter. I use a
Plugable (that's the brand name) adapter in exactly the same situation.
Model: USB3-E1000.

There are also USB WiFi adapters, but I cannot recommend any.

-- 
Does anybody read signatures any more?

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



Re: Proprietary WiFi drivers for live mode

2022-06-25 Thread piorunz

On 25/06/2022 22:13, Bijan Soleymani wrote:

On 6/25/2022 5:05 PM, piorunz wrote:

On 25/06/2022 22:01, Bijan Soleymani wrote:


Unfortunately in this case that might not work.

The file that is needed is wl.ko


That's what dmesg says? Can you copy entire line here?


I think the dmesg output is of the form

[time] wl: ...

I guess between that wl kernel module and the output of lspci you could
find the package through apt-file and apt-cache.

Bijan


Usually it says something like this:

 9.826410] rtl8821ae :05:00.0: Direct firmware load for
rtlwifi/rtl8821aefw_29.bin failed with error -2
[ 9.826420] rtl8821ae :05:00.0: firmware: failed to load
rtlwifi/rtl8821aefw.bin (-2)

$ apt-file search rtl8821aefw.bin
firmware-realtek: /lib/firmware/rtlwifi/rtl8821aefw.bin

You just search for that file, download package, install that package on
offline machine. That's how I solve most of my WiFi problems.

--
With kindest regards, Piotr.

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



Re: Proprietary WiFi drivers for live mode

2022-06-25 Thread Bijan Soleymani

On 6/25/2022 5:05 PM, piorunz wrote:

On 25/06/2022 22:01, Bijan Soleymani wrote:


Unfortunately in this case that might not work.

The file that is needed is wl.ko


That's what dmesg says? Can you copy entire line here? 


I think the dmesg output is of the form

[time] wl: ...

I guess between that wl kernel module and the output of lspci you could 
find the package through apt-file and apt-cache.


Bijan


Re: Proprietary WiFi drivers for live mode

2022-06-25 Thread piorunz

On 25/06/2022 22:01, Bijan Soleymani wrote:


Unfortunately in this case that might not work.

The file that is needed is wl.ko


That's what dmesg says? Can you copy entire line here?

But it is compiled on install of the dkms package.

so:

apt-file search /wl.ko

Doesn't give anything.

You'd have to search for one of the source files:

apt-file search wl_linux.c

bijan@bijan-xps:~$ apt-file search wl_linux.c
bcmwl-kernel-source:
/usr/src/bcmwl-6.30.223.271+bdcom/src/wl/sys/wl_linux.c
broadcom-sta-dkms: /usr/src/broadcom-sta-6.30.223.271/src/wl/sys/wl_linux.c

Bijan


Sadly. Ok, so in that case try to narrow down what you exactly need,
what packages. Once you made yourself a procedure, you can copy it each
time. Download packages via apt download, put files on USB stick and
install them via one line bash script (sudo dpkg -i filename.deb) on
that laptop.

--
With kindest regards, Piotr.

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



Re: Proprietary WiFi drivers for live mode

2022-06-25 Thread Bijan Soleymani

On 6/25/2022 4:07 PM, piorunz wrote:

Don't walk in the dark. Instead, do the following:
sudo dmesg (in live mode without internet)

Error in red about network adapter will tell you exact name of the file
you need to download on machine with internet.

You do it as follows:
sudo apt update
sudo apt install apt-file
sudo apt-file update
apt-file search filename

where "filename" is exact filename missing from laptop without WiFi. 


Unfortunately in this case that might not work.

The file that is needed is wl.ko

But it is compiled on install of the dkms package.

so:

apt-file search /wl.ko

Doesn't give anything.

You'd have to search for one of the source files:

apt-file search wl_linux.c

bijan@bijan-xps:~$ apt-file search wl_linux.c
bcmwl-kernel-source: /usr/src/bcmwl-6.30.223.271+bdcom/src/wl/sys/wl_linux.c
broadcom-sta-dkms: /usr/src/broadcom-sta-6.30.223.271/src/wl/sys/wl_linux.c

Bijan




Re: Proprietary WiFi drivers for live mode

2022-06-25 Thread David Christensen

On 6/25/22 08:11, Kristijonas Lukas Bukauskas wrote:

Hello,

I have an old Dell laptop with Broadcom BCM43142 WiFi device
(https://wiki.debian.org/wl). It doesn't have a hard drive, so I
sometimes boot Debian from USB Memory Stick in live mode.
The problem is that WiFi doesn't work because of the proprietary drivers
it needs.

I tried booting it from live+nonfree image
(https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.3.0-live+nonfree/amd64/iso-hybrid/),
but still no luck (WiFi doesn't work). As I understand, the needed
drivers would load when installing the system, but they do not load in
live mode.

How do I get Wifi working right in live mode? I would prefer Debian, but
any Linux ready-to-use image would work for me.

Thanks for any help!



I use a desktop machine with a wired Ethernet connection to do an 
install of Debian on to a USB flash drive (SanDisk Ultra Fit USB 3.0 16 
GB).  Once installed, I boot the USB flash drive and install whatever 
else I want or need (such as Wi-Fi drivers).



David



Re: Proprietary WiFi drivers for live mode

2022-06-25 Thread piorunz

On 25/06/2022 17:12, Kristijonas Lukas Bukauskas wrote:

Would these packages be in 11.3.0-live+nonfree image?


Don't walk in the dark. Instead, do the following:
sudo dmesg (in live mode without internet)

Error in red about network adapter will tell you exact name of the file
you need to download on machine with internet.

You do it as follows:
sudo apt update
sudo apt install apt-file
sudo apt-file update
apt-file search filename

where "filename" is exact filename missing from laptop without WiFi.
Result of this command will tell you exact name of package which
contains this file. Download it:
apt download package-name

From now on, you can put it on USB stick, and each time you boot your
LiveCD, you install this package and internet starts working.

This works in majority of cases, sometimes activation of WiFi driver
requires reboot, so no luck, or firmware installer download separate
files from internet. But try it, it may work for you and saves you
installing random packages off debian repo without knowing which you you
actually need.

--
With kindest regards, Piotr.

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



Re: how configure /etc/debdelta/sources.conf

2022-06-25 Thread Joe
On Sat, 25 Jun 2022 18:23:17 + (UTC)
visqa...@yahoo.com wrote:

> i am fully confused. should i just copy etc/debdelta/sources.conf to
> ~/.debdelta/sources.conf. should i take extra steps? how should i
> configure for unstable/sid?
> 
Here's mine:

deb http://deb.debian.org/debian/ sid main non-free contrib
deb http://deb.debian.org/debian/ testing main non-free contrib

deb http://www.deb-multimedia.org unstable main non-free


It seems to be normal for a sid installation to also have a testing
entry. The sources.list for Stable and Testing should contain only their
own repositories.

The name sid can be used, or unstable, as they will always be
synonymous. If you do include the 'testing' entry, call it exactly that,
as the name of the current Testing will change at the time of the next
release. 

You may not want the multimedia repository, or either non-free or
contrib in the sid and testing entries. They are all optional for a sid
installation, only the 'deb /debian/ sid main' repository is
essential. 

You will need deb-src entries, which are otherwise the same as the deb
entries, if you expect to need source code packages. Non-free source
code may not always be available.

-- 
Joe



Re: Suggestions for rm [WAS: Re: Feature request: install package by passing URL to apt-get]

2022-06-25 Thread Joel Roth
On Sat, Jun 25, 2022 at 09:45:58AM -0400, Greg Wooledge wrote:
> On Fri, Jun 24, 2022 at 07:42:25PM -1000, Joel Roth wrote:
> > I list the files first:
> > 
> > ls some-pattern
> > 
> > then add a pipe to rm:
> > 
> > ls some-pattern | rm 
> > 
> > or
> > 
> > ls some-pattern | rm -rf
> 
> Those commands do not work.  rm does not read a list of files from stdin.
> 
> Even if you were to add xargs, those commands still would not work in
> all cases.  They would only work in the simplest cases, where none of
> the filenames contain whitespace, single-quote characters, or double-quote
> characters.
> 
> That's because xargs does not split its input on newlines.  It splits
> its input on "quoted words".  Like this:
> 
> unicorn:~$ echo 'a list of "quoted words"' | xargs printf '<%s>\n'
> 
> 
> 
> 
> 
> Any unbalanced single or double quote will cause an error:
> 
> unicorn:~$ echo "I don't know.mp3" | xargs printf '<%s>\n'
> xargs: unmatched single quote; by default quotes are special to xargs unless 
> you use the -0 option
> 
> 
> And even if xargs *did* have some option to split its input only on
> newlines, a filename that *contains* a newline would still break it.
> 
> Finally, ls does not always reproduce filenames exactly.  There are
> some systems (I'm not sure about all versions of Debian, but definitely
> some Unix systems) where certain characters will be printed as
> question marks by ls.  That means any file containing one of those
> characters would make the ls|xargs rm construct fail.
> 
> If you want to use ls as a preview for what will be removed, that's
> perfectly fine.  You just can't use "up arrow | xargs rm" as your
> follow-up command.  Instead, use "up arrow" and then use command editing
> to replace the ls with rm.

I was actually using 'xargs rm' in an alias. Thanks for
pointing out the limitations. 

-- 
Joel Roth



Re: Proprietary WiFi drivers for live mode

2022-06-25 Thread Bijan Soleymani

On 6/25/2022 2:40 PM, Bijan Soleymani wrote:


And after that I see:

/lib/modules/5.15.0-25-generic/updates/dkms/wk.ko 


That should be wl.ko

Also once you boot the live cd you can choose:

try ubuntu

then at the ubuntu desktop instead of the sudo apt install 
bcmwl-kernel-source


you can choose additional drivers (from the list of programs in activities)

Bijan





how configure /etc/debdelta/sources.conf

2022-06-25 Thread visqajin
i am fully confused. should i just copy etc/debdelta/sources.conf to 
~/.debdelta/sources.conf. should i take extra steps? how should i configure for 
unstable/sid?

regards,
visqa



Re: Proprietary WiFi drivers for live mode

2022-06-25 Thread Bijan Soleymani

On 6/25/2022 12:12 PM, Kristijonas Lukas Bukauskas wrote:
apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') 
linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms

modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
modprobe wl

Would these packages be in 11.3.0-live+nonfree image?
I just tried in virtualbox. It looks like broadcmon-sta-dkms wasn't 
available (didn't check all the other packages).

I would really prefer building an image to the USB stick so that I could
use Wi-fi right after booting the system without a need to install
packages every single time (The laptop is used by someone else who isn't
that programming/configuring things/terminal-commands friendly).


If you can find the instructions to make a live CD, you should be able 
to add that module or any necessary utilities.


Although it looks like it is on the ubuntu 22.04 install/live CD as package:

sudo apt install bcmwl-kernel-source

(I just booted ubuntu dekstop 22.04 live install/DVD in virtualbox with 
no networking and installed that package)


And after that I see:

/lib/modules/5.15.0-25-generic/updates/dkms/wk.ko

Bijan



Re: Proprietary WiFi drivers for live mode

2022-06-25 Thread Kristijonas Lukas Bukauskas
Hi Bijan,

thanks for your message.

On 2022-06-25 18:48, Bijan Soleymani wrote:
> On 6/25/2022 11:11 AM, Kristijonas Lukas Bukauskas wrote:
>> How do I get Wifi working right in live mode? I would prefer Debian, but
>> any Linux ready-to-use image would work for me.
>>
>> Thanks for any help!
> 
> You can install packages on the live CD. (sudo apt update, sudo apt
> install, etc.)
> 
> Whatever actions are required to get it to work on a full install you
> can do on the live CD (assuming you have enough RAM to hold stuff on
> ramdisk I guess).
> 
> As long as you don't need to reboot (which you shouldn't to load a
> kernel module) you should be fine.
> 
> Bijan


WiFi will be the only networking option. The installation guide [1]:

> apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') 
> linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
> modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
> modprobe wl

Would these packages be in 11.3.0-live+nonfree image?

I would really prefer building an image to the USB stick so that I could
use Wi-fi right after booting the system without a need to install
packages every single time (The laptop is used by someone else who isn't
that programming/configuring things/terminal-commands friendly).


[1] https://wiki.debian.org/wl#Installation
-- 
Kristijonas




signature.asc
Description: OpenPGP digital signature


Re: Grub Problem

2022-06-25 Thread Anssi Saari
"Stephen P. Molnar"  writes:

> Assistanc will be mucn appeciated.

You didn't really specify what you want assistance with but I guess you
want to boot the new Bullseye too? I don't really see the point of
having two copies of the same OS installed though.

Assuming a BIOS system and os-prober package installed, it could be as
simple as running update-grub in your old Bullseye. Which would create a
new grub config file with entries for the old and the new Bullseyes.



Re: Proprietary WiFi drivers for live mode

2022-06-25 Thread Bijan Soleymani

 6/25/2022 11:48 AM, Bijan Soleymani wrote:
You can install packages on the live CD. (sudo apt update, sudo apt 
install, etc.)


Obviously if that wifi adapter is your only networking option on that 
machine, you won't be able to download packages


and will have to make sure they are on the bootable drive or some other 
drive.


Bijan




Re: Proprietary WiFi drivers for live mode

2022-06-25 Thread Bijan Soleymani

On 6/25/2022 11:11 AM, Kristijonas Lukas Bukauskas wrote:

How do I get Wifi working right in live mode? I would prefer Debian, but
any Linux ready-to-use image would work for me.

Thanks for any help!


You can install packages on the live CD. (sudo apt update, sudo apt 
install, etc.)


Whatever actions are required to get it to work on a full install you 
can do on the live CD (assuming you have enough RAM to hold stuff on 
ramdisk I guess).


As long as you don't need to reboot (which you shouldn't to load a 
kernel module) you should be fine.


Bijan



Proprietary WiFi drivers for live mode

2022-06-25 Thread Kristijonas Lukas Bukauskas
Hello,

I have an old Dell laptop with Broadcom BCM43142 WiFi device
(https://wiki.debian.org/wl). It doesn't have a hard drive, so I
sometimes boot Debian from USB Memory Stick in live mode.
The problem is that WiFi doesn't work because of the proprietary drivers
it needs.

I tried booting it from live+nonfree image
(https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.3.0-live+nonfree/amd64/iso-hybrid/),
but still no luck (WiFi doesn't work). As I understand, the needed
drivers would load when installing the system, but they do not load in
live mode.

How do I get Wifi working right in live mode? I would prefer Debian, but
any Linux ready-to-use image would work for me.

Thanks for any help!

-- 
Kristijonas



Re: Grub Problem

2022-06-25 Thread David Wright
On Sat 25 Jun 2022 at 09:37:32 (-0400), Stephen P. Molnar wrote:
> 
> I have four hard drives ion my Bullseye platform; Three SSD's and one
> HDD. My current copy of Bullseye is on /dev/sdd1. I have installed a
> pristine copy of Bullsye on /dev/sda.
> 
> The installer found the copy of Bullseye on /dev/ssd1 and I installed
> grub on /dev/sda1. At the end of the installation process I removed
> the installationm media from the cdrom drive, rebooted the computer
> and selected /dev/sda1. I got an error message that /dev/sda couldn't
> be found. The good news is that if I hit the reset button on the
> platform the old grub menu comes up and the system boots into the
> version
> on sdd1.
> 
> Now, this ROF (retired old fool, althought other terms might be
> aplicable) from the long gone days of punched cards and tape drives
> has been using computers sine the early 1960's, google was not my
> frient in trying to find a solution to the problem.
> 
> Assistanc will be mucn appeciated.
> 
> Thanks in advance.

It looks as if you asked a question very like this in February, to
which there were two followups, but nothing back from you about how
you're booting this machine, UEFI or legacy BIOS, and how the disks
are partitioned, MBR or GPT. This may make people reluctant to help,
as they may feel they are wasting their breath.

My only advice at this time would be to find a better method to
identify your disk partitions than their kernel names, /dev/sd[abcd]:
so LABELs, PARTLABELs or UUIDs.

Cheers,
David.



Re: Grub Problem

2022-06-25 Thread piorunz

On 25/06/2022 14:37, Stephen P. Molnar wrote:

The installer found the copy of Bullseye on /dev/ssd1 and I installed
grub on /dev/sda1.


You supposed to install GRUB in a disk, not in a partition. So,
/dev/sda, not /dev/sda1. You select /dev/sda during installation.


At the end of the installation process I removed the
installationm media from the cdrom drive, rebooted the computer and
selected /dev/sda1.


I am not surprised here, if you really installed GRUB in a partition.
Computer is trying to boot from /dev/sda, and GRUB is not there, its
somewhere further down in the disk on sda1 partition. I don't think BIOS
is looking for it there.

I got an error message that /dev/sda couldn't be

found. The good news is that if I hit the reset button on the platform
the old grub menu comes up and the system boots into the version
on sdd1.


You can change boot priority by pressing button (usually F9), or
entering BIOS and selecting drive you want to boot from.

But in current state, most likely you will not be able to boot to new
Bullseye on /dev/sda, because GRUB is not correctly installed.

--
With kindest regards, Piotr.

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



Sair da lista do Debian

2022-06-25 Thread Gilberto F da Silva
 Entrei aqui
 https://lists.debian.org/debian-user-portuguese/ e
 coloquei o endereço registrado na lista. Recebi um email
 pedindo para responder com algo específico no campo
 assunto. Na verdade a resposta já é preenchida
 corretamente.

 O problema é que a conta do email inscrito não é mais capaz de
 fazer envios.

-- 

Stela dato:2.459.756,098  Loka tempo:2022-06-25 11:21:03 SabatoMageia 8
-==-
Sendu _nur_ simplan tekston (PLAIN TEXT/US-ASCII) kaj ne HTML-on aŭ  
riĉan tekston. Neniam kunsendu dosierojn (attachments) sen antaŭa  
interkonsento  kun la ricevonto. Anstataŭe, metu la dosieron en  
atingeblan retejon kaj sendu mesaĝon en kiu vi donas la adreson kaj  
mallonge klarigas pri kio temas.
   --Retiketo
On Sat, Jun 25, 2022 at 07:38:28AM -0300, Paulo wrote:
>Gilberto e Pessoal da Lista,
>
>Antigamente o unsubscribe vinha no rodapé, isso ajudava quem se esqueceu que
>auto inscreveu na lista.
>
>Mas ter no header do e-mail também ajuda, o problema é se todos os leitores de
>e-mail suportam isso, rss.
>
>Acredito que o ideal seria vir em ambos, é possível voltar a vir no rodapé do
>e-mail?
>
>Gilberto, para se remover siga os passos após a minha assinatura.
>
>Att,
>
>Paulo Correia
>
>
>Em 15/05/2022 23:50, Rogerio R. Silva escreveu:
>Nada como alguém que realmente entende das coisas!
>
>Abraços Pablo
>
>Rogério
>
>
>Em dom, 15 de mai de 2022 8:32 PM, Pablo Lorenzzoni 
>escreveu:
>Olah,
>
>As listas do Debian seguem o padrao. Elas adicionam um email como maneira de se
>desinscrever no cabecalho junto com uma serie de informacoes sobre a lista em
>si. Por exemplo, seu email:
>
>List-Id: 
>List-URL: 
>List-Post: 
>List-Help: help>
>List-Subscribe: =subscribe>
>List-Unsubscribe: subject=unsubscribe>
>Precedence: list
>Resent-Sender: debian-user-portuguese-requ...@lists.debian.org
>List-Archive: https://lists.debian.org/msgid-search/YoAioZ7Ze3FSQLaS@localhost
>Resent-Date: Sat, 14 May 2022 21:44:29 + (UTC)
>
>Com todos esses cabecalhos, eh soh filtrar as mensagens e em ultimo caso mandar
>direto para a lixeira, trash, /dev/null ou qqer outro lugar oferecido pelo seu
>sistema.
>Em 14/06/2022 23:52, Gilberto F da Silva escreveu:
>
>unsubscribe
>
>
>


signature.asc
Description: PGP signature


Re: Grub Problem

2022-06-25 Thread DdB
before any action ... comes diagnosis:
please fill in missing pieces:
- SDD's, HDD are formatted GPT? or is the dinosaur using MBR?
- is your computer configured to boot UEFI-style? Or are you still using
BIOS-style/compatibility-mode?
- can you show (and comment) the output from lsblk and (sudo) blkid?
- did you look at all the grub.cfg files (in different systems)?
Anything particular?
- Are you able to use grub command line in case you would need it?

My first guess would be, that sticking to /dev/sd?? device names
confused yourself, the OS and maybe even grub. i recommend (mid-term) to
switch to some other ID, like PARTUUID, or such in order to prevent
confusion.

But first things first: I did not really understand the problem, you are
running into, which certainly has an easy fix, once it reveals itself fully.

DdB



Re: Suggestions for rm [WAS: Re: Feature request: install package by passing URL to apt-get]

2022-06-25 Thread Greg Wooledge
On Fri, Jun 24, 2022 at 07:42:25PM -1000, Joel Roth wrote:
> I list the files first:
> 
> ls some-pattern
> 
> then add a pipe to rm:
> 
> ls some-pattern | rm 
> 
> or
> 
> ls some-pattern | rm -rf

Those commands do not work.  rm does not read a list of files from stdin.

Even if you were to add xargs, those commands still would not work in
all cases.  They would only work in the simplest cases, where none of
the filenames contain whitespace, single-quote characters, or double-quote
characters.

That's because xargs does not split its input on newlines.  It splits
its input on "quoted words".  Like this:

unicorn:~$ echo 'a list of "quoted words"' | xargs printf '<%s>\n'





Any unbalanced single or double quote will cause an error:

unicorn:~$ echo "I don't know.mp3" | xargs printf '<%s>\n'
xargs: unmatched single quote; by default quotes are special to xargs unless 
you use the -0 option


And even if xargs *did* have some option to split its input only on
newlines, a filename that *contains* a newline would still break it.

Finally, ls does not always reproduce filenames exactly.  There are
some systems (I'm not sure about all versions of Debian, but definitely
some Unix systems) where certain characters will be printed as
question marks by ls.  That means any file containing one of those
characters would make the ls|xargs rm construct fail.

If you want to use ls as a preview for what will be removed, that's
perfectly fine.  You just can't use "up arrow | xargs rm" as your
follow-up command.  Instead, use "up arrow" and then use command editing
to replace the ls with rm.



Grub Problem

2022-06-25 Thread Stephen P. Molnar



I have four hard drives ion my Bullseye platform; Three SSD's and one 
HDD. My current copy of Bullseye is on /dev/sdd1. I have installed a 
pristine copy of Bullsye on /dev/sda.


The installer found the copy of Bullseye on /dev/ssd1 and I installed 
grub on /dev/sda1. At the end of the installation process I removed the 
installationm media from the cdrom drive, rebooted the computer and 
selected /dev/sda1. I got an error message that /dev/sda couldn't be 
found. The good news is that if I hit the reset button on the platform 
the old grub menu comes up and the system boots into the version

on sdd1.

Now, this ROF (retired old fool, althought other terms might be 
aplicable) from the long gone days of punched cards and tape drives has 
been using computers sine the early 1960's, google was not my frient in 
trying to find a solution to the problem.


Assistanc will be mucn appeciated.

Thanks in advance.

-- Stephen P. Molnar, Ph.D. Molecular Modeling 614.312.7528 (c) Skype: 
smolnar1




Re: Nouveau GeForce 7025

2022-06-25 Thread Paulo

  
Gilberto e Pessoal da Lista,

Antigamente o unsubscribe vinha no rodapé, isso ajudava quem se
  esqueceu que auto inscreveu na lista.
Mas ter no header do e-mail também ajuda, o problema é se todos
  os leitores de e-mail suportam isso, rss.
Acredito que o ideal seria vir em ambos, é possível voltar a vir
  no rodapé do e-mail?
Gilberto, para se remover siga os passos após a minha assinatura.

Att,
Paulo Correia



Em 15/05/2022 23:50, Rogerio R. Silva
  escreveu:

Nada como alguém que realmente entende das coisas!


Abraços Pablo


Rogério


Em dom, 15 de mai de 2022 8:32 PM,
  Pablo Lorenzzoni 
  escreveu:

Olah,

As listas do Debian seguem o padrao. Elas adicionam um email como
maneira de se desinscrever no cabecalho junto com uma serie de
informacoes sobre a lista em si. Por exemplo, seu email:

List-Id: 
List-URL: 
List-Post: debian-user-portuguese@lists.debian.org>
List-Help: debian-user-portuguese-requ...@lists.debian.org?subject=help>
List-Subscribe: debian-user-portuguese-requ...@lists.debian.org?subject=subscribe>
List-Unsubscribe: debian-user-portuguese-requ...@lists.debian.org?subject=unsubscribe>
Precedence: list
Resent-Sender: debian-user-portuguese-requ...@lists.debian.org
List-Archive: https://lists.debian.org/msgid-search/YoAioZ7Ze3FSQLaS@localhost
  Resent-Date: Sat, 14 May 2022 21:44:29 + (UTC)

Com todos esses cabecalhos, eh soh filtrar as mensagens e em ultimo
caso mandar direto para a lixeira, trash, /dev/null ou qqer outro
lugar oferecido pelo seu sistema.
Em 14/06/2022 23:52, Gilberto F da
  Silva escreveu:


  unsubscribe




  




Re: Retirada do email

2022-06-25 Thread Paulo

  
Pablo e Pessoal da Lista,
Antigamente o unsubscribe vinha no rodapé, isso ajudava quem se
  esqueceu que auto inscreveu na lista.
Mas ter no header do e-mail também ajuda, o problema é se todos
  os leitores de e-mail suportam isso, rss.
Acredito que o ideal seria vir em ambos, é possível voltar a vir
  no rodapé do e-mail?


Att,
Paulo Correia



Em 15/05/2022 23:50, Rogerio R. Silva
  escreveu:


  
  
Nada como alguém que realmente entende das coisas!
  
  
  Abraços Pablo
  
  
  Rogério
  
  
  
Em dom, 15 de mai de 2022
  8:32 PM, Pablo Lorenzzoni 
  escreveu:

Olah,
  
  As listas do Debian seguem o padrao. Elas adicionam um
  email como maneira de se desinscrever no cabecalho junto
  com uma serie de informacoes sobre a lista em si. Por
  exemplo, seu email:
  
  List-Id: 
  List-URL: 
  List-Post: debian-user-portuguese@lists.debian.org>
  List-Help: debian-user-portuguese-requ...@lists.debian.org?subject=help>
  List-Subscribe: debian-user-portuguese-requ...@lists.debian.org?subject=subscribe>
  List-Unsubscribe: debian-user-portuguese-requ...@lists.debian.org?subject=unsubscribe>
  Precedence: list
  Resent-Sender: debian-user-portuguese-requ...@lists.debian.org
  List-Archive: https://lists.debian.org/msgid-search/YoAioZ7Ze3FSQLaS@localhost
Resent-Date: Sat, 14 May 2022 21:44:29 + (UTC)
  
  Com todos esses cabecalhos, eh soh filtrar as mensagens e
  em ultimo caso mandar direto para a lixeira, trash,
  /dev/null ou qqer outro lugar oferecido pelo seu sistema.
  
  Qualquer leitor de email decente consegue lhe oferecer uma
  opcao para se desinscrever com um clique baseado nessas
  informacoes. Screenshot do meu webmail como ilustracao (e
  meu webmail eh um lixo):
  
  https://ibb.co/2kF1D3b
  
  Sinceramente, nao sei o que mais o Debian poderia fazer...
  
  
  []s
  
  Pablo
  
  
  
   On Sun, 15 May 2022 07:44:01 +1000 Gilberto F da
  Silva <2458...@gmail.com>
  wrote 
  
   > As listas do Debian são uma porcaria.  Não colocam o
  nome da lista 
   >  no subject, não colocam a url de como se
  descadastrar e por 
   >  default as mensagens são respondidas ao remetente
  ao invés de serem 
   >  respondidas para lista. 
   >  
   > -- 
   >  
   > Stela dato:2.459.714,402  Loka tempo:2022-05-14
  18:39:33 Sabato    Mageia 8 
   > -==- 
   > La celo de citado estas provizi sufiĉe da kunteksto
  por komprenigi 
   > vian respondon: do forigu el la citajxo ĉion
  neutilan kaj lasu nur la 
   > frazojn al  kiuj vi volas reagi. Aperu unue la
  citajxo kaj poste la 
   > responda frazo. Forigu  el la citajxo ankaŭ la
  eventualajn 
   > subskribojn kaj la aŭtomate aldonitajn  varbajxojn.
  
   >  --Retiketo 
   > On Sat, May 14, 2022 at 07:55:10AM -0400, Nauan
  Ramos wrote: 
   > >Por favor peço ao ADM que retire meu email da
  lista, obrigado 
   > 
  

  

  

  




Re: Has anybody replaced pulseaudio with pipewire on Debian 11...

2022-06-25 Thread Dan Ritter
Ottavio Caruso wrote: 
> I have to constantly "reinstall -- purge" the whole bluethooth/pulseaudio
> stack to make it work and I have tried all other tricks in the book.
> 
> It looks like completely replacing pa with pipewire makes sense on Ubuntu. I
> wonder if anybody has anecdotal experience of nuking pulseaudio and
> installing pipewire on Debian Stable and if that makes things better with
> regards to bluetooth audio.

I did this on my desktop. However, I don't have any bluetooth audio devices,
so I can't comment on that.

The process was not difficult, and it did solve all of the pulseaudio
bugs that used to irritate me.

-dsr-



Re: Need advice on known work with linux graphics card.

2022-06-25 Thread piorunz

On 24/06/2022 21:47, The Wanderer wrote:


I wouldn't go *quite* that far; my understanding is that, especially if
AMD has recently released a new Radeon model series, the *very* newest
may not have its drivers available yet - or they may at least not be in
the repositories.


I agree, no need to grab absolutely newest-pre-order product. Just buy
2021 or early 2022 released GPU for example, and you will be fine.


For myself, I generally stick with the "best bang for the buck" Radeon
GPU from whichever generation is the next-to-latest at the time of
purchase. In my case, I'm currently running a Radeon RX 5700 XT, which
fit that criterion when I went to build this machine, and once I worked
out what group membership I needed to have in order to access the
correct device nodes I've had no trouble with it.


Had that one too (5700XT). Both mine and your models are very solid and
everything just works. I am sure thread author will be happy in Radeon camp.

--
With kindest regards, Piotr.

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



Re: és vscode programari molest?

2022-06-25 Thread Narcis Garcia




Narcis Garcia

El 24/6/22 a les 18:54, Alex Muntada ha escrit:

Hola, Àlex:


Fa uns mesos vaig haver d'instal.lar un programa de Microsoft a
la meva Debian estable. Microsoft Teams concretament, per poder
assistir a una videoconferència.


Darrerament, si necessito el Zoom o el Teams, els utilitzo
directament amb el Chromium, tal com apuntava en Marc. No
m'agrada instal·lar paquets deb. Havia provat el Zoom amb snap
i no em funcionava bé. El Teams em consta que està disponible per
a snap i flatpak. No l'he necessitat prou sovint com per haver-lo
de tenir sempre instal·lat, així que no et puc dir com va.


Si el treia de programes que s'iniciaven automàticament en
iniciar sessió, es tornava a posar ell solet i tornava a
mostrar el pantallazo.

El vaig desinstal·lar, i encara apareixia a la llista de
programes s'iniciaven automàticament en iniciar sessió.


Això m'ho he trobat amb diversos paquets instal·lats via deb des
de fonts no oficials: afegeixen una entrada al sources.list.d o
toquen directament el sources.list, de forma que s'actualitzen
amb la resta del sistema. Però la diferència és que els scripts
d'instal·lació remenen coses que no haurien de remenar, com ara
tornar a afegir l'entrada del sources.list.d si l'has eliminat,
etc. Bàsicament, tenen una configuració per a tothom igual i la
forcen, t'agradi o no, encara que sigui perquè no en saben més o
per fer-ho més fàcil per als usuaris inexperts.


Fer el programari enganxós és una estratègia d'èxit comercial.
Les corporacions de programari privatiu i serveis privatius lluiten pel 
llindar en què l'usuari decideix o no sobre el comportament del «seu» 
dispositiu.



Per aquest motiu, sovint analitzo els scripts postinst dels
paquets de tercers i els descarto si no m'ha agrada el que veig.
Per algunes coses utilitzo snap (e.g. node, chromium) perquè em
permet tenir versions molt recents sense embrutar el sistema,
però per d'altres no m'ha acabat de funcionar bé tampoc.


Ara sembla que hauré d'instal.lar VSCode, que també està
programat per Microsoft, i us volia preguntar si també és un
programa molest i fa coses rares al sistema o es comporta amb
normalitat?


Em pregunto si amb un contenidor LXC seria prou senzill engabiar aquesta 
mena d'aplicatiu, i alhora que hi hagi ple accés de pantalla, teclat i 
ratolí.



Jo l'he tingut instal·lat amb snap i no recordo que fes res del
que comentes, però fa temps que no el tinc. Alguns companys de
feina també recomanen el vscodium (disponible a snap), però no
l'he arribat a provar mai.

Salut,
Alex

--
   ⢀⣴⠾⠻⢶⣦⠀
   ⣾⠁⢠⠒⠀⣿⡁   Alex Muntada 
   ⢿⡄⠘⠷⠚⠋   Debian Developer  log.alexm.org
   ⠈⠳⣄