Re: Can't print: /var/spool/lpd

2020-12-11 Thread riveravaldez
On 12/11/20, riveravaldez  wrote:
> (...)
> I was able to install these drivers some time ago, but now they didn't
> seem to work.
> (...)
> The packages get installed but didn't seem to send the data to the
> printer at printing time.
> Any idea how to diagnose this?
>
> The only error I'd saw until now is when I install the lpr package:
>
> $ sudo apt-get install ./hl3150cdnlpr-1.1.2-1.i386.deb
> (...)
> mkdir: no se puede crear el directorio «/var/spool/lpd/hl3150cdn»: No
> existe el fichero o el directorio
> chown: no se puede acceder a '/var/spool/lpd/hl3150cdn': No existe el
> fichero o el directorio
> chgrp: no se puede acceder a '/var/spool/lpd/hl3150cdn': No existe el
> fichero o el directorio
> chmod: no se puede acceder a '/var/spool/lpd/hl3150cdn': No existe el
> fichero o el directorio

Sorry, I should've translated the error messages:

mkdir: can't create folder «...»: Folder or file doesn't exist

And the others:
"no se puede acceder a" = "can't access to"
"No existe el fichero o el directorio" = "File or folder doesn't exist"

Also, the subject should be something more like "driver installation
errors", I guess.

Thanks a lot.



Re: Emergency mode when root account locked

2020-12-11 Thread Keith Bainbridge

On 12/12/20 11:03 am, Fabrice BAUZAC wrote:

Greg Wooledge  writes:


Even if you plan to use sudo for 99% of your administrative work,
there's still no reason NOT to have a root password, for those emergency
situations where you need one.


I've had the bitter taste of it when I had to salvage a virtual machine
for which I had lost access to my non-root account.  You'd better have
the root password around.



AND run sudo as root, for additional safety

--
Keith Bainbridge

ke1thozgro...@gmx.com



Re: Can't print to CUPS printer on my server

2020-12-11 Thread Gary Dale

On 2020-12-09 12:31, Brian wrote:

On Wed 09 Dec 2020 at 11:29:28 -0500, Gary Dale wrote:


On 2020-12-09 10:25, Brian wrote:

On Wed 09 Dec 2020 at 10:04:14 -0500, Gary Dale wrote:


On 2020-12-08 13:29, Brian wrote:

 avahi-browse -art > log1

-bash: avahi-browse: command not found - for both regular user and root


on the server and post log here as an attachment. avahi-browse is in the
avahi-utils package.

How about installing avahi-utils? :)

I don't seem to need it for anything else. I'm leery of installing packages,
especially on a server, that I don't use.

I bet you have cups-browsed installed on the server. It's completely
unneeded and doesn't do anything to enhance the printing system there.
But that is BTW. :)
Perhaps I shouldn't trust package maintainers to not install unnecessary 
stuff? However, doesn't it actually discover network printers - they 
seem to be more common these days with both Wifi and versions. Not all 
my printers are plugged directly into the server.



