Re: Acer swift 1 trackpad not working

2022-09-09 Thread Dan Ritter
JamesM wrote: 
> Thank you for the reply Dan.
> The trackpad works in Windows 11
> and has never worked under Debian Bulseye.

Open a terminal and type

lsusb |grep -v hub

Tell us -- exactly -- all the devices that it reports.

-dsr-



Installing Wi-Fi card driver

2022-09-09 Thread Mansour zermello
Hi, I'm a new user in the Linux world especially debian, but i was interested 
by debian since very long time but one day I decided to install it and start to 
use it, i had difficulties to install it but with a lot of effort and searches 
i succeeded, BUT the problem where I'm stucked is the WIFI card ( i don't know 
at all how to do ) to be honest, i really need your help I'm sure I'll can to 
do it if you explain to me how to do step by step and I'll transfer this 
knowledge to other user who is in my case.
I'm waiting for your response impatientely to start using debian certainly the 
best OS ever made.
Have a nice day,Cordially 

Sent from Yahoo Mail on Android

Installing Wi-Fi card driver ( completing informations)

2022-09-09 Thread Mansour zermello
Hi, I'm a new user in the Linux world especially debian, but i was interested 
by debian since very long time but one day I decided to install it and start to 
use it, i had difficulties to install it but with a lot of effort and searches 
i succeeded, BUT the problem where I'm stucked is the WIFI card model : Intel 
8256NGW ( i don't know at all how to do ) to be honest, i really need your help 
I'm sure I'll can to do it if you explain to me how to do step by step and I'll 
transfer this knowledge to other user who is in my case.
I'm waiting for your response impatientely to start using debian certainly the 
best OS ever made.
Have a nice day,Cordially
Sent from Yahoo Mail on Android

Re: Which MTA for from-based smarthost selection, local delivery and queuing?

2022-09-09 Thread Julio Herrero
El mié, 07-09-2022 a las 22:31 +0200, Sébastien Hinderer escribió:
> I would like to be able to
> configure the SMTP server to use based on the address I am using in
> the
> > From header. For instance, if I am sending from my personal account
> > then
> I'd like to use one smarthost and SMTP configuration, but if I am
> sending from my work address, I would like the MTA to choose my
> work's
> SMTP server as its smarthost. Am I correct that exim4 does not allow
> for
> such a configuration? 

I do that using an exim specific router.

$ cat /etc/exim4/conf.d/router/160_exim4-config_myfrom_1

 from_router_1:
  debug_print = "R: from_router_1 for $domain"
  driver = manualroute
  domains = ! +local_domains
  condition = ${if eq{$sender_address}{yourfromaddr...@example.com}}
  same_domain_copy_routing = yes
  route_data = smtp.yoursmarthost.com
  transport = remote_smtp_smarthost

Greetings



Re: Installing Wi-Fi card driver ( completing informations)

2022-09-09 Thread Dan Ritter
Mansour zermello wrote: 
> Hi, I'm a new user in the Linux world especially debian, but i was interested 
> by debian since very long time but one day I decided to install it and start 
> to use it, i had difficulties to install it but with a lot of effort and 
> searches i succeeded, BUT the problem where I'm stucked is the WIFI card 
> model : Intel 8256NGW ( i don't know at all how to do ) to be honest, i 
> really need your help I'm sure I'll can to do it if you explain to me how to 
> do step by step and I'll transfer this knowledge to other user who is in my 
> case.


Intel made an 8265NGW. I suspect you have a typo.

>From a terminal:

lspci | NGW

This is to make sure your computer sees the card. It should give
one line of output similar to:

29:00.0 Network controller: Intel Corporation Dual Band Wireless-AC 8265NGW 
[Windstorm Peak]

If you don't get something close to that, it is not properly
installed.

Next is to install firmware. You need the non-free repository
enabled. Edit /etc/apt/sources.list to make sure that this line
has non-free at the end of it:

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

Then

sudo apt update
sudo apt install firmware-iwlwifi

You may need to reboot after this.

ip link 

will show you the new wifi card.

-dsr-



Re: Installing Wi-Fi card driver ( completing informations)

2022-09-09 Thread Peter Ehlert


On 9/9/22 05:39, Mansour zermello wrote:
Hi, I'm a new user in the Linux world especially debian, but i was 
interested by debian since very long time but one day I decided to 
install it and start to use it, i had difficulties to install it but 
with a lot of effort and searches i succeeded, BUT the problem where 
I'm stucked is the WIFI card model : Intel 8256NGW ( i don't know at 
all how to do ) to be honest, i really need your help I'm sure I'll 
can to do it if you explain to me how to do step by step and I'll 
transfer this knowledge to other user who is in my case.

good morning.
You need to provide more information.

specifically, which ISO did you use?
===

I suspect you need to use a non-free aka firmware "un-offical" ISO. 
Those include the "drivers" that permit your computer to communicate 
with yous wifi card.


if you need to find them, tell us what desktop environment you wish and 
a link to the proper directory can be provided.





I'm waiting for your response impatientely to start using debian 
certainly the best OS ever made.


Have a nice day,
Cordially

Sent from Yahoo Mail on Android 


Re: Which MTA for from-based smarthost selection, local delivery and queuing?

2022-09-09 Thread Michael Stone

On Wed, Sep 07, 2022 at 10:31:37PM +0200, Sébastien Hinderer wrote:

I was advised to use msmtp but, although it has the feature I am looking
for, it misses two features of exim4 that I find useful: local e-mail
delivery to users' maildirs and the ability to queue emails composed while
the computer is off-line so that they get sent the next time the network
becomes available.


I would not recommend msmtp if you have a local mail service configured 
on the system because you then have two places to debug mail problems. 
(For systems with no mail service configured, it's a great solution.)


Another possibility if you're only going to send the work emails via 
mutt is to use mutt's internal smtp, something like 
   set smtp_url="smtp://u...@example.com@smtp.example.com:587/" 

You can then use mutt's folder & account hook facilities to switch 
between local and external smtp depending on which account is open. I 
tend to think this is cleaner than hard-coding a per-user credential 
into a global configuration, and is much more practical than 
implementing xoauth2 (if needed) in the system mta. 


On Thu, Sep 08, 2022 at 01:06:07PM +0800, Jeremy Ardley wrote:

It's incredibly easy using postfix sender_dependent_relayhost_maps


Specifically, for example:

/etc/postfix/main.cf: sender_dependent_relayhost_maps = 
hash:/etc/postfix/sender_relay

/etc/postfix/sender_relay: @example.com [smtp.example.com]:587

This sort of configuration typically requires a password, which is 
another couple of entries in main.cf (smtp_sasl_password_maps, etc) and 
another file containing the username/password. Though, see above for 
thoughts about doing per-user auth at the MUA rather than the MTA.


One option retaining exim4 is to use postfix as an outgoing mail 
gateway and forward to it from the exim4 instance.


That also sounds like a debugging nightmare. I'd just pick one.



Sendmail SASL Auth on Debian 11

2022-09-09 Thread Dave Parker
Hello,

Years ago, I set up an SMTP server on Debian 7.5, running Sendmail
configured for SASL authentication using an LDAP directory.  I am now
trying to set up a new one on Debian 11.5 in pretty much the same
configuration, but SMTP auth does not work.  I have verified that nslcd and
saslauthd are running, the sendmail, PAM and NSS configurations all look
good, and ldapsearch returns a result using the settings from
pam_ldap.conf.  When I open a connection to the old server and issue AUTH
PLAIN or AUTH LOGIN, I can authenticate with my base64 LDAP credentials as
expected.  But when I do the same on the new server, I get a "535 5.7.0
authentication failed" response.

I ran a tcpdump on this SMTP server during an auth attempt, and there was
no traffic to or from the LDAP server.

I literally copied all of the configs over from the old server and Sendmail
starts up fine, but still no auth.  Does anyone know where I might look for
the breakage?

Old server (works):
- Sendmail 8.14.4
- SASL (libs/modules/bin) 2.1.25
- libnss-ldap 264
- libpam-ldap 184

New server (doesn't work):
- Sendmail 8.15.2
- SASL (lib/modules/bin) 2.1.27
- libnss-ldapd 0.9.11 (because libnss-ldap is deprecated)
- libpam-ldap 186

Thanks!
Dave

-- 
Dave Parker '11
Database & Systems Administrator
Utica University
Integrated Information Technology Services
315-792-3229
He/Him


Re: Currently on x11vnc, looking for reliable VNC solution?

2022-09-09 Thread Chuck Zmudzinski
On 9/7/22 10:11 PM, David wrote:
> On Thu, 8 Sept 2022 at 11:44, Chuck Zmudzinski  wrote:
> > On 9/7/22 7:45 PM, David wrote:
> > > On Thu, 8 Sept 2022 at 02:49, Chuck Zmudzinski  
> > > wrote:
> > > > On 9/7/2022 12:13 PM, Chuck Zmudzinski wrote:
> > >
> > > > > I use the tigervnc-standalone-server which is in the Debian packages
> > > > > archives. I use it only on a trusted LAN network so I don't need an
> > > > > encrypted vnc connection either, and I can access it remotely from the
> > > > > Internet by connecting to the LAN using a VPN (I use strongswan/IKEv2
> > > > > for the VPN server). The main configuration files are at ~/.vnc, and
> > > > > there are tools to configure it such as vncpasswd. The most important
> > > > > configuration file is ~/.vnc/xstartup, where you launch your DE or
> > > > > window manager of your choice.
> > >
> > > > > You can launch the server from a terminal logged in as an ordinary 
> > > > > user
> > > > > and the server runs as an ordinary user in the background so after you
> > > > > start the server in a terminal you can exit that terminal session.
> > >
> > > > Actually, you *should* exit that terminal session, especially if it is
> > > > a terminal window running in the same kind of session (gnome, lxde, etc)
> > > > and as the same user that you plan to run in the VNC server. This is
> > > > another limitation of the tigervnc-standalone-server: it does not 
> > > > connect
> > > > to an already running X11 session but instead launches a new session as
> > > > an ordinary user as specified in ~/.vnc/xstartup.
> > >
> > > > I have found that if I try to run two sessions as the same user, one 
> > > > over
> > > > VNC and one on the local desktop, it does not work too well, at least
> > > > with the current version of gnome, probably because there is not good
> > > > enough separation of the various user processes that gnome starts for
> > > > each user session.
> > >
> > > Hi,
> > >
> > > Regarding your final sentence, I wonder if installing dbus-x11 instead of
> > > dbus-user-session would improve that situation.
> > >
> > > Because of what I read in the 'Description' in the output of
> > > 'apt show dbus-user-session'.
> > >
> >
> > I have both dbus-user-session and dbus-x11 installed:
> >
> > chuckz@debian:~$ dpkg-query -l dbus*
> > Desired=Unknown/Install/Remove/Purge/Hold
> > | 
> > Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> > |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> > ||/ NameVersion  Architecture Description
> > +++-===---=
> > ii  dbus1.12.20-2amd64simple interprocess 
> > messaging system (daemon and utilities)
> > un  dbus-bin  (no description 
> > available)
> > un  dbus-daemon   (no description 
> > available)
> > un  dbus-session-bus  (no description 
> > available)
> > un  dbus-session-bus-common   (no description 
> > available)
> > un  dbus-system-bus   (no description 
> > available)
> > un  dbus-system-bus-common(no description 
> > available)
> > ii  dbus-user-session   1.12.20-2amd64simple interprocess 
> > messaging system (systemd --user integration)
> > ii  dbus-x111.12.20-2amd64simple interprocess 
> > messaging system (X11 deps)
> >
> > I don't know how systemd handles the case when one user has two gnome 
> > sessions running at the same time or if it is possible to make it behave 
> > better in that case. I also don't know if installing dbus-session-bus or 
> > dbus-system-bus might help. If anyone has any tips to improve the way it 
> > runs in that case, I could try them out.
>
> The 'Description' to which I referred you says:
>   To retain dbus' traditional session semantics, in which login sessions
>   are artificially isolated from each other, remove this package and install
>   dbus-x11 instead
>
> Note: "remove this package".
>

I just tried my system with the dbus-user-session package removed, and it still 
does not run two gnome sessions of the same user very well. After removing the 
dbus-user-session package with the dbus-x11 package still installed, I started 
the tigervnc server which started a gnome user session, and then when I logged 
into another gnome session on the local display as the same user, the session 
on the local display started normally but in the process of starting the 
session on the local display the tigervnc server died. So I avoid running two 
gnome sessions as the same user at the same time on the same machine, and I 
don't think the feature of running two sessions at the same time as the same 
user on the same machine is a feature that is needed all that much, it is just 
a curiosity for me.

Best regards,

Chuck



Best way to use noise-canceling

2022-09-09 Thread john doe

Debians,

I can see online that noise-canceling can be enabled in pulse audio,
pipewire.

Is there a recommended way in Debian to do so?

--
John Doe



Re: Installing Wi-Fi card driver ( completing informations)

2022-09-09 Thread Haines Brown
On Fri, Sep 09, 2022 at 12:39:36PM +, Mansour zermello wrote:

> Hi, I'm a new user in the Linux world especially debian, but i was 
> interested by debian since very long time but one day I decided to 
> install it and start to use it, i had difficulties to install it but 
> with a lot of effort and searches i succeeded, BUT the problem where 
> I'm stucked is the WIFI card model : Intel 8256NGW ( i don't know at 
> all how to do ) to be honest, i really need your help I'm sure I'll 
> can to do it if you explain to me how to do step by step and I'll 
> transfer this knowledge to other user who is in my case.

> I'm waiting for your response impatientely to start using debian 
> certainly the best OS ever made. Have a nice day,Cordially

> Sent from Yahoo Mail on Android


Mansour, I don't see that you are getting a reponse to your query, and 
so I'll jump in. This offers an opportunity to find out if my sense of 
the matter raises objection.

You must prepare a USB key to hold firmware files pare a USB key so 
that when the installer prompts you for firmware you can insert it. 
The firmware files must be in a FAT32 partition ane the partition on 
the key of sufficient size to hold them.  

1. Go to a root command prompt by entering the su - command and 
   providing root's pasword:  

   $ su -

2. Plug in the key. Find out the name of its device interface:

  # fdisk -l

  This lists all devices. Look for a  line that is the size and name 
  of the of the key. Note its interface name. It will be something like 

Disk /dev/sdb: 14.41 GiB, 15472047104 bytes, 30218842 sectors 
Disk model: DataTraveler 3.0
...
Device Boot Start  End  Sectors  Size Id Type
/dev/sdb1  *   63 30217823 30217761 14.4G  b W95 FAT32

  In this example the key is a Datatraveller. Its device interface 
  name is /dev/sdb and  its sole partition has the /dev/sdb1
  
3. I assume abritrariy that you don't want to use the etire to hold 
  the firmwaer files but to have multiple partitions for multi0le 
  Use fdisk to create a partition on the umounted key, /dev/sdb in 
  this example:

  # fdisk /dev/sdb

  The utililty fdisk has a variety of commands. One is m to see that 
  the commands are. Make a partition of sufficient size to hold the 
  firmware.  I'm assuming here that it wil be a second partition on 
  device /dev/sdb and thus /dev/sdb2

4. A new partition has to be formatted, and to hold firware it must be 
  FAT 32: In this example, the partition is #2 on and so is /dev/sdb2

  # mkfs.vfat /dev/sdb2   

5. Now mount he key so that the firmare can be loaded onto it (recall 
  that /dev/sdb device and partition /dev/sdb2 is only an example):

  # mkdir /media/tmp
  # mount /dev/sdb2 /media/tmp 
  
6. Download the firmware. CD to /media/sdb2 for example and run the  
  following command. Replace "VERSION" with the version of your 
  Debian  such as Bullseye 

  # wget -qO-  
http://cdimage.debian.org/cdimage/unofficial/non-free/firmware/VERSION/current/firmware.tar.gz
 | tar xz -C /media/tmp

7. During Debian installation iInsert the kehy when propted for firmware. If
 fails to grabe the firmwre file drop to a command 
 prompt

   C-A-F2

  and mount the the key on /media/tmp

Haines Brown