Re: disable IPv6 debian

2022-04-15 Thread Tim Woodall
On Sat, 16 Apr 2022, to...@tuxteam.de wrote: On Fri, Apr 15, 2022 at 09:47:11PM -0400, The Wanderer wrote: On 2022-04-15 at 20:47, Greg Wooledge wrote: On Sat, Apr 16, 2022 at 08:20:40AM +0800, wilson wrote: ps -efw |grep $PS |grep -v grep You're also going to exit your script with the

Re: OT EU-based Cloud Service

2022-04-15 Thread 황병희
(... sorry for late ...) Byung-Hee HWANG writes: > Hellow Debian! > > I'm Linux fan from South Korea. Very much i like Linux / OpenSource > stuff. And for the first time in my life, i have to plan to try install > mail server for outbond. > > For setup outbond server, i'll use Postfix and Ubuntu

Re: disable IPv6 debian

2022-04-15 Thread tomas
On Fri, Apr 15, 2022 at 09:47:11PM -0400, The Wanderer wrote: > On 2022-04-15 at 20:47, Greg Wooledge wrote: > > > On Sat, Apr 16, 2022 at 08:20:40AM +0800, wilson wrote: > > >> ps -efw |grep $PS |grep -v grep > > > You're also going to exit your script with the exit status from that > > last gr

Re: disable IPv6 debian

2022-04-15 Thread tomas
On Sat, Apr 16, 2022 at 08:06:23AM +0800, wilson wrote: > > > Greg Wooledge wrote: > > if [ "$1" == on ] > > this sounds strange. why a string doesn't need "" around in shell script? Shell works by text substitution. If you have foo $bar $baz the shell first replaces $bar and $baz by their

Re: disable IPv6 debian

2022-04-15 Thread didar
On Fri, Apr 15, 2022 at 10:58:01PM +, Andy Smith wrote: > Hello, > > On Fri, Apr 15, 2022 at 10:34:25AM -0400, Chuck Zmudzinski wrote: > > I have an issue with a few websites that seem to hang with ipv6 > > If you happen to know their IPv6 addresses and can trust that those > assignments will

Re: What do folks use to mirror repositories

2022-04-15 Thread Charles Curley
On Fri, 15 Apr 2022 19:06:35 -0700 David Christensen wrote: > When I had several Debian machines in the past, I used approx(8) [2]. > It was good software -- KISS, properly documented, easy to set up, > worked efficiently, and never failed. > > > But approx(8) had some operational features th

Re: slrn broke after power failure

2022-04-15 Thread songbird
Charlie Gibbs wrote: > Running Buster: > Linux cjglap2 4.19.0-20-amd64 #1 SMP Debian 4.19.235-1 (2022-03-17) > x86_64 GNU/Linux > > Today when I tried reading Usenet I ran into problems. I use slrnpull > to fetch news from a server - that part still works. When I run slrn to > read the news, i

Re: extract values from a string

2022-04-15 Thread Greg Wooledge
On Sat, Apr 16, 2022 at 10:37:14AM +0800, wilson wrote: > in shell script, how can I use regex to extract values from a string? "Some people, when confronted with a problem, think ``I know, I'll use regular expressions.'' Now they have two problems." > for instance the string: "black berry 12". >

Re: disable IPv6 debian

2022-04-15 Thread Greg Wooledge
On Fri, Apr 15, 2022 at 09:47:11PM -0400, The Wanderer wrote: > On 2022-04-15 at 20:47, Greg Wooledge wrote: > > On Sat, Apr 16, 2022 at 08:20:40AM +0800, wilson wrote: > > >> ps -efw |grep $PS |grep -v grep > > > You're also going to exit your script with the exit status from that > > last grep

Re: disable IPv6 debian

2022-04-15 Thread Chuck Zmudzinski
On 4/15/2022 6:58 PM, Andy Smith wrote: Hello, On Fri, Apr 15, 2022 at 10:34:25AM -0400, Chuck Zmudzinski wrote: I have an issue with a few websites that seem to hang with ipv6 If you happen to know their IPv6 addresses and can trust that those assignments will remain stable then you may prefe

Re: What do folks use to mirror repositories

