Re: non-smart debian phone

2020-08-05 Thread Russell L. Harris
On Wed, Aug 05, 2020 at 09:38:40PM -0700, Dan Hitt wrote: I plan to get a non-smart phone to replace my smart phone. By non-smart, i mean that it does not have a touch screen. A couple of years back I switched to AT&T. Back then the only flip-phone offered by AT&T was Kyocera. Battery life t

Re: Homebuilt NAS Advice

2020-08-05 Thread Leslie Rhorer
On 8/6/2020 12:06 AM, Leslie Rhorer wrote: For better performance, more space, and higher throughput, I would probably create a RAID 4 or RAID 6 array from the external enclosure and use it as the data repository. Sorry, that was a typo. That should be RAID 5 or RAID 6.

Re: Homebuilt NAS Advice

2020-08-05 Thread Leslie Rhorer
On 8/5/2020 11:13 PM, Stefan Monnier wrote: - RAID would require extra hardware in my machines, for some of them that would be a non-trivial constraint (e.g. my BananaPi servers and my laptops). How do you figure? Adding an external USB drive enclosure to a laptop or a B

non-smart debian phone

2020-08-05 Thread Dan Hitt
I plan to get a non-smart phone to replace my smart phone. By non-smart, i mean that it does not have a touch screen. However, it might be reasonable for it to have a usb port not just for charging, but for communication with my computer. Conceivably it might be useful to download voice mail to

Re: Homebuilt NAS Advice

2020-08-05 Thread Kushal Kumaran
Leslie Rhorer writes: > On 8/5/2020 1:51 PM, deloptes wrote: > >> Imagine you have classical backup: daily incrementals, full weekly and full >> monthly. > > This is not required with DAR. One full backup is all that is > required. Anything else is a waste of time and space. One can empl

Re: Homebuilt NAS Advice

2020-08-05 Thread Stefan Monnier
>> - RAID would require extra hardware in my machines, for some of them >>that would be a non-trivial constraint (e.g. my BananaPi servers and >>my laptops). > How do you figure? Adding an external USB drive enclosure to > a laptop or a Banana Pi is pretty trivial. Are you ser

Re: delimiters with more than one character? ...

2020-08-05 Thread John Crawley
On 2020-08-05 22:06, Greg Wooledge wrote: On Wed, Aug 05, 2020 at 03:04:32PM +0900, John Crawley wrote: This method cuts off the first part of the string, up to the delimiter, and adds it to the array, then continues with what's left of the string until there's none left: Yes, that's a valid a

Re: Homebuilt NAS Advice

2020-08-05 Thread Leslie Rhorer
- RAID would require extra hardware in my machines, for some of them that would be a non-trivial constraint (e.g. my BananaPi servers and my laptops). How do you figure? Adding an external USB drive enclosure to a laptop or a Banana Pi is pretty trivial. RAID does not require any hardw

Re: Homebuilt NAS Advice

2020-08-05 Thread Stefan Monnier
> And I disagree with you, because if you do not have RAID, you loose the data > instantly and in best case your backup is a few hours old. Plus you have > the effort to restore probably the last monthly, then the last weekly and > then few incrementals - compared to replacing just one disk and let

Re: Homebuilt NAS Advice

2020-08-05 Thread Leslie Rhorer
On 8/5/2020 1:51 PM, deloptes wrote: Imagine you have classical backup: daily incrementals, full weekly and full monthly. This is not required with DAR. One full backup is all that is required. Anything else is a waste of time and space. One can employ either differential or decrement

Re: [OT] CentOS 6 [Was: Re: how to quickly recover buster boot loader]

2020-08-05 Thread David Wright
On Wed 05 Aug 2020 at 17:51:36 (+), Long Wind wrote: > no, i try centos for fun and fedora and opensuse > my hardware is old and old software usually require less memory/disk > these old software are new to me, i might discover interesting app > http://archive.debian.org/ > http://archives.fed

Re: After software update systemd runs into timeouts

2020-08-05 Thread David Wright
On Wed 05 Aug 2020 at 22:53:26 (+0200), Urs Thuermann wrote: > Should this be considered a bug? Shouldn't 'aptitude why' show the > packages that depend on it? Why not read the man page: Note aptitude why does not perform full dependency resolution; it only displays direct

Re: Homebuilt NAS Advice

2020-08-05 Thread Leslie Rhorer
On 8/5/2020 5:25 PM, deloptes wrote: Jonathan Dowland wrote: For the majority of use-cases, I really disagree that RAID is ever more essential than backup. I can cook up some scenarios where this isn't true, but they are not common ones. And I disagree with you, So do I. Both are essentia

Re: Homebuilt NAS Advice