= enp5s0 IPv6 HP Color LaserJet CP1215 @ TheLibrarian   Secure Internet 
Printer local
hostname = [TheLibrarian.local]
address = [fe80::feaa:14ff:fe9b:b835]
port = [631]
txt = ["printer-type=0x80901E" "printer-state=3" "Duplex=T" "Color=T" "TLS=1.2" "UUID=bd713eeb-c38d-39f4-40b6-a997738b33d1" "URF=DM3" 
"pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Color LaserJet CP1215)" "priority=0" "note=family room" 
"adminurl=https://TheLibrarian.local.:631/printers/CP1215; "ty=HP Color LaserJet CP1215 Foomatic/foo2hp (recommended)" "rp=printers/CP1215" "qtotal=1" "txtvers=1"]

The printer is found at TheLibrarian.local and its resource path is
printers/CP1215, giving a URI of

   ipp://TheLibrarian.local:631/printers/CP1215

At present you are relying on cups-browsed on the client to discover,
auto-setup and manage the CP1215; it appears to be having an off day.
Let's manage the print queue ourselves. Execute

   lpadmin -p  -v  -E -m raw

The -p option can be anything you want, for example, cp1215.


cups-browsed seems to be having a bad week or two at least. It doesn't 
let me delete the erroneous path to the CP125 in addition to not 
detecting the correct path.


I ran the lpadmin command and CP1215 is now showing in my list of 
printers on my workstation. However it still isn't printing.


After a second, I remembered that is because I had to unplug the printer 
to set up a temporary powerline networking connection to my server 
yesterday (I'm finally getting around to replacing the last of my CAT-5 
cable with CAT-6 and having an issue with pulling a line to this 
particular room). This had nothing to do with my earlier issue however.


Anyway, hopefully a new CUPS update will get things working soon.

Thanks.



Can't print: /var/spool/lpd

2020-12-11 Thread riveravaldez
Hi, I'm having an issue with a Brother HL-3150CDN printer on Debian Testing.

The printer functions with the drivers CUPS offers by default, but the
official Brother's drivers has some options that I need to work with
the equipment.

I was able to install these drivers some time ago, but now they didn't
seem to work.

The two file to install are:
hl3150cdnlpr-1.1.2-1.i386.deb
hl3150cdncupswrapper-1.1.4-0.i386.deb

Both for 32-bits, so, I did the:
$ sudo dpkg --add-architecture i386
$ sudo apt-get update

And then used apt-get to install them.
The packages get installed but didn't seem to send the data to the
printer at printing time.
Any idea how to diagnose this?

The only error I'd saw until now is when I install the lpr package:

$ sudo apt-get install ./hl3150cdnlpr-1.1.2-1.i386.deb
(...)
mkdir: no se puede crear el directorio «/var/spool/lpd/hl3150cdn»: No
existe el fichero o el directorio
chown: no se puede acceder a '/var/spool/lpd/hl3150cdn': No existe el
fichero o el directorio
chgrp: no se puede acceder a '/var/spool/lpd/hl3150cdn': No existe el
fichero o el directorio
chmod: no se puede acceder a '/var/spool/lpd/hl3150cdn': No existe el
fichero o el directorio

Any hint what could/should I do?

Thanks a lot in advance!



Re: Emergency mode when root account locked

2020-12-11 Thread Fabrice BAUZAC
Greg Wooledge  writes:

> Even if you plan to use sudo for 99% of your administrative work,
> there's still no reason NOT to have a root password, for those emergency
> situations where you need one.

I've had the bitter taste of it when I had to salvage a virtual machine
for which I had lost access to my non-root account.  You'd better have
the root password around.



Re: Migrating LVM volumes to a new machine

2020-12-11 Thread Michael Stone

On Fri, Dec 11, 2020 at 11:46:46PM +, Mark Fletcher wrote:

I would like to understand how to move a LVM VG from one machine to
another, when the disk to be moved contains filesystems key to the
source system. I have read section 13.6 of the LVM HOWTO which talks
about moving VGs.

...

I feel
like I can't follow the instructions in the HOWTO because it wants me to
unmount the file systems, export the LVs and so on, on the old machine
before moving the disk, and I don't see how I can do that on a system
that is expecting to use those file systems to operate.


you must have missed:
"vgexport/vgimport is not necessary to move drives from one system to 
another. It is an administrative policy tool to prevent access to 
volumes in the time it takes to move them."


Just move the disk and the lvm stuff will show up like normal. The only 
potential gotcha is if you used the same volume group names on both 
systems, then that would need to be resolved (by renaming one of them)




Migrating LVM volumes to a new machine

2020-12-11 Thread Mark Fletcher
Hello

I would like to understand how to move a LVM VG from one machine to 
another, when the disk to be moved contains filesystems key to the 
source system. I have read section 13.6 of the LVM HOWTO which talks 
about moving VGs. However the context of my situation is I am 
cannibalising an old machine and moving the VG that contains the LVs 
mounted on /, swap and /home of the source machine. That, apart from the 
non-LVM /boot partition, is all that is on this SSD.

The disk will not be the primary disk on the new machine, and the new 
machine's /, swap and /home will be elsewhere, but I will want to be 
able to access the current contents of the disk from the old machine on 
the new machine for a period of time before I decide to wipe it. I feel 
like I can't follow the instructions in the HOWTO because it wants me to 
unmount the file systems, export the LVs and so on, on the old machine 
before moving the disk, and I don't see how I can do that on a system 
that is expecting to use those file systems to operate.

I thought of booting a live system from a USB stick, so the affected LVs 
aren't mounted or in use, but then I'll face the problem of how to get 
the live system to be aware of the LVM setup existing on the SSD.

I guess the bottom line is I am missing some understanding of how LVM 
works in detail, and in particular how a machine that didn't create a 
particular VG and its contents can nonetheless be made to recognise it. 
Can anyone fill me in?

Thanks 

Mark



Re: Guest Samba shares

2020-12-11 Thread Keith Bainbridge

On 12/12/20 8:34 am, Paul M Foster wrote:

I made various minor changes (like changing the mount to /music) and now
the problem appears to be resolved. As is sometimes the case, the
problem gets solved without you knowing how you solved it.



Perhaps the restart of samba?   Or do you mean you re-named tthe mount
point on the mac?

Pleased it's solved.


For what it's worth, I drafted this last night but couldn't send it -
kicking self as I knew most of you would be active whilst I was asleep:

This article seems to confirm my thought that macOS supports sshfs:

https://igppwiki.ucsd.edu/plugins/servlet/mobile?contentId=6063930#content/view/6063930

I'm sure it does nfs if you prefer.

It's been ages since I used samba, but I recall that users needed a
smbpasswd set. I see you have no passwd, but I'm not sure that cuts it.

Another suggestion: try mounting the 'music' partition somewhere else on
your Pi, and maybe give it a userid and groupid at fstab. And maybe add
your wife to that group?

Anyhow, there are lots of other suggestions now, and you have it
working, so what the heck.

I just finished my morning coffee, it's Saturday and te sun is shining I
a clear sky. It can only get better. Ah, I've got only 3 family
birthdays between now and Christmas.

--
Keith Bainbridge

ke1thozgro...@gmx.com



Re: Guest Samba shares

2020-12-11 Thread Keith Bainbridge

On 12/12/20 5:01 am, Paul M Foster wrote:

I have my doubts that there is an active RPi list on which such a
question could be answered. But it is, after all, Samba, and you've
already seen the smb.conf.



Try here:

https://discourse.littlebird.com.au/

It is run by our local importer, and the tech people hopped in on 1
query I had.

--
Keith Bainbridge

ke1thozgro...@gmx.com



Re: Guest Samba shares

2020-12-11 Thread Keith Bainbridge

On 12/12/20 10:01 am, Keith Bainbridge wrote:

On 12/12/20 6:24 am, deloptes wrote:

I heard it would work with some 5+ kernel from debian. My experience with
the RPi4B was negative, because of the kernel (4.19) in buster. I
ended up
using the Raspberry Kernel in Debian.


My almost stock raspiOS Pi3 & Pi4 both updated the kernel to 5.4 around
3 months ago, maybe earlier.  It only really came to notice when our
local importer questioned my sanity in trying kernel 5.4

Must say I haven't had success with DebianPiOS. Must try it again if
people are saying it is working for them.



I meant to say that the non-stock bit is I am using $USER keith. I'm
about to set sudo to require root passwd.


--
Keith Bainbridge

ke1thozgro...@gmx.com



Re: Guest Samba shares

2020-12-11 Thread Keith Bainbridge

On 12/12/20 6:24 am, deloptes wrote:

I heard it would work with some 5+ kernel from debian. My experience with
the RPi4B was negative, because of the kernel (4.19) in buster. I ended up
using the Raspberry Kernel in Debian.


My almost stock raspiOS Pi3 & Pi4 both updated the kernel to 5.4 around
3 months ago, maybe earlier.  It only really came to notice when our
local importer questioned my sanity in trying kernel 5.4

Must say I haven't had success with DebianPiOS. Must try it again if
people are saying it is working for them.

--
Keith Bainbridge

ke1thozgro...@gmx.com



Re: Loja Gnome

2020-12-11 Thread Leandro Guimarães Faria Corcete DUTRA

Le ven. 11 déc. 2020 à 17:38, BLC  a écrit :

paguei meio que sem querer o app "Gnome softwer"


Sem problemas, nada importante depende dele.


> e nem o sudo não esta funcionando

Esse problema nada tem a ver com o Gnome Software.


> queria saber se dá para recuperar

Dá:

su -
apt install gnome-software


E relate em detalhes o que ocorre com o sudo, numa mensagem à parte.


--
+55 (61) 3546 7191  gTalk: xmpp:leand...@jabber.org
+55 (61) 99302 2691   http://en.dutras.org/
BRAZIL GMT−3
https://useplaintext.email/#why-plaintext




Re: Guest Samba shares

2020-12-11 Thread Paul M Foster
On Fri, Dec 11, 2020 at 04:52:02PM -0500, Dan Ritter wrote:

> Joe wrote: 
> > On Fri, 11 Dec 2020 16:34:24 -0500
> > Paul M Foster  wrote:
> > 
> > 
> > > 
> > > OMG. That's not an email list. It's a newsgroup. I didn't know anyone
> > > used these anymore. I'll have to figure out how to even read/post
> > > there. It's been decades since I had anything to do with newsgroups.
> > > 
> > 
> > Claws-mail can do it, as can Thunderbird. Pan is a newsreader, but you
> > probably don't have that handy. 
> > 
> > These are the ones I know, there are many others. I'm not trying to
> > start a war here.
> 
> If you use mutt, slrn is particularly good.
> 
> If you don't use mutt, maybe you want to use slrn anyway.
> 
> 
> -dsr-
> 

= grin =

I do use mutt, and have downloaded nn, trn4, tin and slrn to try them
out. I'll pay special attention to slrn. Thanks.

Paul

-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com



Re: AMD GPU Sea Islands Problem

2020-12-11 Thread Felix Miata
Guyenne Tsui composed on 2020-12-06 22:17 (UTC):

>> What is "form rendering"?

> Sorry I meant "form of rendering"

>> Which Sea Islands do you have?

> Radeon R5 M430. I checked it again and it seems to be Southern Islands. 
> I am not sure.

>> Which Debian are you using?

> Debian Testing

>> Which DDX driver are you using?

> I am not sure what is DDX driver. I installed firmware-amd-graphics in 
> past and it worked automatically. However, a recent update broke it.

DDX means Device Dependent X.

I wasn't aware that amdgpu would ever work automatically with sea islands.
Normally it needs radeon.si_support=0 and amdgpu.si_support=1 to use it.

>> Do you have in your grub stanzas radeon.cik_support=0 amdgpu.cik_support=1 
>> ???

> I tried both `radeon.cik_support=0 amdgpu.cik_support=0` and 
> `radeon.si_support=0 amdgpu.si_support=1`. It seems that the latter 
> works from the looks of `lspci -k`.

Try purging xserver-xorg-video-amdgpu and xserver-xorg-video-ati, then 
restarting
X. That should automatically result in using the modesetting X driver. It does 
for
my sea islands. If it's OK, either keep it that way, or try reinstalling only
xserver-xorg-video-amdgpu.
-- 
Evolution as taught in public schools, like religion,
is based on faith, not on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



[OT] Re: Guest Samba shares

2020-12-11 Thread David
On Fri, 11 Dec 2020 at 23:19, Paul M Foster  wrote:
> On Fri, Dec 11, 2020 at 05:35:37PM +1100, Keith Bainbridge wrote:
> > On 11/12/20 1:42 pm, Paul M Foster wrote:

> On boot, the system only knows paulf as a user. When it boots and mounts
> the drive, it mounts it under the pi user. I don't know what wizardry
> they use to accomplish this, but that's how it works. I'm not sure what
> wizardry is used to make this happen, but I've now enshrined it in the
> fstab file. Again, where the drive mounts is incidental to the original
> question.

In case you don't know, the 'pi' user can be renamed to whatever you
want, so that might be an alternative way to reach your goal instead of
creating a separate 'paulf' user.

Method I used is here:
  https://raspberrypi.stackexchange.com/a/14902

I used it successfully a while ago on a RPi 4, first release of its OS.
Below are my notes from doing that, I don't recall any other
information, I did it a while ago and am unaware of any problems.

exec sudo -s
(now root)
cd /
usermod -l david -d /home/david -m pi
/lib/systemd/systemd --user
kill 480 # looks like the above failed until I killed some process and retried
usermod -l david -d /home/david -m pi
groupmod -n david pi
reboot
now cant sudo
exec sudo -s
prompts for david password and accepts it
passwd to change david password, accepted



Re: Guest Samba shares

2020-12-11 Thread Dan Ritter
Joe wrote: 
> On Fri, 11 Dec 2020 16:34:24 -0500
> Paul M Foster  wrote:
> 
> 
> > 
> > OMG. That's not an email list. It's a newsgroup. I didn't know anyone
> > used these anymore. I'll have to figure out how to even read/post
> > there. It's been decades since I had anything to do with newsgroups.
> > 
> 
> Claws-mail can do it, as can Thunderbird. Pan is a newsreader, but you
> probably don't have that handy. 
> 
> These are the ones I know, there are many others. I'm not trying to
> start a war here.

If you use mutt, slrn is particularly good.

If you don't use mutt, maybe you want to use slrn anyway.


-dsr-



Re: Guest Samba shares

2020-12-11 Thread Joe
On Fri, 11 Dec 2020 16:34:24 -0500
Paul M Foster  wrote:


> 
> OMG. That's not an email list. It's a newsgroup. I didn't know anyone
> used these anymore. I'll have to figure out how to even read/post
> there. It's been decades since I had anything to do with newsgroups.
> 

Claws-mail can do it, as can Thunderbird. Pan is a newsreader, but you
probably don't have that handy. 

These are the ones I know, there are many others. I'm not trying to
start a war here.

-- 
Joe



Re: Guest Samba shares

2020-12-11 Thread Paul M Foster
On Fri, Dec 11, 2020 at 08:19:00PM +0100, deloptes wrote:

> Paul M Foster wrote:
> 
> > On Fri, Dec 11, 2020 at 04:14:15PM +0100, deloptes wrote:
> >> 
> >> There is too much level of complexity in this issue from what I read
> >> already:
> >> 
> >> 1. it is RaspberryPI OS (based on debian but there is also dedicated list
> >> where it could be answered more efficiently)
> > 
> > I have my doubts that there is an active RPi list on which such a
> > question could be answered. But it is, after all, Samba, and you've
> > already seen the smb.conf.
> > 
> 
> I don't because I am subscribed there - it is hosted on
> eternal-september.org. The group is comp.sys.raspberry-pi
> It could be also another one somewhere else. I do not guarantee this is the
> only one.

OMG. That's not an email list. It's a newsgroup. I didn't know anyone
used these anymore. I'll have to figure out how to even read/post there.
It's been decades since I had anything to do with newsgroups.

Anyway, thanks for the tip. I'll check it out.

[snip]

> 
> I saw, but you never shared parts from the log file, hence we are looking in
> the crystal ball here.
> I mentioned I do not know about the guest permissions. I just remember that
> there was something regarding mapping unknown users to nobody etc. Who
> knows how it works in raspberry - they customize a lot there.
> Respectively when I use the Samba as domain controller here it works
> perfectly well including directories, printers and permissions.
> Unfortunately I can't help with the guest OK. If you share relevant
> portions from the log, somebody could come up with something more useful.

I made various minor changes (like changing the mount to /music) and now
the problem appears to be resolved. As is sometimes the case, the
problem gets solved without you knowing how you solved it.

Paul

-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com



Re: Loja Gnome

2020-12-11 Thread Paulo

Não abre nem o terminal?
No terminal não aceita o sudo?
Apresenta alguma mensagem de erro? Qual?

Em 11/12/2020 17:38, BLC escreveu:
Olá, então, eu apaguei meio que sem querer o app "Gnome softwer" e nem 
o sudo não esta funcionando, queria saber se dá para recuperar!




Re: Conseils sur l'utilisation de certificats Letsencrypt

2020-12-11 Thread Stéphane Rivière

Bonjour Sébastien,

J'arrive certainement après la bataille mais acmemgr.sh, compagnon de 
acme.sh pourrait répondre à ta demande... En tout cas, chez nous, c'est 
ainsi qu'on l'utilise... et ce pourquoi il a été conçu. La doc et les 
diagrammes sont assez explicites mais tu peux toujours demander des 
précisions par [MP]...


https://github.com/sowebio/acmemgr.sh



Le 26/11/2020 à 12:13, Sébastien Dinot a écrit :

Raphaël POITEVIN a écrit :

Sébastien Dinot  writes:


Bof, beaucoup de complications pour rien. Le seul cas de figure où
la chose est intéressante, c'est lorsqu'on veut confier à Let's
Encrypt la création de certificats pour des machines qui ne sont pas
exposées (seul leur nom étant alors publié dans la zone DNS
publique). Le « proxy » public dialogue alors avec les serveurs de
Let's Encrypt et un outil maison distribue ensuite les certificats
sur les machines qui en ont besoin en interne (et bien évidemment,
dans ce cas, la résolution DNS interne ne donne pas le même résultat
que la résolution DNS externe).


Petite question à ce sujet : est-ce que le reverse proxy en front
auquel on accède en https renvoie bien les informations chiffrées à la
machine cible, sur la quelle je n’ai pas installé le certificat ?


J'ai peur de ne pas avoir compris la question ou de m'être mal expliqué
dans mon message initial. Il ne s'agit pas ici de mettre en place un
(reverse) proxy. Mais seulement une machine mandataire, exposée
publiquement et dont la seule fonction est le renouvèlement des
certificats. Ces certificats sont ensuite distribués aux machines qui en
ont besoin sur le réseau interne. Une rapide recherche sur Internet
vient de me montrer qu'il existe pas mal d'articles sur le sujet sur le
net, de qualité inégale. Celui-ci me semble pas mal :

https://geontech.com/using-letsencrypt-ssl-internally/

J'ai évoqué cette solution car, par design, Let's Encrypt ne peut pas
être utilié pour gérer les certificats d'un réseau interne.

Sébastien



--
Stéphane Rivière
Ile d'Oléron - France



Re: Loja Gnome

2020-12-11 Thread Rodolfo
Instalar o que?

Em sex., 11 de dez. de 2020 às 17:08, BLC  escreveu:

> Posso esta instalando o pelo apt?
>
> On Fri, Dec 11, 2020 at 6:06 PM Rodolfo  wrote:
>
>> Agora resta saber o que você quer que volte a funcionar, poderia nos
>> dizer?
>>
>> Em sex., 11 de dez. de 2020 às 17:05, BLC 
>> escreveu:
>>
>>> ele logou deboas
>>> e agr?! prfv
>>>
>>>
>>> Em Sex, 11 de dez de 2020 17:59, Rodolfo  escreveu:
>>>
 Certo, já tentou o seguinte comando?

 $ su -

 Informe a senha do root e verifica se o mesmo loga normalmente.

 Em sex., 11 de dez. de 2020 às 16:57, BLC 
 escreveu:

> Debian 10 buster
>
> Em Sex, 11 de dez de 2020 17:56, Rodolfo 
> escreveu:
>
>> Qual versão do Debian?
>>
>> Em sex., 11 de dez. de 2020 às 16:54, BLC 
>> escreveu:
>>
>>> Olá, então, eu apaguei meio que sem querer o app "Gnome softwer" e
>>> nem o sudo não esta funcionando, queria saber se dá para recuperar!
>>>
>>


Re: Loja Gnome

2020-12-11 Thread Rodolfo
Agora resta saber o que você quer que volte a funcionar, poderia nos dizer?

Em sex., 11 de dez. de 2020 às 17:05, BLC  escreveu:

> ele logou deboas
> e agr?! prfv
>
>
> Em Sex, 11 de dez de 2020 17:59, Rodolfo  escreveu:
>
>> Certo, já tentou o seguinte comando?
>>
>> $ su -
>>
>> Informe a senha do root e verifica se o mesmo loga normalmente.
>>
>> Em sex., 11 de dez. de 2020 às 16:57, BLC 
>> escreveu:
>>
>>> Debian 10 buster
>>>
>>> Em Sex, 11 de dez de 2020 17:56, Rodolfo  escreveu:
>>>
 Qual versão do Debian?

 Em sex., 11 de dez. de 2020 às 16:54, BLC 
 escreveu:

> Olá, então, eu apaguei meio que sem querer o app "Gnome softwer" e nem
> o sudo não esta funcionando, queria saber se dá para recuperar!
>



Re: Replying. [was Re: AMD GPU Sea Islands Problem]

2020-12-11 Thread Charles Curley
On Fri, 11 Dec 2020 20:11:12 +
Guyenne Tsui  wrote:

> Thank you Charles,

You're welcome.

> 
> Anyway do you have idea you can help me in resolving the graphics
> issue?

It's outside my expertise, or I would have replied with something. The
only thing I can think of is to try the backports kernel.

> 
> Should I post this again as a separate thread to gather more
> expertise?

It might help.

You might also try the vendor's web site. Not that I expect a lot from
them; most vendors don't care all that much about Linux. Phoronix.com
might be useful, but that's mostly a news site.

-- 
Does anybody read signatures any more?

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



Re: Loja Gnome

2020-12-11 Thread Rodolfo
Qual versão do Debian?

Em sex., 11 de dez. de 2020 às 16:54, BLC  escreveu:

> Olá, então, eu apaguei meio que sem querer o app "Gnome softwer" e nem o
> sudo não esta funcionando, queria saber se dá para recuperar!
>


Loja Gnome

2020-12-11 Thread BLC
Olá, então, eu apaguei meio que sem querer o app "Gnome softwer" e nem o
sudo não esta funcionando, queria saber se dá para recuperar!


Re: Can't print to CUPS printer on my server

2020-12-11 Thread Brian
On Wed 09 Dec 2020 at 17:31:46 +, Brian wrote:

> The printer is found at TheLibrarian.local and its resource path is
> printers/CP1215, giving a URI of
> 
>   ipp://TheLibrarian.local:631/printers/CP1215
> 
> At present you are relying on cups-browsed on the client to discover,
> auto-setup and manage the CP1215; it appears to be having an off day.
> Let's manage the print queue ourselves. Execute
> 
>   lpadmin -p  -v  -E -m raw
> 
> The -p option can be anything you want, for example, cp1215

This technique has never beem known to fail. We are pleased it works for
you too. :)