2022-04-15 Thread David Christensen
On 4/15/22 04:36, to...@tuxteam.de wrote: On Fri, Apr 15, 2022 at 07:03:14AM -0400, Sam wrote: That's pretty much it. I want to mirror all my updates to a single server on my LAN and have everything on my LAN apt update from it. This seems more efficient than having everyone download their own c

Re: disable IPv6 debian

2022-04-15 Thread The Wanderer
On 2022-04-15 at 20:47, Greg Wooledge wrote: > On Sat, Apr 16, 2022 at 08:20:40AM +0800, wilson wrote: >> ps -efw |grep $PS |grep -v grep > You're also going to exit your script with the exit status from that > last grep command. That's probably not what you want. If it's not, > then an explic

Re: disable IPv6 debian

2022-04-15 Thread Greg Wooledge
On Sat, Apr 16, 2022 at 08:20:40AM +0800, wilson wrote: > Can you help check if my this script has any issue? > #!/bin/bash > > PORT=$1 > if [ -z $PORT ];then "$PORT" should be quoted here. > echo "$0 port" As a usage message, this is rather minimal. At least put "usage: " in front of it.

Re: disable IPv6 debian

2022-04-15 Thread Charles Curley
On Sat, 16 Apr 2022 08:20:40 +0800 wilson wrote: > I didn't know much about shell rules. > Can you help check if my this script has any issue? You might look into the shellcheck package. There is an extension to use it in Emacs, and there may well be extensions for other editors. -- Does anybo

Re: disable IPv6 debian

2022-04-15 Thread wilson
Greg Wooledge wrote: But nobody does that. It's simply unnecessary. Likewise, you don't need quotes around "on" or "off" because they don't contain special characters. You also don't need quotes around the "==" string argument that was passed in this command. It's funny that you would think

Re: disable IPv6 debian

2022-04-15 Thread Greg Wooledge
On Sat, Apr 16, 2022 at 08:06:23AM +0800, wilson wrote: > > > Greg Wooledge wrote: > > if [ "$1" == on ] > > this sounds strange. why a string doesn't need "" around in shell script? You only need quotes to force a literal interpretation of whitespace or other special characters, or to suppress

Re: disable IPv6 debian

2022-04-15 Thread wilson
Ash Joubert wrote: To completely and persistently disable all ipv6 support in the kernel, I add "ipv6.disable=1" to the Linux command line variable GRUB_CMDLINE_LINUX in /etc/default/grub, run update-grub, and reboot. If you have other command line arguments, they are separated by whitespace

Re: disable IPv6 debian

2022-04-15 Thread Ash Joubert
On 15/04/2022 23:32, wilson wrote: What's the good way to disable IPv6 in a debian system? To completely and persistently disable all ipv6 support in the kernel, I add "ipv6.disable=1" to the Linux command line variable GRUB_CMDLINE_LINUX in /etc/default/grub, run update-grub, and reboot. If

Re: disable IPv6 debian

2022-04-15 Thread wilson
Greg Wooledge wrote: if [ "$1" == on ] this sounds strange. why a string doesn't need "" around in shell script?

Re: disable IPv6 debian

2022-04-15 Thread Andy Smith
Hello, On Fri, Apr 15, 2022 at 10:34:25AM -0400, Chuck Zmudzinski wrote: > I have an issue with a few websites that seem to hang with ipv6 If you happen to know their IPv6 addresses and can trust that those assignments will remain stable then you may prefer instead to add prohibited routes for th

slrn broke after power failure

2022-04-15 Thread Charlie Gibbs
Running Buster: Linux cjglap2 4.19.0-20-amd64 #1 SMP Debian 4.19.235-1 (2022-03-17) x86_64 GNU/Linux Today when I tried reading Usenet I ran into problems. I use slrnpull to fetch news from a server - that part still works. When I run slrn to read the news, it comes up with the normal list

Re: APT had planned for dpkg to do more than it reported back

2022-04-15 Thread Andrew M.A. Cater
On Fri, Apr 15, 2022 at 11:41:18PM +0200, Thomas Schmitt wrote: > Hi, > > i wrote: > > > Today i did an ugrade from 10.10 to 10.3 > > Charles Curley wrote: > > Did you mean from 10.10 to 11.3? > > Yes. 11.3, of course. I still have to get used to the new number. > > > You might try > > removing

Re: APT had planned for dpkg to do more than it reported back