2020-08-05 Thread deloptes
Jonathan Dowland wrote: > For the majority of use-cases, I really disagree that RAID is ever more > essential than backup. I can cook up some scenarios where this isn't > true, but they are not common ones. And I disagree with you, because if you do not have RAID, you loose the data instantly and

Re: Homebuilt NAS Advice

2020-08-05 Thread Jonathan Dowland
On Wed, Aug 05, 2020 at 09:09:07PM +0200, deloptes wrote: Sorry to answer a question that was not addressed to me, but I was just reading this topic as I had experience in the past few years with this topic in a project I worked on. No problem — it's a public list :) IMO you should do RAID an

Re: After software update systemd runs into timeouts

2020-08-05 Thread Urs Thuermann
Andrei POPESCU writes: > It's of course possible to reopen the bug if it still exists, though > stretch is oldstable now and in LTS mode. I plan to upgrade to buster, but only after August 15th. > On a server it might be possible to simply not use systemd-logind. E.g. > (at least on buster)

Re: aptitude problem with control file (in stretch)

2020-08-05 Thread didier . gaumet
Hello, perhaps options described here could help you: https://www.debian.org/doc/manuals/aptitude/ch02s05s05.en.html

Re: After software update systemd runs into timeouts

2020-08-05 Thread Andrei POPESCU
On Mi, 05 aug 20, 18:02:12, Urs Thuermann wrote: > Andrei POPESCU writes: > > > The package 'needrestart' hooks into APT and offers to restart any > > affected services. > > Thx, I didn't know needrestart until today, but learned about in in > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=7

Re: Homebuilt NAS Advice

2020-08-05 Thread deloptes
Jonathan Dowland wrote: > In brief my rationale is: without RAID, when a drive failure occurs I > lose access to my NAS until I've replaced the drive and restored the > files. I judge that the inconvenience of system downtime is outweighed > by the increased cost (upfront and running), complexity,

Re: Homebuilt NAS Advice

2020-08-05 Thread deloptes
Leslie Rhorer wrote: > In this context what, exactly, is de-duplication?  I fail to see how > any meaningful interpretation of the term is salient to backups.  To > compression, yes, to symbolic interpretation, surely, and to saving > space on a drive and reducing access times, you bet.  To backup

Re: [Python-Help] Python 3 Segmentation Fault

2020-08-05 Thread J.Arun Mani
Hello all. I found a crazy fix to this issue. Running Python in Isolation mode raises no problem ! That is, you need to run Python like this: $ python3 -I So having the isolation mode fix the issue, what next step shall I take to make the fix permanent (I mean tweak or look at which modules, b

Re: Atheros wifi problem

2020-08-05 Thread Sven Joachim
On 2020-08-05 18:01 +0100, Hilary Snaden wrote: > Following the recent discussion about Atheros AR9271 wifi no longer working. > > After the most recent kernel update to 5.7.10-1 (2020-07-26), my > AR9271 wifi dongle is recognised again, but there is now a worse > problem: if I use the dongle, the

Atheros wifi problem

2020-08-05 Thread Hilary Snaden
Following the recent discussion about Atheros AR9271 wifi no longer working. After the most recent kernel update to 5.7.10-1 (2020-07-26), my AR9271 wifi dongle is recognised again, but there is now a worse problem: if I use the dongle, the box gradually freezes over the course of around 5 to

Re: System time instantly wrong when network lost

2020-08-05 Thread Michael Stone
On Wed, Aug 05, 2020 at 07:57:07AM -0400, Carl wrote: Optimum Online is out here (Long Island). When I lost internet service, system time almost instantly switched to December 13, 2017 at 00:00 or so. If I connect the computer via my phone hotspot, NTP corrects the time rather quickly. As soon as

Re: how to quickly recover buster boot loader

2020-08-05 Thread Brian
On Wed 05 Aug 2020 at 15:14:33 +, Andrew Cater wrote: > Boot from Debian install media. Use rescue mode. Mount Debian partition > when prompted. Run os-prober and update-grub then exit. Machine should > reboot into Debian. No need to run os-prober; update-grub does it. -- Brian.

Re: System time instantly wrong when network lost

2020-08-05 Thread David Wright
On Wed 05 Aug 2020 at 07:57:07 (-0400), Carl wrote: > Optimum Online is out here (Long Island). When I lost internet service, > system time almost instantly switched to December 13, 2017 at 00:00 or so. If > I connect the computer via my phone hotspot, NTP corrects the time rather > quickly. As

Re: aptitude problem with control file (in stretch)

2020-08-05 Thread Sven Joachim
On 2020-08-05 12:33 +0200, Harald Dunkel wrote: > On 8/5/20 11:03 AM, Sven Joachim wrote: >> I am surprised to read that, considering that your installed lxc >> version >> does not actually fulfill the dependency. Note the epoch. >> $ dpkg --compare-versions 1:2.0.11-1~xgo90+1 lt 3 || echo 'Got i

Re: After software update systemd runs into timeouts

2020-08-05 Thread Urs Thuermann
Andrei POPESCU writes: > The package 'needrestart' hooks into APT and offers to restart any > affected services. Thx, I didn't know needrestart until today, but learned about in in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770135 and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823

[OT] CentOS 6 [Was: Re: how to quickly recover buster boot loader]

2020-08-05 Thread Liam O'Toole
On Wed, 05 Aug, 2020 at 00:04:48 +, Long Wind wrote: >i have win7 at sda1 and buster at sda2 >i install centos 6 at sda3, it can boot win7, can't see buster >i mean i can't boot buster now >is there some rescue image that can be written to bootable usb disk? >or do you know

Re: After software update systemd runs into timeouts

2020-08-05 Thread Urs Thuermann
Greg Wooledge writes: > Google led me to > which, although it's for Arch Linux and not Debian, might possibly > be relevant for you. > > In particular, what does "ls -ld /var/run" say? The symlink /var/run -> /run is OK. My problem is probabl

Re: Homebuilt NAS Advice

2020-08-05 Thread Stefan Monnier
> Can bup expire old backups yet (and remove the corresponding objects)? Yes ;-) Stefan

