Re: mlterm configuration

2025-01-28 Thread Haines Brown
> > >     bg_color=FAF0E6 > > > geometry=128x30 > > > > > > and *.mlterm/font* should read: > > > > > > DEFAULT=monospace-20 > > > Yes, the problem is that the configuration has no effect. My .mlterm/main > > fil

Re: mlterm configuration

2025-01-28 Thread Greg Wooledge
gt; > and *.mlterm/font* should read: > > > > DEFAULT=monospace-20 > Yes, the problem is that the configuration has no effect. My .mlterm/main > file constains: > > geometry = 128x30 > bg_color = #FAF0E6 > bg_color = FAF0E6 > > and my font fil

Re: mlterm configuration

2025-01-28 Thread Haines Brown
you did is just the wrong syntax. ... > So, my reading of that could be that *.mlterm/main* should read: > >     bg_color=FAF0E6 > geometry=128x30 > > and *.mlterm/font* should read: > > DEFAULT=monospace-20 > > But if I could read that information (an

Re: mlterm configuration

2025-01-26 Thread debian-user
hat seek is > >geometry = 128x30 > >font = monospace-20 > >bg = FAF0E6 > > Maybe your man page is different. > https://manpages.debian.org/bookworm/mlterm/mlterm.1.en.html shows > the manpage as in Bookworm. There, under the section "CONFIGURATION"

Re: mlterm configuration

2025-01-26 Thread Darac Marjal
ne options, but not syntax for a condfiguration file. What seek is geometry = 128x30 font = monospace-20 bg = FAF0E6 Maybe your man page is different. https://manpages.debian.org/bookworm/mlterm/mlterm.1.en.html shows the manpage as in Bookworm. There, under the section "CONFIGURAT

Re: mlterm configuration

2025-01-26 Thread Haines Brown
On Thu, Jan 23, 2025 at 09:35:24AM -0500, Henning Follmann wrote: > On Thu, Jan 23, 2025 at 08:45:02AM -0500, Haines Brown wrote: > > My attemtpts configure mlterm have no effect. For exaJmple, I create a file > > .mlterm/font with the line line: DEFAULT=20x28. > > And in the file .m lterm/backgro

Re: mlterm configuration

2025-01-25 Thread Haines Brown
On Thu, Jan 23, 2025 at 09:35:24AM -0500, Henning Follmann wrote: > On Thu, Jan 23, 2025 at 08:45:02AM -0500, Haines Brown wrote: > > My attemtpts configure mlterm have no effect. For exaJmple, I create a file > > .mlterm/font with the line line: DEFAULT=20x28. > > And in the file .m lterm/backgro

Re: mlterm configuration

2025-01-23 Thread Haines Brown
On Thu, Jan 23, 2025 at 09:35:24AM -0500, Henning Follmann wrote: > On Thu, Jan 23, 2025 at 08:45:02AM -0500, Haines Brown wrote: > > My attemtpts configure mlterm have no effect. For exaJmple, I > > create a file .mlterm/font with the line line: DEFAULT=20x28. And > > in the file .m lterm/backgr

Re: mlterm configuration

2025-01-23 Thread Henning Follmann
On Thu, Jan 23, 2025 at 08:45:02AM -0500, Haines Brown wrote: > My attemtpts configure mlterm have no effect. For exaJmple, I create a file > .mlterm/font with the line line: DEFAULT=20x28. > And in the file .m lterm/background is the line bg_color=linen > > Well, what you did is just the wrong

mlterm configuration

2025-01-23 Thread Haines Brown
My attemtpts configure mlterm have no effect. For exaJmple, I create a file .mlterm/font with the line line: DEFAULT=20x28. And in the file .m lterm/background is the line bg_color=linen -- Haines Brown

Re: Configuration of files on Debian GNU/Linux

2024-10-12 Thread jeremy ardley
On 13/10/24 08:36, William Torrez Corea wrote: I configure a file for example /etc/network/interfaces.d Configure the file, save and exit but the changes are not made. I need to make a second configuration. For me it is a waste of time. What happened? -- With kindest regards, William

Re: Configuration of files on Debian GNU/Linux

2024-10-12 Thread Charles Curley
On Sat, 12 Oct 2024 18:36:34 -0600 William Torrez Corea wrote: > I configure a file for example /etc/network/interfaces.d /etc/network/interfaces.d is a directory; I suspect you mean you write a configuration file in /etc/network/interfaces.d. > > Configure the file, save and exi

Re: Configuration of files on Debian GNU/Linux

2024-10-12 Thread Dan Ritter
William Torrez Corea wrote: > I configure a file for example /etc/network/interfaces.d > > Configure the file, save and exit but the changes are not made. I need to > make a second configuration. Do you mean that the file was not saved to disk, or were you expecting something el

Re: Configuration of files on Debian GNU/Linux

2024-10-12 Thread Greg Wooledge
On Sat, Oct 12, 2024 at 18:36:34 -0600, William Torrez Corea wrote: > I configure a file for example /etc/network/interfaces.d That's a directory, not a file. > Configure the file, save and exit but the changes are not made. I need to > make a second configuration. > > For

Configuration of files on Debian GNU/Linux

2024-10-12 Thread William Torrez Corea
I configure a file for example /etc/network/interfaces.d Configure the file, save and exit but the changes are not made. I need to make a second configuration. For me it is a waste of time. What happened? -- With kindest regards, William. *Larry Wall invented a messy programming language

Re: Automatic creation of last-known-good boot configuration

2024-07-10 Thread songbird
Dan Ritter wrote: > Jens Schmidt wrote: >> On Debian testing I've been bitten by the systemd upgrade and the >> systemd package split recently, rendering my dracut-LUKS-based >> system unbootable. I know that my warranty is void since I'm on >> testing, but both these issues would have been much

Re: Automatic creation of last-known-good boot configuration

2024-07-10 Thread Nicolas George
pport snapshots have their own set of problems. On the other hand, I can say it is a feature of NixOS, I saw it last week when somebody asked me “I made a mistake, our VM doesn't boot anymore, can I access the GRUB console?” and they just rebooted on the previous configuration. But NixOS is not Debian, it is barely Unix as far as I can see. Regards, -- Nicolas George

Re: Automatic creation of last-known-good boot configuration

2024-07-10 Thread Dan Ritter
Jens Schmidt wrote: > On Debian testing I've been bitten by the systemd upgrade and the > systemd package split recently, rendering my dracut-LUKS-based > system unbootable. I know that my warranty is void since I'm on > testing, but both these issues would have been much easier to cope > with if

Re: Automatic creation of last-known-good boot configuration

2024-07-10 Thread Michel Verdier
On 2024-07-10, Jens Schmidt wrote: > So I thought that there might be some automatism like this: > > If the currently used kernel and initramfs have been in use > already N times and if the boot time has been lower then M > minutes each time (and if some other conditions are fulfilled), >

Automatic creation of last-known-good boot configuration

2024-07-10 Thread Jens Schmidt
On Debian testing I've been bitten by the systemd upgrade and the systemd package split recently, rendering my dracut-LUKS-based system unbootable. I know that my warranty is void since I'm on testing, but both these issues would have been much easier to cope with if there had been some good backu

Re: Apt configuration - As Stable As Possible

2024-07-03 Thread Dmitrii Odintcov
Hey, Thank you for your reply Sven, and sorry for the belated response. Here is my setup now: sources.list ``` # stable deb https://deb.debian.org/debian/ bookworm main contrib non-free-firmware non-free deb-src https://deb.debian.org/debian/ bookworm main contrib non-free-firmware non-fr

Re: Current best practices for system configuration management?

2024-06-22 Thread David Christensen
t would contain sets of packages to install (or uninstall), configuration files (including but not limited to /etc/), and possibly arbitrary scripts to execute upon installation (e.g. to make more precise edits to configs). I would like to store these in some central, git-controlled location where

Re: Current best practices for system configuration management?

2024-06-22 Thread Dmitrii Odintcov
Hi all, Sorry to resurrect an old-ish thread, but I am facing the exact same task, minus the know-how. Basically I am looking to pre-configure a number of Debian setups - let's say, "server", "laptop" and "PC" - that would contain sets of packages to install

[SUCESS with caution] Re: Corrupt MATE configuration due to OPERATOR ERROR

2024-06-18 Thread Richard Owlett
On 06/17/2024 09:33 AM, Mike Kupfer wrote: Richard Owlett wrote: I created a new, _apparently_ identical, panel. *HOWEVER* it displays something for each item open/active in *ANY* workspace. How do I get back to displaying something for each item open/active in the *CURRENT* workspace? Th

Re: Corrupt MATE configuration due to OPERATOR ERROR

2024-06-17 Thread Mike Kupfer
Richard Owlett wrote: > I created a new, _apparently_ identical, panel. > *HOWEVER* > it displays something for each item open/active in *ANY* workspace. > > How do I get back to displaying something for each item open/active in > the *CURRENT* workspace? This is the "window list" applet that

Re: Corrupt MATE configuration due to OPERATOR ERROR

2024-06-17 Thread Charles Curley
On Mon, 17 Jun 2024 05:35:17 -0500 Richard Owlett wrote: > ENVIRONMENT: > Running Debian 9.13 with MATE 1.16.3 on DELL LATITUDE E6410 laptop > an external monitor is used via ARandR 0.1.9 > Using SeaMonkey 2.49.4 for browser and email > Yes. Multiple rev's behind. Doing housekeepi

Corrupt MATE configuration due to OPERATOR ERROR

2024-06-17 Thread Richard Owlett
ENVIRONMENT: Running Debian 9.13 with MATE 1.16.3 on DELL LATITUDE E6410 laptop an external monitor is used via ARandR 0.1.9 Using SeaMonkey 2.49.4 for browser and email Yes. Multiple rev's behind. Doing housekeeping before updating ;} MATE with installation defaults had run fine. Lon

Re: Current best practices for system configuration management?

2024-05-27 Thread Mike Castle
uires-Root: no Standards-Version: 4.5.1 Section: metapackages Priority: optional Package: mrc-base Architecture: all Depends: ${misc:Depends}, bc, cron, ... zip, Package: mrc-mozilla Architecture: all Description: MRC's Mozilla apt configuration Lots of files under /etc/apt. Depends: ${mi

Re: Current best practices for system configuration management?

2024-04-24 Thread Linux-Fan
Mike Castle writes: Hah! https://lists.debian.org/debian-user/2013/08/msg00042.html Yes, that was me > 10a ago. Transitioning from these scripts to ant allowed came with a few improvements: * I switched all package building to `debuild` in favor of using more low-level tools for `raw` p

Mesh VPN on Debian (Was Re: Current best practices for system configuration management?)

2024-04-21 Thread Andy Smith
Hi, On Sat, Apr 20, 2024 at 04:40:24PM -0700, Mike Castle wrote: > Like Alex, one of my physical machines is a laptop that is not always > on the home network. Though I'm usually connected to *something*. > I'm still debating whether to bother with a VPN or trying something > like a tailnet. For

Re: Current best practices for system configuration management?

2024-04-21 Thread Tim Woodall
On Thu, 18 Apr 2024, Mike Castle wrote: Now, I would like to expand that into also setting up various config files that I currently do manually, for example, the `/etc/apt/*` configs I need to make the above work. For a single set of files, manual isn't bad, but as I want to get into setting up

Re: Current best practices for system configuration management?

2024-04-20 Thread Mike Castle
Hah! https://lists.debian.org/debian-user/2013/08/msg00042.html

Re: Current best practices for system configuration management?

2024-04-20 Thread John Crawley
On 21/04/2024 08:40, Mike Castle wrote: One thing Linux-Fan mentioned was `config-package-dev`. In my OP, I commented about ``slightly old to really old tools'', and that was one I was thinking of. It looks like it hasn't been touched in seven years, and I wasn't sure if it still worked. But t

Re: Current best practices for system configuration management?

2024-04-20 Thread Mike Castle
Thanks for all the suggestions so far. Like Alex, one of my physical machines is a laptop that is not always on the home network. Though I'm usually connected to *something*. I'm still debating whether to bother with a VPN or trying something like a tailnet. Heck, before I adopted Debian and ran

Re: Current best practices for system configuration management?

2024-04-19 Thread Andy Smith
Hi, On Thu, Apr 18, 2024 at 05:05:14PM -0700, Mike Castle wrote: > Anyway, suggestions based upon actually experience would be appreciated. As others have mentioned, Ansible can be a good choice for as little as one machine as long as you don't object to installing Python and a bunch of Python ap

Re: Current best practices for system configuration management?

2024-04-19 Thread Linux-Fan
Mike Castle writes: For a while now, I've been using `equivs-build` for maintaining a hierarchy of metapackages to control what is installed on my various machines. Generally, I can do `apt install mrc-$(hostname -s)` and I'm golden. Now, I would like to expand that into also setting up variou

Re: Current best practices for system configuration management?

2024-04-18 Thread Alexandre Rossi
discovered that all > > files under `/etc` are treated specially. The limitation of this is that you cannot modify existing configuration files, which is required sometimes. > > Anyway, suggestions based upon actually experience would be appreciated. > > The easy end of single-machi

Re: Current best practices for system configuration management?

2024-04-18 Thread Dan Ritter
tps://cinc.sh is producing a fully open release of Chef (with the new name, Cinc is not chef). I use Chef at work. The easy end of single-machine is etckeeper, which just checks your /etc (and whatever else you specify) into a local git. The high end of single machine is Nix, which has a complete lan

Current best practices for system configuration management?

2024-04-18 Thread Mike Castle
For a while now, I've been using `equivs-build` for maintaining a hierarchy of metapackages to control what is installed on my various machines. Generally, I can do `apt install mrc-$(hostname -s)` and I'm golden. Now, I would like to expand that into also setting up various config files that I c

Re: Apt configuration - As Stable As Possible

2024-04-06 Thread Sven Joachim
On 2024-04-07 04:48 +0300, Cyprus Socialite wrote: > I am trying to configure Apt to follow a "stable where we can, unstable > where we must" logic. > > On the "Stable+Backports - Testing - Unstable - Experimental" stencil, I > would like to > > - install left-to-right (the stablest version availa

Apt configuration - As Stable As Possible

2024-04-06 Thread Cyprus Socialite
Hi all, I am trying to configure Apt to follow a "stable where we can, unstable where we must" logic. On the "Stable+Backports - Testing - Unstable - Experimental" stencil, I would like to - install left-to-right (the stablest version available), - upgrade right-to-left (the stablest newer ver

Re: How to find system configuration vulnerabilities; was: Thank you Debian

2024-02-21 Thread Andre Rodier
On 21/02/2024 21:08, Michael Kjörling wrote: On 21 Feb 2024 19:03 +, from an...@rodier.me (Andre Rodier): - What is the best approach to check if there is any vulnerability in the packages configuration ? - Is there any service that could audit the deployment code or the configuration files

Re: How to find system configuration vulnerabilities; was: Thank you Debian

2024-02-21 Thread Timothy Butterworth
On February 21, 2024, at 4:08 PM, Michael Kjörling <2695bd53d...@ewoof.net> wrote: >On 21 Feb 2024 19:03 +, from an...@rodier.me (Andre Rodier): >> - What is the best approach to check if there is any vulnerability in the >> packages configuration ? >> - Is t

Re: How to find system configuration vulnerabilities; was: Thank you Debian

2024-02-21 Thread Michael Kjörling
On 21 Feb 2024 19:03 +, from an...@rodier.me (Andre Rodier): > - What is the best approach to check if there is any vulnerability in the > packages configuration ? > - Is there any service that could audit the deployment code or the > configuration files ? My understanding is tha

Re: Could not find interfaces configuration file /etc/network/interfaces in Debian Linux 11 (bullseye)

2023-12-09 Thread Turritopsis Dohrnii Teo En Ming
On Friday, December 8th, 2023 at 11:23 PM, John Hasler wrote: > Mr. Turritopsis Dohrnii Teo En Ming writes: > > > You managed to install OpenWRT on an Ubiquiti router? > > > Yes. It was quite straightforward. Instructions on the OpenWRT site. > -- > John Hasler > j...@sugarbit.com > Elmwood,

Re: Could not find interfaces configuration file /etc/network/interfaces in Debian Linux 11 (bullseye)

2023-12-08 Thread Turritopsis Dohrnii Teo En Ming
On Friday, December 8th, 2023 at 11:23 PM, John Hasler wrote: > Mr. Turritopsis Dohrnii Teo En Ming writes: > > > You managed to install OpenWRT on an Ubiquiti router? > > > Yes. It was quite straightforward. Instructions on the OpenWRT site. > -- > John Hasler > j...@sugarbit.com >

Re: Could not find interfaces configuration file /etc/network/interfaces in Debian Linux 11 (bullseye)

2023-12-08 Thread John Hasler
Mr. Turritopsis Dohrnii Teo En Ming writes: > You managed to install OpenWRT on an Ubiquiti router? Yes. It was quite straightforward. Instructions on the OpenWRT site. -- John Hasler j...@sugarbit.com Elmwood, WI USA

Re: Could not find interfaces configuration file /etc/network/interfaces in Debian Linux 11 (bullseye)

2023-12-08 Thread Turritopsis Dohrnii Teo En Ming
On Friday, December 8th, 2023 at 6:15 AM, John Hasler wrote: > Turritopsis Dohrnii Teo En Ming wrote: > > > UDM Pro runs Debian 11 (bullseye) > > > I have a Ubiquiti router. Before I installed OpenWRT I explored the OS. > It uses packages from Bullseye but it is certainly not Debian.

Re: Could not find interfaces configuration file /etc/network/interfaces in Debian Linux 11 (bullseye)

2023-12-08 Thread Turritopsis Dohrnii Teo En Ming
On Friday, December 8th, 2023 at 6:08 AM, jeremy ardley wrote: > On 7/12/23 23:52, Turritopsis Dohrnii Teo En Ming wrote: > > > Subject: Could not find interfaces configuration file > > /etc/network/interfaces in Debian Linux 11 (bullseye) > > > &g

Re: Could not find interfaces configuration file /etc/network/interfaces in Debian Linux 11 (bullseye)

2023-12-08 Thread Turritopsis Dohrnii Teo En Ming
On Friday, December 8th, 2023 at 6:05 AM, Andy Smith wrote: > Hello, > > On Thu, Dec 07, 2023 at 03:52:20PM +, Turritopsis Dohrnii Teo En Ming > wrote: > > > UDM Pro runs Debian 11 (bullseye) > > > I don't think it does. Just because you found a file on the > filesystem that sa

Re: Could not find interfaces configuration file /etc/network/interfaces in Debian Linux 11 (bullseye)

2023-12-08 Thread Turritopsis Dohrnii Teo En Ming
On Friday, December 8th, 2023 at 12:19 AM, Dan Purgert wrote: > On Dec 07, 2023, to...@tuxteam.de wrote: > > > On Thu, Dec 07, 2023 at 03:52:20PM +, Turritopsis Dohrnii Teo En Ming > > wrote: > > > > [...] > > > > > Problem > > > = > > > > > > On 6 Dec 2023, our client d

Re: Could not find interfaces configuration file /etc/network/interfaces in Debian Linux 11 (bullseye)

2023-12-08 Thread Turritopsis Dohrnii Teo En Ming
On Friday, December 8th, 2023 at 12:12 AM, to...@tuxteam.de wrote: > On Thu, Dec 07, 2023 at 03:52:20PM +, Turritopsis Dohrnii Teo En Ming > wrote: > > [...] > > > Problem > > = > > > > On 6 Dec 2023, our client discovered that their UDM Pro could not perform > > firmwa

Re: Could not find interfaces configuration file /etc/network/interfaces in Debian Linux 11 (bullseye)

2023-12-07 Thread John Hasler
Turritopsis Dohrnii Teo En Ming wrote: > UDM Pro runs Debian 11 (bullseye) I have a Ubiquiti router. Before I installed OpenWRT I explored the OS. It uses packages from Bullseye but it is certainly not Debian. You couldn't find that file because it isn't there. -- John Hasler j...@sugarbit.com

Re: Could not find interfaces configuration file /etc/network/interfaces in Debian Linux 11 (bullseye)

2023-12-07 Thread jeremy ardley
On 7/12/23 23:52, Turritopsis Dohrnii Teo En Ming wrote: Subject: Could not find interfaces configuration file /etc/network/interfaces in Debian Linux 11 (bullseye) You should confirm that the device is actually using that file. There are at least three different network configuration

Re: Could not find interfaces configuration file /etc/network/interfaces in Debian Linux 11 (bullseye)

2023-12-07 Thread Andy Smith
Hello, On Thu, Dec 07, 2023 at 03:52:20PM +, Turritopsis Dohrnii Teo En Ming wrote: > UDM Pro runs Debian 11 (bullseye) I don't think it does. Just because you found a file on the filesystem that says it does, is as trustworthy as the claims in your email that your client is called Henry Kiss

Re: Could not find interfaces configuration file /etc/network/interfaces in Debian Linux 11 (bullseye)

2023-12-07 Thread Dan Purgert
On Dec 07, 2023, to...@tuxteam.de wrote: > On Thu, Dec 07, 2023 at 03:52:20PM +, Turritopsis Dohrnii Teo En Ming > wrote: > > [...] > > > Problem > > = > > > > On 6 Dec 2023, our client discovered that their UDM Pro could not perform > > firmware updates automatically. Their UDM Pr

Re: Could not find interfaces configuration file /etc/network/interfaces in Debian Linux 11 (bullseye)

2023-12-07 Thread tomas
On Thu, Dec 07, 2023 at 03:52:20PM +, Turritopsis Dohrnii Teo En Ming wrote: [...] > Problem > = > > On 6 Dec 2023, our client discovered that their UDM Pro could not perform > firmware updates automatically. Their UDM Pro was running UniFi OS version > 3.0.20. Client wants to upgr

Could not find interfaces configuration file /etc/network/interfaces in Debian Linux 11 (bullseye)

2023-12-07 Thread Turritopsis Dohrnii Teo En Ming
Subject: Could not find interfaces configuration file /etc/network/interfaces in Debian Linux 11 (bullseye) Good day from Singapore, Background Information === Initially our client has a UniFi Dream Machine Pro (UDM Pro) acting as a firewall and router. Port 9 (WAN1) on

nginx configuration on Debian sanity check?

2023-07-15 Thread David Mehler
sl ciphers, running protocols 1.2 and 1.3 only and want to ensure I've got the best security setup. Thanks. Dave. # # example.com virtual host configuration # # enforce HTTPS # Redirect www.example.com port 80 to www.example.com port 443 server { listen 80; server_name www.example.com;

Re: Problem with apt maybe related to installation/configuration of apt-cacher-ng

2023-05-31 Thread Dennis Heddicke
On 5/31/23 14:42, john doe wrote: On 5/31/23 11:36, Dennis Heddicke wrote: Yes, after purging apt-cacher-ng the problem was gone. And after i reinstalled apt-cacher-ng and configured it that way: For the sake of simplicity and troubleshooting, please modify sources.list directly. What does a

Re: Problem with apt maybe related to installation/configuration of apt-cacher-ng

2023-05-31 Thread john doe
On 5/31/23 11:36, Dennis Heddicke wrote: Yes, after purging apt-cacher-ng the problem was gone. And after i reinstalled apt-cacher-ng and configured it that way: For the sake of simplicity and troubleshooting, please modify sources.list directly. What does acng.conf look like? Note that thi

Re: Problem with apt maybe related to installation/configuration of apt-cacher-ng

2023-05-31 Thread Charles Curley
ch. Second, if you are going to use hhtps, give the complete URL. Like so: Acquire::https {Proxy "https://localhost:3142";}; But I don't think that's part of your problem. For what it's worth, my configuration for ACN looks like: root@chaffee:~# cat

Re: Problem with apt maybe related to installation/configuration of apt-cacher-ng

2023-05-31 Thread Dennis Heddicke
Yes, after purging apt-cacher-ng the problem was gone. And after i reinstalled apt-cacher-ng and configured it that way: Acquire::http {Proxy "http://localhost:3142";}; Acquire::https {Proxy "http://";}; there are any errors too, although i don't know what  caused them. But thank you for your

Re: Problem with apt maybe related to installation/configuration of apt-cacher-ng

2023-05-30 Thread john doe
On 5/30/23 19:39, Dennis Heddicke wrote: Hello, i have a problem with "apt update", everytime i execute the command, i get the following error messages: Get:1 http://security.debian.org/debian-security bookworm-security InRelease [48,0 kB] Get:2 http://deb.debian.org/debian bookworm InRelease [

Problem with apt maybe related to installation/configuration of apt-cacher-ng

2023-05-30 Thread Dennis Heddicke
Hello, i have a problem with "apt update", everytime i execute the command, i get the following error messages: Get:1 http://security.debian.org/debian-security bookworm-security InRelease [48,0 kB] Get:2 http://deb.debian.org/debian bookworm InRelease [193 kB] Err:1 http://security.debian.o

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread David Wright
On Thu 02 Mar 2023 at 10:32:41 (+0100), daven...@tuxfamily.org wrote: > On 2023-03-02 00:24, David Wright wrote: > > On Tue 28 Feb 2023 at 16:05:14 (+0100), daven...@tuxfamily.org wrote: > > > On 2023-02-28 05:27, David Wright wrote: > > > > On Thu 23 Feb 2023 at 11:23:30 (+0100), daven...@tuxfamil

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread tomas
On Thu, Mar 02, 2023 at 12:14:14PM -0600, David Wright wrote: > On Thu 02 Mar 2023 at 17:23:23 (-), Curt wrote: > > On 2023-03-02, David wrote: [...] > > Those seem like antithetical concepts. > > The state is identical in both cases, hence using the same letter. > OTOH the paths to that st

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread David Wright
e example of this format.) The reference below is much better, as the figure is a table (as well as being comprehensive). > > Yeah. It does mean purged, or never installed. > > > >p - the package and all its configuration files were removed, or the > >package was

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread Curt
man page that explains the symbols in the first 3 columns, as >> far as I can find. > > Yeah. It does mean purged, or never installed. > >p - the package and all its configuration files were removed, or the >package was never installed. Those seem like antithetical conc

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread David
On Fri, 3 Mar 2023 at 02:18, wrote: > On 2023-03-02 14:19, Greg Wooledge wrote: > > On Thu, Mar 02, 2023 at 02:01:57PM +0100, daven...@tuxfamily.org wrote: > >> > > > akb@akira:~$ LC_ALL=C aptitude why ifupdown > >> > > > p netscript-2.4 Provides ifupdown > >> > > > p netscript-2.4 Depends b

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread davenull
On 2023-03-02 14:19, Greg Wooledge wrote: On Thu, Mar 02, 2023 at 02:01:57PM +0100, daven...@tuxfamily.org wrote: > > > akb@akira:~$ LC_ALL=C aptitude why ifupdown > > > p netscript-2.4 Provides ifupdown > > > p netscript-2.4 Depends bridge-utils (>= 0.9.3) > > > p bridge-utils Suggests

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread David
mns, as > far as I can find. Yeah. It does mean purged, or never installed. p - the package and all its configuration files were removed, or the package was never installed. >From here (Buster): grep -A 16 'Figure.2\.9\.' /usr/share/aptitude/README

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread Greg Wooledge
On Thu, Mar 02, 2023 at 02:01:57PM +0100, daven...@tuxfamily.org wrote: > > > > akb@akira:~$ LC_ALL=C aptitude why ifupdown > > > > p netscript-2.4 Provides ifupdown > > > > p netscript-2.4 Depends bridge-utils (>= 0.9.3) > > > > p bridge-utils Suggests ifupdown > > > > akb@akira:~$ LC_ALL

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread davenull
2.4 [...] Description-en: Linux 2.4/2.6/3.x router/firewall/VM host network config system. This is a router and firewall network configuration system. It is specific to the 2.4.x and 2.6.x kernel series. This system is in production use, even though this is an experimental version. [...] DO

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread davenull
ter/firewall/VM host network config system. This is a router and firewall network configuration system. It is specific to the 2.4.x and 2.6.x kernel series. This system is in production use, even though this is an experimental version. [...] DON'T use this on a pure server - it is VERY usef

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread Greg Wooledge
irewall/VM host network config system. This is a router and firewall network configuration system. It is specific to the 2.4.x and 2.6.x kernel series. This system is in production use, even though this is an experimental version. [...] DON'T use this on a pure server - it is VERY useful

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-02 Thread davenull
On 2023-03-02 00:24, David Wright wrote: On Tue 28 Feb 2023 at 16:05:14 (+0100), daven...@tuxfamily.org wrote: On 2023-02-28 05:27, David Wright wrote: > On Thu 23 Feb 2023 at 11:23:30 (+0100), daven...@tuxfamily.org wrote: > > On 2023-02-23 02:59, cono...@panix.com wrote: [ … ] Well, it look

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-03-01 Thread David Wright
he DHCP client would send it requests to > 192.168.1.1 (my home's gateway) instead of using the VPN > interface/route/whatever. > dhclient must have some wrong conf, but I never changed the default > conf, So I have no idea what part may be wrong or what's missing I had thought that it might be possible to configure a package like openresolv to manage the contention between the configurations, but judging what I've learned about your networking setup, it's probably easier just to hack it, using the method at the bottom of the wiki page, simply making resolv.conf immutable when your vpn starts up, and mutable when it stops, using Reco's suggestion. That should save you bothering with how the rest of your configuration is set up. And do remember to make the file mutable at boot time, in case your computer should crash while it's immutable. Cheers, David.

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-28 Thread Tixy
On Tue, 2023-02-28 at 16:05 +0100, daven...@tuxfamily.org wrote: > > It's the systemd-style so-called "predictable" interfaces names. > Replacing the older the eth0, wlan0, and so on… > > ens-something (annoying name made of multiple letters and digits) is the > new name for eth0 Or eno for eth

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-28 Thread davenull
On 2023-02-28 05:27, David Wright wrote: On Thu 23 Feb 2023 at 11:23:30 (+0100), daven...@tuxfamily.org wrote: On 2023-02-23 02:59, cono...@panix.com wrote: […] On the newer work laptop on the other hand, there is that eth0 block, there's is no eth0 interface on my system (there's enp.* and en

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-27 Thread David Wright
using HTTP. > > > > Might look at: > > > > /etc/network/interfaces.d/setup > > > > as explained in "man interfaces". (That file can/might be changed via > > the network symbol in the window manager's configuration bar/menu > > syst

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-27 Thread Greg Wooledge
On Mon, Feb 27, 2023 at 03:14:40PM +0100, daven...@tuxfamily.org wrote: > I did > > - chattr +i /etc/revolv.conf > > And when auditd showed a (failed) delete event on /etc/resolv.conf > > I grepped "resolv.conf" recursively on /var/log/, and All I've found are > entries in > > - /var/log/instal

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-27 Thread davenull
Hello On 2023-02-24 11:27, daven...@tuxfamily.org wrote: On 2023-02-24 10:27, to...@tuxteam.de wrote: On Fri, Feb 24, 2023 at 10:19:38AM +0100, daven...@tuxfamily.org wrote: [...] BUT I will make sure to take some time to dig into the logs monday. Now that I have an idea what I'm looking for

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-24 Thread David Wright
On Fri 24 Feb 2023 at 10:19:38 (+0100), daven...@tuxfamily.org wrote: > > […] > > vpnc_script has about eight methods available for setting up and > > reverting resolv.conf. Which is used depends on the presence of > > a binary, checked in turn from this list: > > > > /etc/openwrt_release

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-24 Thread Greg Wooledge
t;. It doesn't involve installing any new packages. If your testing is successful (e.g. a whole day goes by and the resolv.conf file is not unexpectedly altered), then things get a little bit trickier. If I understand correctly, you're working on a laptop, and your desired configuration

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-24 Thread tomas
On Fri, Feb 24, 2023 at 11:27:40AM +0100, daven...@tuxfamily.org wrote: > [...] totally agree logs are better than suspicion But please, don't take my snark all too seriously. On reread I realize it might have sounded harsher than it was meant. Cheers -- t signature.asc Description: PGP signa

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-24 Thread davenull
On 2023-02-24 10:27, to...@tuxteam.de wrote: On Fri, Feb 24, 2023 at 10:19:38AM +0100, daven...@tuxfamily.org wrote: [...] However, I didn't notice any vnpc_script malfunction. It does what it is expected to do. I'm like 99% sure the problem is dhclient deleting and recreating /etc/resolv.con

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-24 Thread tomas
On Fri, Feb 24, 2023 at 10:19:38AM +0100, daven...@tuxfamily.org wrote: [...] > However, I didn't notice any vnpc_script malfunction. It does what it is > expected to do. I'm like 99% sure the problem is dhclient deleting and > recreating /etc/resolv.conf as it sees fit, multiple times a day, and

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-24 Thread davenull
Hello, […] vpnc_script has about eight methods available for setting up and reverting resolv.conf. Which is used depends on the presence of a binary, checked in turn from this list: /etc/openwrt_release modify_resolvconf_openwrt /usr/bin/resolvectl modify_resolved_manager

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-23 Thread tomas
On Thu, Feb 23, 2023 at 11:39:03PM -0600, David Wright wrote: [...] > vpnc_script has about eight methods available for setting up and > reverting resolv.conf. Which is used depends on the presence of > a binary, checked in turn from this list: > > /etc/openwrt_release modify_resolvco

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-23 Thread David Wright
On Thu 23 Feb 2023 at 10:44:35 (+0100), daven...@tuxfamily.org wrote: > On 2023-02-22 22:08, David Wright wrote: > > On Wed 22 Feb 2023 at 18:12:29 (+0100), daven...@tuxfamily.org wrote: > > > > > What I want is: setting up /etc/resolv.conf ONLY > > > - at system startup/initial network connexion

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-23 Thread Reco
Hi. On Thu, Feb 23, 2023 at 11:31:44AM +0100, daven...@tuxfamily.org wrote: > > If it is DHCP: You might do a countermeasure in > > /etc/dhcp/dhclient.conf. On my system I have an entry as below. > > > > interface "wlp4s0" { > > supersede domain-name-servers 127.0.0.1; > > Unfortunately,

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-23 Thread davenull
On 2023-02-23 10:54, to...@tuxteam.de wrote: On Thu, Feb 23, 2023 at 10:44:35AM +0100, daven...@tuxfamily.org wrote: [...] Thank you. I'll give it a try, But I won't be on remote work before next week Which log file is used for that? That depends: it's the perpetrator's choice where to log

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-23 Thread Jeremy Ardley
hich I work… and work's proxy as well, which when it cannot be resolved… breaks everything using HTTP. Might look at:     /etc/network/interfaces.d/setup as explained in "man interfaces". (That file can/might be changed via the network symbol in the window manager's configu

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-23 Thread davenull
Hi On 2023-02-22 18:30, Christoph Brinkhaus wrote: Am Wed, Feb 22, 2023 at 06:12:29PM +0100 schrieb daven...@tuxfamily.org: = context = For the context, I use a Debian 11 laptop for work. When I work remotely from home, I have to use a cisco VPN. Good thing is there is openco

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-23 Thread davenull
when it cannot be resolved… breaks everything using HTTP. Might look at: /etc/network/interfaces.d/setup as explained in "man interfaces". (That file can/might be changed via the network symbol in the window manager's configuration bar/menu system, usually required wi

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-23 Thread tomas
On Thu, Feb 23, 2023 at 10:44:35AM +0100, daven...@tuxfamily.org wrote: [...] > Thank you. I'll give it a try, But I won't be on remote work before next > week > Which log file is used for that? That depends: it's the perpetrator's choice where to log (or whether to log at all, sadly). > So ins

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-23 Thread davenull
Hello On 2023-02-22 22:08, David Wright wrote: On Wed 22 Feb 2023 at 18:12:29 (+0100), daven...@tuxfamily.org wrote: What I want is: setting up /etc/resolv.conf ONLY - at system startup/initial network connexion. - when openconnect is executed and connects to work's VPN - when openconnect is

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-22 Thread John Conover
resolved… breaks everything using HTTP. Might look at: /etc/network/interfaces.d/setup as explained in "man interfaces". (That file can/might be changed via the network symbol in the window manager's configuration bar/menu system, usually required with root/sudo privileges.) John -- John Conover, cono...@panix.com, http://www.johncon.com/

Re: Debugging what is deleting/recreating /etc/resolv.conf with wrong configuration, on debian stable

2023-02-22 Thread Cindy Sue Causey
On 2/22/23, daven...@tuxfamily.org wrote: > > There is an unidentified process that decides it's ok to delete and > recreate /etc/resolv.conf without asking user/admin, > The problem is, the problematic process is not work's VPN related and > creates the file with wrong resolver's IP. The IP corre

  1   2   3   4   5   6   7   8   9   10   >