Happy printing.

-- 
Brian..



Re: Replying. [was Re: AMD GPU Sea Islands Problem]

2020-12-11 Thread Guyenne Tsui

Thank you Charles,

Anyway do you have idea you can help me in resolving the graphics issue?

Should I post this again as a separate thread to gather more expertise?

Bests Regards,
Guyenne



Re: Guest Samba shares

2020-12-11 Thread deloptes
Andrew M.A. Cater wrote:

> It is perfectly feasible to run your Raspberry Pi on (relatively) stock
> Debian - https://wiki.debian.org/RaspberryPi with a bit of luck.

I heard it would work with some 5+ kernel from debian. My experience with
the RPi4B was negative, because of the kernel (4.19) in buster. I ended up
using the Raspberry Kernel in Debian.






Re: Faire fonctionner une Webcam sous Debian Buster : résolu

2020-12-11 Thread ajh-valmer
Maintenant, je ne sais pourquoi ?

ces 2 commandes fonctionnent très bien :

mpv av://v4l2:/dev/video0 --force-seekable=yes

vlc v4l2:///dev/video0

J'ai même créé 2 icônes sur mon bureau pour ouvrir la webcam
directement.

Bonne soirée,

A. Valmer



Re: Guest Samba shares

2020-12-11 Thread deloptes
Paul M Foster wrote:

