Re: hotpluggable member of a bridge

2017-01-06 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Jan 06, 2017 at 02:47:32AM +0100, Sven Hartge wrote: > Michael Biebl wrote: > > >> [2] Once, for a customer: inserting the right storage medium (with > >>the right UUID) triggered a system backup. > > > Please don't do that. udev is a no

Re: hotpluggable member of a bridge

2017-01-06 Thread Reco
Hi. On Thu, 05 Jan 2017 20:17:39 -0500 Stefan Monnier wrote: > > But, it all changes if you replace conventional bridge with > > openvswitch, which *can* add new interfaces (ports as they call it) to > > its own bridges dynamically *and* it can be configured via interfaces(5). > > Inter

Re: hotpluggable member of a bridge

2017-01-06 Thread Reco
On Fri, 6 Jan 2017 14:30:53 +0300 Reco wrote: > Hi. > > On Thu, 05 Jan 2017 20:17:39 -0500 > Stefan Monnier wrote: > > > > But, it all changes if you replace conventional bridge with > > > openvswitch, which *can* add new interfaces (ports as they call it) to > > > its own bridges dynami

Re: Monitor switched off after resume from hibernation

2017-01-06 Thread solitone
On Friday, January 6, 2017 5:28:19 PM CET Keith Bainbridge wrote: > I'm no expert, but I wonder if the book is resuming from hibernate in the > state it was at hibernate. If so, the system thinks the screen is off. Yes, this is exactly what seems to happen. But the funny thing is--when the system

Upgrade Wheezy to Jessie - gave up waiting for root device

2017-01-06 Thread Steven Kauffmann
Hi all, I'm busy with an upgrade from Wheezy to Jessie. I didn't had any issue during the upgrade so far, but I cannot boot into the new kernel (3.16.0-4-amd64). When booting I get the following output: give up waiting for root device ... I can still boot into the old kernel (3.2.0-4-amd64). Wha

Re: Upgrade Wheezy to Jessie - gave up waiting for root device

2017-01-06 Thread Cathy Gramze
On 01/06/2017 08:38 AM, Steven Kauffmann wrote: I'm busy with an upgrade from Wheezy to Jessie. I didn't had any issue during the upgrade so far, but I cannot boot into the new kernel (3.16.0-4-amd64).

Re: Monitor switched off after resume from hibernation

2017-01-06 Thread David Wright
On Fri 06 Jan 2017 at 16:09:43 (+1100), Keith Bainbridge wrote: > Please see below > > Keith Bainbridge > > 0447667468 > > keithrbaugro...@gmail.com > > Sent from my APad > > On 6 Jan 2017 12:58, "David Wright" wrote: > > On Fri 06 Jan 2017 at 11:11:45 (+1100), Keith Bainbridge wrote: > > Um

Re: Monitor switched off after resume from hibernation

2017-01-06 Thread Charlie Kravetz
On Fri, 06 Jan 2017 06:54:29 +0100 solitone wrote: >On Friday, January 6, 2017 11:11:45 AM CET Keith Bainbridge wrote: >> Ummm, why turn the monitor off first? > >I use KDE's power management tool to e.g. dim the screen after 5 minutes, >switch the screen off after 10 mins, suspend to RAM afte

Urgent help needed - Debian boot hangs

2017-01-06 Thread hans
Hi, urgent help needed. After adding an iptable entry for masquerading my local network and making it permanent with the package "iptables-persistent" my Debian server doesn't boot any more. It hangs with the line: A start job is running for LSB: Raise network interfaces. ( ... /no limit) The roo

Re: Urgent help needed - Debian boot hangs

2017-01-06 Thread Dan Ritter
On Fri, Jan 06, 2017 at 03:32:01PM +0100, h...@hanswkraus.com wrote: > Hi, > > urgent help needed. After adding an iptable entry for masquerading my > local network and making it permanent with > the package "iptables-persistent" my Debian server doesn't boot any > more. > It hangs with the line:

Re: Urgent help needed - Debian boot hangs

2017-01-06 Thread hans
Am 06.01.2017 15:45, schrieb Dan Ritter: > On Fri, Jan 06, 2017 at 03:32:01PM +0100, h...@hanswkraus.com wrote: > >> Hi, >> >> urgent help needed. After adding an iptable entry for masquerading my >> local network and making it permanent with >> the package "iptables-persistent" my Debian serv

Re: Urgent help needed - Debian boot hangs

