[DNG] Power Button fires two acpi events

2017-01-02 Thread Jochen Fahrner
Hi, on my Thinkpad T61 the power button fires two acpi events: |button/power PBTN| button/power LNXPWRBN:00 This is not a problem if you shutdown the computer, then the second event is ignored. But if you try to suspend on power button, on resume the second event causes it again to suspend immed

Re: [DNG] how to clear DNS cache

2017-01-02 Thread Simon Hobson
Rick Moen wrote: > It should be noted that many programs presume to cache DNS, e.g., Web > browsers do, as does the Java runtime. Indeed. Not only that, but many cache content as well - browser caching can be a real PITA when it caches "the wrong thing", and especially with "clever" browsers t

Re: [DNG] how to clear DNS cache

2017-01-02 Thread Hendrik Boom
On Mon, Jan 02, 2017 at 07:20:36AM +0100, Jaromil wrote: > dear Rick, > > On Sun, 01 Jan 2017, Rick Moen wrote: > > > In skimming through the dnscrypt source code, I see that it's a DNS > > tool to proxy queries over DNSCrypt protocol (that invokes ldns in > > the process of doing its work) -- bu

Re: [DNG] A shell script for network connections

2017-01-02 Thread KatolaZ
On Mon, Jan 02, 2017 at 12:28:04PM +0100, Didier Kryn wrote: [cut] > > This is a very valuable work, fitting nicely within the concept of a > minimal OS, and hopefully beyond. The difficulty of the work is, in my view, > in understanding the proliferation of wifi protocols, which is why you

Re: [DNG] A shell script for network connections

2017-01-02 Thread Didier Kryn
Le 31/12/2016 à 01:06, KatolaZ a écrit : That's a simple bash+dialog wrapper around ip/dhclient/wpa_cli, which can help configuring wired (ethernet) and wi-fi networks (only open and WPA+PSK, at the moment). Well, it's indeed not as simple as we might go, since dealing with the dialog interface i

Re: [DNG] A shell script for network connections

2017-01-02 Thread KatolaZ
On Mon, Jan 02, 2017 at 01:43:14AM -0500, Steve Litt wrote: [cut] Hi Steve, > > In function configure_device(), you deduce whether it's wifi or wired > by the device's name, and stuff like eno1 or wlo1 comes out saying > "device can't be configured." > > One way to differentiate is the follow