2022-04-15 Thread Thomas Schmitt
Hi, i wrote: > > Today i did an ugrade from 10.10 to 10.3 Charles Curley wrote: > Did you mean from 10.10 to 11.3? Yes. 11.3, of course. I still have to get used to the new number. > You might try > removing it (and whatever might depend on it) before you do the upgrade. Well, the upgrade is c

Re: APT had planned for dpkg to do more than it reported back

2022-04-15 Thread Andrew M.A. Cater
On Fri, Apr 15, 2022 at 02:25:21PM -0600, Charles Curley wrote: > On Fri, 15 Apr 2022 16:35:41 +0200 > "Thomas Schmitt" wrote: > > > Today i did an ugrade from 10.10 to 10.3…. > > Did you mean from 10.10 to 11.3? 11.3 being the current version of > Bullseye. > > On that assumption, texlive seem

Re: APT had planned for dpkg to do more than it reported back

2022-04-15 Thread Charles Curley
On Fri, 15 Apr 2022 16:35:41 +0200 "Thomas Schmitt" wrote: > Today i did an ugrade from 10.10 to 10.3…. Did you mean from 10.10 to 11.3? 11.3 being the current version of Bullseye. On that assumption, texlive seems to be optional on 11.3. You might try removing it (and whatever might depend on

Re: disable IPv6 debian

2022-04-15 Thread Chuck Zmudzinski
On 4/15/22 8:10 AM, wilson wrote: no. it's the Hadoop system, which has the possible issue with ipv6. thanks I would check the documentation for Hadoop - does it have an option to disable ipv6? I would just disable ipv6 for the app that has the issue with ipv6, not for the whole system. I

Re: disable IPv6 debian

2022-04-15 Thread Chuck Zmudzinski
On 4/15/22 12:08 PM, Tim Woodall wrote: On Fri, 15 Apr 2022, Greg Wooledge wrote: On Fri, Apr 15, 2022 at 11:21:46AM -0400, Chuck Zmudzinski wrote: Another improvement to the script would be to have the script toggle the default route on or off, depending on the existence or not of the def

Re: What do folks use to mirror repositories

2022-04-15 Thread David Wright
On Fri 15 Apr 2022 at 07:03:14 (-0400), Sam wrote: > That's pretty much it. I want to mirror all my updates to a single > server on my LAN and have everything on my LAN apt update from it. > This seems more efficient than having everyone download their own > copies. Same here, except that the "ser

Re: disable IPv6 debian

2022-04-15 Thread Tim Woodall
On Fri, 15 Apr 2022, Greg Wooledge wrote: On Fri, Apr 15, 2022 at 11:21:46AM -0400, Chuck Zmudzinski wrote: Another improvement to the script would be to have the script toggle the default route on or off, depending on the existence or not of the default route, for the case when there is no arg

Re: Debian usage in Russia

2022-04-15 Thread Трухин Юрий
Thank you very much! Best regards, Yuri Trukhin MTS Cloud Development Director | PJSC "MTS" Mob: +79955002005 | Mail: trukhiny...@mts.ru Moscow, Andropova avenue, 18, building 9, floor 15, 1528 https://cloud.mts.ru On 4/15/22, 18:52, "Andrew M.A. Cater" wrote: Это внешнее сообщение! Буд

Re: disable IPv6 debian

2022-04-15 Thread Greg Wooledge
On Fri, Apr 15, 2022 at 11:21:46AM -0400, Chuck Zmudzinski wrote: > Another improvement to the script would be to have the script toggle the > default route on or off, depending on the existence or not of the default > route, for the case when there is no argument to the script. That requires some

Re: Debian usage in Russia

2022-04-15 Thread Andrew M.A. Cater
On Fri, Apr 15, 2022 at 02:19:56PM +, Трухин Юрий wrote: > Good afternoon! > > We are planning to use Debian Source Code (all builds) (the “Software”) in > Russia and have several questions related to Unrestricted Encryption Source > Code Notification Commodity > (https://www.debian.org/leg

Re: disable IPv6 debian

2022-04-15 Thread Chuck Zmudzinski
On 4/15/22 11:12 AM, Chuck Zmudzinski wrote: On 4/15/2022 10:50 AM, Greg Wooledge wrote: On Fri, Apr 15, 2022 at 10:34:25AM -0400, Chuck Zmudzinski wrote: user@debian:~$ cat ipv6 #!/bin/bash if [ $1 == "on" ] then ip -6 route add default via dev elif [ $1 == "off" ] then

Re: What do folks use to mirror repositories

2022-04-15 Thread Nicholas Geovanis
On Fri, Apr 15, 2022 at 6:10 AM Sam wrote: > That's pretty much it. I want to mirror all my updates to a single server > on > my LAN and have everything on my LAN apt update from it. This seems more > efficient than having everyone download their own copies. > > Google told me to use apt-mirror.

Re: disable IPv6 debian

2022-04-15 Thread Chuck Zmudzinski
On 4/15/2022 10:50 AM, Greg Wooledge wrote: On Fri, Apr 15, 2022 at 10:34:25AM -0400, Chuck Zmudzinski wrote: user@debian:~$ cat ipv6 #!/bin/bash if [ $1 == "on" ] then     ip -6 route add default via dev elif [ $1 == "off" ] then     ip -6 route delete default fi Quotes are in the

Re: disable IPv6 debian

2022-04-15 Thread Greg Wooledge
On Fri, Apr 15, 2022 at 10:34:25AM -0400, Chuck Zmudzinski wrote: > user@debian:~$ cat ipv6 > #!/bin/bash > if [ $1 == "on" ] > then >     ip -6 route add default via dev > elif [ $1 == "off" ] > then >     ip -6 route delete default > fi Quotes are in the wrong place. The [ builtin com

Re: APT had planned for dpkg to do more than it reported back

2022-04-15 Thread Thomas Schmitt
Hi, this thread is 2 years old: https://lists.debian.org/debian-user/2020/04/msg01337.html Google found it for me. Today i did an ugrade from 10.10 to 10.3 following the instructions in https://www.debian.org/releases/stable/amd64/release-notes/ch-upgrading.en Strangely i got this warning too:

Re: disable IPv6 debian

2022-04-15 Thread Chuck Zmudzinski
On 4/15/2022 8:10 AM, wilson wrote: no. it's the Hadoop system, which has the possible issue with ipv6. thanks I have an issue with a few websites that seem to hang with ipv6, so I don't want to disable ipv6 permanently but only temporarily when I want to access those sites. One class of s

Using Debian in Russia

2022-04-15 Thread Трухин Юрий
Good afternoon! We are planning to use Debian Source Code build 11.3 (the “Software”) in Russia and have several questions related to Unrestricted Encryption Source Code Notification Commodity (https://www.debian.org/legal/notificationforarchive, “Notification”) and export restrictions of the U

Debian usage in Russia

2022-04-15 Thread Трухин Юрий
Good afternoon! We are planning to use Debian Source Code (all builds) (the “Software”) in Russia and have several questions related to Unrestricted Encryption Source Code Notification Commodity (https://www.debian.org/legal/notificationforarchive, “Notification”) and export restrictions of th

Re: disable IPv6 debian

2022-04-15 Thread Reco
Hi, please do not top-post. On Fri, Apr 15, 2022 at 08:35:33PM +0800, wilson wrote: > Reco wrote: > > The most non-intrusive way of doing it (side effects considered) is: > > > > /sbin/sysctl -w net.ipv6.conf.default.disable_ipv6=1 > > /sbin/sysctl -w net.ipv6.conf.lo.disable_ipv6=0 > >

Re: disable IPv6 debian

2022-04-15 Thread Jeremy Ardley
On 15/4/22 9:59 pm, Erwan David wrote: No. But it won't be kept if you reboot To make it permanent you need to create the file /etc/sysctl.d/10-disable_ipv6.conf with the 2 lines net.ipv6.conf.default.disable_ipv6=1 net.ipv6.conf.lo.disable_ipv6=0 However make sure no other file in /etc/sy

Re: disable IPv6 debian

2022-04-15 Thread Erwan David
Le 15/04/2022 à 14:35, wilson a écrit : after doing this, do I need to restart the OS? thanks Reco wrote: The most non-intrusive way of doing it (side effects considered) is: /sbin/sysctl -w net.ipv6.conf.default.disable_ipv6=1 /sbin/sysctl -w net.ipv6.conf.lo.disable_ipv6=0 No. But it w

Re: disable IPv6 debian

2022-04-15 Thread wilson
after doing this, do I need to restart the OS? thanks Reco wrote: The most non-intrusive way of doing it (side effects considered) is: /sbin/sysctl -w net.ipv6.conf.default.disable_ipv6=1 /sbin/sysctl -w net.ipv6.conf.lo.disable_ipv6=0

Re: disable IPv6 debian

2022-04-15 Thread Reco
Hi. On Fri, Apr 15, 2022 at 07:32:01PM +0800, wilson wrote: > What's the good way to disable IPv6 in a debian system? The most non-intrusive way of doing it (side effects considered) is: /sbin/sysctl -w net.ipv6.conf.default.disable_ipv6=1 /sbin/sysctl -w net.ipv6.conf.lo.disable_ipv6=0

Re: What do folks use to mirror repositories

2022-04-15 Thread Andrew M.A. Cater
On Fri, Apr 15, 2022 at 07:03:14AM -0400, Sam wrote: > That's pretty much it. I want to mirror all my updates to a single server on > my LAN and have everything on my LAN apt update from it. This seems more > efficient than having everyone download their own copies. > > Google told me to use apt-m

Re: What do folks use to mirror repositories

2022-04-15 Thread Roberto C . Sánchez
On Fri, Apr 15, 2022 at 01:36:43PM +0200, to...@tuxteam.de wrote: > On Fri, Apr 15, 2022 at 07:03:14AM -0400, Sam wrote: > > That's pretty much it. I want to mirror all my updates to a single server on > > my LAN and have everything on my LAN apt update from it. This seems more > > efficient than h

Re: disable IPv6 debian

2022-04-15 Thread wilson
no. it's the Hadoop system, which has the possible issue with ipv6. thanks 황병희 wrote: If that is about mail system Postfix, you check this parameter:

Re: disable IPv6 debian

2022-04-15 Thread 황병희
> What's the good way to disable IPv6 in a debian system? Well i don't know debian system. However i'm using Debian 11. If that is about mail system Postfix, you check this parameter: #+begin_src text inet_protocols = ipv4 #+end_src Sincerely, Linux fan Byung-Hee -- ^고맙습니다 _布德天下_ 감사합니다_^))//

disable IPv6 debian

2022-04-15 Thread wilson
Hello What's the good way to disable IPv6 in a debian system? Thanks

Re: What do folks use to mirror repositories

2022-04-15 Thread tomas
On Fri, Apr 15, 2022 at 07:03:14AM -0400, Sam wrote: > That's pretty much it. I want to mirror all my updates to a single server on > my LAN and have everything on my LAN apt update from it. This seems more > efficient than having everyone download their own copies. If all you are looking for is e

What do folks use to mirror repositories

2022-04-15 Thread Sam
That's pretty much it. I want to mirror all my updates to a single server on my LAN and have everything on my LAN apt update from it. This seems more efficient than having everyone download their own copies. Google told me to use apt-mirror. My updates repository turned out to have some met

Re: Out of memory killer misconfigured?

2022-04-15 Thread tomas
On Fri, Apr 15, 2022 at 11:03:07AM +0100, piorunz wrote: > On 15/04/2022 06:53, to...@tuxteam.de wrote: > > If you want to learn more about that, the Linux MM ("memory > > management") people have set up a wiki for that: > > > >https://linux-mm.org/OOM_Killer > > > > Enjoy:) > > > > (and yes

Re: Out of memory killer misconfigured?

2022-04-15 Thread piorunz
On 15/04/2022 06:53, to...@tuxteam.de wrote: If you want to learn more about that, the Linux MM ("memory management") people have set up a wiki for that: https://linux-mm.org/OOM_Killer Enjoy:) (and yes, on my box, more memory-hungry processes have a higher /proc//oom_score, so they seem to

Re: Hello

2022-04-15 Thread mick crane
On 2022-04-14 23:31, sergioyraul wrote: Im looking for a version debían gnome non-free with all private firmware but I install two versions Which I believe were non-free but they were not.can you  give me a link that complies with that?  If you have installed something that boots I *think* it i

Re: Hello

2022-04-15 Thread Andrew M.A. Cater
On Fri, Apr 15, 2022 at 12:14:42AM -0500, David Wright wrote: > On Fri 15 Apr 2022 at 00:31:52 (+0200), sergioyraul wrote: > > Im looking for a version debían gnome non-free with all private firmware > > but I install two versions Which I believe were non-free but they were > > not.can you  give