> On Fri, Dec 11, 2020 at 04:14:15PM +0100, deloptes wrote:
>> 
>> There is too much level of complexity in this issue from what I read
>> already:
>> 
>> 1. it is RaspberryPI OS (based on debian but there is also dedicated list
>> where it could be answered more efficiently)
> 
> I have my doubts that there is an active RPi list on which such a
> question could be answered. But it is, after all, Samba, and you've
> already seen the smb.conf.
> 

I don't because I am subscribed there - it is hosted on
eternal-september.org. The group is comp.sys.raspberry-pi
It could be also another one somewhere else. I do not guarantee this is the
only one.

>> 2. The actual user plugging the external disk is paulf but disk mounts as
>> default user pi
> 
> Not true. The disk mounts automatically on startup. I don't manually
> mount this disk.
What happens if you unmount, unplug and plug again + restart samba 

> 
>> 3. Who knows how is exactly samba pre-configured
> 
> I already posted the smb.conf file.

I saw, but you never shared parts from the log file, hence we are looking in
the crystal ball here.
I mentioned I do not know about the guest permissions. I just remember that
there was something regarding mapping unknown users to nobody etc. Who
knows how it works in raspberry - they customize a lot there.
Respectively when I use the Samba as domain controller here it works
perfectly well including directories, printers and permissions.
Unfortunately I can't help with the guest OK. If you share relevant
portions from the log, somebody could come up with something more useful.