Re: how to quickly recover buster boot loader

2020-08-05 Thread Andrew Cater
Boot from Debian install media. Use rescue mode. Mount Debian partition when prompted. Run os-prober and update-grub then exit. Machine should reboot into Debian. On Wed, Aug 5, 2020 at 1:28 PM Long Wind wrote: > Thank Greg! > but chroot dance is new to me, it doesn't seem easy > it involves ma

Re: Homebuilt NAS Advice

2020-08-05 Thread Jonathan Dowland
On Wed, Aug 05, 2020 at 10:11:51AM -0400, Stefan Monnier wrote: The system I use (`bup`) does support that as well (every backup is (more or less) a Git commit, so it doesn't distinguish full-backups from incrementals), but it doesn't bother to mention it probably because it's very basic. Can b

Re: After software update systemd runs into timeouts

2020-08-05 Thread Andrei POPESCU
On Mi, 05 aug 20, 12:43:18, Urs Thuermann wrote: > I run a server with Debian 9 and haven't resisted the conversion to > systemd strong enough, therefore I now have a couple of problems with > stability and availability. > > One of them is, that often after software updates systemd-logind.service

Re: Homebuilt NAS Advice

2020-08-05 Thread Stefan Monnier
> I prefer DAR for several reasons. First of all, as I mentioned > before, DAR is the only backup solution of which I am aware that can > restore not only deleted or corrupted files, but which can also > restore deletions. This means DAR can restore any or all files one >

Re: After software update systemd runs into timeouts

2020-08-05 Thread Greg Wooledge
On Wed, Aug 05, 2020 at 12:43:18PM +0200, Urs Thuermann wrote: > Aug 5 11:06:06 bit systemd[1]: systemd-logind.service: Start operation timed > out. Terminating. > Aug 5 11:06:06 bit systemd[1]: Failed to start Login Service. > Aug 5 11:06:06 bit systemd[1]: systemd-logind.service: Unit entered

Re: delimiters with more than one character? ...

2020-08-05 Thread Greg Wooledge
On Wed, Aug 05, 2020 at 03:04:32PM +0900, John Crawley wrote: > This method cuts off the first part of the string, up to the delimiter, and > adds it to the array, then continues with what's left of the string until > there's none left: Yes, that's a valid approach, although not one that most bash

Re: how to quickly recover buster boot loader

2020-08-05 Thread Greg Wooledge
On Wed, Aug 05, 2020 at 12:04:48AM +, Long Wind wrote: > i have win7 at sda1 and buster at sda2i install centos 6 at sda3, it can boot > win7, can't see busteri mean i can't boot buster now > is there some rescue image that can be written to bootable usb disk? > or do you know how to config ce

Re: System time instantly wrong when network lost

2020-08-05 Thread David
On Wed, 5 Aug 2020 at 21:57, Carl wrote: > > Optimum Online is out here (Long Island). When I lost internet service, > system time almost instantly switched to December 13, 2017 at 00:00 or so. If > I connect the computer via my phone hotspot, NTP corrects the time rather > quickly. As soon as

System time instantly wrong when network lost

2020-08-05 Thread Carl
Optimum Online is out here (Long Island). When I lost internet service, system time almost instantly switched to December 13, 2017 at 00:00 or so. If I connect the computer via my phone hotspot, NTP corrects the time rather quickly. As soon as I turn off the hotspot, it reverts to 2017. Why?

Re: firewalls

2020-08-05 Thread Kenneth Parker
On Wed, Aug 5, 2020, 7:22 AM deloptes wrote: > Dan Ritter wrote: > > > After install you have a powerful L3 firewall system available to > > you, but not configured to block anything. > > > > There are two command-line interfaces to it, iptables and > > nftables. nftables is the newer interface,

Re: firewalls

2020-08-05 Thread deloptes
Dan Ritter wrote: > After install you have a powerful L3 firewall system available to > you, but not configured to block anything. > > There are two command-line interfaces to it, iptables and > nftables. nftables is the newer interface, but iptables has more > documentation written. > > You als

Re: firewalls

2020-08-05 Thread Reco
Hi. On Wed, Aug 05, 2020 at 07:11:12AM -0400, Dan Ritter wrote: > riveravaldez wrote: > > > > If I can ask: which is the situation, in this aspect, in a plain > > plain/straightforward Debian (net)installation? Let's say: what's the > > by-default setting of the system? > > > After ins

After software update systemd runs into timeouts

2020-08-05 Thread Urs Thuermann
I run a server with Debian 9 and haven't resisted the conversion to systemd strong enough, therefore I now have a couple of problems with stability and availability. One of them is, that often after software updates systemd-logind.service fails to start and ssh logins take a very long time. I sus

Re: firewalls

2020-08-05 Thread Dan Ritter
riveravaldez wrote: > > If I can ask: which is the situation, in this aspect, in a plain > plain/straightforward Debian (net)installation? Let's say: what's the > by-default setting of the system? After install you have a powerful L3 firewall system available to you, but not configured to block

Re: aptitude problem with control file (in stretch)

2020-08-05 Thread Harald Dunkel
On 8/5/20 11:03 AM, Sven Joachim wrote: I am surprised to read that, considering that your installed lxc version does not actually fulfill the dependency. Note the epoch. $ dpkg --compare-versions 1:2.0.11-1~xgo90+1 lt 3 || echo 'Got it!' Got it! Maintaining the sample-lxc package I have no

Re: Homebuilt NAS Advice

2020-08-05 Thread Jonathan Dowland
On Mon, Aug 03, 2020 at 04:59:22PM -0500, Leslie Rhorer wrote: I concur. One area in wich I disagree is your decision not to employ RAID. As you very properly comment in the linked page, RAID is not a backup. They are *VERY* different things. Therefore both,in my estimation, are absolutely

Re: Homebuilt NAS Advice

2020-08-05 Thread Jonathan Dowland
On Wed, Aug 05, 2020 at 09:16:15AM +0200, deloptes wrote: Leslie Rhorer wrote: DAR allows for not only incremental backups, but also incremental deletions.  I find it extremely useful, and allows for as much space saving on the live system as one likes.  I suggest you check it out. someone sh

Re: aptitude problem with control file (in stretch)

2020-08-05 Thread Sven Joachim
On 2020-08-05 09:42 +0200, Harald Dunkel wrote: > I've got a problem with upgrading a private package in Stretch. The control > file says: > > Package: sample-lxc > Architecture: all > Depends: ${misc:Depends} > , cgmanager | systemd > , debootstrap >

Re: Homebuilt NAS Advice

2020-08-05 Thread Leslie Rhorer
On 8/5/2020 2:16 AM, deloptes wrote: Leslie Rhorer wrote: DAR allows for not only incremental backups, but also incremental deletions. ??I find it extremely useful, and allows for as much space saving on the live system as one likes. ??I suggest you check it out. someone should ask them to im

Re: firewalls

2020-08-05 Thread Andrei POPESCU
On Ma, 04 aug 20, 22:56:21, riveravaldez wrote: > > If I can ask: which is the situation, in this aspect, in a plain > plain/straightforward Debian (net)installation? Let's say: what's the > by-default setting of the system? There is no firewall configured by default in Debian. The configuration

aptitude problem with control file (in stretch)

2020-08-05 Thread Harald Dunkel
Hi folks, I've got a problem with upgrading a private package in Stretch. The control file says: Package: sample-lxc Architecture: all Depends: ${misc:Depends} , cgmanager | systemd , debootstrap , lxc , lxc-

Re: [OT] Remote SSH (dynamic IP) without third-party server

2020-08-05 Thread Andrei POPESCU
On Ma, 04 aug 20, 15:36:07, Gene Heskett wrote: > > this is a shell on its own workspace, all of which belongs to me. I've > found I can set the $PATH, then export it, and it works for that shell > only. I want it applied to every shell open in my username. This doesn't appear to be related to

Re: Homebuilt NAS Advice

2020-08-05 Thread deloptes
Leslie Rhorer wrote: > DAR allows for not only incremental backups, but also incremental > deletions.  I find it extremely useful, and allows for as much space > saving on the live system as one likes.  I suggest you check it out. someone should ask them to implement deduplication, because nowday