2017-01-06 Thread Henning Follmann
On Fri, Jan 06, 2017 at 03:32:01PM +0100, h...@hanswkraus.com wrote: > Hi, > > urgent help needed. After adding an iptable entry for masquerading my > local network and making it permanent with > the package "iptables-persistent" my Debian server doesn't boot any > more. > It hangs with the line:

Re: Upgrade Wheezy to Jessie - gave up waiting for root device

2017-01-06 Thread Bob Weber
On 01/06/2017 08:38 AM, Steven Kauffmann wrote: > Hi all, > > I'm busy with an upgrade from Wheezy to Jessie. I didn't had any issue during > the upgrade so far, but I cannot boot into the new kernel (3.16.0-4-amd64). > > When booting I get the following output: give up waiting for root device ...

Re: Urgent help needed - Debian boot hangs

2017-01-06 Thread Bob Weber
On 01/06/2017 09:57 AM, h...@hanswkraus.com wrote: > > Am 06.01.2017 15:45, schrieb Dan Ritter: > >> On Fri, Jan 06, 2017 at 03:32:01PM +0100, h...@hanswkraus.com >> wrote: >>> Hi, >>> >>> urgent help needed. After adding an iptable entry for masquerading my >>> local n

Installer trases UUID of swap - was [Re: Change of UUID?]

2017-01-06 Thread Richard Owlett
On 9/23/2016 11:52 AM, Felix Miata wrote: [snip] The Debian installer reformats an existing swap, which means it gets a new UUID, unless you go out of your way to prevent it from doing so. I wish to go out of my way, so to speak. Can you point me to "the road less traveled"? My environment is

Re: Urgent help needed - Debian boot hangs

