Re: bluetooth problems Cambridge Silicon Radio

2021-03-24 Thread Charles Curley
On Thu, 25 Mar 2021 12:05:19 +0800
Jeremy Ardley  wrote:

> lsusb
...
> Bus 001 Device 006: ID 0a12:0001 Cambridge Silicon Radio, Ltd
> Bluetooth Dongle (HCI mode)

It doesn't hurt to search on the word Linux and the USB ID:

https://duckduckgo.com/?q=linux+0a12:0001

That should give you some reading to do.

-- 
Does anybody read signatures any more?

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


pgpIiq3KBRStw.pgp
Description: OpenPGP digital signature


Re: WiFi Hardware not detected, during Debian NetInst Install

2021-03-24 Thread Charles Curley
On Wed, 24 Mar 2021 22:52:31 -0500
David Wright  wrote:

> ... [W]e haven't yet been shown any direct evidence of
> which module drives the 8723, nor of what firmware it uses.
> (These can easily be determined from dmesg when the installed
> system is running.)

Also, more detail from /var/log/syslog while d-i is running, and
from /var/log/installer/ after installation is complete.

-- 
Does anybody read signatures any more?

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



bluetooth problems Cambridge Silicon Radio

2021-03-24 Thread Jeremy Ardley
I've just got a new bluetooth dongle that says V5.0 on the case. I think 
it uses Cambridge Silicon Radio


lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0c45:6340 Microdia Camera
Bus 003 Device 002: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial 
adapter

Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0480:0900 Toshiba America Inc
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth 
Dongle (HCI mode)

Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

sudo hcitool dev
Devices:

bluetoothctl
Agent registered
[bluetooth]# show
No default controller available

Running hciconfig and monitoring with hcidump I get

sudo hciconfig hci0 up
Can't init device hci0: Invalid argument (22)

sudo hcidump -X

HCI sniffer - Bluetooth packet analyzer ver 5.50
device: hci0 snap_len: 1500 filter: 0x
< HCI Command: Reset (0x03|0x0003) plen 0
> HCI Event: Command Complete (0x0e) plen 4
    Reset (0x03|0x0003) ncmd 1
    status 0x00
< HCI Command: Read Local Supported Features (0x04|0x0003) plen 0
> HCI Event: Command Complete (0x0e) plen 12
    Read Local Supported Features (0x04|0x0003) ncmd 1
    status 0x00
    Features: 0xbf 0x3e 0x4d 0xfa 0xdb 0x3d 0x7b 0xc7
< HCI Command: Read Local Version Information (0x04|0x0001) plen 0
> HCI Event: Command Complete (0x0e) plen 12
    Read Local Version Information (0x04|0x0001) ncmd 1
    status 0x00
    HCI Version: 5.0 (0x9) HCI Revision: 0x810
    LMP Version: 5.0 (0x9) LMP Subversion: 0x2312
    Manufacturer: Cambridge Silicon Radio (10)
< HCI Command: Read BD ADDR (0x04|0x0009) plen 0
> HCI Event: Command Complete (0x0e) plen 10
    Read BD ADDR (0x04|0x0009) ncmd 1
    status 0x00 bdaddr 00:1A:7D:DA:71:13
< HCI Command: Read Buffer Size (0x04|0x0005) plen 0
> HCI Event: Command Complete (0x0e) plen 11
    Read Buffer Size (0x04|0x0005) ncmd 1
    status 0x00
    ACL MTU 679:8 SCO MTU 48:16
< HCI Command: Read Class of Device (0x03|0x0023) plen 0
> HCI Event: Command Complete (0x0e) plen 7
    Read Class of Device (0x03|0x0023) ncmd 1
    status 0x00 class 0x00
< HCI Command: Read Local Name (0x03|0x0014) plen 0
> HCI Event: Command Complete (0x0e) plen 252
    Read Local Name (0x03|0x0014) ncmd 1
    status 0x00 name 'CSR8510 A10.'
< HCI Command: Read Voice Setting (0x03|0x0025) plen 0
> HCI Event: Command Complete (0x0e) plen 6
    Read Voice Setting (0x03|0x0025) ncmd 1
    status 0x00 voice setting 0x
< HCI Command: Read Number of Supported IAC (0x03|0x0038) plen 0
> HCI Event: Command Complete (0x0e) plen 5
    Read Number of Supported IAC (0x03|0x0038) ncmd 1
    : 00 02 ..
< HCI Command: Read Current IAC LAP (0x03|0x0039) plen 0
> HCI Event: Command Complete (0x0e) plen 8
    Read Current IAC LAP (0x03|0x0039) ncmd 1
    IAC 0x9e8b33 (General Inquiry Access Code)
< HCI Command: Set Event Filter (0x03|0x0005) plen 1
    type 0 condition 0
    Clear all filters
> HCI Event: Command Complete (0x0e) plen 4
    Set Event Filter (0x03|0x0005) ncmd 1
    status 0x12
    Error: Invalid HCI Command Parameters

On kernel

Linux client.bronzemail.com 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 
(2021-01-30) x86_64 GNU/Linux


Any suggestions on how to progress?

--
Jeremy



OpenPGP_signature
Description: OpenPGP digital signature


Re: WiFi Hardware not detected, during Debian NetInst Install

2021-03-24 Thread David Wright
On Wed 24 Mar 2021 at 17:58:58 (-0400), Cmdte Alpha Tigre Z wrote:
> 
> I saw the bug report.  Mr. Charles Curley provided relevant information
> about the installation process stored on log files.  Perhaps it would be good
> to follow Mr. David Wright's advice, you could help with bug-fixing process
> sending some installation log information to narrow what the developers
> should be looking for.  As for the reproduction of the bug, I think one
> would need a similar hardware configuration to reach the problem;
> at least you need the WiFi device, so it would be good if you could provide
> more details, if you have the time, of course.

I've just looked at bug report #985755 and there are, currently, a
mere four occurrences of the string 8723, only one of which is
actually in the text. Most of the logs appear to be about the
Intel PRO/Wireless 2200BG device, its module ipw2200 and firmware
ipw2200-bss.fw. My newly oldest computer, an Acer TravelMate 3201XCi,
built in 2004, contains one of these. If it's of any use to Charles,
I can warn that this laptop has the annoying habit of booting up
with the wifi blocked. (It has a pair of insanely placed toggling
buttons/lights for wifi and bluetooth, and I've never figured out
what the wifi light correlates with.) I know nothing about the R51
and whether there are any firmware buttons or function keys that
would affect its wifi.

As far as "my advice" is concerned (which really arose from an
apparent difference in how the d-i firmware is loaded in wheezy
and buster), we haven't yet been shown any direct evidence of
which module drives the 8723, nor of what firmware it uses.
(These can easily be determined from dmesg when the installed
system is running.) This should allow a more focussed report
from the installation logs (of which we've seen nothing IIRC).

Cheers,
David.



Re: Compatibilidad dispositivo USB 3.0 en puerto 2.0

2021-03-24 Thread Felix Perez
El jue, 25 de mar. de 2021 a la(s) 00:21, Ignacio Martirén (
simarti...@gmail.com) escribió:

> Hola lista. Soy usuario Debian, ahora en Buster, tengo que instalar una
> placa de red por USB en una compu de escritorio. El elemento que quiero
> comprar es este
>
>
> https://www.venex.com.ar/componentes-de-pc/placas-de-red/tp-link-tl-wn822n.html
> que es 3.0 pero mi maquina es vieja y los puerto USB son 2.0; además en el
> prospecto del producto se menciona que necesita S.O. Windows ó Mac y no
> menciona Linux.
> Les pregunto si con el puerto habrá problema y si lo del S.O. realmente
> sería problema.  MUCHAS GRACIAS
>

Dice en el link que envías:

CARACTERÍSTICAS DE HARDWARE:
Interface Mini USB 2.0
...
Requerimientos del sistema:
Windows 10/8.1/8/7/XP (32/64bit)
Mac OS X 10.9-10.13, Linux

He usado tplink antes en distintas distros y generalmente andan bien en
linux.
 Suerte.

-- 

> *  Ignacio*
>
>
>

-- 
usuario linux  #274354
normas de la lista:  http://wiki.debian.org/es/NormasLista
como hacer preguntas inteligentes:
http://www.sindominio.net/ayuda/preguntas-inteligentes.html


Compatibilidad dispositivo USB 3.0 en puerto 2.0

2021-03-24 Thread Ignacio Martirén
Hola lista. Soy usuario Debian, ahora en Buster, tengo que instalar una
placa de red por USB en una compu de escritorio. El elemento que quiero
comprar es este

https://www.venex.com.ar/componentes-de-pc/placas-de-red/tp-link-tl-wn822n.html
que es 3.0 pero mi maquina es vieja y los puerto USB son 2.0; además en el
prospecto del producto se menciona que necesita S.O. Windows ó Mac y no
menciona Linux.
Les pregunto si con el puerto habrá problema y si lo del S.O. realmente
sería problema.  MUCHAS GRACIAS
-- 
*  Ignacio*


Re: MATE desktop - changing icon of a Launcher

2021-03-24 Thread Marc Shapiro



On 3/24/21 2:14 PM, Dominic Knight wrote:

On Tue, 2021-03-23 at 09:26 -0500, Richard Owlett wrote:

I've been use MATE almost since it came out.
IIRC I used to use a series of mouse clicks to determine the file
name
{including path} of the current icon.

On my current systems {one Stretch, one Buster} if I:

I am using Bullseye and Mate, for clarity, my icons are all on
taskbars, none are on the desktop.


   1. right click on the Launcher
   2. select properties
   3. left click on the current icon

I get a "Select Custom Icon" menu. In it I can select a directory to
search and it will display a list of available icons in that
directory.


I get "Choose an icon"


But I need to know the complete path to the current icon.

The path to the current (icon) directory is listed above the icons you
can select from. You would have to note this down as it is not possible
to select it for cut and paste purposes.


I can get the desired information by opening the launcher with a text
editor. {I want a "mouse click" method to obtain the information as
I'm
setting up a system for a very novice user.}

Suggestions?
TIA



No help I know but it does not currently seem possible to do exactly
what you require.
Cheers,
Dom


When selecting an icon from the desktop, I get the same results as 
Richard.  If I select an icon from a taskbar, I get the same results as 
Dominic .


You can get to the info strictly by mouse clicks for icons on the 
desktop by dragging the icon onto a taskbar, then follow the same steps 
that you listed.  You can delete the icon from the taskbar afterwards, 
but this is probably not what you really want.



Marc



Re: Subject: Re: Slow connections - DNS problems?

2021-03-24 Thread David Christensen

On 3/24/21 2:44 PM, Charlie Gibbs wrote:


$ cat /etc/debian_version
10.8



Okay -- that is current.



$ uname -a
Linux cjglap2 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) 
x86_64 GNU/Linux



Okay -- that is current.



$ nmcli g status
STATE  CONNECTIVITY  WIFI-HW  WIFI WWAN-HW  WWAN
connected  full  enabled  enabled  enabled  enabled



Okay.