Emacs erreur de chemin vers clang-format.el

2020-12-11 Thread benoit
Bonjour à toutes et tous,
J'ai commencé à rédiger ce courriel comme une question, mais j'ai trouvé la 
solution en cour de rédaction :
Comment éviter de coder en dur 
"/usr/share/emacs/site-lisp/clang-format-11/clang-format.el" ?
dans mon ficher de config d'emacs j'ai indiqué ça :
(load "/usr/share/emacs/site-lisp/clang-format-11/clang-format.el")
(global-set-key [(meta f)] 'clang-format-buffer)

Après un mise à jour du paquet debian clang-format c'est passé de 9 à 11.
Emacs me disait qu'il ne trouvait pas clang-format.el dans :
"/usr/share/emacs/site-lisp/clang-format-9/clang-format.el"
J'ai longtemps cherché avant de m’apercevoir que c'est moi-même qui ai codé ce 
chemin en dur...
Au départ, j'ai fait comme indiqué ici,
https://stackoverflow.com/questions/59690583/how-do-you-use-clang-format-on-emacs-ubuntu
mais indiquer un chemin en dur c'est toujours mauvais.
Du coup il faut remplacer la première ligne :
;;(load "/usr/share/emacs/site-lisp/clang-format-11/clang-format.el")
(require 'clang-format)
(global-set-key [(meta f)] 'clang-format-buffer)

Par (require 'clang-format)
Emacs a le chemin vers clang-format.el dans la variable 'load-path

Comme indiqué ici :
https://www.emacswiki.org/emacs/LoadPath

Voila poser la question c'est y répondre, comme on dit ! ;-)

--
Benoit

Sent with [ProtonMail](https://protonmail.com) Secure Email.

Re: Guest Samba shares

2020-12-11 Thread Paul M Foster
On Fri, Dec 11, 2020 at 04:14:15PM +0100, deloptes wrote:
> 
> There is too much level of complexity in this issue from what I read
> already:
> 
> 1. it is RaspberryPI OS (based on debian but there is also dedicated list
> where it could be answered more efficiently)

I have my doubts that there is an active RPi list on which such a
question could be answered. But it is, after all, Samba, and you've
already seen the smb.conf.

> 2. The actual user plugging the external disk is paulf but disk mounts as
> default user pi

Not true. The disk mounts automatically on startup. I don't manually
mount this disk.

> 3. Who knows how is exactly samba pre-configured 

I already posted the smb.conf file.

Paul


-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com



Re: Guest Samba shares

2020-12-11 Thread Andrew M.A. Cater
On Fri, Dec 11, 2020 at 04:14:15PM +0100, deloptes wrote:
> Andrei POPESCU wrote:
> 
> > Ok, what about permissions for the /media and /media/pi directories?
> > 
> > 
> > This is likely my last attempt to help with your troubleshooting as I
> > have only limited and less than recent experience with Samba.
> 
> +1
> 
> and also is important to know what the exact issue is, which would be
> visible in the smb log.
> 
> >From what I remember there was the @nobody group that would be used to
> access something granted guest permissions. 
> 
> There is too much level of complexity in this issue from what I read
> already:
> 
> 1. it is RaspberryPI OS (based on debian but there is also dedicated list
> where it could be answered more efficiently)

It is perfectly feasible to run your Raspberry Pi on (relatively) stock Debian
- https://wiki.debian.org/RaspberryPi with a bit of luck.

Check the groups for user pi. Check the groups for paulf. If you make the 
groups the same, what error results?

Part of this at least is perhaps, because Raspberry Pi OS is set up to 
anticipate a pi
user - hence the suggestion to try Debian

Andy C

> 2. The actual user plugging the external disk is paulf but disk mounts as
> default user pi
> 3. Who knows how is exactly samba pre-configured 
> 
> Last but not least I was thinking of simply restarting samba server after
> plugging in - this way whatever is there should become visible.
> 
> 
> 



Re: Guest Samba shares

2020-12-11 Thread deloptes
Andrei POPESCU wrote:

> Ok, what about permissions for the /media and /media/pi directories?
> 
> 
> This is likely my last attempt to help with your troubleshooting as I
> have only limited and less than recent experience with Samba.

+1

and also is important to know what the exact issue is, which would be
visible in the smb log.

>From what I remember there was the @nobody group that would be used to
access something granted guest permissions. 

There is too much level of complexity in this issue from what I read
already:

1. it is RaspberryPI OS (based on debian but there is also dedicated list
where it could be answered more efficiently)
2. The actual user plugging the external disk is paulf but disk mounts as
default user pi
3. Who knows how is exactly samba pre-configured 

Last but not least I was thinking of simply restarting samba server after
plugging in - this way whatever is there should become visible.





Re: Query regarding Debian 9.9 (stretch)

2020-12-11 Thread deloptes
didier gaumet wrote:

> By default Stretch seems too ancient to support your chip and you would
> need is install both the kernel and the firmware from Backports to support
> it

In any case the OP is asking also if this is on the installer, which it is
obviously not.
So th answer to actually both questions is NO.



Re: Guest Samba shares

2020-12-11 Thread Andrei POPESCU
On Vi, 11 dec 20, 07:23:16, Paul M Foster wrote:
> On Fri, Dec 11, 2020 at 11:11:57AM +0200, Andrei POPESCU wrote:
> 
> > On Jo, 10 dec 20, 21:42:49, Paul M Foster wrote:
> > > On Fri, Dec 11, 2020 at 01:25:56AM +0100, deloptes wrote:
> > > 
> > > For various reasons, I've set the perms on this mount as 777. 
> > 
> > Please show the output of 'mount' and 'ls -ld' for /media/pi/music
> 
> mount:
> /dev/sda1 on /media/pi/music type ext4 
> (rw,noatime,errors=remount-ro,stripe=8191)
> 
> (not sure what the "stripe=8191" is all about; I didn't specify that)

See ext4(5). This could mean that your fstab entry (that you mentioned 
in other messages) is ignored and the partition is mounted by some other 
means (e.g. a Raspbian specific boot script).

These kind of unknowns are exactly the reason why subscribers of 
debian-user will be reluctant to even try to help with anything else but 
a pristine Debian system.

> ls -ld:
> drwxrwxrwx 3 pi users 4096 Dec 10 16:45 /media/pi/music

Ok, what about permissions for the /media and /media/pi directories?


This is likely my last attempt to help with your troubleshooting as I 
have only limited and less than recent experience with Samba.

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


signature.asc
Description: PGP signature


Re: Guest Samba shares

2020-12-11 Thread Paul M Foster
On Fri, Dec 11, 2020 at 11:11:57AM +0200, Andrei POPESCU wrote:

> On Jo, 10 dec 20, 21:42:49, Paul M Foster wrote:
> > On Fri, Dec 11, 2020 at 01:25:56AM +0100, deloptes wrote:
> > 
> > For various reasons, I've set the perms on this mount as 777. 
> 
> Please show the output of 'mount' and 'ls -ld' for /media/pi/music
> 
> Kind regards,
> Andrei
> -- 
> http://wiki.debian.org/FAQsFromDebianUser

mount:
/dev/sda1 on /media/pi/music type ext4 
(rw,noatime,errors=remount-ro,stripe=8191)

(not sure what the "stripe=8191" is all about; I didn't specify that)

ls -ld:
drwxrwxrwx 3 pi users 4096 Dec 10 16:45 /media/pi/music

Paul

-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com



Re: Comment supprimer les DRM d’un livre numérique (acheté, mais pas lisible sous GNU/Linux) ?

2020-12-11 Thread Erwin Bliesenick
Le Fri, 11 Dec 2020 00:50:19 -0800 (PST)
ptilou  écrivait:
 

> 
> Oui en Python cherche c’est au Fosdem de 2018 qui fesaient une démonstration, 
> j’ai pas accroché mais il me semble que l’algo est symétrique, et c’est un 
> numéro de série du logiciel Adobe qui permet de le passer d’un logiciel à un 
> autre, dans ce cas de figure il s’agit d’être libre dans le choix de sont 
> lecteur et non d’enlever une protection 
> 

en cherchant avec python fosdem 2018 drm sur Starpage, on trouve : 
https://stackoverflow.com/questions/60840772/how-to-wrapping-license-requests-to-drmtoday-server-via-python
peut-être une piste de recherche à creuser ?
cordialement
Erwin



Re: Guest Samba shares

2020-12-11 Thread Paul M Foster
On Fri, Dec 11, 2020 at 05:35:37PM +1100, Keith Bainbridge wrote:

> On 11/12/20 1:42 pm, Paul M Foster wrote:
> > For various reasons, I've set the perms on this mount as 777. Anything
> > on a Raspberry Pi gets mounted in the /media/pi hierarchy by default. I
> > couldn't see a reason to change it, if I set the permissions
> > appropriately.
> 
> G'day Paul
> 
> pi being the default user under raspbian/raspOS. At least with the
> recent installer, you are required to give pi a password. It used be
> that there was a default password, and you had to know to change that
> yourself.
> 
> My 2c worth: as you have already set up a personal user, disable auto
> log-in to user pi and make sure user pi has a strong password.  Having
> user pi available is likely the prime target of any attack, simply
> because it used have a default.
> 
> 
> Once you start logging in as paul, you'll find that automount USB item
> go to /media/paul.
> 
> Keith Bainbridge
> 

On boot, the system only knows paulf as a user. When it boots and mounts
the drive, it mounts it under the pi user. I don't know what wizardry
they use to accomplish this, but that's how it works. I'm not sure what
wizardry is used to make this happen, but I've now enshrined it in the
fstab file. Again, where the drive mounts is incidental to the original
question.

Paul

-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com



Re: Faire fonctionner une Webcam sous Debian Buster : résolu

2020-12-11 Thread ajh-valmer
On Friday 11 December 2020 09:08:53 Jean-Marc wrote:
> salut Étienne,

> Marrant.  Chez moi, ça fonctionne sans soucis en ne passant que
> /dev/video0 :
> $ mpv /dev/video0 :
Chez moi, cette commande me répond :
" Playing: /dev/video0 Failed to recognize file format.
Exiting... (Errors when loading file)" :

Pourquoi le format n'est pas reconnu ?

> > $ mpv av://v4l2:/dev/video0 --force-seekable=yes

Une fenêtre graphique s'ouvre, mais avec une
image type tableau de Picasso, avec cette réponse :

"Cannot seek in this stream.
You can force it with '--force-seekable=yes'.
V: 00:02:33 / 00:02:34 (99%)"

> Je suis curieux de savoir si A. Valmer arrive à afficher quelque chose
> en appelant mpv comme tu le décris :

Voilà donc la réponse.

Chez moi, seul VLC permet le bon fonctionnement de la webcam,
mpv = niet

Bonne journée,

Antoine Valmer



Re: Faire fonctionner une Webcam sous Debian Buster : résolu

2020-12-11 Thread Étienne Mollier
Bonjour Jean-Marc,

Jean-Marc, on 2020-12-11 09:08:53 +0100:
> Le 10/12/20 à 22:28, Étienne Mollier a écrit :
> > mpv ne fonctionne effectivement pas en utilisant le character
> > device, il faut passer par l'uri av://v4l2:
> > 
> > $ mpv av://v4l2:/dev/video0
> 
> Marrant.  Chez moi, ça fonctionne sans soucis en ne passant que
> /dev/video0 :
> 
> $ mpv /dev/video0

Doh', je suis stupide, j'ai oublié de raccorder la caméra en
faisant "juste un test rapide".  >_<

Cette méthode fonctionne très bien de mon côté aussi.
Merci d'avoir insisté!

Bonne journée,  :)
-- 
Étienne Mollier 
Fingerprint:  8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/pts/0, please excuse my verbosity.


signature.asc
Description: PGP signature


Re: Query regarding Debian 9.9 (stretch)

2020-12-11 Thread didier gaumet
Le vendredi 11 décembre 2020 à 10:30:06 UTC+1, Pratiek N a écrit :
> Hello Team,
> 
> Greetings for the day!
> 
> I need your help regarding a query about Debian 9.9
> 
> Please help me understand if Intel Wi-Fi Module AC9260 supports Debian 9.9 ?
> 
> If it is supported then is the wifi driver part of the inbox driver for 
> Debian 9.9 iso?
> 
> Thank you for your time,
> 
> Regards,
> Pratiek N

Hello,

This is a user list, there is no Debian support team.

According to (1) AC9260 is supported by a Li,nux kernel from 4.14 on.
According to (2) Strecth has a 4.09 kernel but there is a 4.19 Backports kernel 
available.
According to (3) there is also a firmware for this chip in the Backports repo

By default Stretch seems too ancient to support your chip and you would need is 
install both the kernel and   
the firmware from Backports to support it

(1) 
https://www.intel.com/content/www/us/en/support/articles/05511/network-and-i-o/wireless.html
(2) 
https://packages.debian.org/search?suite=all=all=any=names=linux-image-amd64
(3) 
https://packages.debian.org/search?suite=all=all=any=names=iwlwifi

If you do not know how to use Backports, there is a page in the wiki:
 https://wiki.debian.org/Backports



Re: Query regarding Debian 9.9 (stretch)

2020-12-11 Thread tomas
On Fri, Dec 11, 2020 at 02:42:38PM +0530, Pratiek N wrote:
> Hello Team,
> 
> Greetings for the day!
> 
> I need your help regarding a query about Debian 9.9
> 
> Please help me understand if Intel  Wi-Fi Module AC9260 supports Debian 9.9
> ?
> 
> If it is supported then is the wifi driver part of the inbox driver for
> Debian 9.9 iso?

I can't vouch for it firsthand, but at least there seems to be firmware
for it -- at least this seems promising:

  tomas@trotzki:~$ apt-file search -x "firmware.*9260"
  firmware-iwlwifi: /lib/firmware/iwlwifi-9260-th-b0-jf-b0-34.ucode
  firmware-iwlwifi: /lib/firmware/iwlwifi-9260-th-b0-jf-b0-38.ucode
  firmware-iwlwifi: /lib/firmware/iwlwifi-9260-th-b0-jf-b0-41.ucode
  firmware-iwlwifi: /lib/firmware/iwlwifi-9260-th-b0-jf-b0-46.ucode

But perhaps someone else is using that hardware right
now.

Good luck
 - t


signature.asc
Description: Digital signature


Query regarding Debian 9.9 (stretch)

2020-12-11 Thread Pratiek N
Hello Team,

Greetings for the day!

I need your help regarding a query about Debian 9.9

Please help me understand if Intel  Wi-Fi Module AC9260 supports Debian 9.9
?

If it is supported then is the wifi driver part of the inbox driver for
Debian 9.9 iso?

Thank you for your time,

Regards,
Pratiek N


Re: Guest Samba shares

2020-12-11 Thread Andrei POPESCU
On Jo, 10 dec 20, 21:42:49, Paul M Foster wrote:
> On Fri, Dec 11, 2020 at 01:25:56AM +0100, deloptes wrote:
> 
> For various reasons, I've set the perms on this mount as 777. 

Please show the output of 'mount' and 'ls -ld' for /media/pi/music

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


signature.asc
Description: PGP signature


Re: Comment supprimer les DRM d’un livre numérique (acheté, mais pas lisible sous GNU/Linux) ?

2020-12-11 Thread ptilou
Le mercredi 2 décembre 2020 à 18:40:03 UTC+1, benoit a écrit :
> Bonjour à toutes et tous,
> Je me suis fait arnaquer comme bleu sur ww.eyrolles.com en achetant un livre 
> numérique.
> Il est verrouillé par un DRM uniquement lisible sur Adobe Digital Editions 
> avec un id que j’ai utilisé sur l’ordi d’une amie (qui est sous Windows).
> Du coup, le livre est verrouillé sur l’ordi de cette amie…
> J’ai payé ce bouquin, je me suis fait avoir et j’aimerais virer ce DRM pour 
> exercer mon droit de le lire sur mon ordi sous Debian.
> J’ai essayé le DeDRM_plugin de calibre, mais ça n’a pas fonctionné, en plus 
> c’est un casse-tête, calibre utilise wine pour ce plugin.
> https://github.com/apprenticeharper/DeDRM_tools/releases
> Y a-t-il un logiciel sous GNU/Linux pour virer de DRM ?
> Merci d’avance
> 
> –
> Benoit
> 
> 
> 
> Sent with ProtonMail Secure Email.

Oui en Python cherche c’est au Fosdem de 2018 qui fesaient une démonstration, 
j’ai pas accroché mais il me semble que l’algo est symétrique, et c’est un 
numéro de série du logiciel Adobe qui permet de le passer d’un logiciel à un 
autre, dans ce cas de figure il s’agit d’être libre dans le choix de sont 
lecteur et non d’enlever une protection 



Re: systemd (241-7~deb10u5) + tomcat9 (9.0.39-1~bpo10+1) + override.conf on a Buster 10.7

2020-12-11 Thread Patrice Duroux
Hi,

Finally got it after simply applying the commands:
umount /srv/scratch
mount /srv/scratch
without having changed anything regarding NFS or whatever,
pure (systemd?) magic!

Patrice



Canon sdk ?

2020-12-11 Thread ptilou
Slt

Je m’es (sur une fenêtre ) un appareil canon, je me demande soit enregistrer 
des heures de vidéo et faire un poste traitement, ou alors laisser une vidéo et 
faire une photos quand x partie de l’image à changé ?

Y a t’il un informaticien qui a fait quelque chose d’opérationnel dans le libre 
?
( a Roland garos, il met la camera dans une maquette d’A380, on m’a laissé 
rentrer dans le camion pourvoir ce que ça donne ...)

Ça c’est de la poursuite, moi je cherche juste à ce que sa prend des photos, ou 
ça fait de la vidéo, mais l’écran s’éteint au bout de 30 mm, donc y a les 
commande hdmi canal par lequel je me pique via un boîtier qui est fait pour 
copier la vidéo d’une console de jeux ( je m’es pas le miens c’est Ali), et 
autre solution y a une commande radio en façade qui permet de déclencher une 
photo via l’appareil ...

C’est un EOS-M, le lien d’sdk :
https://developers.canon-europe.com/s/camera

Je cherche quelqu’un qui a fait quelque chose, sinon comment organiser cela, 
c’est pour des photos d’oiseaux de type moineau !

J’ai parcourue le code de Magick   Lantern , et y avait que des adresses en 
hexadécimal, donc c’est pas compréhensible pour moi, et je veux pas m’aventurer 
à me retrouver avec un appareil non fonctionnel, j’ai constaté que le logiciel 
de mon 1300D est devenu foireux

Merci

— 
Ptilou



Re: Faire fonctionner une Webcam sous Debian Buster : résolu

2020-12-11 Thread Jean-Marc
salut Étienne,

Le 10/12/20 à 22:28, Étienne Mollier a écrit :
> mpv ne fonctionne effectivement pas en utilisant le character
> device, il faut passer par l'uri av://v4l2:
> 
>   $ mpv av://v4l2:/dev/video0

Marrant.  Chez moi, ça fonctionne sans soucis en ne passant que
/dev/video0 :

$ mpv /dev/video0

 (+) Video --vid=1 (rawvideo 640x480 30.000fps)

[vo/gpu/wayland] GNOME's wayland compositor is known to have many
serious issues with mpv. Switch to GNOME's xorg session for the best
experience.

[autoconvert] Converting yuyv422 -> yuv422p

VO: [gpu] 640x480 yuv422p

V: 00:00:58 / 00:00:58 (99%)

Bref, ça fonctionne avec les deux formats de paramètres.

Je suis curieux de savoir si A. Valmer arrive à afficher quelque chose
en appelant mpv comme tu le décris.

-- 
Jean-Marc



OpenPGP_signature
Description: OpenPGP digital signature