2017-01-06 Thread Dan Ritter
On Fri, Jan 06, 2017 at 03:57:53PM +0100, h...@hanswkraus.com wrote: > Am 06.01.2017 15:45, schrieb Dan Ritter: > > > On Fri, Jan 06, 2017 at 03:32:01PM +0100, h...@hanswkraus.com wrote: > > > >> I habe tried to boot from a live CD (by pressing F11 as the short boot > >> msg of the motherboard s

Re: Installer trases UUID of swap - was [Re: Change of UUID?]

2017-01-06 Thread Darac Marjal
On Fri, Jan 06, 2017 at 09:45:28AM -0600, Richard Owlett wrote: On 9/23/2016 11:52 AM, Felix Miata wrote: [snip] The Debian installer reformats an existing swap, which means it gets a new UUID, unless you go out of your way to prevent it from doing so. I wish to go out of my way, so to speak

Re: Installer trases UUID of swap - was [Re: Change of UUID?]

2017-01-06 Thread David Wright
On Fri 06 Jan 2017 at 09:45:28 (-0600), Richard Owlett wrote: > On 9/23/2016 11:52 AM, Felix Miata wrote: > >[snip] > > > >The Debian installer reformats an existing swap, which means it > >gets a new UUID, unless you go out of your way to prevent it from > >doing so. > > > > I wish to go out of m

Re: Installer trases UUID of swap - was [Re: Change of UUID?]

2017-01-06 Thread David Wright
On Fri 06 Jan 2017 at 16:26:55 (+), Darac Marjal wrote: > On Fri, Jan 06, 2017 at 09:45:28AM -0600, Richard Owlett wrote: > >On 9/23/2016 11:52 AM, Felix Miata wrote: > >>[snip] > >> > >>The Debian installer reformats an existing swap, which means it > >>gets a new UUID, unless you go out of yo

Re: Installer trases UUID of swap - was [Re: Change of UUID?]

2017-01-06 Thread Jonathan Dowland
I'd do exactly as Darac suggests, with one adjustment: On Fri, Jan 06, 2017 at 04:26:55PM +, Darac Marjal wrote: > My thoughts would be to mark the partition you wish to use as swap as "Do > not use" in the installer. Then, on the first boot, add the partition > manually to /etc/fstab: > > UU

Re: Urgent help needed - Debian boot hangs

2017-01-06 Thread David Wright
On Fri 06 Jan 2017 at 15:32:01 (+0100), h...@hanswkraus.com wrote: > Hi, > > urgent help needed. After adding an iptable entry for masquerading my > local network and making it permanent with > the package "iptables-persistent" my Debian server doesn't boot any > more. > It hangs with the line: >

Re: hotpluggable member of a bridge

2017-01-06 Thread Jonathan Dowland
On Wed, Jan 04, 2017 at 10:34:16PM -0500, Stefan Monnier wrote: > I have a bridge interface `br0` which usually contains jut `eth0` but > occasionally also needs to contain `usb0`, which is an ethernet-dongle > kind of thing. > > How do I setup /etc/network/interfaces for that? > > Currently, I j

Re: Installer trases UUID of swap - was [Re: Change of UUID?]

2017-01-06 Thread Richard Owlett
On 1/6/2017 10:26 AM, Darac Marjal wrote: On Fri, Jan 06, 2017 at 09:45:28AM -0600, Richard Owlett wrote: On 9/23/2016 11:52 AM, Felix Miata wrote: [snip] The Debian installer reformats an existing swap, which means it gets a new UUID, unless you go out of your way to prevent it from doing so.

Re: Installer trases UUID of swap - was [Re: Change of UUID?]

2017-01-06 Thread Richard Owlett
On 1/6/2017 10:48 AM, David Wright wrote: On Fri 06 Jan 2017 at 16:26:55 (+), Darac Marjal wrote: On Fri, Jan 06, 2017 at 09:45:28AM -0600, Richard Owlett wrote: On 9/23/2016 11:52 AM, Felix Miata wrote: [snip] The Debian installer reformats an existing swap, which means it gets a new UUI

Re: Installer trases UUID of swap - was [Re: Change of UUID?]

2017-01-06 Thread Richard Owlett
On 1/6/2017 10:44 AM, David Wright wrote: On Fri 06 Jan 2017 at 09:45:28 (-0600), Richard Owlett wrote: On 9/23/2016 11:52 AM, Felix Miata wrote: [snip] The Debian installer reformats an existing swap, which means it gets a new UUID, unless you go out of your way to prevent it from doing so.

Re: Installer trases UUID of swap - was [Re: Change of UUID?]

2017-01-06 Thread Felix Miata
Darac Marjal composed on 2017-01-06 16:26 (UTC): On Fri, Jan 06, 2017 at 09:45:28AM -0600, Richard Owlett wrote: Felix Miata wrote: The Debian installer reformats an existing swap, which means it gets a new UUID, unless you go out of your way to prevent it from doing so. I wish to go ou

Re: Installer trases UUID of swap - was [Re: Change of UUID?]

2017-01-06 Thread Felix Miata
Richard Owlett composed on 2017-01-06 11:56 (UTC-0600): David Wright wrote: It might save a lot of typing to use LABEL rather than UUID. IIRC the partitioning phase of installer does not allow specifying a label for the swap partition. In context of $SUBJECT, it would seem opportunity fo

Re: Urgent help needed - Debian boot hangs

2017-01-06 Thread hans
Am 06.01.2017 18:14, schrieb David Wright: > On Fri 06 Jan 2017 at 15:32:01 (+0100), h...@hanswkraus.com wrote: > >> Hi, >> >> urgent help needed. After adding an iptable entry for masquerading my >> local network and making it permanent with >> the package "iptables-persistent" my Debian serv

Re: Monitor switched off after resume from hibernation

2017-01-06 Thread solitone
On Friday, January 6, 2017 5:48:18 AM CET Charlie Kravetz wrote: > If you suspend to RAM, then hibernate, what happens if you do not > suspend to RAM first? On my system, if I hibernate with everything on (including the monitor) all works fine. Instead, if I hibernate with the monitor off (but

Re: Urgent help needed - Debian boot hangs

2017-01-06 Thread Michael Biebl
Am 06.01.2017 um 20:17 schrieb h...@hanswkraus.com: > I get now the Boot menu, but I don't see the DVD drive. > Any more tips for me? Since it's a bit late I will wait until tomorrow. If you can get into the grub menu, then go to the advanced options menu and select the recovery mode option. Thi

Re: Urgent help needed - Debian boot hangs

2017-01-06 Thread hans
Am 06.01.2017 21:12, schrieb Michael Biebl: > Am 06.01.2017 um 20:17 schrieb h...@hanswkraus.com: > >> I get now the Boot menu, but I don't see the DVD drive. > >> Any more tips for me? Since it's a bit late I will wait until tomorrow. > > If you can get into the grub menu, then go to the adva

Re: Monitor switched off after resume from hibernation

2017-01-06 Thread solitone
On Thursday, January 5, 2017 7:52:20 PM CET David Wright wrote: > Do you perhaps need > > xset -display dpms force on > > in the systemd script? Hi David, no, I've also tried with the -display option, but I don't get anything, with that command in either the pre block or the post block. BTW

Re: [OT] get all devices from a vendor from pci.ids

2017-01-06 Thread Javier Barroso
Hello, On Thu, Jan 5, 2017 at 9:13 PM, Floris wrote: > Op Thu, 05 Jan 2017 21:07:10 +0100 schreef Nicolas George : > > >> Le sextidi 16 nivôse, an CCXXV, Floris a écrit : >>> >>> Thanks! But I prefer a solution with "essential" Debian software/ >>> packages >> >> >> ~ $ dpkg -S =perl >> perl-base

Re: hotpluggable member of a bridge

2017-01-06 Thread Stefan Monnier
> To speedup obtaining a lease you should probably restart dhclient on > usb0 addition/removal. Right, that's basically the issue. I know I can write all this with enough post-up scripting in /etc/network/interfaces (or even udev .rules files), but I was hoping there was something already written

When do I use perl, awk, sed, grep, cut etc.. Was[OT] get all devices from a vendor from pci.ids

2017-01-06 Thread Floris
So every Debian user has the perl command? Not only Debian users, the vast majority of linux / unix users have perl installed (maybe now that android is here, this statement is not true any more ... With awk: awk -v vendor=0e11 'p == 1 && /^[^[:space:]]/ { p=0; } $0 ~ "^"vendor" " {p=1;} p' /usr

Re: Monitor switched off after resume from hibernation

2017-01-06 Thread Stefan Monnier
> AIUI you save 100% "more power" with hibernate; the machine is > powered off. FWIW I've seen cases where the power brick consumes *more* when the machine is off than when it's suspended (and in my experience there's usually little difference between the two; the largest difference I've seen is w

Re: Installer trases UUID of swap - was [Re: Change of UUID?]

2017-01-06 Thread David Wright
On Fri 06 Jan 2017 at 11:56:01 (-0600), Richard Owlett wrote: > On 1/6/2017 10:48 AM, David Wright wrote: > >(Of course the necessity might be avoided with pre-seeding > >about which I know little; I've probably installed Debian > >fewer times than the OP has installed jessie in a day.) > > I rare

Re: Monitor switched off after resume from hibernation

2017-01-06 Thread Charlie Kravetz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Fri, 06 Jan 2017 20:39:38 +0100 solitone wrote: >On Friday, January 6, 2017 5:48:18 AM CET Charlie Kravetz wrote: >> If you suspend to RAM, then hibernate, what happens if you do not >> suspend to RAM first? > >On my system, if I hibernate wit

Re: Installer trases UUID of swap - was [Re: Change of UUID?]

2017-01-06 Thread Keith Bainbridge
Thanks folk. You've explained what has been happening to me on my multi-boot system, and given a solution in 1 session. Keith Bainbridge 0447667468 keithrbaugro...@gmail.com Sent from my APad On 7 Jan 2017 08:48, "David Wright" wrote: > On Fri 06 Jan 2017 at 11:56:01 (-0600), Richard Owlett

Re: When do I use perl, awk, sed, grep, cut etc.. Was[OT] get all devices from a vendor from pci.ids

2017-01-06 Thread Javier Barroso
Hello, On Fri, Jan 6, 2017 at 10:46 PM, Floris wrote: >>> So every Debian user has the perl command? >> >> Not only Debian users, the vast majority of linux / unix users have >> perl installed (maybe now that android is here, this statement is not >> true any more ... >> >> With awk: >> awk -v ve

Re: Monitor switched off after resume from hibernation

2017-01-06 Thread David Wright
On Fri 06 Jan 2017 at 22:00:45 (+0100), solitone wrote: > On Thursday, January 5, 2017 7:52:20 PM CET David Wright wrote: > > Do you perhaps need > > > > xset -display dpms force on > > > > in the systemd script? > > no, I've also tried with the -display option, but I don't get anything, with

Re: Monitor switched off after resume from hibernation

2017-01-06 Thread solitone
On Friday, January 6, 2017 1:49:59 PM CET Charlie Kravetz wrote: > I would set it not to suspend. That causes the setting of monitor > off/on to be stored in RAM. When it then hibernates, that reminder to > turn the monitor back on is lost. So are you saying the behaviour I see is normal? Does it

Re: Monitor switched off after resume from hibernation

2017-01-06 Thread solitone
On Friday, January 6, 2017 9:52:13 PM CET David Wright wrote: > in your terminal, you'll probably find that > $ echo $DISPLAY > will give you :0 (locally) or localhost:10.0 (if you ssh into > another computer). So your terminal's xset command will be > happy without -display as it's got $DISPLAY in