$ nmcli c show
NAME UUID  TYPE DEVICE
mundie 6 f877f569-e0a2-4ff8-96d5-a1e9d39f41ce  wifi wlp3s0
Wired connection 1   3a662505-1ba3-4d66-9407-477a0eb47a8f  ethernet enp0s25
(plus 14 lines for wifi connections I've had in the past)    --



So, your computer has two active network interfaces, one Ethernet and 
one Wi-Fi.  If each is connected to a different network and you know 
what you are doing, then that is okay.  But if they are both connected 
to the same network without you having a very specific reason for doing 
so and the knowledge to make it happen correctly, then you are asking 
for problems.




$ nmcli d show
GENERAL.DEVICE: enp0s25
GENERAL.TYPE:   ethernet
GENERAL.HWADDR: 5C:FF:35:07:33:D2
GENERAL.MTU:    1500
GENERAL.STATE:  100 (connected)
GENERAL.CONNECTION: Wired connection 1
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/152
WIRED-PROPERTIES.CARRIER:   on
IP4.ADDRESS[1]: 192.168.0.33/24



Your Ethernet is on network 192.168.0.0/24 at IP address 192.168.0.33.



GENERAL.DEVICE: wlp3s0
GENERAL.TYPE:   wifi
GENERAL.HWADDR: 18:3D:A2:A6:56:14
GENERAL.MTU:    1500
GENERAL.STATE:  100 (connected)
GENERAL.CONNECTION: mundie 6
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/153
IP4.ADDRESS[1]: 192.168.0.44/24



Your Wi-Fi is also on network 192.168.0.0/24 at address 192.168.0.44.


Why are your Ethernet and Wi-Fi adapters connected to the same network? 
 If you do not have a solid reason, disconnect one and configure 
Network Manager to only automatically connect one of them.



While many DHCP servers allow me to pick arbitrary starting and ending 
lease addresses, I prefer to think of DHCP leases as a subnet and align 
the start and ending addresses accordingly.  So, I would treat DHCP as 
network 192.168.128.0/25 and configure the network gateway DHCP server 
leases to start at 192.168.0.130 and to end at 192.168.0.254 (e.g. leave 
out 192.168.0.129 for a gateway and leave out 102.168.0.255 for 
broadcast).  I recommend doing this.




$ time host -v -t A www.debian.org 208.67.222.222
Trying "www.debian.org"
Using domain server:
Name: 208.67.222.222
Address: 208.67.222.222#53
Aliases:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21468
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.debian.org.    IN    A

;; ANSWER SECTION:
www.debian.org.    300    IN    A    128.31.0.62
www.debian.org.    300    IN    A    149.20.4.15

Received 64 bytes from 208.67.222.222#53 in 584 ms



Okay.



$ time host -v -t A news.newsguy.com 208.67.222.222
Trying "news.newsguy.com"
Using domain server:
Name: 208.67.222.222
Address: 208.67.222.222#53
Aliases:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35638
;; flags: qr rd ra; QUERY: 1, ANSWER: 8, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;news.newsguy.com.    IN    A

;; ANSWER SECTION:
news.newsguy.com.    3600    IN    A    74.209.136.82
news.newsguy.com.    3600    IN    A    74.209.136.88
news.newsguy.com.    3600    IN    A    74.209.136.89
news.newsguy.com.    3600    IN    A    74.209.136.90
news.newsguy.com.    3600    IN    A    74.209.136.91
news.newsguy.com.    3600    IN    A    74.209.136.92
news.newsguy.com.    3600    IN    A    74.209.136.94
news.newsguy.com.    3600    IN    A    74.209.136.95

Received 162 bytes from 208.67.222.222#53 in 118 ms


> I threw in one with a call to news.newsguy.com as well,
> since that's the server I'm having trouble connecting to.


Hmmm...  I am curious why they have eight 'A' records in the same 
subnet.  Are they attempting to provide redundancy, load balancing, or 
something else?  Figuring out how every client OS's and every client 
application will respond to this situation would require a lot of 
knowledge that is constantly changing -- e.g. a recipe for infinite bug 
propagation.  This could be a source of your problems.



(I would think they would be better off with one 'A' record pointing at 
a load balancer that fronts a DMZ containing the eight servers.  A 
second load balancer can be added with suitable tricks to deal with one 
balancer breaking.)



While you have no control over the 

Re: Creating my first LAN

2021-03-24 Thread IL Ka
>
> learning by doing

Theory and practice are both important. It is crucial to understand how IP
networks work, so I'd start with book like "TCP/IP Network Administration"


> During installation
> server software was installed on *ONE* of them. Communication will be
> via WiFi.


Did they get IP addresses from the DHCP running on your wifi router or did
you set IP addresses manually?
Use the "ip" command on each laptop to see which IP addresses do they have.
If addresses are ok, then use "ping" to see if laptops are able to "see"
each other.
Then run server software on one of them (apache web server or nginx for
example) and try to open it from another laptop using browser and
http://[laptop_ip]
URL.
After that, you can play with other server software (like OpenSSH which can
also be installed with tasksel) and "ssh" from one PC to another.
Then you can try to configure firewall (using iptables or nft): "linux
network administrator guide" can be used to study iptables.
Or study how DNS works (See "DNS and BIND" book)
As MTA (electronic mail) I prefer Postfix (which is available in Debian)
and the book named "The Book of Postfix".
These are "core" services each network administrator must know.

But there are alot of other services like samba, ftp, databases, etc


Re: HS: petite question bash et variable en argument d'une commande

2021-03-24 Thread l0f4r0
Bonjour,

Comme indiqué de manière très détaillée sur 
https://mywiki.wooledge.org/BashFAQ/050 (désolé c'est en anglais), stocker des 
commandes dans des variables est très hasardeux.
La façon la moins risquée est de passer par un tableau (d'ailleurs t'avais 
évoqué l'idée dans ton message initial).

Pour ton cas, ça donne donc :

date_args=( --date="1 days ago" )
date "${date_args[@]}" "+%A %d %B"

Bien cordialement,
l0f4r0



Re: Subject: Re: Slow connections - DNS problems?

2021-03-24 Thread Greg Wooledge
On Wed, Mar 24, 2021 at 02:44:37PM -0700, Charlie Gibbs wrote:
> I tried removing the 192.168.0.1 line along with the "search telus"
> line.  I didn't notice any difference, but could this be because
> this stuff is buffered somewhere?  Perhaps I need to kick something
> to make sure the new file is read.

Well, that depends entirely on what tests you performed, and what
applications you're using (the real reason why you were testing these
things in the first place).

A typical test would involve you running shell commands to perform
name lookups.  Each of those commands would invoke a new process,
which would re-read nsswitch.conf and resolv.conf and so on.  In that
sense, there is nothing you need to "restart".  The restarting is
implicit in the fact that you are running shell commands, each one
containing a separate, standalone instance of the resolver.

If there is an already-running process that you were using to do
real-life stuff (e.g. a web browser), and you wanted to load a new
page in the already-running instance of your web browser, then the
web browser, which has its own separate, standalone instance of the
resolver (possibly even a *unique* resolver, because browsers are
special snowflakes), may have cached some information, such as the
contents of resolv.conf.

Thus, you would be well-advised to restart any running browsers, mail
transport agents, NFS servers, and so on.  Any or all of these programs
that use DNS results may have cached the old resolv.conf, or the old
results from DNS (positive and negative), or all of the above.

But it all starts with an actual testing methodology of some kind, and
the transparent reporting of your testing results.  "I didn't notice
any difference" is not that.



Re: Creating my first LAN

2021-03-24 Thread David Wright
On Wed 24 Mar 2021 at 17:49:11 (-0400), Cmdte Alpha Tigre Z wrote:
> El mié, 24 mar 2021 a las 16:42, Brian () escribió:
> > On Wed 24 Mar 2021 at 20:20:59 +, Joe wrote:
> > > On Wed, 24 Mar 2021 15:08:43 -0500 David Wright wrote:
> > > >
> > > > A new N600 dual band router can be had for $30 at Walmart.
> > > > I don't know how easy it is to initially configure it without
> > > > an ethernet connection to one of the LAN ports, but that problem
> > > > can be considered solved by the quotation above (from a couple
> > > > of years back).
> > >
> > > For the record, many modern routers provide a URL to reach the admin
> > > page, so as long as wifi and DHCP are enabled out of the box, and they
> > > all do that, there's no need to mess about with IP addresses and
> > > cabling at all.
> >
> > [...]
> >
> > I am pleased you are supporting the advice I gave. Setting up one
> > computer [a]s an AP with DHCP is interesting but not exactly a walk
> > in the park.
> 
> I agree too.  Using a router would be a very easy way to set up
> an ad-hoc network.

Take care with your terminology (unless this was some sort of joke).
The idea of buying a router is to *avoid* having to set up an
ad-hoc network. Routers are designed to be APs and run a DHCP
server OOTB, whereas laptops are not. The debian-installer is
designed to make connecting to such an AP very straightforward.

(Of course, this might be all too conventional.)

Cheers,
David.



Re: how to indent when printing a ps file

2021-03-24 Thread Greg Marks
> I want to indent when printing a ps file.
> For a text file, it's easy with the "lpr -o page-left option, but
> it doesn't for a ps file. Google didn't help for that.

You can use the command pstops to print a PostScript file with
space added to one margin and subtracted from the opposite margin.
For example,

   pstops "1:0@1.0(1.4cm,0.0cm)" file.ps | lpr

will print file.ps with 1.4 centimeters added to the left margin.
Insert a negative sign to shift the other way.  The 0.0cm in the second
coordinate indicates that there should be no vertical shifting.

Best regards,
Greg Marks


signature.asc
Description: PGP signature


Re: Slow connections - DNS problems?

2021-03-24 Thread Joe
On Wed, 24 Mar 2021 17:13:20 -0400
Cmdte Alpha Tigre Z  wrote:

> El mié, 24 mar 2021 a las 10:45, Andrei POPESCU
> () escribió:
> >
> > On Mi, 24 mar 21, 10:34:54, to...@tuxteam.de wrote:  
> > > On Wed, Mar 24, 2021 at 09:24:28AM +, Darac Marjal wrote:  
> > > >
> > > > On 24/03/2021 05:32, Charlie Gibbs wrote:  
> > >
> > > [...]
> > >  
> > > > > # Generated by NetworkManager
> > > > > search telus
> > > > > nameserver 192.168.0.1
> > > > > nameserver 75.153.171.122
> > > > > nameserver 2001:568:ff09:10a::56
> > > > > # NOTE: the libc resolver may not support more than 3
> > > > > nameservers. # The nameservers listed below may not be
> > > > > recognized. nameserver 2001:568:ff09:10b::122
> > > > >
> > > > > My home router (supplied by Telus, notice the "search" line)  
> > > >
> > > > Just another point to add to what other people are saying. This
> > > > line looks a bit suspicious to me. The "search" line is
> > > > _supposed_ to be a list of domains which your computer is part
> > > > of. It's implemented such that, when the resolver is asked to
> > > > look up a short name (e.g. "printer" or "my-laptop" etc), then
> > > > each item in the search list will be appended in turn and a
> > > > lookup made. So, for example you could have "search example.com
> > > > example.net" and a lookup for "gateway" would try
> > > > "gateway.example.com" then "gateway.example.net" in turn.  
> > >
> > > [...]
> > >
> > > Well spotted. The "search telus" looks completely bogus, too.
> > > Unless you'have set up a local DNS with the "fake" TLD telus, but
> > > then, you'd probably know ;-)  
> >
> > This was likely set up by the Telus home router and provided via
> > DHCP to all local systems.  
> 
> Well, I'm not pretty sure about this subject but...  When I was
> setting up an OpenWRT router I saw there was a thing called "local
> domain", it looks like the router had a DNS that answered queries for
> that local top level domain, which had the hostnames of the devices
> connected to the router as subdomains. So, for example, if you had a
> device called "my-pc" and your local TLD was "telus",
> the writing "my-pc.telus" would send a DNS query to the router and
> it will answer with the IP address of that device.
> The router indeed used the DHCP to broadcast that local domain.
> 
> In order for that local domain to work, the router needed to have a
> DNS server running and configured to answer such queries, the DHCP
> server had to pass the device's hostnames to the DNS someway, and the
> router had to be announced as a DNS server to the devices connected
> on LAN by DHCP.  If you override the router DNS, the local domain
> will not work.
> 
> Perhaps the router's DNS server redirects non-local queries to
> upstream servers and maybe those DNS servers broadcasted by the DHCP
> are a little slow; together, that could introduce a little delay for
> DNS responses.  If you can, you could try to make the router send a
> known fast DNS server as the first DNS and then itself as the second
> DNS (if you want to keep the local domain).
> 
> As I said, I don't know too much about this, so please correct me if
> I'm wrong.
> 

A little. Even using root hints as a DNS server source should not
introduce a noticeable delay, whereas a client trying its number one DNS
server and getting no reply will cause a delay of 5-30 seconds. Once
the client has given up and found a working DNS server, it will normally
stick with that one for a while, maybe half an hour, before retrying
the first. Also, repeated calls to the same URL will normally get their
IP address information from the client's cache, further confusing
attempts at troubleshooting.

It is usually possible to override a poor choice coming from a DHCP
server, client computers have a DHCP client which can be configured to
either accept or refuse the values provided by the server. I'm not sure
how Network Manager deals with this, as I only use it on my mobile
computers, and not on my main network machines. Besides, I control the
DNS and DHCP servers in my network, and they do as they are told,
something that an ISP-supplied router usually doesn't. To be fair, the
ISP is only trying to cut down on finger-trouble service calls.

-- 
Joe



Re: Slow connections - DNS problems?

2021-03-24 Thread pioruns2019

On 24/03/2021 12:57, Greg Wooledge wrote:

On Wed, Mar 24, 2021 at 12:20:23PM +, pioruns2019 wrote:

You can use DNS Benchmark by Steve Gibson, written like 20 years ago in
assembly language. This will test your various DNS configurations and
diagnose them:



Or, you could simply run

dig @192.168.0.1 www.debian.org

And see what happens.  I bet it times out after about 30 seconds.


DNS Benchmark will help you choose best third party DNS resolver as it
compares them all.
I installed Bind9 in my network so I have my own resolver :)

--

With kindest regards, Piotr.

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



Subject: Re: Slow connections - DNS problems?

2021-03-24 Thread Charlie Gibbs

Further to my 20-30 second delay when firing up slrnpull:
Here are some of your responses and my replies:

On Wed Mar 24 13:08:20 2021  wrote:

> On Tue, Mar 23, 2021 at 10:32:27PM -0700, Charlie Gibbs wrote:

>> [contents of /etc/resolv.conf -> /run/NetworkManager/resolv.conf]

>> # Generated by NetworkManager
>> search telus
>> nameserver 192.168.0.1
>> nameserver 75.153.171.122
>> nameserver 2001:568:ff09:10a::56
>> # NOTE: the libc resolver may not support more than 3 nameservers.
>> # The nameservers listed below may not be recognized.
>> nameserver 2001:568:ff09:10b::122

> The 20-30 seconds hint at a DNS timeout.
>
> Try removing your first entry (192.168.0.1) from resolv.conf and
> see whether this changes (don't restart, NM will clobber your
> changes!)

I tried removing the 192.168.0.1 line along with the "search telus"
line.  I didn't notice any difference, but could this be because
this stuff is buffered somewhere?  Perhaps I need to kick something
to make sure the new file is read.


On Wed Mar 24 13:08:25 2021 Darac Marjal  wrote:

> Do you have an IPv6 address? If you run "ip -c -6 a", do you have an
> address with "scope global"? You may have one with "scope link", but
> that won't help at the moment. If you do, then congratulations: Telus
> have provided you with a connection to the modern internet. If not, then
> you won't be able to reach these resolver addresses.

1: lo:  mtu 65536 state UNKNOWN qlen 1000
inet6 ::1/128 scope host
   valid_lft forever preferred_lft forever
2: enp0s25:  mtu 1500 state 
UP qlen 1000
inet6 2001:569:74d8:9900:b476:fd78:f387:922c/64 scope 
global temporary dynamic

   valid_lft 14655sec preferred_lft 14355sec
inet6 2001:569:74d8:9900:5eff:35ff:fe07:33d2/64 scope 
global dynamic mngtmpaddr noprefixroute

   valid_lft 14655sec preferred_lft 14355sec
inet6 fe80::5eff:35ff:fe07:33d2/64 scope link noprefixroute
   valid_lft forever preferred_lft forever
3: wlp3s0:  mtu 1500 state 
UP qlen 1000
inet6 2001:569:74d8:9900:f953:7d51:de1c:b63d/64 scope 
global dynamic noprefixroute

   valid_lft 14655sec preferred_lft 14355sec
inet6 fe80::fb30:bc15:abf9:1f48/64 scope link noprefixroute
   valid_lft forever preferred_lft forever


On Wed Mar 24 13:08:45 2021 pioruns2019  wrote:

> You can use DNS Benchmark by Steve Gibson, written like 20 years ago
> in assembly language. This will test your various DNS configurations
> and diagnose them:
>
> https://www.grc.com/dns/benchmark.htm
>
> Use Wine to run it.
>
> wine DNSBench.exe
>
> It will tell you what's wrong, if anything, with your DNS configuration.

I have Windows XP running under VirtualBox on another machine;
I downloaded and ran DNSBench there.  It was happy with my
network, and claimed that 192.168.0.1 was one of the fastest
DNS servers available.


On Wed Mar 24 13:10:44 2021 Greg Wooledge  wrote:

> Or, you could simply run
>
> dig @192.168.0.1 www.debian.org
>
> And see what happens.  I bet it times out after about 30 seconds.

It came back instantly with

; <<>> DiG 9.11.5-P4-5.1+deb10u3-Debian <<>> @192.168.0.1 www.debian.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52104
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;www.debian.org.IN  A

;; ANSWER SECTION:
www.debian.org. 218 IN  A   149.20.4.15
www.debian.org. 218 IN  A   128.31.0.62

;; Query time: 8 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Wed Mar 24 13:13:11 PDT 2021
;; MSG SIZE  rcvd: 75

I tried again with the command "dig @192.168.0.1 news.newsguy.com",
since that's the news server it takes so long to connect to.  After
a barely-discernible pause, it came back with

; <<>> DiG 9.11.5-P4-5.1+deb10u3-Debian <<>> @192.168.0.1 news.newsguy.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7019
;; flags: qr rd ra; QUERY: 1, ANSWER: 8, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;news.newsguy.com.  IN  A

;; ANSWER SECTION:
news.newsguy.com.   3550IN  A   74.209.136.90
news.newsguy.com.   3550IN  A   74.209.136.91
news.newsguy.com.   3550IN  A   74.209.136.82
news.newsguy.com.   3550IN  A   74.209.136.88
news.newsguy.com.   3550IN  A   74.209.136.94
news.newsguy.com.   3550IN  A   74.209.136.95
news.newsguy.com.   3550IN  A   74.209.136.89
news.newsguy.com.   3550IN  A   74.209.136.92

;; Query time: 7 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Wed Mar 24 13:13:18 PDT 2021
;; MSG 

Re: WiFi Hardware not detected, during Debian NetInst Install

2021-03-24 Thread Cmdte Alpha Tigre Z
Hi.

I saw the bug report.  Mr. Charles Curley provided relevant information
about the installation process stored on log files.  Perhaps it would be good
to follow Mr. David Wright's advice, you could help with bug-fixing process
sending some installation log information to narrow what the developers
should be looking for.  As for the reproduction of the bug, I think one
would need a similar hardware configuration to reach the problem;
at least you need the WiFi device, so it would be good if you could provide
more details, if you have the time, of course.

Have a good day.



Re: Creating my first LAN

2021-03-24 Thread Cmdte Alpha Tigre Z
El mié, 24 mar 2021 a las 16:42, Brian () escribió:
>
> On Wed 24 Mar 2021 at 20:20:59 +, Joe wrote:
>
> > On Wed, 24 Mar 2021 15:08:43 -0500
> > David Wright  wrote:
> >
> >
> > >
> > > A new N600 dual band router can be had for $30 at Walmart.
> > > I don't know how easy it is to initially configure it without
> > > an ethernet connection to one of the LAN ports, but that problem
> > > can be considered solved by the quotation above (from a couple
> > > of years back).
> >
> > For the record, many modern routers provide a URL to reach the admin
> > page, so as long as wifi and DHCP are enabled out of the box, and they
> > all do that, there's no need to mess about with IP addresses and
> > cabling at all.
>
> [...]
>
> I am pleased you are supporting the advice I gave. Setting up one
> computer is an AP with DHCP is interesting but not exactly a walk
> in the park.

I agree too.  Using a router would be a very easy way to set up
an ad-hoc network.

-- 
Time zone: GMT-4



Re: OT: wine y Siap

2021-03-24 Thread Marcelo Eduardo Giordano



On 24/3/21 12:17, Camaleón wrote:

El 2021-03-24 a las 11:51 -0300, Marcelo Eduardo Giordano escribió:


On 24/3/21 11:33, Camaleón wrote:

(...)


2. Revisa los registros que genera Wine por si tuvieras más datos del
error cuando intentas imprimir.

¿Donde se miran los registros de wine? porque quise ejecutarlo desde la
consola y no me fue posible

Tienes que ejecutar la aplicación y mandar la salida a un archivo, aquí
indican cómo:

Where are 'wine' program execution logs stored?
https://askubuntu.com/questions/707941/where-are-wine-program-execution-logs-stored

wine programa.exe &>wine.log

Te iba a decir que miraras también en el registro de cups
(/var/log/cups/*) pero por el error que te aparece en la aplicación me
da la sensación de que ni siquiera llega a hacer el intento de
impresión, es decir, que siap detecta «erróneamente» algún trabajo
pendiente de impresión o que la impresora está ocupada y aborta la
orden.

Hum... ¿tienes algún archivo de tipo .lock (bloqueo) en el directorio
donde has instalado siap?

Saludos,

Como hago para escribir "Program Files (x86)" ya que hay una carpeta en 
ese directorio con el ejecutable.


Gracias por responder



Re: MATE desktop - changing icon of a Launcher

2021-03-24 Thread Dominic Knight
On Tue, 2021-03-23 at 09:26 -0500, Richard Owlett wrote:
> I've been use MATE almost since it came out.
> IIRC I used to use a series of mouse clicks to determine the file
> name
> {including path} of the current icon.
>
> On my current systems {one Stretch, one Buster} if I:

I am using Bullseye and Mate, for clarity, my icons are all on
taskbars, none are on the desktop.

>   1. right click on the Launcher
>   2. select properties
>   3. left click on the current icon
>
> I get a "Select Custom Icon" menu. In it I can select a directory to
> search and it will display a list of available icons in that
> directory.
>
I get "Choose an icon"

> But I need to know the complete path to the current icon.

The path to the current (icon) directory is listed above the icons you
can select from. You would have to note this down as it is not possible
to select it for cut and paste purposes.

> I can get the desired information by opening the launcher with a text
> editor. {I want a "mouse click" method to obtain the information as
> I'm
> setting up a system for a very novice user.}
>
> Suggestions?
> TIA
>


No help I know but it does not currently seem possible to do exactly
what you require.
Cheers,
Dom




Re: Slow connections - DNS problems?

2021-03-24 Thread Cmdte Alpha Tigre Z
El mié, 24 mar 2021 a las 10:45, Andrei POPESCU
() escribió:
>
> On Mi, 24 mar 21, 10:34:54, to...@tuxteam.de wrote:
> > On Wed, Mar 24, 2021 at 09:24:28AM +, Darac Marjal wrote:
> > >
> > > On 24/03/2021 05:32, Charlie Gibbs wrote:
> >
> > [...]
> >
> > > > # Generated by NetworkManager
> > > > search telus
> > > > nameserver 192.168.0.1
> > > > nameserver 75.153.171.122
> > > > nameserver 2001:568:ff09:10a::56
> > > > # NOTE: the libc resolver may not support more than 3 nameservers.
> > > > # The nameservers listed below may not be recognized.
> > > > nameserver 2001:568:ff09:10b::122
> > > >
> > > > My home router (supplied by Telus, notice the "search" line)
> > >
> > > Just another point to add to what other people are saying. This line
> > > looks a bit suspicious to me. The "search" line is _supposed_ to be a
> > > list of domains which your computer is part of. It's implemented such
> > > that, when the resolver is asked to look up a short name (e.g. "printer"
> > > or "my-laptop" etc), then each item in the search list will be appended
> > > in turn and a lookup made. So, for example you could have "search
> > > example.com example.net" and a lookup for "gateway" would try
> > > "gateway.example.com" then "gateway.example.net" in turn.
> >
> > [...]
> >
> > Well spotted. The "search telus" looks completely bogus, too. Unless
> > you'have set up a local DNS with the "fake" TLD telus, but then, you'd
> > probably know ;-)
>
> This was likely set up by the Telus home router and provided via DHCP to
> all local systems.

Well, I'm not pretty sure about this subject but...  When I was setting up
an OpenWRT router I saw there was a thing called "local domain", it looks
like the router had a DNS that answered queries for that local top level domain,
which had the hostnames of the devices connected to the router as subdomains.
So, for example, if you had a device called "my-pc" and your local TLD
was "telus",
the writing "my-pc.telus" would send a DNS query to the router and
it will answer with the IP address of that device.
The router indeed used the DHCP to broadcast that local domain.

In order for that local domain to work, the router needed to have a DNS
server running and configured to answer such queries, the DHCP server had
to pass the device's hostnames to the DNS someway, and the router
had to be announced as a DNS server to the devices connected on LAN
by DHCP.  If you override the router DNS, the local domain will not work.

Perhaps the router's DNS server redirects non-local queries to upstream servers
and maybe those DNS servers broadcasted by the DHCP are a little slow;
together, that could introduce a little delay for DNS responses.  If you can,
you could try to make the router send a known fast DNS server as the first
DNS and then itself as the second DNS (if you want to keep the local domain).

As I said, I don't know too much about this, so please correct me if I'm wrong.



RE: Discover who your competitors are - Vision Expo East 2021

2021-03-24 Thread Nora Lawrence


Hey there,

Hope you received my below email.

Shall I send you count and cost for the list.

Best Regards,
Nora Lawrence-Marketing Executive

From: Nora Lawrence
Sent: Tuesday, March 23, 2021 12:15 PM
To: debian-user@lists.debian.org
Subject: Discover who your competitors are - Vision Expo East 2021
Importance: High

Hello,

I'm writing to check if you would be interested in obtaining Vision Expo East 
2021. We do have the pre registered attendees database.

Visitors profile:- Optometrist, Buyer, Optician, Office/Practice Management and 
many others.

It helps you with multi-channel marketing. that includes : Email marketing, 
Tele-marketing, Event marketing, online marketing and others forms of marketing.

Please let me know your thoughts? If you're open to learning more, I'm happy to 
send over a Pricing & Counts and other information for you to review

Best Regards,
Nora Lawrence-Marketing Executive


Re: Creating my first LAN

2021-03-24 Thread Brian
On Wed 24 Mar 2021 at 20:20:59 +, Joe wrote:

> On Wed, 24 Mar 2021 15:08:43 -0500
> David Wright  wrote:
> 
>  
> > 
> > A new N600 dual band router can be had for $30 at Walmart.
> > I don't know how easy it is to initially configure it without
> > an ethernet connection to one of the LAN ports, but that problem
> > can be considered solved by the quotation above (from a couple
> > of years back).
> 
> For the record, many modern routers provide a URL to reach the admin
> page, so as long as wifi and DHCP are enabled out of the box, and they
> all do that, there's no need to mess about with IP addresses and
> cabling at all.

[...]

I am pleased you are supporting the advice I gave. Setting up one
computer is an AP with DHCP is interesting but not exactly a walk
in the park.

The OP might be persuaded.

-- 
Brian.



Re: Slow connections - DNS problems?

2021-03-24 Thread David Christensen

On 3/23/21 10:32 PM, Charlie Gibbs wrote:

I read Usenet (including this mailing list via the newsgroup
linux.debian.user) on my laptop. so I can keep up from anywhere.
It works well, but at home it takes 20 or 30 seconds to connect
to my NNTP server, newsguy.com.  If I take my laptop to the office
and run slrnpull there, it connects instantly.  I've mentioned this
to people in the past, and the consensus seems to be that it's some
sort of DNS problem.

My laptop is running NetworkManager.  When I wake it up at
a new location, resolv.conf (which is actually a link to
/run/NetworkManager/resolv.conf) gets overwritten with
information that works where I now am.  At the office,
it's simply:

# Generated by NetworkManager
nameserver 192.168.1.5
nameserver 192.168.1.1

while at home it becomes more intricate:

# Generated by NetworkManager
search telus
nameserver 192.168.0.1
nameserver 75.153.171.122
nameserver 2001:568:ff09:10a::56
# NOTE: the libc resolver may not support more than 3 nameservers.
# The nameservers listed below may not be recognized.
nameserver 2001:568:ff09:10b::122

My home router (supplied by Telus, notice the "search" line)
shows two DNS addresses - 75.153.176.1 and 75.153.171.122 -
on its configuration screen.  The second address (but not the
first) winds up in resolv.conf.  The router is at 192.168.0.1.
Dunno about those IPv6 addresses; I've made no conscious effort
to use IPv6 anywhere.

I suspect there's something fishy about that home resolv.conf;
can one of you gurus suggest what it might be?


Please run the following commands when your computer is connected to a 
given network:


$ cat /etc/debian_version

$ uname -a

$ nmcli g status

$ nmcli c show

$ nmcli d show

$ time host -v -t A www.debian.org 208.67.222.222

$ nmcli d show | perl -ae 'print $F[1],"\n" if $F[0] =~ 
/IP\d\.DNS\[\d+\]/' | xargs -n 1 host -v -t A www.debian.org



The second to last command uses opendns.org's primary DNS server.  The 
last command uses whatever DNS servers Network Manager is currently using.



David



Re: Creating my first LAN

2021-03-24 Thread Joe
On Wed, 24 Mar 2021 15:08:43 -0500
David Wright  wrote:

 
> 
> A new N600 dual band router can be had for $30 at Walmart.
> I don't know how easy it is to initially configure it without
> an ethernet connection to one of the LAN ports, but that problem
> can be considered solved by the quotation above (from a couple
> of years back).

For the record, many modern routers provide a URL to reach the admin
page, so as long as wifi and DHCP are enabled out of the box, and they
all do that, there's no need to mess about with IP addresses and
cabling at all. After all, many computer-like toys don't have
Ethernet ports or USB-A sockets. Even many otherwise serious netbooks
don't have Ethernet, a couple of years ago I bought one of the very few
that did. There's probably none now.

Domestic users all want to use wifi, none of these nasty cables, and
I'm sure their governments also want them to do so.

-- 
Joe



Re: Creating my first LAN

2021-03-24 Thread David Wright
On Wed 24 Mar 2021 at 20:06:37 (+0100), basti wrote:
> Am 24.03.21 um 19:38 schrieb Brian:
> > On Wed 24 Mar 2021 at 12:05:38 -0500, Richard Owlett wrote:
> >> On 03/24/2021 11:37 AM, Andrew M.A. Cater wrote:
> >>> On Wed, Mar 24, 2021 at 10:34:53AM -0500, Richard Owlett wrote:
>  This is essentially a reading list request.
>  I have never administered a LAN and believe in "learning by doing".
>  I have two laptops with clean installs of Buster. During installation 
>  server
>  software was installed on *ONE* of them. Communication will be via WiFi. 
>  The
>  MATE panel's network connection icon for each laptop shows the existence 
>  of
>  WiFi sources in the neighborhood.
> 
>  Any specific suggestions for reading?
>  What internet search terms will lead to productive results?
>  TIA
> >>>
> >>> Back to the 20 questions email:
> >>
> >> Not at all related!
> >> If not mentioned in current post - it does *NOT* exist.
> >> IOW the _current_ "Universe of Discourse" consists of EXACTLY two laptops
> >> communicating via WiFi. If that not a minimalists idea of a LAN, I don't
> >> know what is ;/
> > 
> > Minimalist? I suppose it is and, after it takes only two to tango; Reco
> > has outlined the steps.
> > 
> > However, when Donald T. and Kim J. got together for a quick chin-wag, the
> > minimalist concept fell apart because communication was a barrier. The
> > problem was solved by increasing the number of participants on their
> > network by at least one, a translator.
> > 
> > I strongly suggest you do the same and revise your action plan. Using a
> > wireless router as part of your minimalist LAN would be so much easier to
> > get the laptops talking to each other.
> 
> To connect 2 PCs Laptops or whatever why you don't use a LAN cable?

   "I had considered Ethernet over a year ago. Went so far as to
purchase an 8-port switch. Then realized there was not space on my
work surface for the cables."

> Keep in mind that modern Intel Wifi Cards do not support AP mode.

Does that apply to Ad-Hoc as well?

> Use a wifi router or Range expander that can be used as AP.

A new N600 dual band router can be had for $30 at Walmart.
I don't know how easy it is to initially configure it without
an ethernet connection to one of the LAN ports, but that problem
can be considered solved by the quotation above (from a couple
of years back).

Of course, the response could be just a load of caps and a
smattering of asterisks.

Cheers,
David.



Re: how to indent when printinng a ps file

2021-03-24 Thread tomas
On Wed, Mar 24, 2021 at 07:20:33PM +0100, Pierre Frenkiel wrote:
> hi,
> I'm fighting with the following stupid problem:
> I want to indent when printing a ps file.
> For a text file, it's easy with the "lpr -o page-left option, but
> it doesn't for a ps file. Google didn't help for that.
> Has anybody a solution?

Perhaps psnup can help you there. Don't be misled by the "multiple
pages per sheet" -- the multiple can be just 1. And you can adjust
margins, scale your page (for the case that it doesn't fit after
adding the margin) etc.

Cheers
 - t


signature.asc
Description: Digital signature


Re: Creating my first LAN

2021-03-24 Thread basti



Am 24.03.21 um 19:38 schrieb Brian:
> On Wed 24 Mar 2021 at 12:05:38 -0500, Richard Owlett wrote:
> 
>> On 03/24/2021 11:37 AM, Andrew M.A. Cater wrote:
>>> On Wed, Mar 24, 2021 at 10:34:53AM -0500, Richard Owlett wrote:
 This is essentially a reading list request.
 I have never administered a LAN and believe in "learning by doing".
 I have two laptops with clean installs of Buster. During installation 
 server
 software was installed on *ONE* of them. Communication will be via WiFi. 
 The
 MATE panel's network connection icon for each laptop shows the existence of
 WiFi sources in the neighborhood.

 Any specific suggestions for reading?
 What internet search terms will lead to productive results?
 TIA


>>>
>>> Back to the 20 questions email:
>>>
>>
>> Not at all related!
>> If not mentioned in current post - it does *NOT* exist.
>> IOW the _current_ "Universe of Discourse" consists of EXACTLY two laptops
>> communicating via WiFi. If that not a minimalists idea of a LAN, I don't
>> know what is ;/
> 
> Minimalist? I suppose it is and, after it takes only two to tango; Reco
> has outlined the steps.
> 
> However, when Donald T. and Kim J. got together for a quick chin-wag, the
> minimalist concept fell apart because communication was a barrier. The
> problem was solved by increasing the number of participants on their
> network by at least one, a translator.
> 
> I strongly suggest you do the same and revise your action plan. Using a
> wireless router as part of your minimalist LAN would be so much easier to
> get the laptops talking to each other.
> 

To connect 2 PCs Laptops or whatever why you don't use a LAN cable?
Keep in mind that modern Intel Wifi Cards do not support AP mode.
Use a wifi router or Range expander that can be used as AP.



Re: how to indent when printinng a ps file

2021-03-24 Thread Henning Follmann
On Wed, Mar 24, 2021 at 07:20:33PM +0100, Pierre Frenkiel wrote:
> hi,
> I'm fighting with the following stupid problem:
> I want to indent when printing a ps file.
> For a text file, it's easy with the "lpr -o page-left option, but
> it doesn't for a ps file. Google didn't help for that.
> Has anybody a solution?
> 
> best regards,


I think you are looking for left margin, not indent (which is the space
at the beginning of each paragraph).
And I am not sure this is easy. PS is already a page description
format. You would have to scale the whole page to and put it off
center on the new page.

-H

-- 
Henning Follmann   | hfollm...@itcfollmann.com



Re: how to indent when printinng a ps file

2021-03-24 Thread Georgi Naplatanov
On 3/24/21 8:20 PM, Pierre Frenkiel wrote:
> hi,
> I'm fighting with the following stupid problem:
> I want to indent when printing a ps file.
> For a text file, it's easy with the "lpr -o page-left option, but
> it doesn't for a ps file. Google didn't help for that.
> Has anybody a solution?
> 
> best regards,


Hi!

I'm using Debian 10. I checked lpr's man page and I didn't see
"page-left" as an option.

If you are looking for a GUI program then you can check Gimp. It can
import PS and PDF files and it supports margins in "File/Print" screen.

Kind regards
Georgi



Re: Creating my first LAN

2021-03-24 Thread Brian
On Wed 24 Mar 2021 at 12:05:38 -0500, Richard Owlett wrote:

> On 03/24/2021 11:37 AM, Andrew M.A. Cater wrote:
> > On Wed, Mar 24, 2021 at 10:34:53AM -0500, Richard Owlett wrote:
> > > This is essentially a reading list request.
> > > I have never administered a LAN and believe in "learning by doing".
> > > I have two laptops with clean installs of Buster. During installation 
> > > server
> > > software was installed on *ONE* of them. Communication will be via WiFi. 
> > > The
> > > MATE panel's network connection icon for each laptop shows the existence 
> > > of
> > > WiFi sources in the neighborhood.
> > > 
> > > Any specific suggestions for reading?
> > > What internet search terms will lead to productive results?
> > > TIA
> > > 
> > > 
> > 
> > Back to the 20 questions email:
> > 
> 
> Not at all related!
> If not mentioned in current post - it does *NOT* exist.
> IOW the _current_ "Universe of Discourse" consists of EXACTLY two laptops
> communicating via WiFi. If that not a minimalists idea of a LAN, I don't
> know what is ;/

Minimalist? I suppose it is and, after it takes only two to tango; Reco
has outlined the steps.

However, when Donald T. and Kim J. got together for a quick chin-wag, the
minimalist concept fell apart because communication was a barrier. The
problem was solved by increasing the number of participants on their
network by at least one, a translator.

I strongly suggest you do the same and revise your action plan. Using a
wireless router as part of your minimalist LAN would be so much easier to
get the laptops talking to each other.

-- 
Brian.



Re: xsane

2021-03-24 Thread Richard Lucassen
On Wed, 24 Mar 2021 16:56:46 +0100
Sjoerd  wrote:

> > Inderdaad, ik zie het. Ik word naar een duitstalige Ubuntusite
> > gestuurd trouwens.
> 
> Bij nader inzien, dat 'temporarily offline' duurt nu al twee jaar.
> Dus dat zie ik een beetje somber in.

Ja, want op zich werkt xsane uitstekend. Maar ja, de wereld er omheen
verandert en dan werkt het ineens niet meer. Wat dat betreft kun
je beter glazenwasser zijn want dat is over 25 jaar nog steeds
hetzelfde.

Even wat verder gegraven en er is ook nog een package "sane" en daar
zit xscanimage in en simplescan heet simple-scan onder Debian. Op zich
werken ze goed. Dan heb ik in ieder geval een vervanger voor xsane.
Voordeel van xscanimage is dat je van tevoren een window kunt maken
terwijl dat bij simplescan achteraf moet en je dus al de complete A4
hebt ingescand.

R.

-- 
richard lucassen
http://contact.xaq.nl/



how to indent when printinng a ps file

2021-03-24 Thread Pierre Frenkiel

hi,
I'm fighting with the following stupid problem:
I want to indent when printing a ps file.
For a text file, it's easy with the "lpr -o page-left option, but
it doesn't for a ps file. Google didn't help for that.
Has anybody a solution?

best regards,
--
Pierre Frenkiel



Re: Creating my first LAN

2021-03-24 Thread Richard Owlett

On 03/24/2021 12:22 PM, Reco wrote:

On Wed, Mar 24, 2021 at 12:15:34PM -0500, Richard Owlett wrote:

On 03/24/2021 10:40 AM, Reco wrote:

On Wed, Mar 24, 2021 at 10:34:53AM -0500, Richard Owlett wrote:

I have two laptops with clean installs of Buster. During installation
server software was installed on *ONE* of them. Communication will be
via WiFi.  Any specific suggestions for reading?


hostapd, dhcpd, bind (named). Last two can be replaced with dnsmasq.


References to man pages is premature.
Thought my phrasing would exclude them ;{


It definitely did not, at least for me :)
I mean, you asked for some keywords, I gave you them.



What I was looking for would be an overview significantly higher level
that those low level functions.


Ok. Then I'd start with [1] and [2].

Reco

[1] https://wiki.gentoo.org/wiki/Hostapd
[2] https://wiki.archlinux.org/index.php/software_access_point





[2] has a link to 
https://wiki.archlinux.org/index.php/Ad-hoc_networking#Network_configuration 
which comes close to what I was looking for.


In a private message I was referred to
  https://html.duckduckgo.com/html?q=home%20lan%20setup%20wireless
which has some promising links.

Have errands to run but much rain scheduled for tomorrow. Great for 
reading ;}


Thanks

\



Re: Creating my first LAN

2021-03-24 Thread Richard Owlett

On 03/24/2021 10:57 AM, Charles Curley wrote:

On Wed, 24 Mar 2021 10:34:53 -0500
Richard Owlett  wrote:


I have never administered a LAN and believe in "learning by doing".


You will. :-)


I have two laptops with clean installs of Buster. During installation
server software was installed on *ONE* of them. Communication will be
via WiFi. The MATE panel's network connection icon for each laptop
shows the existence of WiFi sources in the neighborhood.


You did not mention a WiFi access point or similar, nor your proposed
Internet access.


"Universe of Discourse" does not include existence of internet.
When I said LAN, the intended emphAsis was on *local* ;}




How familiar are you wired networking? Ethernet?


They existed in systems I have used but I had no need to know the details.


The TCP/IP protocol suite?


The documentation I'm looking for might mention the existence of 
"protocols" but would not go into details.




You might start with The Debian Administrator's Handbook.
https://www.debian.org/doc/manuals/debian-handbook/


Sections 8 and 11 are relevant DETAILS but I'm looking for an overview.
IOW it should prompt me to ask myself questions rather than try to 
answer questions I haven't asked.




There is a lot more Debian doc. https://www.debian.org/doc/



Does not attempt to discuss my topic.





Re: Replace a failed block device with null PV in an LVM VG

2021-03-24 Thread Reco
On Wed, Mar 24, 2021 at 05:17:57PM +, David Pottage wrote:
> On 2021-03-24 12:37, Reco wrote:
> > Hi.
> > 
> > On Wed, Mar 24, 2021 at 10:26:49AM +, David Pottage wrote:
> > > Is there a way to assemble the VG and mount those ext4 filesystems in
> > > such a way that read attempts from the missing PV will return zeros,
> > > but the rest of the filesystem will work?
> > 
> > Try this:
> > 
> > vgchange --activationmode partial -ay
> > lvs
> > # immediately dump logical volume in question somewhere with cat/dd
> > cat /dev// > lv.img
> > vgchange -an 
> > # run fsck -f on a copy of logical volume
> > fsck -f lv.img
> > # try mounting it
> > mount -o loop lv.img /
> 
> 
> Thanks, that partly worked. It was an older version of LVM2, so I had to 
> modify the command line syntax to "vgchange --partial -ay "
> 
> I was then able to mount the damaged volumes and get back nearly half of the 
> lost files. I had a separate record of SHA1 checksums of all the lost files 
> and
> all the recovered files have been checked and are undamaged.
> 
> Thanks for your help.

You're welcome.

Reco



Re: Creating my first LAN

2021-03-24 Thread Reco
On Wed, Mar 24, 2021 at 12:15:34PM -0500, Richard Owlett wrote:
> On 03/24/2021 10:40 AM, Reco wrote:
> > On Wed, Mar 24, 2021 at 10:34:53AM -0500, Richard Owlett wrote:
> > > I have two laptops with clean installs of Buster. During installation
> > > server software was installed on *ONE* of them. Communication will be
> > > via WiFi.  Any specific suggestions for reading?
> > 
> > hostapd, dhcpd, bind (named). Last two can be replaced with dnsmasq.
> 
> References to man pages is premature.
> Thought my phrasing would exclude them ;{

It definitely did not, at least for me :)
I mean, you asked for some keywords, I gave you them.


> What I was looking for would be an overview significantly higher level
> that those low level functions.

Ok. Then I'd start with [1] and [2].

Reco

[1] https://wiki.gentoo.org/wiki/Hostapd
[2] https://wiki.archlinux.org/index.php/software_access_point



Re: Replace a failed block device with null PV in an LVM VG

2021-03-24 Thread David Pottage

On 2021-03-24 12:37, Reco wrote:

Hi.

On Wed, Mar 24, 2021 at 10:26:49AM +, David Pottage wrote:

Is there a way to assemble the VG and mount those ext4 filesystems in
such a way that read attempts from the missing PV will return zeros,
but the rest of the filesystem will work?


Try this:

vgchange --activationmode partial -ay
lvs
# immediately dump logical volume in question somewhere with cat/dd
cat /dev// > lv.img
vgchange -an 
# run fsck -f on a copy of logical volume
fsck -f lv.img
# try mounting it
mount -o loop lv.img /



Thanks, that partly worked. It was an older version of LVM2, so I had to 
modify the command line syntax to "vgchange --partial -ay "


I was then able to mount the damaged volumes and get back nearly half of 
the lost files. I had a separate record of SHA1 checksums of all the 
lost files and all the recovered files have been checked and are 
undamaged.


Thanks for your help.

--
David Pottage



Re: Creating my first LAN

2021-03-24 Thread Richard Owlett

On 03/24/2021 10:40 AM, Reco wrote:

Hi.

On Wed, Mar 24, 2021 at 10:34:53AM -0500, Richard Owlett wrote:

I have two laptops with clean installs of Buster. During installation
server software was installed on *ONE* of them. Communication will be
via WiFi.  Any specific suggestions for reading?


hostapd, dhcpd, bind (named). Last two can be replaced with dnsmasq.



References to man pages is premature.
Thought my phrasing would exclude them ;{
What I was looking for would be an overview significantly higher level 
that those low level functions.






Re: Creating my first LAN

2021-03-24 Thread Richard Owlett

On 03/24/2021 11:37 AM, Andrew M.A. Cater wrote:

On Wed, Mar 24, 2021 at 10:34:53AM -0500, Richard Owlett wrote:

This is essentially a reading list request.
I have never administered a LAN and believe in "learning by doing".
I have two laptops with clean installs of Buster. During installation server
software was installed on *ONE* of them. Communication will be via WiFi. The
MATE panel's network connection icon for each laptop shows the existence of
WiFi sources in the neighborhood.

Any specific suggestions for reading?
What internet search terms will lead to productive results?
TIA




Back to the 20 questions email:



Not at all related!
If not mentioned in current post - it does *NOT* exist.
IOW the _current_ "Universe of Discourse" consists of EXACTLY two 
laptops communicating via WiFi. If that not a minimalists idea of a LAN, 
I don't know what is ;/






Re: Creating my first LAN

2021-03-24 Thread Andrew M.A. Cater
On Wed, Mar 24, 2021 at 10:34:53AM -0500, Richard Owlett wrote:
> This is essentially a reading list request.
> I have never administered a LAN and believe in "learning by doing".
> I have two laptops with clean installs of Buster. During installation server
> software was installed on *ONE* of them. Communication will be via WiFi. The
> MATE panel's network connection icon for each laptop shows the existence of
> WiFi sources in the neighborhood.
> 
> Any specific suggestions for reading?
> What internet search terms will lead to productive results?
> TIA
> 
> 

Back to the 20 questions email:

* You've got two laptops which can connect via wifi to your wifi appliance - 
the T-Mobile hotspot?

* They pick up an IP address via DHCP?

* The IP addresses are on the same subnet?

* If ICMP is not blocked - can you ping from one to the other / can you use
nslookup or similar to see that there is connectivity?

* Do both have connectivity to the Internet - can you use one of them to look
up information from the 'Net while you work on the other, for example?

* Server software - what do you want to DO? 

* What is it that you've installed to allow you to do that?


"I've bought a car: I believe in learning by doing: can anybody give me advice
on how to drive it - [Grand Theft Auto seemed to give advanced driving 
techniques that might be beyond me ... ] " 

would not be an appropriate introduction to beginning to learn to drive, 
for example : help us to help you.

All best,

Andy Cater






Re: xsane

2021-03-24 Thread Sjoerd
Richard Lucassen:
> Sjoerd:
> > Richard Lucassen:
> > > Zijn er vergelijkbare progs als xsane?
> > 
> > Nou, hier op de site van Sane: http://sane-project.org/sane-frontends.html
> > zie je dat de site van XSane alleen maar 'temporarily' offline is.
> 
> Inderdaad, ik zie het. Ik word naar een duitstalige Ubuntusite gestuurd
> trouwens.

Bij nader inzien, dat 'temporarily offline' duurt nu al twee jaar.
Dus dat zie ik een beetje somber in.



Re: Creating my first LAN

2021-03-24 Thread Charles Curley
On Wed, 24 Mar 2021 10:34:53 -0500
Richard Owlett  wrote:

> I have never administered a LAN and believe in "learning by doing".

You will. :-)

> I have two laptops with clean installs of Buster. During installation 
> server software was installed on *ONE* of them. Communication will be 
> via WiFi. The MATE panel's network connection icon for each laptop
> shows the existence of WiFi sources in the neighborhood.

You did not mention a WiFi access point or similar, nor your proposed
Internet access. How familiar are you wired networking? Ethernet? The
TCP/IP protocol suite?

You might start with The Debian Administrator's Handbook.
https://www.debian.org/doc/manuals/debian-handbook/

There is a lot more Debian doc. https://www.debian.org/doc/

-- 
Does anybody read signatures any more?

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



Re: xsane

2021-03-24 Thread Richard Lucassen
On Wed, 24 Mar 2021 14:36:37 +0100
Sjoerd  wrote:

> > Zijn er vergelijkbare progs als xsane?
> 
> Nou, hier op de site van Sane:
> http://sane-project.org/sane-frontends.html zie je dat de site van
> XSane alleen maar 'temporarily' offline is.

Inderdaad, ik zie het. Ik word naar een duitstalige Ubuntusite gestuurd
trouwens.

> Bovendien zie je hier tal van andere frontends voor Sane, van Kooka
> tot SimpleScan.

Ik gebruik het zelf niet maar ik ken wel een paar users die het
gebruiken, vandaar de vraag. Ik scan wel bonnetjes maar dat doe ik met
een shell script.

Thnx!

-- 
richard lucassen
http://contact.xaq.nl/



Re: Creating my first LAN

2021-03-24 Thread Reco
Hi.

On Wed, Mar 24, 2021 at 10:34:53AM -0500, Richard Owlett wrote:
> I have two laptops with clean installs of Buster. During installation
> server software was installed on *ONE* of them. Communication will be
> via WiFi.  Any specific suggestions for reading?

hostapd, dhcpd, bind (named). Last two can be replaced with dnsmasq.

Reco



Creating my first LAN

2021-03-24 Thread Richard Owlett

This is essentially a reading list request.
I have never administered a LAN and believe in "learning by doing".
I have two laptops with clean installs of Buster. During installation 
server software was installed on *ONE* of them. Communication will be 
via WiFi. The MATE panel's network connection icon for each laptop shows 
the existence of WiFi sources in the neighborhood.


Any specific suggestions for reading?
What internet search terms will lead to productive results?
TIA




Re: OT: wine y Siap

2021-03-24 Thread Camaleón
El 2021-03-24 a las 11:51 -0300, Marcelo Eduardo Giordano escribió:

> On 24/3/21 11:33, Camaleón wrote:

(...)

> > 2. Revisa los registros que genera Wine por si tuvieras más datos del
> > error cuando intentas imprimir.

> ¿Donde se miran los registros de wine? porque quise ejecutarlo desde la
> consola y no me fue posible

Tienes que ejecutar la aplicación y mandar la salida a un archivo, aquí 
indican cómo:

Where are 'wine' program execution logs stored?
https://askubuntu.com/questions/707941/where-are-wine-program-execution-logs-stored

wine programa.exe &>wine.log

Te iba a decir que miraras también en el registro de cups 
(/var/log/cups/*) pero por el error que te aparece en la aplicación me 
da la sensación de que ni siquiera llega a hacer el intento de 
impresión, es decir, que siap detecta «erróneamente» algún trabajo 
pendiente de impresión o que la impresora está ocupada y aborta la 
orden.

Hum... ¿tienes algún archivo de tipo .lock (bloqueo) en el directorio 
donde has instalado siap?

Saludos,

-- 
Camaleón 



Re: PHP 8 et Bullseye ( Debian 11 )

2021-03-24 Thread Louis-Philippe
Bonjour,

Merci pour cette réponse très détaillée !  Je comprends mieux maintenant
pourquoi il n'a pas été inclus.

Bonne journée,


Le lun. 22 mars 2021, à 16 h 40, Étienne Mollier 
a écrit :

> Louis-Philippe, on 2021-03-22 09:03:06 -0400:
> > Je m'inquiète pour le paquet PHP8 qui est encore et seulement dans SID
> > (voir texte en gras). Depuis le temps qu'il est publié, je suis surpris
> > qu'il ne soit pas dans testing. En version stable, PHP est rendu à
> 8.0.3...
> >
> > En date du 22 mars, est-ce qu'il y a des chances chance que PHP 8  soit
> > inclu dans la prochaine version stable ?
>
> Bonjour,
>
> Réponse rapide : php8.0 étant sorti de Testing pendant le gel,
> les chances qu'il réintègre Bullseye, à ce point de la
> publication, sont malheureusement quasiment nulles.
>
> Pour l'histoire un peu plus complète : apparemment, le paquet a
> intégré Testing quelque part aux alentours du mois de décembre.
> Ondřej Surý espérait pouvoir effectuer la transition[1] dans les
> semaines qui devaient suivre.  Toutefois, quelques facteurs se
> sont accumulés contre la sortie de php8.0 dans Bullseye.  J'ai
> noté entre autres :
>
>   - de nombreux paquets dépendant de php cassés et à réparer[2],
> notamment la suite Horde, et certains paquets affectés de
> régressions sur des problèmes de sécurité ;
>   - une couverture contre les problèmes de sécurité peut-être
> meilleure avec php 7.4[3] pour la durée de maintenance de
> Debian 11 ;
>
> En fin de compte, le paquet a été sciemment sorti de Bullseye[4]
> afin de limiter les risques de dégradation des fonctionnalités
> par rapport à php 7.4.  Si cela peut aider, il a été question
> d'un rétroportage de php8.0 dans bullseye-backports, dans le fil
> de discussion autour du bug Debian #976811[1].
>
> Le système de suivi de paquet peut être utile pour savoir où en
> sont les versions de php8.0[5] et de php par défaut[6] si besoin
> est.
>
> [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976811
> [2]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976811#57
> [3]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976811#132
> [4]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982177
> [5]: https://tracker.debian.org/pkg/php8.0
> [6]: https://tracker.debian.org/pkg/php-defaults
>
> En vous souhaitant malgré tout une bonne journée,
> --
> Étienne Mollier 
> Fingerprint:  8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
> Sent from /dev/pts/2, please excuse my verbosity.
>


-- 
Louis-Philippe Gauthier


Re: Replace a failed block device with null PV in an LVM VG

2021-03-24 Thread songbird
Dan Ritter wrote:
...
> Next time: verify that you are backing up everything that you
> need to backup. I know it's boring.

  it seems like it should be common sense for anyone worried
about redundancy to the extent of having raid to also think
about making sure there is more than one controller/device/
cabinet involved in the redundancy.

  however, not knowing how those devices were set up perhaps
moving the blinking red devices to another cabinet might be
worth a try.


  songbird



Re: OT: wine y Siap

2021-03-24 Thread Marcelo Eduardo Giordano



On 24/3/21 11:33, Camaleón wrote:

El 2021-03-24 a las 07:59 -0300, Marcelo Eduardo Giordano escribió:


Les comento que en Argentina los contadores usamos un sofware llamado Siap
que sirve para las presentaciones ante el fisco. Lamentablemente dicho
software está muy olvidado, hace tiempo que no actualizan y no tiene versión
de linux.

(...)


El problema es que al ir a la pantalla de impresión en IVA el sistema dice
"ERROR y abajo dice "Está intentando inciiar un trabajo de impresión que ya
está iniciado. Esto puee sucerderi si el usuario comienza una impresión e
intenta iniciar otra antes de que la actual haya terminado.

Algunas ideas:

1. Que funcione en un módulo pero en otro no podría indicar que el error
sea de la propia aplicacación, es decir, que en Windows pase o mismo,
por lo que en primer lugar contactaría a los desarrolladores y les
expondría el problema (sin mencionar nada de Linux o Wine), por si
estuviera documentado el problema y cómo resolverlo:

https://servicioscf.afip.gob.ar/publico/crmcit/consulta.aspx

Voy a intentarlo, no se pierde nada

2. Revisa los registros que genera Wine por si tuvieras más datos del
error cuando intentas imprimir.
¿Donde se miran los registros de wine? porque quise ejecutarlo desde la 
consola y no me fue posible

3. Entiendo que Wine usa CUPS para imprimir, por lo que podrías
intentar detener el servicio de impresión y reiniciarlo (service cups
restart) para ver si de esa manera te permite imprimir.

No funcionó


4. Prueba a mandar imprimir con otra impresora, aunque sea una virtual
(PDF) para ver si el error persiste.

Había probado con otra impresora y tampoco funcionó


Saludos,


Gracias por tus valiosas respuestas

MARCELO







Activar / desactivar WOR (wake on ring) desde Linux

2021-03-24 Thread Camaleón
Hola,

Estoy buscando la forma de activar / desactivar la funcionalidad de la 
BIOS WOR (Wake-On-Ring) pero desde el sistema, es decir, algo similar a 
lo que permite la herramienta ethtool¹ («ethtool -s wol d») pero para el
puerto RS-232.

Con la BIOS actual WOR se encuentra habilitado y funciona, pero quiero 
desactivarlo y no existe una opción para poder hacerlo (es una BIOS 
Phoenix del año 2005-2006). Tampoco quiero abrir el equipo para meter 
un jumper cada vez que quiera activar/desactivar WOR, que seguramente 
también sea posible pero me parece exagerado.

He mirado la utilidad setserial² pero no veo que tenga disponible esa 
opción, por lo que si alguien tiene alguna idea o conoce de aplicación 
o forma de poder gestionar esa característica se agradecen sugerencias.

¹https://manpages.debian.org/buster/ethtool/ethtool.8.en.html
²https://manpages.debian.org/buster/setserial/setserial.8.en.html

Saludos,

-- 
Camaleón 



Re: instalar debian testing o esperar

2021-03-24 Thread Marcelo Eduardo Giordano



On 24/3/21 11:31, JavierDebian wrote:



El 24/3/21 a las 07:51, Marcelo Eduardo Giordano escribió:
Hola amigo. Perdonen que toque de nuevo este tema que ya toqué en 
otro hilo, pero esta vez tengo otras dudas.


Tengo una máquina nueva para instalar debian y debido a que 
seguramente en cualquier momento sale debian 11, quería instalarlo en 
su sistema operativo, para evitar dentro de poco tener que instalar 
todo de nuevo ya que prefiero siempre una instalación limpia que un 
upgrade de distribución.


Otra duda es la siguiente. Si instalo debian 11 y apuntos mis 
repositorios a "testing" que pasa si sale debian 11? se me va a 
actualizar a debian 12? porque cuando salga debian 11 el nuevo 
testing va a ser debian 12.


Gracias por todo amigos.




Si hacés esta pregunta, NO INSTALES "TESTING", pues evidentemente no 
estás aún lo suficientemente maduro para usar una rama que, si bien 
tiene pocos problemas, cuando los tiene, suelen ser complicados de 
resolver.
Y sobre todo, que la versión de gcc, de la cual dependen la gran 
mayoría de los paquetes, puede complicarte MUCHO la vida.


Mi recomendación:

Instala "stable".

Por sobre todas las cosas, no hagas "frankendebian".

Cuando salga "bullseye", te lees las notas de actualización, y 
NORMALMENTE no hay problemas.


Lo de "normalmente" es según qué hayas hecho en tu sistema; algunos 
juegan un poco más que otros, otros rompemos el sistema más seguido...


JAP


PD: Soy Analista en sistemas. Uso Debian desde 2005. Todos mis equipos 
con "stable", una vieja netbook con "stretch" LTS. Y los experimentos, 
en una máquina virtual con testing, sid, paquetes extraños, etc.



Hola amigo.

A veces no queremos escuchar cuando nos dicen que no somos capaces de 
algo, pero me parece muy acertado tu comentario


Por supuesto que nada de frankendebian

Lo tendré en cuenta



Re: Slow connections - DNS problems?

2021-03-24 Thread Andrei POPESCU
On Mi, 24 mar 21, 10:34:54, to...@tuxteam.de wrote:
> On Wed, Mar 24, 2021 at 09:24:28AM +, Darac Marjal wrote:
> > 
> > On 24/03/2021 05:32, Charlie Gibbs wrote:
> 
> [...]
> 
> > > # Generated by NetworkManager
> > > search telus
> > > nameserver 192.168.0.1
> > > nameserver 75.153.171.122
> > > nameserver 2001:568:ff09:10a::56
> > > # NOTE: the libc resolver may not support more than 3 nameservers.
> > > # The nameservers listed below may not be recognized.
> > > nameserver 2001:568:ff09:10b::122
> > >
> > > My home router (supplied by Telus, notice the "search" line)
> > 
> > Just another point to add to what other people are saying. This line
> > looks a bit suspicious to me. The "search" line is _supposed_ to be a
> > list of domains which your computer is part of. It's implemented such
> > that, when the resolver is asked to look up a short name (e.g. "printer"
> > or "my-laptop" etc), then each item in the search list will be appended
> > in turn and a lookup made. So, for example you could have "search
> > example.com example.net" and a lookup for "gateway" would try
> > "gateway.example.com" then "gateway.example.net" in turn.
> 
> [...]
> 
> Well spotted. The "search telus" looks completely bogus, too. Unless
> you'have set up a local DNS with the "fake" TLD telus, but then, you'd
> probably know ;-)

This was likely set up by the Telus home router and provided via DHCP to 
all local systems.

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


signature.asc
Description: PGP signature


Re: OT: wine y Siap

2021-03-24 Thread Marcelo Eduardo Giordano



lo que hice fue instarlar virtualbox y windows xp  o windows 7 solo 
para eso
fue y es la mejor solucion hay una empresa que usa una app de la 
provincia de Entre Rios... y no hubo forma de que funcione.

por eso opte por lo que comente..


Si no logro solucionarlo voy a intentar esa opción. Muchas gracias



Re: OT: wine y Siap

2021-03-24 Thread Camaleón
El 2021-03-24 a las 07:59 -0300, Marcelo Eduardo Giordano escribió:

> Les comento que en Argentina los contadores usamos un sofware llamado Siap
> que sirve para las presentaciones ante el fisco. Lamentablemente dicho
> software está muy olvidado, hace tiempo que no actualizan y no tiene versión
> de linux.

(...)

> El problema es que al ir a la pantalla de impresión en IVA el sistema dice
> "ERROR y abajo dice "Está intentando inciiar un trabajo de impresión que ya
> está iniciado. Esto puee sucerderi si el usuario comienza una impresión e
> intenta iniciar otra antes de que la actual haya terminado.

Algunas ideas:

1. Que funcione en un módulo pero en otro no podría indicar que el error 
sea de la propia aplicacación, es decir, que en Windows pase o mismo, 
por lo que en primer lugar contactaría a los desarrolladores y les 
expondría el problema (sin mencionar nada de Linux o Wine), por si 
estuviera documentado el problema y cómo resolverlo:

https://servicioscf.afip.gob.ar/publico/crmcit/consulta.aspx

2. Revisa los registros que genera Wine por si tuvieras más datos del 
error cuando intentas imprimir.

3. Entiendo que Wine usa CUPS para imprimir, por lo que podrías 
intentar detener el servicio de impresión y reiniciarlo (service cups 
restart) para ver si de esa manera te permite imprimir.

4. Prueba a mandar imprimir con otra impresora, aunque sea una virtual 
(PDF) para ver si el error persiste.

Saludos,

-- 
Camaleón 



Re: instalar debian testing o esperar

2021-03-24 Thread JavierDebian




El 24/3/21 a las 07:51, Marcelo Eduardo Giordano escribió:
Hola amigo. Perdonen que toque de nuevo este tema que ya toqué en otro 
hilo, pero esta vez tengo otras dudas.


Tengo una máquina nueva para instalar debian y debido a que seguramente 
en cualquier momento sale debian 11, quería instalarlo en su sistema 
operativo, para evitar dentro de poco tener que instalar todo de nuevo 
ya que prefiero siempre una instalación limpia que un upgrade de 
distribución.


Otra duda es la siguiente. Si instalo debian 11 y apuntos mis 
repositorios a "testing" que pasa si sale debian 11? se me va a 
actualizar a debian 12? porque cuando salga debian 11 el nuevo testing 
va a ser debian 12.


Gracias por todo amigos.




Si hacés esta pregunta, NO INSTALES "TESTING", pues evidentemente no 
estás aún lo suficientemente maduro para usar una rama que, si bien 
tiene pocos problemas, cuando los tiene, suelen ser complicados de resolver.
Y sobre todo, que la versión de gcc, de la cual dependen la gran mayoría 
de los paquetes, puede complicarte MUCHO la vida.


Mi recomendación:

Instala "stable".

Por sobre todas las cosas, no hagas "frankendebian".

Cuando salga "bullseye", te lees las notas de actualización, y 
NORMALMENTE no hay problemas.


Lo de "normalmente" es según qué hayas hecho en tu sistema; algunos 
juegan un poco más que otros, otros rompemos el sistema más seguido...


JAP


PD: Soy Analista en sistemas. Uso Debian desde 2005. Todos mis equipos 
con "stable", una vieja netbook con "stretch" LTS. Y los experimentos, 
en una máquina virtual con testing, sid, paquetes extraños, etc.




Re: Debian et DNSSEC

2021-03-24 Thread NoSpam

Bonjour

Le 24/03/2021 à 14:59, Olivier a écrit :

Bonjour,

En installant Bind9 sur une machine, j'ai lu plusieurs références à 
DNSSEC, sujet que je connais très mal.


1. Par défaut, une machine Debian sous Buster ou Bullseye, est-elle 
configurée pour utiliser DNSSEC plutôt que DNS ?
Non. DNSSEC est du DNS, les entrées étant simplement valider par le 
propriétaire.


2. Qu'implique en terme d'administration, l'utilisation de DNSSEC ?
Faut-il gérer ou renouveler soi-même des certificats ?

Pas des certificats, signer les enregistrements DNS

Voit-on du traffic TCP/53 à la place d'UDP/53 ?

Aucun lien avec DNSSEC


3. Les opérateurs des serveurs DNS 1.1.1.1, 8.8.8.8, ... 
supportent-ils aussi le DNSSEC ?

Oui
Ceux-ci incitent-ils à l'utilisation d'une variante particulière (DNS 
over TLS, DNS over HTTPS, ...).


4. En 2021, cela vaut-il le coup d'investir du temps et des moyens de 
"passer ses équipements" (serveurs, terminaux, routeurs,...) au DNSSEC ?

Oui


5. Conseils ? Suggestions ?

Se renseigner ?

https://cloud.google.com/dns/docs/dnssec?hl=fr

https://www.afnic.fr/produits-services/formations/dnssec/

https://www.icann.org/resources/pages/dnssec-what-is-it-why-important-2019-03-20-fr

--

Daniel



Re: Configuration de Bind9

2021-03-24 Thread Christophe Maquaire
Le mercredi 24 mars 2021 à 14:41 +0100, Olivier a écrit :

Bonjour,

> J'ai aussi essayé, sans plus de succès, avec:
> 
> zone "foo.lan" {
>    type master;
>    forwarders { 192.168.1.1; }; # Adresse du serveur DNS sur foo.lan
> };
> 
> zone "bar.lan" {
>    type master;
>    file "/etc/bind/db.bar.lan";
> };
> 
> 
> 
> > 
> > 1. Quelle modification apporter pour résoudre host2.foo.lan ?
Je ne suis pas spécialiste de bind, mais je déclarerais forwarders en
dehors des déclaration de zone.
Pour le reste, je ne sais...
> > 2. Est-il possible (et souhaitable) d'éviter l'envoi de requêtes
> > host2.foo.lan.bar.lan ? Si oui, comment ?
> > 
> > Slts

Christophe



Re: network-manager

2021-03-24 Thread David Martin
Bonjour,

j'utilisais ifup down jusque là, mais avec network-manager est-ce identique.

Je vais creuser



Le mar. 23 mars 2021 à 11:07, Erwann Le Bras  a
écrit :

> bonjour
>
> je suis perplexe : un tel script n'est pas difficile à faire.
>
> En fait, ça réinitialise toutes les connexions en cours et le serveur de
> jeu, derrière, réinitialise la session.
>
> Quel est le but derrière?
> Le 22/03/2021 à 14:53, David Martin a écrit :
>
> Bonjour,
> Changer d'ip par exemple, et redémarrer le service.
> mettre une valeur ip aléatoire toute les 15 minutes ou autres...
>
> Automatiser quelque chose pour jouer sur un réseau.
>
> amitiés,
> --
>
> Erwann
>


-- 
david martin


Re: Debian Stable Updates Announcement SUA 197-1

2021-03-24 Thread Andrew M.A. Cater
On Tue, Mar 23, 2021 at 04:04:29PM -0700, David Christensen wrote:
> On 3/23/21 12:31 PM, Andrew M.A. Cater wrote:
> > On Tue, Mar 23, 2021 at 10:40:01AM -0700, David Christensen wrote:
> 
> > > I use Stretch for my daily driver laptop (Dell Latitude E6520) and UniFi
> > > Controller VPS.  ...
> > > I need to migrate the daily
> > > driver to Buster, but Buster does not like the Optimus graphics in the
> > > E6520.
> 
> > Have you tried installing the optimus under Buster
> 
> Looking in my notes, it looks like I tried installing
> nvidia-legacy-390xx-driver in January.  I do not see any URL for
> instructions.  The Debian wiki page for Optimus does not look familiar:
> 
>https://wiki.debian.org/NVIDIA%20Optimus
> 
> 
> In any case, my fumbling around only made things worse.  So, I wiped the SSD
> and did a fresh install KISS OOTB:
> 
> Insert debian-10.8.0-amd64-xfce-CD-1 USB flash drive.
> 
>   Debian GNU/Linux installer boot menu (BIOS mode)
>   Install
>   LanguageC
>   Continent or Region North America
>   Country, territory or area  United States
>   Keymap to use   American English
> 
> Pop-up dialog:
> 
>   Detect network hardware
> 
>   Some of your hardware needs non-free firmware files to operate.
>   The firwmare can be loaded from removable media, such as a USB
>   stick or floppy.
> 
>   The missing firmware files are: iwlwifi-6g2a-6.ucode
>   iwlwifi-6g2a-5.ucode
> 
>   If you have such media available now, insert it, and continue.
> 
>   Load missing fimrware from removable media?
> 
> Insert USB flash drive "usb64a" with "firmware" subdirectory
> containing Debian 10.8.0 firmware.  Choose "Yes".
> 
> Continue with install:
> 
>   Primary network interface   enp0s25
>   Hostnamedipsy
>   Domain name tracy.holgerdanske.com
>   Root password   ***
>   Full name for the new user  debian
>   Username for your account   debian
>   Choose a password for the new user  
>   Select your time zone   Pacific
>   Partitioning method manual
>   Encrypted volume (sda2_crypt) - 1.0 GB Linux device-mapper (crypt)
>#1 1.0 GB f  swap  swap
>   Encrypted volume (sda3_crypt) - 13.0 GB Linux device-mapper (crypt)
>#113.0 GB f  ext4  /
>   SCSI5 (0,0,0) (sda) - 60.0 GB ATA INTEL SSDSC2CW06
>#1  primary  999.3 MB  B  F  ext4  /boot
>#2  primary1.0 GB K  crypto   (sda2_crypt)
>#3  primary   13.0 GB K  crypto   (sda3_crypt)
>  45.0 GBFREESPACE
>   Finish partitioning and write changes to disk
>   Use a network mirrorYes
>   Mirror country  United States
>   Archive mirror  deb.debian.org
>   HTTP proxy  
>   Participate in the package usage survey No
>   Choose software to install
>   Debian desktop environment
>   Xfce
>   print server
>   SSH server
>   standard system utilities
>   Install the GRUB boot loader to th emaster boot record
>   Yes
>   Device for boot loader installation /dev/sda
> (ata-INTEL_SSDSC2SW060A3_***redacted***)
>   Installation complete   Continue
> 
>   Power down at POST.
> 
>   Remove installation media and firmware USB flash drive.
> 
> 
> The bug is back -- the desktop crashes within an hour when playing YouTube
> videos -- and the Dell Latitude E6520 laptop is on Craig's List.  So far,
> one scammer and two low-ballers.
> 
> 
> > - it's not as
> > straightforward as the standard install but there's a couple of steps
> > that will make it work. The main trick is to make sure that nvidia drivers
> > are never loaded until the point at which you've got everythng else
> > configured.
> 
> 
> If you have a URL with detailed instructions of how to install Buster on a
> laptop with Optimus, you have a laptop with Optimus, you followed the
> instructions, and the laptop can play YouTube videos for 24 hours without
> crashing, please post the URL.
> 
> 
> David
> 

OK - the trick is that for this to work out of the box, in my experience: 
you must NOT install any Nvidia drivers of any description or a desktop 
environment until after the prerequisites are in place - otherwise you end
up with instability. On the laptop I was using, the only way to get this
was to use bumblebee https://wiki.debian.org/Bumblebee. The 

Debian et DNSSEC

2021-03-24 Thread Olivier
Bonjour,

En installant Bind9 sur une machine, j'ai lu plusieurs références à DNSSEC,
sujet que je connais très mal.

1. Par défaut, une machine Debian sous Buster ou Bullseye, est-elle
configurée pour utiliser DNSSEC plutôt que DNS ?

2. Qu'implique en terme d'administration, l'utilisation de DNSSEC ?
Faut-il gérer ou renouveler soi-même des certificats ?
Voit-on du traffic TCP/53 à la place d'UDP/53 ?

3. Les opérateurs des serveurs DNS 1.1.1.1, 8.8.8.8, ... supportent-ils
aussi le DNSSEC ?
Ceux-ci incitent-ils à l'utilisation d'une variante particulière (DNS over
TLS, DNS over HTTPS, ...).

4. En 2021, cela vaut-il le coup d'investir du temps et des moyens de
"passer ses équipements" (serveurs, terminaux, routeurs,...) au DNSSEC ?

5. Conseils ? Suggestions ?

Slts


Re: OT: wine y Siap

2021-03-24 Thread walter




Marcelo Eduardo Giordano:

Hola estimados:

Les comento que en Argentina los contadores usamos un sofware llamado 
Siap que sirve para las presentaciones ante el fisco. Lamentablemente 
dicho software está muy olvidado, hace tiempo que no actualizan y no 
tiene versión de linux.


Probé de instalarlo en wine (era la primera vez que usaba este 
software) y grande fue mi sorpresa cuando vi que dicho software 
funcionaba a la perfección, hasta ayer que encontré un problema.


Les sigo contando. A este software "Siap" se le van sumando módulos 
conforme los impuestos que está inscripto el contribuyente. En mi caso 
utilizo dos aplicativos: 1) Compras y Ventas e 2) IVA


El problema es que al ir a la pantalla de impresión en IVA el sistema 
dice "ERROR y abajo dice "Está intentando inciiar un trabajo de 
impresión que ya está iniciado. Esto puee sucerderi si el usuario 
comienza una impresión e intenta iniciar otra antes de que la actual 
haya terminado.


Por supuesto que no he empezado ninguna impresión

En compras y ventas el sistema de impresión funciona perfecto

Si alguien puede ayudarme se lo voy a agradecer

MARCELO


hola se que no es solucion a  tu problema,, solo va mi experiencia:
yo me canse de lidiar... con todo eso que aplicativo para corregir 
tal o cual
lo que hice fue instarlar virtualbox y windows xp  o windows 7 solo para 
eso
fue y es la mejor solucion hay una empresa que usa una app de la 
provincia de Entre Rios... y no hubo forma de que funcione.

por eso opte por lo que comente..

Saludos y Gracias

--
===
www.infoquil.com.ar
Walter A. Jancich
+54 11 3433 2617



Re: Configuration de Bind9

2021-03-24 Thread Olivier
J'ai aussi essayé, sans plus de succès, avec:

zone "foo.lan" {
   type master;
   forwarders { 192.168.1.1; }; # Adresse du serveur DNS sur foo.lan
};

zone "bar.lan" {
   type master;
   file "/etc/bind/db.bar.lan";
};


À noter que sur le PC émettant les requêtes DNS, resolv.conf vaut:
nameserver 192.168.2.1
search bar.lan

Le mer. 24 mars 2021 à 13:56, Olivier  a écrit :

> Bonjour,
>
> Je souhaite mettre en place un serveur Bind9 avec les points suivants:
>
> La machine qui héberge Bind9 est sous Buster.
> Elle possède deux interfaces Ethernet, chacune connectée à un réseau local
> (foo.lan et bar.lan).
> Elle est client DHCP sur un réseau local (foo.lan), et fait office de
> passerelle sur l'autre réseau (bar.lan).
> Le services DNS est réservé au réseau local pour lequelle la machine fait
> office de passerelle (bar.lan).
> Je souhaite que le serveur DNS puisse:
> résoudre quelques noms d'hôtes locaux (toto.bar.lan, www.bar.lan)
> résoudre par un moyen idoine (redirection ? récursion ? transfert ? ...)
> quelques noms d'hôtes sur l'autre réseau (pipo.foo.lan, www.foo.lan)
> réduire au maximum les temps de réponses aux requêtes DNS (cache, ...).
>
> Le serveur DNS/DHCP/GW sur foo.lan est un EdgeRouter d'Ubiquiti dont je ne
> maîtrise pas (encore) les moyens de debug.
>
> Voici quelques éléments de ma config
>
> zone "bar.lan" {
>type master;
>file "/etc/bind/db.bar.lan";
>forwarders { 192.168.1.1; }; # Adresse du serveur DNS sur foo.lan
> };
>
> resolv.conf:
> nameserver 192.168.1.1
> search foo.lan
>
> Une résolution depuis un PC sur bar.lan fonctionne avec host1.bar.lan mais
> ne fonctionne pas avec host2.foo.lan.
>
> J'observe que dans ce dernier cas, Bind9:
> - reçoit une requête sur host2.foo.lan puis sur host2.foo.lan.bar.lan
> - répond No such name à chaque fois
> - me semble ne relayer aucune requête vers le serveur en 192.168.1.1 avant
> de répondre mais relaie la requête vers un serveur DNS public
> qui n'a évidemment aucune connaissance de host2.foo.lan.
>
> 1. Quelle modification apporter pour résoudre host2.foo.lan ?
> 2. Est-il possible (et souhaitable) d'éviter l'envoi de requêtes
> host2.foo.lan.bar.lan ? Si oui, comment ?
>
> Slts
>


Re: xsane

2021-03-24 Thread Sjoerd
Richard Lucassen vroeg:
> Zijn er vergelijkbare progs als xsane?

Nou, hier op de site van Sane: http://sane-project.org/sane-frontends.html
zie je dat de site van XSane alleen maar 'temporarily' offline is.

Bovendien zie je hier tal van andere frontends voor Sane, van Kooka tot
SimpleScan.



Re: instalar debian testing o esperar

2021-03-24 Thread Roberto C . Sánchez
On Wed, Mar 24, 2021 at 10:00:37AM -0300, Marcelo Eduardo Giordano wrote:
> Roberto:
> 
> Gracias por responder.
> 
De nada.

> Entonces los repositorios un ejemplo de repositorio seria asi:
> 
> deb http://deb.debian.org/debian bullseye main contrib non-free
> 
> De esa manera entiendo que cuando Bullseye se haga stable para mi va a ser
> "casi" transparente, no va a ocurrir nada en mi computadora
> 

En ese caso será absolutamente transparente.  Es decir, antes que se
haga estable bullseye, recibirás las últimas actualizaciones de paquetes
de último minuto (quizás arreglando defectos recién descubiertos o algo
así).  Después de del estreno no recibirás actualizaciones, menos en
estos dos casos:

- en el próximo "point release", como el de buster que viene en pocos
  días y que actualiza los paquetes principalmente para corregir
  defectos relacionado a la seguridad pero también otros defectos (por
  ejemplo datos de los husos horarios)
- paquetes son publicados a través de los avisos de seguridad; para
  recibir estos te hace falta un fuente seguridad:
  deb http://security.debian.org/ bullseye/updates main contrib non-free

La instalación te configura el repositorio de seguridad por defecto.

> A ver si entendí bien. Saludos desde Argentina
> 
Lo entiendes bien.

Saludos,

-Roberto

-- 
Roberto C. Sánchez



Re: instalar debian testing o esperar

2021-03-24 Thread Marcelo Eduardo Giordano



On 24/3/21 08:39, Roberto C. Sánchez wrote:

On Wed, Mar 24, 2021 at 07:51:06AM -0300, Marcelo Eduardo Giordano wrote:

Hola amigo. Perdonen que toque de nuevo este tema que ya toqué en otro hilo,
pero esta vez tengo otras dudas.

Tengo una máquina nueva para instalar debian y debido a que seguramente en
cualquier momento sale debian 11, quería instalarlo en su sistema operativo,
para evitar dentro de poco tener que instalar todo de nuevo ya que prefiero
siempre una instalación limpia que un upgrade de distribución.

Otra duda es la siguiente. Si instalo debian 11 y apuntos mis repositorios a
"testing" que pasa si sale debian 11? se me va a actualizar a debian 12?
porque cuando salga debian 11 el nuevo testing va a ser debian 12.


Marcelo,

En apuntar los fuentes a "testing" aseguras que cuándo los paquetes
comienzan a migrar de "unstable" (ye después del estreno de bullseye),
que siguentes actualizaciones o instalaciones de paquetes en tu sistema
recibirán paquetes de "testing" actual en ese momento.

Si buscas una distribución estable, entonces lo mejor es uasr "bullseye"
en lugar de "testing".  De hecho, puedes comenzar desde el principio de
instalar usando "bullseye".  No hay necesidad de usar "testing", aparte
de la situación cuya propósito es mantener el sistema utilizando
paquetes "testing" hasta despeus del estreno del próximo estable.

La situación más común es la de usar la versión correspondiente al
nombre del estreno, siendo "bullseye" en este caso.

Saludos,

-Roberto


Roberto:

Gracias por responder.

Entonces los repositorios un ejemplo de repositorio seria asi:

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

De esa manera entiendo que cuando Bullseye se haga stable para mi va a 
ser "casi" transparente, no va a ocurrir nada en mi computadora


A ver si entendí bien. Saludos desde Argentina




Re: Slow connections - DNS problems?

2021-03-24 Thread Greg Wooledge
On Wed, Mar 24, 2021 at 12:20:23PM +, pioruns2019 wrote:
> You can use DNS Benchmark by Steve Gibson, written like 20 years ago in
> assembly language. This will test your various DNS configurations and
> diagnose them:
> 
> https://www.grc.com/dns/benchmark.htm
> 
> Use Wine to run it.
> 
> wine DNSBench.exe
> 
> It will tell you what's wrong, if anything, with your DNS configuration.
> 
> On 24/03/2021 05:32, Charlie Gibbs wrote:
> > # Generated by NetworkManager
> > search telus
> > nameserver 192.168.0.1
> > nameserver 75.153.171.122
> > nameserver 2001:568:ff09:10a::56

Or, you could simply run

dig @192.168.0.1 www.debian.org

And see what happens.  I bet it times out after about 30 seconds.



Configuration de Bind9

2021-03-24 Thread Olivier
Bonjour,

Je souhaite mettre en place un serveur Bind9 avec les points suivants:

La machine qui héberge Bind9 est sous Buster.
Elle possède deux interfaces Ethernet, chacune connectée à un réseau local
(foo.lan et bar.lan).
Elle est client DHCP sur un réseau local (foo.lan), et fait office de
passerelle sur l'autre réseau (bar.lan).
Le services DNS est réservé au réseau local pour lequelle la machine fait
office de passerelle (bar.lan).
Je souhaite que le serveur DNS puisse:
résoudre quelques noms d'hôtes locaux (toto.bar.lan, www.bar.lan)
résoudre par un moyen idoine (redirection ? récursion ? transfert ? ...)
quelques noms d'hôtes sur l'autre réseau (pipo.foo.lan, www.foo.lan)
réduire au maximum les temps de réponses aux requêtes DNS (cache, ...).

Le serveur DNS/DHCP/GW sur foo.lan est un EdgeRouter d'Ubiquiti dont je ne
maîtrise pas (encore) les moyens de debug.

Voici quelques éléments de ma config

zone "bar.lan" {
   type master;
   file "/etc/bind/db.bar.lan";
   forwarders { 192.168.1.1; }; # Adresse du serveur DNS sur foo.lan
};

resolv.conf:
nameserver 192.168.1.1
search foo.lan

Une résolution depuis un PC sur bar.lan fonctionne avec host1.bar.lan mais
ne fonctionne pas avec host2.foo.lan.

J'observe que dans ce dernier cas, Bind9:
- reçoit une requête sur host2.foo.lan puis sur host2.foo.lan.bar.lan
- répond No such name à chaque fois
- me semble ne relayer aucune requête vers le serveur en 192.168.1.1 avant
de répondre mais relaie la requête vers un serveur DNS public
qui n'a évidemment aucune connaissance de host2.foo.lan.

1. Quelle modification apporter pour résoudre host2.foo.lan ?
2. Est-il possible (et souhaitable) d'éviter l'envoi de requêtes
host2.foo.lan.bar.lan ? Si oui, comment ?

Slts


Re: Replace a failed block device with null PV in an LVM VG

2021-03-24 Thread Dan Ritter
David Pottage wrote: 
> At work, there is a fileserver with a failed external drive enclosure. I am
> attempting to recover some data that is probably not on the failed drives.
> 
> This file server started out with 36 internal drives (in three RAID-6
> arrays) that formed the initial 3 physical volumes to an LVM volume group.
> In that LVM I created 16 of logical volumes (all where 5Tb in size),
> formatted each with ext4, and stored a huge number of smallish files. That
> was about 9 years ago.
> 
> Over the years, as more disc space was needed, 5 external RAID drive
> enclosures where added of varying capacity between 30 and 90Tb. Each was
> added to the LVM VG as another physical volume, and the existing logical
> volumes where expanded to fill the additional available space, and the ext4
> filesystems where resized to use the expanded volumes till they where each
> 15Tb in size.
> 
> Now one of those external drive enclosures with 42Tb of capacity has failed.
> The data centre technician tells me that it has 28 drive bays, and 15 of
> those drives are flashing angry red lights, so recovery is unlikely
> 
> Most of the data on that file server is already backed up elsewhere, but I
> have been told that there are about 50,000 files that where somehow not
> backed up, and could I try to get them back.
> 
> The missing files are the oldest, and would have been on the original good
> drives, but I can't mount the ext4 filesystems because the LVM cannot
> assemble the VG because one of the physical volumes is missing.
> 
> Is there a way to assemble the VG and mount those ext4 filesystems in such a
> way that read attempts from the missing PV will return zeros, but the rest
> of the filesystem will work? Perhaps by creating a virtual block device with
> the correct capacity and UUID, or by special LVM commands?
> 
> How will ext4 behave if some parts of it's underlying block device return
> zeros on read?
> 
> I know that this is a last ditch data recovery effort. Is it likely to work?

If I understand your description correctly, the RAID6 was the
only redundancy in the system. That being the case, you will not
be able to have LVM assemble the VG, and you will not be able to
mount the ext3fs.

You can try forensic recovery with PhotoRec
https://www.cgsecurity.org/wiki/PhotoRec

or ddrescue:

https://www.gnu.org/software/ddrescue/

But I would bet on getting anything much off of those disks.

Next time: verify that you are backing up everything that you
need to backup. I know it's boring.


-dsr-



Re: Replace a failed block device with null PV in an LVM VG

2021-03-24 Thread Reco
Hi.

On Wed, Mar 24, 2021 at 10:26:49AM +, David Pottage wrote:
> Is there a way to assemble the VG and mount those ext4 filesystems in
> such a way that read attempts from the missing PV will return zeros,
> but the rest of the filesystem will work?

Try this:

vgchange --activationmode partial -ay
lvs
# immediately dump logical volume in question somewhere with cat/dd
cat /dev// > lv.img
vgchange -an 
# run fsck -f on a copy of logical volume
fsck -f lv.img
# try mounting it
mount -o loop lv.img /

Reco



Re: Slow connections - DNS problems?

2021-03-24 Thread pioruns2019

You can use DNS Benchmark by Steve Gibson, written like 20 years ago in
assembly language. This will test your various DNS configurations and
diagnose them:

https://www.grc.com/dns/benchmark.htm

Use Wine to run it.

wine DNSBench.exe

It will tell you what's wrong, if anything, with your DNS configuration.

On 24/03/2021 05:32, Charlie Gibbs wrote:

I read Usenet (including this mailing list via the newsgroup
linux.debian.user) on my laptop. so I can keep up from anywhere.
It works well, but at home it takes 20 or 30 seconds to connect
to my NNTP server, newsguy.com.  If I take my laptop to the office
and run slrnpull there, it connects instantly.  I've mentioned this
to people in the past, and the consensus seems to be that it's some
sort of DNS problem.

My laptop is running NetworkManager.  When I wake it up at
a new location, resolv.conf (which is actually a link to
/run/NetworkManager/resolv.conf) gets overwritten with
information that works where I now am.  At the office,
it's simply:

# Generated by NetworkManager
nameserver 192.168.1.5
nameserver 192.168.1.1

while at home it becomes more intricate:

# Generated by NetworkManager
search telus
nameserver 192.168.0.1
nameserver 75.153.171.122
nameserver 2001:568:ff09:10a::56
# NOTE: the libc resolver may not support more than 3 nameservers.
# The nameservers listed below may not be recognized.
nameserver 2001:568:ff09:10b::122

My home router (supplied by Telus, notice the "search" line)
shows two DNS addresses - 75.153.176.1 and 75.153.171.122 -
on its configuration screen.  The second address (but not the
first) winds up in resolv.conf.  The router is at 192.168.0.1.
Dunno about those IPv6 addresses; I've made no conscious effort
to use IPv6 anywhere.

I suspect there's something fishy about that home resolv.conf;
can one of you gurus suggest what it might be?




--

With kindest regards, Piotr.

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



Re: instalar debian testing o esperar

2021-03-24 Thread Roberto C . Sánchez
On Wed, Mar 24, 2021 at 07:51:06AM -0300, Marcelo Eduardo Giordano wrote:
> Hola amigo. Perdonen que toque de nuevo este tema que ya toqué en otro hilo,
> pero esta vez tengo otras dudas.
> 
> Tengo una máquina nueva para instalar debian y debido a que seguramente en
> cualquier momento sale debian 11, quería instalarlo en su sistema operativo,
> para evitar dentro de poco tener que instalar todo de nuevo ya que prefiero
> siempre una instalación limpia que un upgrade de distribución.
> 
> Otra duda es la siguiente. Si instalo debian 11 y apuntos mis repositorios a
> "testing" que pasa si sale debian 11? se me va a actualizar a debian 12?
> porque cuando salga debian 11 el nuevo testing va a ser debian 12.
> 

Marcelo,

En apuntar los fuentes a "testing" aseguras que cuándo los paquetes
comienzan a migrar de "unstable" (ye después del estreno de bullseye),
que siguentes actualizaciones o instalaciones de paquetes en tu sistema
recibirán paquetes de "testing" actual en ese momento.

Si buscas una distribución estable, entonces lo mejor es uasr "bullseye"
en lugar de "testing".  De hecho, puedes comenzar desde el principio de
instalar usando "bullseye".  No hay necesidad de usar "testing", aparte
de la situación cuya propósito es mantener el sistema utilizando
paquetes "testing" hasta despeus del estreno del próximo estable.

La situación más común es la de usar la versión correspondiente al
nombre del estreno, siendo "bullseye" en este caso.

Saludos,

-Roberto

-- 
Roberto C. Sánchez



xsane

2021-03-24 Thread Richard Lucassen
Ik zag dat xsane verdwijnt uit Bullseye:

xsane (0.999-7) unstable; urgency=medium

  Upstream stopped working on xsane some time ago. Now the homepage and
  the archive are offline, too.

  If the situation doesn't change, xsane will be removed before Bullseye
  is released.

 -- Jörg Frings-Fürst   Fri, 26 Jul 2019 13:13:58

Zijn er vergelijkbare progs als xsane?

-- 
richard lucassen
http://contact.xaq.nl/



OT: wine y Siap

2021-03-24 Thread Marcelo Eduardo Giordano

Hola estimados:

Les comento que en Argentina los contadores usamos un sofware llamado 
Siap que sirve para las presentaciones ante el fisco. Lamentablemente 
dicho software está muy olvidado, hace tiempo que no actualizan y no 
tiene versión de linux.


Probé de instalarlo en wine (era la primera vez que usaba este software) 
y grande fue mi sorpresa cuando vi que dicho software funcionaba a la 
perfección, hasta ayer que encontré un problema.


Les sigo contando. A este software "Siap" se le van sumando módulos 
conforme los impuestos que está inscripto el contribuyente. En mi caso 
utilizo dos aplicativos: 1) Compras y Ventas e 2) IVA


El problema es que al ir a la pantalla de impresión en IVA el sistema 
dice "ERROR y abajo dice "Está intentando inciiar un trabajo de 
impresión que ya está iniciado. Esto puee sucerderi si el usuario 
comienza una impresión e intenta iniciar otra antes de que la actual 
haya terminado.


Por supuesto que no he empezado ninguna impresión

En compras y ventas el sistema de impresión funciona perfecto

Si alguien puede ayudarme se lo voy a agradecer

MARCELO



Re: Running a FreeBSD guest

2021-03-24 Thread Dan Ritter
Victor Sudakov wrote: 
> Dan Ritter wrote:
> > Here's a typical non-libvirtd qemu/kvm invocation:
> > 
> > cd /var/spool/kvm
> > export VNAME=virtualmachinename
> > export CPUS=2
> > export RAM=4096
> > export MAC=00:15:f1:c1:a2:01
> > export VNC=:1
> > export IMAGE=/var/spool/kvm/images/$VNAME.img
> > 
> > kvm -m $RAM -smp $CPUS -name $VNAME -rtc base=utc -boot menu=on -drive 
> > file=$IMAGE,if=none,id=drive-virtio-disk0,boot=on,cache=writeback -device 
> > virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0 
> > -device virtio-net-pci,vlan=0,id=net0,mac=$MAC,bus=pci.0,addr=0x3 -net
> > tap -usbdevice tablet -vnc $VNC &
> 
> The "kvm" run in the line above is just a wrapper script that runs "qemu 
> -enable-kvm", isn't it?

$ cat /usr/bin/kvm
#! /bin/sh
exec qemu-system-x86_64 -enable-kvm "$@"

-dsr-



instalar debian testing o esperar

2021-03-24 Thread Marcelo Eduardo Giordano
Hola amigo. Perdonen que toque de nuevo este tema que ya toqué en otro 
hilo, pero esta vez tengo otras dudas.


Tengo una máquina nueva para instalar debian y debido a que seguramente 
en cualquier momento sale debian 11, quería instalarlo en su sistema 
operativo, para evitar dentro de poco tener que instalar todo de nuevo 
ya que prefiero siempre una instalación limpia que un upgrade de 
distribución.


Otra duda es la siguiente. Si instalo debian 11 y apuntos mis 
repositorios a "testing" que pasa si sale debian 11? se me va a 
actualizar a debian 12? porque cuando salga debian 11 el nuevo testing 
va a ser debian 12.


Gracias por todo amigos.



Replace a failed block device with null PV in an LVM VG

2021-03-24 Thread David Pottage

Hello,

At work, there is a fileserver with a failed external drive enclosure. I 
am attempting to recover some data that is probably not on the failed 
drives.


This file server started out with 36 internal drives (in three RAID-6 
arrays) that formed the initial 3 physical volumes to an LVM volume 
group. In that LVM I created 16 of logical volumes (all where 5Tb in 
size), formatted each with ext4, and stored a huge number of smallish 
files. That was about 9 years ago.


Over the years, as more disc space was needed, 5 external RAID drive 
enclosures where added of varying capacity between 30 and 90Tb. Each was 
added to the LVM VG as another physical volume, and the existing logical 
volumes where expanded to fill the additional available space, and the 
ext4 filesystems where resized to use the expanded volumes till they 
where each 15Tb in size.


Now one of those external drive enclosures with 42Tb of capacity has 
failed. The data centre technician tells me that it has 28 drive bays, 
and 15 of those drives are flashing angry red lights, so recovery is 
unlikely


Most of the data on that file server is already backed up elsewhere, but 
I have been told that there are about 50,000 files that where somehow 
not backed up, and could I try to get them back.


The missing files are the oldest, and would have been on the original 
good drives, but I can't mount the ext4 filesystems because the LVM 
cannot assemble the VG because one of the physical volumes is missing.


Is there a way to assemble the VG and mount those ext4 filesystems in 
such a way that read attempts from the missing PV will return zeros, but 
the rest of the filesystem will work? Perhaps by creating a virtual 
block device with the correct capacity and UUID, or by special LVM 
commands?


How will ext4 behave if some parts of it's underlying block device 
return zeros on read?


I know that this is a last ditch data recovery effort. Is it likely to 
work?


--
David Pottage

Re: Slow connections - DNS problems?

2021-03-24 Thread tomas
On Wed, Mar 24, 2021 at 09:24:28AM +, Darac Marjal wrote:
> 
> On 24/03/2021 05:32, Charlie Gibbs wrote:

[...]

> > # Generated by NetworkManager
> > search telus
> > nameserver 192.168.0.1
> > nameserver 75.153.171.122
> > nameserver 2001:568:ff09:10a::56
> > # NOTE: the libc resolver may not support more than 3 nameservers.
> > # The nameservers listed below may not be recognized.
> > nameserver 2001:568:ff09:10b::122
> >
> > My home router (supplied by Telus, notice the "search" line)
> 
> Just another point to add to what other people are saying. This line
> looks a bit suspicious to me. The "search" line is _supposed_ to be a
> list of domains which your computer is part of. It's implemented such
> that, when the resolver is asked to look up a short name (e.g. "printer"
> or "my-laptop" etc), then each item in the search list will be appended
> in turn and a lookup made. So, for example you could have "search
> example.com example.net" and a lookup for "gateway" would try
> "gateway.example.com" then "gateway.example.net" in turn.

[...]

Well spotted. The "search telus" looks completely bogus, too. Unless
you'have set up a local DNS with the "fake" TLD telus, but then, you'd
probably know ;-)

Cheers
 - t


signature.asc
Description: Digital signature


Re: Slow connections - DNS problems?

2021-03-24 Thread Darac Marjal

On 24/03/2021 05:32, Charlie Gibbs wrote:
> I read Usenet (including this mailing list via the newsgroup
> linux.debian.user) on my laptop. so I can keep up from anywhere.
> It works well, but at home it takes 20 or 30 seconds to connect
> to my NNTP server, newsguy.com.  If I take my laptop to the office
> and run slrnpull there, it connects instantly.  I've mentioned this
> to people in the past, and the consensus seems to be that it's some
> sort of DNS problem.
>
> My laptop is running NetworkManager.  When I wake it up at
> a new location, resolv.conf (which is actually a link to
> /run/NetworkManager/resolv.conf) gets overwritten with
> information that works where I now am.  At the office,
> it's simply:
>
> # Generated by NetworkManager
> nameserver 192.168.1.5
> nameserver 192.168.1.1
>
> while at home it becomes more intricate:
>
> # Generated by NetworkManager
> search telus
> nameserver 192.168.0.1
> nameserver 75.153.171.122
> nameserver 2001:568:ff09:10a::56
> # NOTE: the libc resolver may not support more than 3 nameservers.
> # The nameservers listed below may not be recognized.
> nameserver 2001:568:ff09:10b::122
>
> My home router (supplied by Telus, notice the "search" line)

Just another point to add to what other people are saying. This line
looks a bit suspicious to me. The "search" line is _supposed_ to be a
list of domains which your computer is part of. It's implemented such
that, when the resolver is asked to look up a short name (e.g. "printer"
or "my-laptop" etc), then each item in the search list will be appended
in turn and a lookup made. So, for example you could have "search
example.com example.net" and a lookup for "gateway" would try
"gateway.example.com" then "gateway.example.net" in turn.

According to IANA, who keep the register of top level domains at
https://www.iana.org/domains/root/db, there is no such domain called
"telus", so one would expect a lookup for "gateway.telus" to fail
(unless it's a private domain, only hosted on the telus DNS servers.
That's perfectly possible).


> shows two DNS addresses - 75.153.176.1 and 75.153.171.122 -
> on its configuration screen.  The second address (but not the
> first) winds up in resolv.conf.  The router is at 192.168.0.1.
> Dunno about those IPv6 addresses; I've made no conscious effort
> to use IPv6 anywhere.
Do you have an IPv6 address? If you run "ip -c -6 a", do you have an
address with "scope global"? You may have one with "scope link", but
that won't help at the moment. If you do, then congratulations: Telus
have provided you with a connection to the modern internet. If not, then
you won't be able to reach these resolver addresses.
>
> I suspect there's something fishy about that home resolv.conf;
> can one of you gurus suggest what it might be?
>



OpenPGP_signature
Description: OpenPGP digital signature


Re: Running a FreeBSD guest

2021-03-24 Thread john doe

On 3/24/2021 9:55 AM, didier gaumet wrote:

Le 24/03/2021 à 03:12, Victor Sudakov a écrit :


The relation between qemu and kvm confuses me. "apt install qemu-kvm" is
trying to install a ton of X11 packages including Mesa drivers etc, I
would not really want that. And "apt install kvm" does not find such a
package.


QEMU/KVM relationship:

as I see it (but someone with a real understanding of the subject -that
I do not have- could be horrified by what I say):
- KVM is roughly a Linux(-only) kernel module that permits the use the
Linux Kernel as the basis of an hypervisor and the access to hardware
acceleration. But it is not by itself a whole virtualization solution
- QEMU is a multi-platform virtualization solution that does not require
hardware acceleration and does not by itseelf provide a way to use this
acceleration. In the past many accelerators had been available
- today a common way to virtualize a guest in a linux host is to use
Qemu with the KVM kernel module (and invoking KVM is really invoking Qemu)

more (and more pertinent) info here:
  https://en.wikipedia.org/wiki/QEMU
  https://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine

QEMU/X11 relationship:
- I do not really know how to install Qemu without X11 nor if it
possible without the loss of CLI features. Possible solutions could be
to install packages with the "without recommended" option, to forbid
installation of packages by establishing preferences (cf apt_preferences
manpage). A possible culprit is qemu-system-gui and you could forbid its
installation. I do not know if running Qemu immplies that a X11 server


The Debian's wiki (1) suggest one way to install qemu-kvm with Libvirt
for a server.
Note that if you go this way, you might require some pkgs along the way.


1)  https://wiki.debian.org/KVM#Installation

--
John Doe



Re: Running a FreeBSD guest

2021-03-24 Thread Andrei POPESCU
On Mi, 24 mar 21, 09:22:32, Victor Sudakov wrote:
> 
> Do you think I can install qemu-kvm without installing the 230 X11
> packages is requires?

It is possible.

It should be relatively easy to do so if some packages are only 
recommended instead of depended on.

Does 'apt install --no-install-recommends' want to install significantly 
less packages?

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


signature.asc
Description: PGP signature


Re: Running a FreeBSD guest

2021-03-24 Thread didier gaumet

Le 24/03/2021 à 03:12, Victor Sudakov a écrit :


The relation between qemu and kvm confuses me. "apt install qemu-kvm" is
trying to install a ton of X11 packages including Mesa drivers etc, I
would not really want that. And "apt install kvm" does not find such a
package.


QEMU/KVM relationship:

as I see it (but someone with a real understanding of the subject -that 
I do not have- could be horrified by what I say):
- KVM is roughly a Linux(-only) kernel module that permits the use the 
Linux Kernel as the basis of an hypervisor and the access to hardware 
acceleration. But it is not by itself a whole virtualization solution
- QEMU is a multi-platform virtualization solution that does not require 
hardware acceleration and does not by itseelf provide a way to use this 
acceleration. In the past many accelerators had been available
- today a common way to virtualize a guest in a linux host is to use 
Qemu with the KVM kernel module (and invoking KVM is really invoking Qemu)


more (and more pertinent) info here:
 https://en.wikipedia.org/wiki/QEMU
 https://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine

QEMU/X11 relationship:
- I do not really know how to install Qemu without X11 nor if it 
possible without the loss of CLI features. Possible solutions could be 
to install packages with the "without recommended" option, to forbid 
installation of packages by establishing preferences (cf apt_preferences 
manpage). A possible culprit is qemu-system-gui and you could forbid its 
installation. I do not know if running Qemu immplies that a X11 server 
is running or simply installed
- the Qemu package in Debian is an all-architectures one: if you want to 
emulate/virtualize only X86/X86_64 hardware, qemu-systemx-86 is sufficient
- if you do not want to install X11 and can not avoid it with Qemu, 
perhaps you could look at Xen. I do not know if it could be of interest 
in your case. My opinion (but I am not knowledgeable on this) is that 
Xen is perhaps more modular than Qemu but with an added (to me at least) 
complexity. Another element: I seem to recall that Xen is welle 
used/known is the NetBSD world and that could translate in your FreeBSD 
approach?



https://www.linux-kvm.org/page/Virtio


This is also confusing, as the document is written about kvm but cites
qemu as an example.


see above :-)





Re: Cannot see update to recent linux kernel 5.10.19-1~bpo10+1 (from 5.10.13-1~bpo10+1)

2021-03-24 Thread Andrei POPESCU
On Ma, 23 mar 21, 11:45:05, David Wright wrote:
> 
> If I search on https://packages.debian.org/index for
> linux-image-5.10.0-0.bpo. in buster-backports/any,
> then I see the same six matches for
> linux-image-5.10.0-0.bpo.4…amd64, where, as before,
> "…" stands for cloud, rt, and nothing.
> 
> So I don't observe any discrepancy between the Packages file and
> the packages.debian.org page or its search function.

Either it was a temporary glitch or I just missed the "Your keyword was 
too generic, [...] some results might have been suppressed." message 
(more likely).

Sorry for the noise.

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


signature.asc
Description: PGP signature


Re: Slow connections - DNS problems?

2021-03-24 Thread tomas
On Tue, Mar 23, 2021 at 10:32:27PM -0700, Charlie Gibbs wrote:
> I read Usenet (including this mailing list via the newsgroup
> linux.debian.user) on my laptop. so I can keep up from anywhere.
> It works well, but at home it takes 20 or 30 seconds to connect
> to my NNTP server, newsguy.com.  If I take my laptop to the office
> and run slrnpull there, it connects instantly.  I've mentioned this
> to people in the past, and the consensus seems to be that it's some
> sort of DNS problem.
> 
> My laptop is running NetworkManager.  When I wake it up at
> a new location, resolv.conf (which is actually a link to
> /run/NetworkManager/resolv.conf) gets overwritten with
> information that works where I now am.  At the office,
> it's simply:
> 
> # Generated by NetworkManager
> nameserver 192.168.1.5
> nameserver 192.168.1.1
> 
> while at home it becomes more intricate:
> 
> # Generated by NetworkManager
> search telus
> nameserver 192.168.0.1
> nameserver 75.153.171.122
> nameserver 2001:568:ff09:10a::56
> # NOTE: the libc resolver may not support more than 3 nameservers.
> # The nameservers listed below may not be recognized.
> nameserver 2001:568:ff09:10b::122
> 
> My home router (supplied by Telus, notice the "search" line)
> shows two DNS addresses - 75.153.176.1 and 75.153.171.122 -
> on its configuration screen.  The second address (but not the
> first) winds up in resolv.conf.  The router is at 192.168.0.1.
> Dunno about those IPv6 addresses; I've made no conscious effort
> to use IPv6 anywhere.
> 
> I suspect there's something fishy about that home resolv.conf;
> can one of you gurus suggest what it might be?

The 20-30 seconds hint at a DNS timeout.

Try removing your first entry (192.168.0.1) from resolv.conf and
see whether this changes (don't restart, NM will clobber your
changes!)

Of course, the above isn't a permanent solution, just a first
troubleshooting step. If it doesn't help, we've got to look
elsewhere.

If it helps, that means that your home router (presumably that
192.168.0.1) is announcing itself as a DNS but isn't up to the
task and doesn't answer queries. That means that you either
convince it to do its job properly, or you convince your NM
to ignore it as a DNS (for NM I can't help you: I dislike that
guy :)

Cheers
 - t
> 
> -- 
> cgi...@surfnaked.ca (Charlie Gibbs)
> 


signature.asc
Description: Digital signature


Re: Slow connections - DNS problems?

2021-03-24 Thread john doe

On 3/24/2021 6:32 AM, Charlie Gibbs wrote:

I read Usenet (including this mailing list via the newsgroup
linux.debian.user) on my laptop. so I can keep up from anywhere.
It works well, but at home it takes 20 or 30 seconds to connect
to my NNTP server, newsguy.com.  If I take my laptop to the office
and run slrnpull there, it connects instantly.  I've mentioned this
to people in the past, and the consensus seems to be that it's some
sort of DNS problem.

My laptop is running NetworkManager.  When I wake it up at
a new location, resolv.conf (which is actually a link to
/run/NetworkManager/resolv.conf) gets overwritten with
information that works where I now am.  At the office,
it's simply:

# Generated by NetworkManager
nameserver 192.168.1.5
nameserver 192.168.1.1

while at home it becomes more intricate:

# Generated by NetworkManager
search telus
nameserver 192.168.0.1
nameserver 75.153.171.122
nameserver 2001:568:ff09:10a::56
# NOTE: the libc resolver may not support more than 3 nameservers.
# The nameservers listed below may not be recognized.
nameserver 2001:568:ff09:10b::122

My home router (supplied by Telus, notice the "search" line)
shows two DNS addresses - 75.153.176.1 and 75.153.171.122 -
on its configuration screen.  The second address (but not the
first) winds up in resolv.conf.  The router is at 192.168.0.1.
Dunno about those IPv6 addresses; I've made no conscious effort
to use IPv6 anywhere.

I suspect there's something fishy about that home resolv.conf;
can one of you gurus suggest what it might be?



Some hints as I'm not that savvy in DNS.

The first line in the resolv.conf is a private ipv4 and I would assume
that your dns queries are first going there then would fallback to the
public addresses incase of failure.

Any chance you can bypass your ISP router (bridge mode/using your own
router)?
If yes, this would tell you if the ISP router is at fault.
'dig' could help you there as well.


Is everything slower at home in comparison with what you have at work?
That is, is name resolution  always faster at work than at home.

--
John Doe



Re: Xerox B215 configurar scanner con TCP/IP en Debian 10 xfce

2021-03-24 Thread Camaleón
El 2021-03-23 a las 20:41 -0300, Marcelo Eduardo Giordano escribió:

> Les cuento que me compré una impresora Xerox B215 especialmente porque en el
> manual venía bien explicado la instalación en linux que seguí que es esta.

(...)

> Y aunque se instalaron los dos controladores (impresora y escaner) solo hizo
> funcionar la impresora, pero me fué imposible configurar el scanner usando
> TCP/IP
> 
> Lamentablemente no puedo "ver" el scanner ni con Simple Scan, ni con Xsane.
> Igualmente probé de configurarlo con el windows con TCP/IP y me funcionó
> perfecto en Windows, pero sigue sin funcionar en linux.
> 
> Les juro que busqué mucha información, pero encontré muy poca.

(...)

Prueba a conectarla primero mediante USB e intenta escanear un 
documento para comprobar que el sistema la detecta y los controladores 
y aplicaiones funcionan correctamente.

Si todo va bien, mira a ver si te sirven estas indicaciones que dan en 
el foro de Xerox. Son para un modelo menor pero de la misma gama:

B205 Scan using Ubuntu Simple Scan application
https://forum.support.xerox.com/t5/Copying-Faxing-Scanning/B205-Scan-using-Ubuntu-Simple-Scan-application/td-p/232435

También tienes otros hilos donde al final hacen uso de la conexión wifi 
(airscan):

SANE configuration for Xerox B205 and B215
https://forums.linuxmint.com/viewtopic.php?t=336775

Document scanner cannot detect Xerox printer
https://ask.fedoraproject.org/t/document-scanner-cannot-detect-xerox-printer/8681/4

Es decir, parece que el equipo funciona bien pero quizá sea muy 
reciente y tengas que hacer algunos ajustes manuales para hacerlo 
funcionar mediante la conexión ethernet.

Recuerda que seguramente también podrás configurar desde la propia 
máquina multifunción un recurso de red (samba, etc...) donde almacenar 
los documentos escaneados a los que podrás acceder fácilmente desde 
Debian, sin tener que instalar nada en el cliente.

Saludos,

-- 
Camaleón