Ho! salutato federica

2017-08-15 Thread impresalaisa
  Chi sei? scrivi più spesso nella mia casella Ciao. 



Con Mobile Open 7 GB a 9 euro/4 sett navighi veloce con 7 GB di Internet e hai 
200 minuti ed SMS a 15 cent. Passa a Tiscali Mobile! http://tisca.li/Open7GB0617



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread David Wright
On Tue 15 Aug 2017 at 21:49:31 (-0400), Gene Heskett wrote:
> On Tuesday 15 August 2017 15:28:32 David Wright wrote:
> 
> > On Tue 15 Aug 2017 at 14:48:50 (-0400), Gene Heskett wrote:
> > > On Tuesday 15 August 2017 14:00:50 Brian wrote:
> > > > On Tue 15 Aug 2017 at 13:46:20 -0400, Gene Heskett wrote:
> > > > > On Tuesday 15 August 2017 13:07:38 David Wright wrote:
> > > > > > On Tue 15 Aug 2017 at 11:23:41 (-0400), Gene Heskett wrote:
> > > > > > > On Tuesday 15 August 2017 07:33:53 Nicolas George wrote:
> > > > > > > > L'octidi 28 thermidor, an CCXXV, Erik Christiansen a 
> écrit :
> > > > > > > > > If it's no longer part of the base system, then perhaps
> > > > > > > > > the system is too base?
> > > > > > > >
> > > > > > > > Please ellaborate. Why should ifconfig be part of the base
> > > > > > > > system?
> > > > > > > >
> > > > > > > > Regards,
> > > > > > >
> > > > > > > Because ip is a pain in the ass to make it run, and still
> > > > > > > gives grossly incomplete information?
> > > > > > >
> > > > > > > In 2 years, I have yet to get a full network report out of
> > > > > > > ip such as ifconfig gives.
> > > > > >
> > > > > > Does   ip addr ; ip -s link   not work for you?
> > > > > >
> > > > > > Cheers,
> > > > > > David.
> > > > >
> > > > > It could I suppose, but thats also an extra 4" of useless fluff
> > > > > on my high res screen.
> > > >
> > > > You really wanted to say "yes" to your problem of two years
> > > > standing being solved, didn't you? But it goes against the grain.
> > > > :)
> > >
> > > I would not go out on that limb and saw it off behind me, but if it
> > > had more labels on the output, it could be helpfull.  For instance
> > > what does this line in its output for eth0 tell me, and where did it
> > > get those numbers?
> > >
> > >inet6 fe80::21f:c6ff:fe62:fcbb/64 scope link
> > >
> > > Compared to the ifconfig eth0 output, that looks to be derived from
> > > its MAC address, but how is such a determination thats its a
> > > globally unique address determined? Anyone can cause a MAC address
> > > to be spoofed. I am doing it myself so that I can change routers
> > > without loseing my ipv4 address, registered at namecheap.
> >
> > That's the ip6 address I just mentioned, which I use to connect
> > machines and short-circuit the wireless legs. As you have gathered,
> > it's just "there" for you to use, eg
> >
> >  scp -p  @[fe80::21f:c6ff:fe62:fcbb%eth0]:/tmp/
> >
> It worked after suitable customizations, but that does seem to be a 
> needlessly complex bit of cli magic to remember with all the years on my 
> wet ram.

Remember? No, I just edited a line out of one of my bash functions.
For host foo,foo files…   transfers files with scp to the same
point in foo's filesystem tree; given no files, it logs in to foo via
ssh instead;   foo-tmp files…   transfers files to foo's /tmp. All
this by the normal ip4 route.   6foo…   duplicates these functions
but over the ip6 link by replacing the usual hostname as above.

> > would transfer _to_ the machine mentioned above _from_ the
> > connected machine's eth0. Another advantage is that you don't have
> > to disturb your normal network configuration on a different
> > interface (ie wlan0 in my case, but it could be another nic).

Cheers,
David.



Re: [solved] Re: Live recording

2017-08-15 Thread Zenaan Harkness
On Wed, Aug 16, 2017 at 03:03:46AM +0200, Rodolfo Medina wrote:
> Rodolfo Medina  writes:
> 
> > deloptes  writes:
> >
> >>> 
> >>> For human voice, I bought a USB audio card and plugged a third microphone
> >>> into it.  So now I have:
> >>> 
> >>>  mic1 for piano basses; |__ plugged together into the
> >>>  mic2 for piano highs;  |   above Y cable
> >>>  mic3 for voice -> -> -> -> plugged into the USB dongle.
> >>> 
> >>> Then I do:
> >>> 
> >>>  $ sox -t alsa default piano.wav
> >>> 
> >>> and, at the same time, on another xterm session,
> >>> 
> >>>  $ sox -t alsa wh:2,0 voice.wav
> >>> 
> >>> where wh:2,0 is the USB device (do: `arecord -l' first).  This way I get
> >>> two audio files: piano.wav and voice.wav.  The first one is stereo and the
> >>> second is mono.  In the end I merge the two together with Audacity.  By
> >>> default, Audacity puts the mono file just in the middle between left and
> >>> right channel; but, if you like, you can have it weight more left or more
> >>> right, in the percentage you want.  I must say that the result is
> >>> acceptable, and more...
> >>> 
> >> Why not do all that directly in Audacity? I am sure it works and it will
> >> take care of the timing automatically
> >
> >
> > Thanks, I'll have a try.
> 
> 
> Apparently, Audacity doesn't let you record simultaneously from two or more
> sources...  you have to choose one source.

Ardour should only take half a day to start using - it absolutely
rocks - high end DAW FTW :D



Re: Unusual LUKS setup

2017-08-15 Thread Zenaan Harkness
On Tue, Aug 15, 2017 at 09:00:05PM +0200, to...@tuxteam.de wrote:
> On Wed, Aug 16, 2017 at 01:28:13AM +1000, Zenaan Harkness wrote:
> > On Tue, Aug 15, 2017 at 12:13:21PM +, Curt wrote:
> 
> [...]
> 
> > > Christ! What happened to Little Goody Two-Shoes?
> > 
> > This is a family friendly list,
> 
> You sure?

Of that I am absolutely certain :)

You see, a year or three back a certain Code of Conduct or "CoC" was
instituted with "the Debian community".

And further, a certain self foresaw certain (to his self) self
evident problems with this newly minted and well intentioned if
grandiose and subtly yet fundamentally problematic community polemic
undoubtedly soon to  expose itself.

And further yet, this certain self took it upon his certain self to
be certain in his ultimately self deprecating, yet cheeky (if
persistent) "in your FACE, Debian!" type of tantrum about this newly
minted Rule Of Authority, otherwise swung around the place as a Code
of Conduct, "Official" no less :)

Such swinging of sarcastic sultry parodies in fractally self
referential factual and entirely blunt alludings to double entendrés
between the lines overloading the sugar spoiled cotton wool
generations in the name of the glorious, glorious authority of the
CoC, for some strange and almost unfathomable reason, utterly failed
to go unnoticed, especially when such tendrés hit the -project list
as well.

Make no mistake, there was no mistake to ensure no mistakes in
comprehension of the fractually parodic irony at stake for all future
generations of Debianistas :)

And so, further further yet, one slightly sad yet admittedly
belligerently ironic and in-your-face parodic poster, was thereafter
and thereby banned (and truly, somewhat predictably) from this here
very list!

And further still from all other glorious Debian lists :,(

Fear not dear empath - no tears were shed, instead shed were
temerity, uncertainty, fear and dread!

And so, bold and justified, sure in the truth of the self-parody and
petty tyranny thereby exposed for the world to see, this certain self
cackled as a hyena might, on into the night, with delight :D

Yes, you heard that's right, the Debian CoC reared its authoritarian
head in the face of my raising the very issue that it might be swung
in our faces and ultimately be somewhat detrimental to our community.

So careful there, my tentative cotton-wool busting friends, your
friendly order in the Debian realm may not quite as it seems in the
face of wild swinging humour parties. Words! Words I tell you -
powerful, mighty words they are, have no doubt.

Speak. Speak your truth. Speak it clearly and boldly and with ne'er
an apology.

Then be silent.

Let the world digest your words and continue quietly to make it a
better place, and all shall be well in your heart.

Carpé diem, all,
Z



> > so we ought not take the Lord's name
> > in vain ... and neither should we assert God complexes on one another
> > - we're humans and ought show a little tolerance toward one another.
> 
> I try, I try.
> 
> > Besides, --I'm-- the only one around here whom you may deify - for
> > all this humility that just bursts out of ... out of ... THAT's
> > right!! ME :)
> > 
> > :D
> 
> Guru no enough? ;-D
> 
> Cheers
> -- t
> 



Re: xsane scanner

2017-08-15 Thread Stephen Brown
-Original Message- 
From: JP 
Sent: Wednesday, August 9, 2017 1:50 AM 
To: debian-user@lists.debian.org 
Subject: Re: xsane scanner 

On Tuesday, 8 August 2017 12:49:18 BST Stephen Grant Brown wrote:
> How do I configure a scanner for xsane?
> I am printing to the Canon MG6150, but it is not being recognized as a
> scanner.

Should probably be supported by this:

https://manpages.debian.org/stretch/libsane-common/sane-pixma.5.en.html#FILES

You'll need to put the IP in /etc/sane.d/pixma.conf as described in that 
section, eg. bjnp://

For my MG3250 it sometimes gives an error trying to connect the first time, but 
it wakes the scanner parts and it works the second time.

Regards

Hi All,
How do I get root privileges to  modify /etc/sane.d/pixma.conf?
Yours Sincerely 
Stephen Grant Brown



Re: No ifconfig

2017-08-15 Thread Gene Heskett
On Tuesday 15 August 2017 16:01:25 Curt wrote:

> On 2017-08-15, Gene Heskett  wrote:
> >> > > If this still isn't what you want, tell us what you *do* want.
> >> >
> >> > An ifconfig style output by default.
> >>
> >> Then why not use ifconfig?
> >
> > Of course I do, since ipv4 is the local method.
>
> But it's deprecated and is no longer provided in the b...
>
> Boys, I think we've come full circle and have dutifully arrived
> exactly where we started.
>
> As I bought a round-trip ticket I ain't complaining.
>
> Say good night, Gracie.

Good night, George.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Gene Heskett
On Tuesday 15 August 2017 15:46:15 Brian wrote:

> On Tue 15 Aug 2017 at 14:53:39 -0400, Gene Heskett wrote:
> > On Tuesday 15 August 2017 14:19:37 David Wright wrote:
> > > On Tue 15 Aug 2017 at 13:24:56 (-0400), Gene Heskett wrote:
> > > > On Tuesday 15 August 2017 10:48:12 Nicolas George wrote:
> > > > > L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> > > > > > Around 30 years of familiarity across many *nix flavours.
> > > > >
> > > > > You said it: the only superiority of ifconfig over iproute2 is
> > > > > tradition and familiarity of long-time users. On the other
> > > > > hand, ifconfig is technically inferior on most if not all
> > > > > points.
> > > > >
> > > > > I hope you realize that traditions and familiarity of old
> > > > > geezers can only go so far to justify the evolution or
> > > > > non-evolution of a system. Otherwise, we still would have ed
> > > > > in the base system.
> > > > >
> > > > > Regards,
> > > >
> > > > Nicolas: The nearest ipv6 address to me is likely 150 miles
> > > > north, in Pittsburgh PA. Its all ipv4 here in WV AFAIK.
> > >
> > > Odd, the nearest to me is underneath the table. I use 6 a lot,
> > > as a cat5 cable is much faster than two legs of weak wireless
> > > to the router and back. And it requires no configuration—it's
> > > just there.
> > >
> > > Cheers,
> > > David.
> >
> > Thats a bridge I'll cross, if it gets here before I miss morning
> > roll call. :)
>
> If you do, you'll be on a charge. :)

Around here, the ovens only get lit for cash.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Gene Heskett
On Tuesday 15 August 2017 15:28:32 David Wright wrote:

> On Tue 15 Aug 2017 at 14:48:50 (-0400), Gene Heskett wrote:
> > On Tuesday 15 August 2017 14:00:50 Brian wrote:
> > > On Tue 15 Aug 2017 at 13:46:20 -0400, Gene Heskett wrote:
> > > > On Tuesday 15 August 2017 13:07:38 David Wright wrote:
> > > > > On Tue 15 Aug 2017 at 11:23:41 (-0400), Gene Heskett wrote:
> > > > > > On Tuesday 15 August 2017 07:33:53 Nicolas George wrote:
> > > > > > > L'octidi 28 thermidor, an CCXXV, Erik Christiansen a 
écrit :
> > > > > > > > If it's no longer part of the base system, then perhaps
> > > > > > > > the system is too base?
> > > > > > >
> > > > > > > Please ellaborate. Why should ifconfig be part of the base
> > > > > > > system?
> > > > > > >
> > > > > > > Regards,
> > > > > >
> > > > > > Because ip is a pain in the ass to make it run, and still
> > > > > > gives grossly incomplete information?
> > > > > >
> > > > > > In 2 years, I have yet to get a full network report out of
> > > > > > ip such as ifconfig gives.
> > > > >
> > > > > Does   ip addr ; ip -s link   not work for you?
> > > > >
> > > > > Cheers,
> > > > > David.
> > > >
> > > > It could I suppose, but thats also an extra 4" of useless fluff
> > > > on my high res screen.
> > >
> > > You really wanted to say "yes" to your problem of two years
> > > standing being solved, didn't you? But it goes against the grain.
> > > :)
> >
> > I would not go out on that limb and saw it off behind me, but if it
> > had more labels on the output, it could be helpfull.  For instance
> > what does this line in its output for eth0 tell me, and where did it
> > get those numbers?
> >
> >inet6 fe80::21f:c6ff:fe62:fcbb/64 scope link
> >
> > Compared to the ifconfig eth0 output, that looks to be derived from
> > its MAC address, but how is such a determination thats its a
> > globally unique address determined? Anyone can cause a MAC address
> > to be spoofed. I am doing it myself so that I can change routers
> > without loseing my ipv4 address, registered at namecheap.
>
> That's the ip6 address I just mentioned, which I use to connect
> machines and short-circuit the wireless legs. As you have gathered,
> it's just "there" for you to use, eg
>
>  scp -p  @[fe80::21f:c6ff:fe62:fcbb%eth0]:/tmp/
>
It worked after suitable customizations, but that does seem to be a 
needlessly complex bit of cli magic to remember with all the years on my 
wet ram.

> would transfer _to_ the machine mentioned above _from_ the
> connected machine's eth0. Another advantage is that you don't have
> to disturb your normal network configuration on a different
> interface (ie wlan0 in my case, but it could be another nic).
>
> Cheers,
> David.


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Gene Heskett
On Tuesday 15 August 2017 15:23:44 Brian wrote:

> On Tue 15 Aug 2017 at 14:48:50 -0400, Gene Heskett wrote:
> > On Tuesday 15 August 2017 14:00:50 Brian wrote:
> > > On Tue 15 Aug 2017 at 13:46:20 -0400, Gene Heskett wrote:
> > > > On Tuesday 15 August 2017 13:07:38 David Wright wrote:
> > > > > On Tue 15 Aug 2017 at 11:23:41 (-0400), Gene Heskett wrote:
> > > > > > On Tuesday 15 August 2017 07:33:53 Nicolas George wrote:
> > > > > > > L'octidi 28 thermidor, an CCXXV, Erik Christiansen a 
écrit :
> > > > > > > > If it's no longer part of the base system, then perhaps
> > > > > > > > the system is too base?
> > > > > > >
> > > > > > > Please ellaborate. Why should ifconfig be part of the base
> > > > > > > system?
> > > > > > >
> > > > > > > Regards,
> > > > > >
> > > > > > Because ip is a pain in the ass to make it run, and still
> > > > > > gives grossly incomplete information?
> > > > > >
> > > > > > In 2 years, I have yet to get a full network report out of
> > > > > > ip such as ifconfig gives.
> > > > >
> > > > > Does   ip addr ; ip -s link   not work for you?
> > > > >
> > > > > Cheers,
> > > > > David.
> > > >
> > > > It could I suppose, but thats also an extra 4" of useless fluff
> > > > on my high res screen.
> > >
> > > You really wanted to say "yes" to your problem of two years
> > > standing being solved, didn't you? But it goes against the grain.
> > > :)
> >
> > I would not go out on that limb and saw it off behind me,
>
> Deconstruction: I *can* get a full network report out of ip but am not
> going to admit it. Instead, I'll throw some chaff around as a
> diversion.
>
> > but if it
> > had more labels on the output, it could be helpfull.  For instance
> > what does this line in its output for eth0 tell me, and where did it
> > get those numbers?
> >
> >inet6 fe80::21f:c6ff:fe62:fcbb/64 scope link
>
> The same place ifconfig got them from,
>
> > Compared to the ifconfig eth0 output, that looks to be derived from
> > its MAC address, but how is such a determination thats its a
> > globally unique address determined? Anyone can cause a MAC address
> > to be spoofed. I am doing it myself so that I can change routers
> > without loseing my ipv4 address, registered at namecheap.
>
> Deconstruction: Look out! More chaff.

If you want to see it that way, I can't stop you, but I have a netgear 
router I can use as my gatekeeper since both are running dd-wrt, but the 
netgear is telling the whole world its a Buffalo NetFinity from the MAC 
address its using. So the possibility is there, whether you want to 
admit it or not is entirely up to you.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: which option can set duration of mencoder?

2017-08-15 Thread Gene Heskett
On Tuesday 15 August 2017 15:10:45 to...@tuxteam.de wrote:

> On Tue, Aug 15, 2017 at 11:28:08AM -0400, Gene Heskett wrote:
> > On Tuesday 15 August 2017 09:55:02 mitchell@member.fsf.org wrote:
> > >  writes:
> > >
> > > 
> > >
> > > > Disclaimer: sometimes I don't know what I'm doing.
> > > > Disclaimer(2): the problem is, I don't know *when* those times
> > > > are.
> > >
> > > This made my day. :D
> >
> > I think I'd copyright that one Tomas. ;-) Thats exactly how I got to
> > from where I started.
>
> I was just having a bad day at $WORKPLACE. Feel free to use as you
> wish, it's CC0 :-D
>
Whatever, I can think of lots of places where it could be diskclaimed.

Thanks.

> Cheers
> -- t


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: [solved] Re: Live recording

2017-08-15 Thread Rodolfo Medina
Rodolfo Medina  writes:

> deloptes  writes:
>
>>> 
>>> For human voice, I bought a USB audio card and plugged a third microphone
>>> into it.  So now I have:
>>> 
>>>  mic1 for piano basses; |__ plugged together into the
>>>  mic2 for piano highs;  |   above Y cable
>>>  mic3 for voice -> -> -> -> plugged into the USB dongle.
>>> 
>>> Then I do:
>>> 
>>>  $ sox -t alsa default piano.wav
>>> 
>>> and, at the same time, on another xterm session,
>>> 
>>>  $ sox -t alsa wh:2,0 voice.wav
>>> 
>>> where wh:2,0 is the USB device (do: `arecord -l' first).  This way I get
>>> two audio files: piano.wav and voice.wav.  The first one is stereo and the
>>> second is mono.  In the end I merge the two together with Audacity.  By
>>> default, Audacity puts the mono file just in the middle between left and
>>> right channel; but, if you like, you can have it weight more left or more
>>> right, in the percentage you want.  I must say that the result is
>>> acceptable, and more...
>>> 
>> Why not do all that directly in Audacity? I am sure it works and it will
>> take care of the timing automatically
>
>
> Thanks, I'll have a try.


Apparently, Audacity doesn't let you record simultaneously from two or more
sources...  you have to choose one source.

Rodolfo



RE: Coucou! vas-tu me dire un petit 'salut'? Victoria

2017-08-15 Thread Pierre 2017
?

De : Victoria Hamulumbu 
Envoyé : mardi 15 août 2017 16:26:32
À : debian-user@lists.debian.org
Objet : Coucou! vas-tu me dire un petit 'salut'? Victoria


Viens qu'on discute un peu toi et moi.
http://bit.ly/2uL2IO5


Re: Unusual LUKS setup

2017-08-15 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 15, 2017 at 08:35:56PM +0100, Brian wrote:
> On Tue 15 Aug 2017 at 20:57:44 +0200, to...@tuxteam.de wrote:
> 
> > On Tue, Aug 15, 2017 at 12:13:21PM +, Curt wrote:
> > > On 2017-08-14, to...@tuxteam.de  wrote:
> > > >
> > > >
> > > > And you are either prey to a God complex (knowing better what's right
> > > > for others) or a helper syndrome. Or both.
> > > >
> > > 
> > > Christ! What happened to Little Goody Two-Shoes?
> > 
> > You just sent me down a cultural rabbit hole. Thank you for that ;-)
> 
> Were you muttering "I'm late! I'm late! For a very important date!" at
> the time?
> 
> (You like puzzles. Work that one out, :) )

Now *this* one I kew :-)

thanks
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlmTVvAACgkQBcgs9XrR2kaHTACeMgmE42T8HVCC6BTjwGbEAE8Z
VPwAnRkHUzgrUG/Pcc4HKsG7QIpi7P9J
=zafo
-END PGP SIGNATURE-



Re: Hi! Will you say ‘hi’? Donna

2017-08-15 Thread seamus mcmahon
Hi

Sent from Yahoo Mail on Android 
 
  On Tue, 15 Aug 2017 at 19:39, Donna Daulelo 
wrote:   
Let’s unite with me in talking now. 
http://bitly.com/2uMfMmo
  


Re: No ifconfig

2017-08-15 Thread Curt
On 2017-08-15, Gene Heskett  wrote:
>> > >
>> > > If this still isn't what you want, tell us what you *do* want.
>> >
>> > An ifconfig style output by default.
>>
>> Then why not use ifconfig?
>
> Of course I do, since ipv4 is the local method.
>>

But it's deprecated and is no longer provided in the b...

Boys, I think we've come full circle and have dutifully arrived exactly where
we started. 

As I bought a round-trip ticket I ain't complaining.

Say good night, Gracie.

-- 
"Until the Lion learns to write, tales of the hunt shall always glorify the 
Hunter."
— African proverb





Re: No ifconfig

2017-08-15 Thread Brian
On Tue 15 Aug 2017 at 14:51:48 -0400, Gene Heskett wrote:

> On Tuesday 15 August 2017 14:16:15 David Wright wrote:
> 
> > On Tue 15 Aug 2017 at 13:49:23 (-0400), Gene Heskett wrote:
> > > On Tuesday 15 August 2017 13:46:37 Greg Wooledge wrote:
> > > > On Tue, Aug 15, 2017 at 01:41:16PM -0400, Gene Heskett wrote:
> > > > > While STILL not giving me the local ipv4 addresses and netmasks
> > > > > of those interfaces.
> > > >
> > > > If you want the IPv4 address, netmask, and transfer stats, try:
> > > >
> > > > ip -s addr
> > > >
> > > > Note that the netmask is shown in CIDR notation (e.g. /23) rather
> > > > than dotted quad notation (e.g. 255.255.254.0).
> > > >
> > > > If this still isn't what you want, tell us what you *do* want.
> > >
> > > An ifconfig style output by default.
> >
> > Then why not use ifconfig?
> 
> Of course I do, since ipv4 is the local method.

Style over content is the way to go.

-- 
Brian.



Re: Buster: problem changing partition size on a RAID 5 array

2017-08-15 Thread Gary Dale

On 14/08/17 01:58 PM, Pascal Hambourg wrote:

Le 14/08/2017 à 06:32, Gary Dale a écrit :


Disk /dev/md1: 39068861440 sectors, 18.2 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): EFF29D11-D982-4933-9B57-B836591DEF02
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 31255089118

 ^
You created a GPT partition table on the md array. When the table is 
created, the first and last usable sector numbers (depending on the 
device size at creation time) are recorded in the GPT header and 
define the total available space. The reason is because before the 
first available sector and after the last available sector are the two 
copies of the partition table. So changing the device size is not 
enough : you need to move the secondary partition table at the new end 
and adjust the last usable sector number.


That still sounds like a bug. If I did a DD from a smaller to a larger 
hard disk then used gdisk, I'd expect it to see the new drive size and 
handle it correctly. In fact it did notice that the md array was larger 
but didn't update its tables.


Neither fdisk nor gdisk let me create a partition larger than the 
existing one. Nor do they let me create a new partition anywhere 
except in the first 2047 sectors.


Because they rely on the GPT header to determine the available space.
With gdisk you could have used the "v" command to verify the disk and 
adjust the partition table to the new size. I don't know if fdisk can 
do it too.
Again, gdisk does appear to know that the device is larger than its 
tables indicate but doesn't update its tables. At the very least, I'd 
expect it to produce a message telling me about the issue and suggesting 
a resolution the way gparted did.




I'm not sure what the problem is that gparted was able to see but 
fdisk and gdisk couldn't and whether this is a bug in mdadm or 
something else, but I thought I should report it somewhere.


In the first place, the bug was to create a partition table on an md 
array. Almost nobody does this and I can see no value in doing it. It 
is useless. If you want to use the whole array as a single volume, 
don't partition it. If you want to create multiple volumes, use LVM as 
most people still do even after md arrays could be partitioned. It is 
much more flexible than partitions.


The reason its rare is more likely that Linux hasn't been able to boot 
from mdadm partitions until recently. I'm one of those people who see 
little value in LVM. It just adds complexity without doing anything that 
a little planning could usually avoid. Of course, I'm not running a 
large datacentre with the need to frequently reallocate disk space on 
the fly...


For me, booting from a partitioned RAID array makes more sense. It adds 
no extra programs that can be hacked and that add to the system overhead 
while still allowing me to divide up the available disk space as if it 
were a single drive.


Creating multiple RAID arrays seems like the less desirable solution 
since they'd either require more drives or make resizing more 
complicated (depending on whether you were creating one array per group 
of drives or multiple arrays on each group of drives).


Being old school, I also note that the RAID controllers from the 1990s 
did pretty much the same thing. You'd create the arrays on a bunch of 
disks through the controller utility then use the OS to partition the 
arrays.




Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Brian
On Tue 15 Aug 2017 at 14:53:39 -0400, Gene Heskett wrote:

> On Tuesday 15 August 2017 14:19:37 David Wright wrote:
> 
> > On Tue 15 Aug 2017 at 13:24:56 (-0400), Gene Heskett wrote:
> > > On Tuesday 15 August 2017 10:48:12 Nicolas George wrote:
> > > > L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> > > > > Around 30 years of familiarity across many *nix flavours.
> > > >
> > > > You said it: the only superiority of ifconfig over iproute2 is
> > > > tradition and familiarity of long-time users. On the other hand,
> > > > ifconfig is technically inferior on most if not all points.
> > > >
> > > > I hope you realize that traditions and familiarity of old geezers
> > > > can only go so far to justify the evolution or non-evolution of a
> > > > system. Otherwise, we still would have ed in the base system.
> > > >
> > > > Regards,
> > >
> > > Nicolas: The nearest ipv6 address to me is likely 150 miles north,
> > > in Pittsburgh PA. Its all ipv4 here in WV AFAIK.
> >
> > Odd, the nearest to me is underneath the table. I use 6 a lot,
> > as a cat5 cable is much faster than two legs of weak wireless
> > to the router and back. And it requires no configuration—it's
> > just there.
> >
> > Cheers,
> > David.
> 
> Thats a bridge I'll cross, if it gets here before I miss morning roll 
> call. :)

If you do, you'll be on a charge. :)

-- 
Brian.



Re: Unusual LUKS setup

2017-08-15 Thread Brian
On Tue 15 Aug 2017 at 20:57:44 +0200, to...@tuxteam.de wrote:

> On Tue, Aug 15, 2017 at 12:13:21PM +, Curt wrote:
> > On 2017-08-14, to...@tuxteam.de  wrote:
> > >
> > >
> > > And you are either prey to a God complex (knowing better what's right
> > > for others) or a helper syndrome. Or both.
> > >
> > 
> > Christ! What happened to Little Goody Two-Shoes?
> 
> You just sent me down a cultural rabbit hole. Thank you for that ;-)

Were you muttering "I'm late! I'm late! For a very important date!" at
the time?

(You like puzzles. Work that one out, :) )

-- 
Brian.



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread David Wright
On Tue 15 Aug 2017 at 14:48:50 (-0400), Gene Heskett wrote:
> On Tuesday 15 August 2017 14:00:50 Brian wrote:
> 
> > On Tue 15 Aug 2017 at 13:46:20 -0400, Gene Heskett wrote:
> > > On Tuesday 15 August 2017 13:07:38 David Wright wrote:
> > > > On Tue 15 Aug 2017 at 11:23:41 (-0400), Gene Heskett wrote:
> > > > > On Tuesday 15 August 2017 07:33:53 Nicolas George wrote:
> > > > > > L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> > > > > > > If it's no longer part of the base system, then perhaps the
> > > > > > > system is too base?
> > > > > >
> > > > > > Please ellaborate. Why should ifconfig be part of the base
> > > > > > system?
> > > > > >
> > > > > > Regards,
> > > > >
> > > > > Because ip is a pain in the ass to make it run, and still gives
> > > > > grossly incomplete information?
> > > > >
> > > > > In 2 years, I have yet to get a full network report out of ip
> > > > > such as ifconfig gives.
> > > >
> > > > Does   ip addr ; ip -s link   not work for you?
> > > >
> > > > Cheers,
> > > > David.
> > >
> > > It could I suppose, but thats also an extra 4" of useless fluff on
> > > my high res screen.
> >
> > You really wanted to say "yes" to your problem of two years standing
> > being solved, didn't you? But it goes against the grain. :)
> 
> I would not go out on that limb and saw it off behind me, but if it had 
> more labels on the output, it could be helpfull.  For instance what does 
> this line in its output for eth0 tell me, and where did it get those 
> numbers?
> 
>inet6 fe80::21f:c6ff:fe62:fcbb/64 scope link 
> 
> Compared to the ifconfig eth0 output, that looks to be derived from its 
> MAC address, but how is such a determination thats its a globally unique 
> address determined? Anyone can cause a MAC address to be spoofed. I am 
> doing it myself so that I can change routers without loseing my ipv4 
> address, registered at namecheap.

That's the ip6 address I just mentioned, which I use to connect
machines and short-circuit the wireless legs. As you have gathered,
it's just "there" for you to use, eg

 scp -p  @[fe80::21f:c6ff:fe62:fcbb%eth0]:/tmp/

would transfer _to_ the machine mentioned above _from_ the
connected machine's eth0. Another advantage is that you don't have
to disturb your normal network configuration on a different
interface (ie wlan0 in my case, but it could be another nic).

Cheers,
David.



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Brian
On Tue 15 Aug 2017 at 14:48:50 -0400, Gene Heskett wrote:

> On Tuesday 15 August 2017 14:00:50 Brian wrote:
> 
> > On Tue 15 Aug 2017 at 13:46:20 -0400, Gene Heskett wrote:
> > > On Tuesday 15 August 2017 13:07:38 David Wright wrote:
> > > > On Tue 15 Aug 2017 at 11:23:41 (-0400), Gene Heskett wrote:
> > > > > On Tuesday 15 August 2017 07:33:53 Nicolas George wrote:
> > > > > > L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> > > > > > > If it's no longer part of the base system, then perhaps the
> > > > > > > system is too base?
> > > > > >
> > > > > > Please ellaborate. Why should ifconfig be part of the base
> > > > > > system?
> > > > > >
> > > > > > Regards,
> > > > >
> > > > > Because ip is a pain in the ass to make it run, and still gives
> > > > > grossly incomplete information?
> > > > >
> > > > > In 2 years, I have yet to get a full network report out of ip
> > > > > such as ifconfig gives.
> > > >
> > > > Does   ip addr ; ip -s link   not work for you?
> > > >
> > > > Cheers,
> > > > David.
> > >
> > > It could I suppose, but thats also an extra 4" of useless fluff on
> > > my high res screen.
> >
> > You really wanted to say "yes" to your problem of two years standing
> > being solved, didn't you? But it goes against the grain. :)
> 
> I would not go out on that limb and saw it off behind me,

Deconstruction: I *can* get a full network report out of ip but am not
going to admit it. Instead, I'll throw some chaff around as a diversion.

> but if it had 
> more labels on the output, it could be helpfull.  For instance what does 
> this line in its output for eth0 tell me, and where did it get those 
> numbers?
> 
>inet6 fe80::21f:c6ff:fe62:fcbb/64 scope link

The same place ifconfig got them from,

> Compared to the ifconfig eth0 output, that looks to be derived from its 
> MAC address, but how is such a determination thats its a globally unique 
> address determined? Anyone can cause a MAC address to be spoofed. I am 
> doing it myself so that I can change routers without loseing my ipv4 
> address, registered at namecheap.

Deconstruction: Look out! More chaff.

-- 
Brian.



Re: which option can set duration of mencoder?

2017-08-15 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 15, 2017 at 11:28:08AM -0400, Gene Heskett wrote:
> On Tuesday 15 August 2017 09:55:02 mitchell@member.fsf.org wrote:
> 
> >  writes:
> >
> > 
> >
> > > Disclaimer: sometimes I don't know what I'm doing.
> > > Disclaimer(2): the problem is, I don't know *when* those times are.
> >
> > This made my day. :D
> 
> I think I'd copyright that one Tomas. ;-) Thats exactly how I got to from 
> where I started.

I was just having a bad day at $WORKPLACE. Feel free to use as you wish,
it's CC0 :-D

Cheers
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlmTRzUACgkQBcgs9XrR2kZ5tACffVZBsllQdKqxGuf6pXf8Rbtl
WXEAn3B7nqG+pZcld0PoG33JaOVMovoA
=HQFu
-END PGP SIGNATURE-



Re: Unusual LUKS setup

2017-08-15 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Aug 16, 2017 at 01:28:13AM +1000, Zenaan Harkness wrote:
> On Tue, Aug 15, 2017 at 12:13:21PM +, Curt wrote:

[...]

> > Christ! What happened to Little Goody Two-Shoes?
> 
> This is a family friendly list,

You sure?

> so we ought not take the Lord's name
> in vain ... and neither should we assert God complexes on one another
> - we're humans and ought show a little tolerance toward one another.

I try, I try.

> Besides, --I'm-- the only one around here whom you may deify - for
> all this humility that just bursts out of ... out of ... THAT's
> right!! ME :)
> 
> :D

Guru no enough? ;-D

Cheers
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlmTRLUACgkQBcgs9XrR2kaO2QCcDGSv8zMhh8CEuF8nvuNfrngu
0qsAn165Y/k3T8xnj95ili6opzT44MZ8
=f3kF
-END PGP SIGNATURE-



Re: Unusual LUKS setup

2017-08-15 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 15, 2017 at 12:13:21PM +, Curt wrote:
> On 2017-08-14, to...@tuxteam.de  wrote:
> >
> >
> > And you are either prey to a God complex (knowing better what's right
> > for others) or a helper syndrome. Or both.
> >
> 
> Christ! What happened to Little Goody Two-Shoes?

You just sent me down a cultural rabbit hole. Thank you for that ;-)

Cheers
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlmTRCgACgkQBcgs9XrR2kZa0QCfUr3gVfawea29B8B5e8JZryz6
6Y8Ani+yARk7yntPWMDj/pCaWmgCY5fF
=3yZp
-END PGP SIGNATURE-



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Gene Heskett
On Tuesday 15 August 2017 14:19:37 David Wright wrote:

> On Tue 15 Aug 2017 at 13:24:56 (-0400), Gene Heskett wrote:
> > On Tuesday 15 August 2017 10:48:12 Nicolas George wrote:
> > > L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> > > > Around 30 years of familiarity across many *nix flavours.
> > >
> > > You said it: the only superiority of ifconfig over iproute2 is
> > > tradition and familiarity of long-time users. On the other hand,
> > > ifconfig is technically inferior on most if not all points.
> > >
> > > I hope you realize that traditions and familiarity of old geezers
> > > can only go so far to justify the evolution or non-evolution of a
> > > system. Otherwise, we still would have ed in the base system.
> > >
> > > Regards,
> >
> > Nicolas: The nearest ipv6 address to me is likely 150 miles north,
> > in Pittsburgh PA. Its all ipv4 here in WV AFAIK.
>
> Odd, the nearest to me is underneath the table. I use 6 a lot,
> as a cat5 cable is much faster than two legs of weak wireless
> to the router and back. And it requires no configuration—it's
> just there.
>
> Cheers,
> David.

Thats a bridge I'll cross, if it gets here before I miss morning roll 
call. :)

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: No ifconfig

2017-08-15 Thread Gene Heskett
On Tuesday 15 August 2017 14:16:15 David Wright wrote:

> On Tue 15 Aug 2017 at 13:49:23 (-0400), Gene Heskett wrote:
> > On Tuesday 15 August 2017 13:46:37 Greg Wooledge wrote:
> > > On Tue, Aug 15, 2017 at 01:41:16PM -0400, Gene Heskett wrote:
> > > > While STILL not giving me the local ipv4 addresses and netmasks
> > > > of those interfaces.
> > >
> > > If you want the IPv4 address, netmask, and transfer stats, try:
> > >
> > > ip -s addr
> > >
> > > Note that the netmask is shown in CIDR notation (e.g. /23) rather
> > > than dotted quad notation (e.g. 255.255.254.0).
> > >
> > > If this still isn't what you want, tell us what you *do* want.
> >
> > An ifconfig style output by default.
>
> Then why not use ifconfig?

Of course I do, since ipv4 is the local method.
>
> Cheers,
> David.


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Gene Heskett
On Tuesday 15 August 2017 14:01:28 Nicolas George wrote:

> L'octidi 28 thermidor, an CCXXV, Gene Heskett a écrit :
> > Nicolas: The nearest ipv6 address to me is likely 150 miles north,
> > in Pittsburgh PA. Its all ipv4 here in WV AFAIK.
>
> You seem to be under the misapprehension that the policy of Debian
> development revolves around your personal perceived needs. It does
> not.
>
> Regards,

Not at all, Nicolas, but I do want to be prepared when it (ipv6) does 
arrive in these here hills.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Gene Heskett
On Tuesday 15 August 2017 14:00:50 Brian wrote:

> On Tue 15 Aug 2017 at 13:46:20 -0400, Gene Heskett wrote:
> > On Tuesday 15 August 2017 13:07:38 David Wright wrote:
> > > On Tue 15 Aug 2017 at 11:23:41 (-0400), Gene Heskett wrote:
> > > > On Tuesday 15 August 2017 07:33:53 Nicolas George wrote:
> > > > > L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> > > > > > If it's no longer part of the base system, then perhaps the
> > > > > > system is too base?
> > > > >
> > > > > Please ellaborate. Why should ifconfig be part of the base
> > > > > system?
> > > > >
> > > > > Regards,
> > > >
> > > > Because ip is a pain in the ass to make it run, and still gives
> > > > grossly incomplete information?
> > > >
> > > > In 2 years, I have yet to get a full network report out of ip
> > > > such as ifconfig gives.
> > >
> > > Does   ip addr ; ip -s link   not work for you?
> > >
> > > Cheers,
> > > David.
> >
> > It could I suppose, but thats also an extra 4" of useless fluff on
> > my high res screen.
>
> You really wanted to say "yes" to your problem of two years standing
> being solved, didn't you? But it goes against the grain. :)

I would not go out on that limb and saw it off behind me, but if it had 
more labels on the output, it could be helpfull.  For instance what does 
this line in its output for eth0 tell me, and where did it get those 
numbers?

   inet6 fe80::21f:c6ff:fe62:fcbb/64 scope link 

Compared to the ifconfig eth0 output, that looks to be derived from its 
MAC address, but how is such a determination thats its a globally unique 
address determined? Anyone can cause a MAC address to be spoofed. I am 
doing it myself so that I can change routers without loseing my ipv4 
address, registered at namecheap.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: No ifconfig

2017-08-15 Thread David Wright
On Tue 15 Aug 2017 at 19:13:54 (+0200), Pierre Frenkiel wrote:
> On Tue, 15 Aug 2017, Greg Wooledge wrote:
> 
> >On Tue, Aug 15, 2017 at 06:24:42PM +0200, Pierre Frenkiel wrote:
> >>On Tue, 15 Aug 2017, Greg Wooledge wrote:
> >>
> >>>ip -o link | awk -F": " '{print $2}'
> >>
> >>  and even shorter:
> >>  ip -o link | cut -d : -f 2
> >
> >They are not equivalent.  Yours leaves extra whitespace.
> >
> >wooledg:~$ ip -o link | cut -d : -f 2 | hd
> >  20 6c 6f 0a 20 65 74 68  30 0a| lo. eth0.|
> >000a
> >wooledg:~$ ip -o link | awk -F": " '{print $2}' | hd
> >  6c 6f 0a 65 74 68 30 0a   |lo.eth0.|
> >0008
> >
> >So, to use the output of yours, an additional step would be needed
> >(whitespace trimming).
> >
> If it's to list the interface names, I don't see why the leading space is
> annoying.

I assume then that you wrote your recipe just for our
entertainment. An error like that can waste a lot of time
when a non-trivial script produces unexpected results.

Cheers,
David.



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread David Wright
On Tue 15 Aug 2017 at 13:24:56 (-0400), Gene Heskett wrote:
> On Tuesday 15 August 2017 10:48:12 Nicolas George wrote:
> 
> > L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> > > Around 30 years of familiarity across many *nix flavours.
> >
> > You said it: the only superiority of ifconfig over iproute2 is
> > tradition and familiarity of long-time users. On the other hand,
> > ifconfig is technically inferior on most if not all points.
> >
> > I hope you realize that traditions and familiarity of old geezers can
> > only go so far to justify the evolution or non-evolution of a system.
> > Otherwise, we still would have ed in the base system.
> >
> > Regards,
> 
> Nicolas: The nearest ipv6 address to me is likely 150 miles north, in 
> Pittsburgh PA. Its all ipv4 here in WV AFAIK.

Odd, the nearest to me is underneath the table. I use 6 a lot,
as a cat5 cable is much faster than two legs of weak wireless
to the router and back. And it requires no configuration—it's
just there.

Cheers,
David.



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Nicolas George
L'octidi 28 thermidor, an CCXXV, Gene Heskett a écrit :
> Nicolas: The nearest ipv6 address to me is likely 150 miles north, in 
> Pittsburgh PA. Its all ipv4 here in WV AFAIK.

You seem to be under the misapprehension that the policy of Debian
development revolves around your personal perceived needs. It does not.

Regards,

-- 
  Nicolas George



Re: No ifconfig

2017-08-15 Thread David Wright
On Tue 15 Aug 2017 at 13:49:23 (-0400), Gene Heskett wrote:
> On Tuesday 15 August 2017 13:46:37 Greg Wooledge wrote:
> 
> > On Tue, Aug 15, 2017 at 01:41:16PM -0400, Gene Heskett wrote:
> > > While STILL not giving me the local ipv4 addresses and netmasks of
> > > those interfaces.
> >
> > If you want the IPv4 address, netmask, and transfer stats, try:
> >
> > ip -s addr
> >
> > Note that the netmask is shown in CIDR notation (e.g. /23) rather
> > than dotted quad notation (e.g. 255.255.254.0).
> >
> > If this still isn't what you want, tell us what you *do* want.
> 
> An ifconfig style output by default.

Then why not use ifconfig?

Cheers,
David.



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Brian
On Tue 15 Aug 2017 at 13:46:20 -0400, Gene Heskett wrote:

> On Tuesday 15 August 2017 13:07:38 David Wright wrote:
> 
> > On Tue 15 Aug 2017 at 11:23:41 (-0400), Gene Heskett wrote:
> > > On Tuesday 15 August 2017 07:33:53 Nicolas George wrote:
> > > > L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> > > > > If it's no longer part of the base system, then perhaps the
> > > > > system is too base?
> > > >
> > > > Please ellaborate. Why should ifconfig be part of the base system?
> > > >
> > > > Regards,
> > >
> > > Because ip is a pain in the ass to make it run, and still gives
> > > grossly incomplete information?
> > >
> > > In 2 years, I have yet to get a full network report out of ip such
> > > as ifconfig gives.
> >
> > Does   ip addr ; ip -s link   not work for you?
> >
> > Cheers,
> > David.
> 
> It could I suppose, but thats also an extra 4" of useless fluff on my 
> high res screen.

You really wanted to say "yes" to your problem of two years standing
being solved, didn't you? But it goes against the grain. :)

-- 
Brian.



Re: No ifconfig

2017-08-15 Thread Gene Heskett
On Tuesday 15 August 2017 13:46:37 Greg Wooledge wrote:

> On Tue, Aug 15, 2017 at 01:41:16PM -0400, Gene Heskett wrote:
> > While STILL not giving me the local ipv4 addresses and netmasks of
> > those interfaces.
>
> If you want the IPv4 address, netmask, and transfer stats, try:
>
> ip -s addr
>
> Note that the netmask is shown in CIDR notation (e.g. /23) rather
> than dotted quad notation (e.g. 255.255.254.0).
>
> If this still isn't what you want, tell us what you *do* want.

An ifconfig style output by default.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Gene Heskett
On Tuesday 15 August 2017 13:07:38 David Wright wrote:

> On Tue 15 Aug 2017 at 11:23:41 (-0400), Gene Heskett wrote:
> > On Tuesday 15 August 2017 07:33:53 Nicolas George wrote:
> > > L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> > > > If it's no longer part of the base system, then perhaps the
> > > > system is too base?
> > >
> > > Please ellaborate. Why should ifconfig be part of the base system?
> > >
> > > Regards,
> >
> > Because ip is a pain in the ass to make it run, and still gives
> > grossly incomplete information?
> >
> > In 2 years, I have yet to get a full network report out of ip such
> > as ifconfig gives.
>
> Does   ip addr ; ip -s link   not work for you?
>
> Cheers,
> David.

It could I suppose, but thats also an extra 4" of useless fluff on my 
high res screen.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: No ifconfig

2017-08-15 Thread Greg Wooledge
On Tue, Aug 15, 2017 at 01:41:16PM -0400, Gene Heskett wrote:
> While STILL not giving me the local ipv4 addresses and netmasks of those 
> interfaces.

If you want the IPv4 address, netmask, and transfer stats, try:

ip -s addr

Note that the netmask is shown in CIDR notation (e.g. /23) rather
than dotted quad notation (e.g. 255.255.254.0).

If this still isn't what you want, tell us what you *do* want.



Re: No ifconfig

2017-08-15 Thread Gene Heskett
On Tuesday 15 August 2017 12:38:49 Pierre Frenkiel wrote:

> On Tue, 15 Aug 2017, Greg Wooledge wrote:
> > wooledg:~$ netstat -in
> > Kernel Interface table
> > Iface  MTURX-OK RX-ERR RX-DRP RX-OVRTX-OK TX-ERR TX-DRP
> > TX-OVR Flg eth0  1500  8254258  0  0 0   7682795
> >  0  0  0 BMRU lo   65536   579959  0  0 0   
> > 579959  0  0  0 LRU
>
>   you have hte same information with:
>   ==>  ip -s link
>   1: lo:  mtu 65536 qdisc noqueue state UNKNOWN
> mode DEFAULT group default qlen 1 link/loopback 00:00:00:00:00:00 brd
> 00:00:00:00:00:00
>  RX: bytes  packets  errors  dropped overrun mcast
>  21288167293 0   0   0   0
>  TX: bytes  packets  errors  dropped carrier collsns
>  21288167293 0   0   0   0
>   2: enp0s31f6:  mtu 1500 qdisc
> pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether
> 2c:4d:54:d0:58:06 brd ff:ff:ff:ff:ff:ff
>  RX: bytes  packets  errors  dropped overrun mcast
>  323815150  423300   0   4   0   55708
>  TX: bytes  packets  errors  dropped carrier collsns
>  41867187   302742   0   0   0   0

Thats a step towards understandable output, but how to deal with the 
stuff it shows that isn't "up". That doubles the size of the output on 
my pi running jessie:

pi@picncsheldon:~ $ ip -s link
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN mode 
DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
RX: bytes  packets  errors  dropped overrun mcast   
59379736   989318   0   0   0   0  
TX: bytes  packets  errors  dropped carrier collsns 
59379736   989318   0   0   0   0  
2: sit0@NONE:  mtu 1480 qdisc noop state DOWN mode DEFAULT group 
default qlen 1
link/sit 0.0.0.0 brd 0.0.0.0
RX: bytes  packets  errors  dropped overrun mcast   
0  00   0   0   0  
TX: bytes  packets  errors  dropped carrier collsns 
0  00   0   0   0  
3: eth0:  mtu 1500 qdisc pfifo_fast 
state UP mode DEFAULT group default qlen 1000
link/ether b8:27:eb:d3:47:2d brd ff:ff:ff:ff:ff:ff
RX: bytes  packets  errors  dropped overrun mcast   
224779355  3598076  0   0   0   0  
TX: bytes  packets  errors  dropped carrier collsns 
1223076242 12292111 0   0   0   0  
4: wlan0:  mtu 1500 qdisc noop state DOWN mode 
DEFAULT group default qlen 1000
link/ether b8:27:eb:86:12:78 brd ff:ff:ff:ff:ff:ff
RX: bytes  packets  errors  dropped overrun mcast   
0  00   0   0   0  
TX: bytes  packets  errors  dropped carrier collsns 
0  00   0   0   0  

While STILL not giving me the local ipv4 addresses and netmasks of those 
interfaces. I have disabled the radio as I've a neighbor that will use 
about 100Gb of my 300Gb monthly if the radios are enabled. But what the 
heck is sit0?

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: obsolete wiki

2017-08-15 Thread Greg Wooledge
On Tue, Aug 15, 2017 at 06:09:54PM +0100, Brian wrote:
> The wiki page is at https://wiki.debian.org/Init

Thanks.



RE: Cette fois ci je me sens pleine d’énergie Jeanne

2017-08-15 Thread meriem meriem


Envoyé à partir d’Outlook



De : Jeanne Staxz 
Envoyé : lundi 7 août 2017 00:38
À : debian-user@lists.debian.org
Objet : Cette fois ci je me sens pleine d’énergie Jeanne



Si tu étais là, je ne sais pas ce que je pourrai te faire…
http://bit.ly/2vEMKIA


Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Gene Heskett
On Tuesday 15 August 2017 10:48:12 Nicolas George wrote:

> L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> > Around 30 years of familiarity across many *nix flavours.
>
> You said it: the only superiority of ifconfig over iproute2 is
> tradition and familiarity of long-time users. On the other hand,
> ifconfig is technically inferior on most if not all points.
>
> I hope you realize that traditions and familiarity of old geezers can
> only go so far to justify the evolution or non-evolution of a system.
> Otherwise, we still would have ed in the base system.
>
> Regards,

Nicolas: The nearest ipv6 address to me is likely 150 miles north, in 
Pittsburgh PA. Its all ipv4 here in WV AFAIK.

However, so far I have not been made aware of a traceroute like utility 
that can tell me where any ipv6 blockage might exist, so I haven't a 
clue how far a dns query might get. I don't have it setup here that I 
know of, and there's little or no documentation on how to do it 
available to us mear mortals.  So here at least, anybody that knows how 
to cope with it when it does become a fact of life, can likely leverage 
some sheckles out of that knowledge. For instance, after perusing the 
manpage for traceroute, my ISP is shentel.net, but

gene@GO704:/etc$ traceroute -6 shentel.net
shentel.net: Name or service not known
Cannot handle "host" cmdline arg `shentel.net' on position 1 (argc 2)

But where does the failure occur? Someplace in the chain To or From their 
dns server(s), which probably encompasses at least a dozen hops to get 
to the server to query them.

And uncommenting the ipv6 related lines in the hosts file makes no 
difference. I didn't think it would because /etc/network/interfaces has 
no ipv6 setup in it.  So for starters, what would I add to the 
interfaces file to enable that since I've no clue what to put in it for 
an ipv6 address.

With reference to my hosts file based home network with about 20 names in 
the /etc/hosts file, please give me/us a cli command that shows how 
ifconfig gets it wrong, and ip gets it right in an ipv4 environment. I 
don't think it prudent to just pick some numbers out of "that" 
place. ;-)

Cheers Nicolas, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: No ifconfig

2017-08-15 Thread Pierre Frenkiel

On Tue, 15 Aug 2017, Greg Wooledge wrote:


On Tue, Aug 15, 2017 at 06:24:42PM +0200, Pierre Frenkiel wrote:

On Tue, 15 Aug 2017, Greg Wooledge wrote:


ip -o link | awk -F": " '{print $2}'


  and even shorter:
  ip -o link | cut -d : -f 2


They are not equivalent.  Yours leaves extra whitespace.

wooledg:~$ ip -o link | cut -d : -f 2 | hd
  20 6c 6f 0a 20 65 74 68  30 0a| lo. eth0.|
000a
wooledg:~$ ip -o link | awk -F": " '{print $2}' | hd
  6c 6f 0a 65 74 68 30 0a   |lo.eth0.|
0008

So, to use the output of yours, an additional step would be needed
(whitespace trimming).


If it's to list the interface names, I don't see why the leading space is
annoying.



Re: obsolete wiki

2017-08-15 Thread Brian
The wiki page is at https://wiki.debian.org/Init


On Tue 15 Aug 2017 at 10:07:07 -0400, rhkra...@gmail.com wrote:

> On Monday, August 14, 2017 05:39:40 PM Felix Miata wrote:
> > Brian composed on 2017-08-14 22:10 (UTC+0100):
> > >  I take it you are not up for altering the Init page?
> > 
> > I looked in the thread and was unable to find that anyone had provided a
> > URL for "the Init page". Without seeing the particular page in question I
> > can't answer, but I'm guessing the answer would be I would feel I have too
> > little competence to adequately address that particular subject, as with
> > most wiki pages I find deficient.
> 
> Well, even a vague note on the page something like:
> 
> "Some of this seems to be out of date with the advent of systemd and its 
> adoption in Debian starting with version n.n ().  If you can 
> contribute anything more to this story, please do." 
> 
> 
> ...would be a start.   

A note is not a bad idea, but is the information on the page really
outdated, or is it inappropriate because it does not reflect the reality
in jessie and onwards? As I tried to say in another post in this thread,
what should the page say and how should it be structured? What should be
omitted and what be put in. What is the purpose of the page?

Sorry if I gave the impression that Felix Miata should be personally
responsible for any changes. The point I was trying to make was that
someone (or a number of someones) has to do it. Take a look at the
BootProcess page. The link is on the Init page; looking at that page
in isolation only scratches the surface of the task.

-- 
Brian.



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread David Wright
On Tue 15 Aug 2017 at 11:23:41 (-0400), Gene Heskett wrote:
> On Tuesday 15 August 2017 07:33:53 Nicolas George wrote:
> 
> > L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> > > If it's no longer part of the base system, then perhaps the system
> > > is too base?
> >
> > Please ellaborate. Why should ifconfig be part of the base system?
> >
> > Regards,
> 
> Because ip is a pain in the ass to make it run, and still gives grossly 
> incomplete information?
> 
> In 2 years, I have yet to get a full network report out of ip such as 
> ifconfig gives.

Does   ip addr ; ip -s link   not work for you?

Cheers,
David.



usb login

2017-08-15 Thread jumpy
https://linuxconfig.org/linux-authentication-login-with-usb-device
USB device event and pam_usb

example : i would like my usb start firefox with firejail (e.g a shortcut could 
do the same) but i do not know set the 'event'.

where could i find a doc about the modifications/explanations & maybe examples 
that i could do/try ?

*i need something clear/easy (not a ppa not a trick or tip) that i could 
understand & configure by myself.

--
Securely sent with Tutanota.

connection alert

2017-08-15 Thread jumpy
i have yet a notification and it works well.

i would like add a sound when my vpn starts & when it stops.

how could i set that ?

--
Securely sent with Tutanota.

Re: no /etc/inittab

2017-08-15 Thread David Wright
On Mon 14 Aug 2017 at 13:10:44 (-0300), Henrique de Moraes Holschuh wrote:
> On Mon, 14 Aug 2017, Joe wrote:
> > On Mon, 14 Aug 2017 11:21:24 -0300
> > Henrique de Moraes Holschuh  wrote:
> > 
> > > On Mon, 14 Aug 2017, Joe wrote:
> > > > up the courage to do the real thing. There was nothing fundamentally
> > > > wrong, but a separate /usr really is a show-stopper with systemd,
> > > > and it's nice to have a working firewall...  
> > > 
> > > The standard Debian initramfs is supposed to handle that, if it is not
> > > doing that properly, it is a bug we should fix...
> > > 
> > 
> > Which?
> 
> Separate /usr.  The initramfs is supposed to mount it early enough and
> then do whatever is required (suck as re-kicking udev, etc) for it to be
> equivalent to /usr-in-/ for the rest of the system.

I didn't realise anyone was still doing separate /usr.

> > As to the separate /usr, I know I can muck about with initrd to get a
> > separate /usr mounted during boot, but all things considered, it seemed
> > preferable to merge it into /. It was just a pain because it was a
> 
> Yes, it is safer.  And recreating filesystems with a newer toolset every
> so often is a good idea.  mkfs.xfs in stretch will do on-storage-format
> v5, for example, which gives you metadata CRC, d_type, and some other
> nice stuff that is not present on on-storage-format v4 used by jessie...

As long as one realises that there can be implications when running
different Debian vintages on a system; eg my main system on this
laptop is jessie, but I also have a stretch installation in a
partition which my main system can't fsck:

 systemd-fsck[263]: /dev/sda2 has unsupported feature(s): metadata_csum
 systemd-fsck[263]: e2fsck: Get a newer version of e2fsck!

Cheers,
David.



Re: No ifconfig

2017-08-15 Thread Greg Wooledge
On Tue, Aug 15, 2017 at 06:24:42PM +0200, Pierre Frenkiel wrote:
> On Tue, 15 Aug 2017, Greg Wooledge wrote:
> 
> > ip -o link | awk -F": " '{print $2}'
> 
>   and even shorter:
>   ip -o link | cut -d : -f 2

They are not equivalent.  Yours leaves extra whitespace.

wooledg:~$ ip -o link | cut -d : -f 2 | hd
  20 6c 6f 0a 20 65 74 68  30 0a| lo. eth0.|
000a
wooledg:~$ ip -o link | awk -F": " '{print $2}' | hd
  6c 6f 0a 65 74 68 30 0a   |lo.eth0.|
0008

So, to use the output of yours, an additional step would be needed
(whitespace trimming).



Re: No ifconfig

2017-08-15 Thread Pierre Frenkiel

On Tue, 15 Aug 2017, Greg Wooledge wrote:


wooledg:~$ netstat -in
Kernel Interface table
Iface  MTURX-OK RX-ERR RX-DRP RX-OVRTX-OK TX-ERR TX-DRP TX-OVR Flg
eth0  1500  8254258  0  0 0   7682795  0  0  0 BMRU
lo   65536   579959  0  0 0579959  0  0  0 LRU


 you have hte same information with:
 ==>  ip -s link
 1: lo:  mtu 65536 qdisc noqueue state UNKNOWN mode 
DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
RX: bytes  packets  errors  dropped overrun mcast
21288167293 0   0   0   0
TX: bytes  packets  errors  dropped carrier collsns
21288167293 0   0   0   0
 2: enp0s31f6:  mtu 1500 qdisc pfifo_fast 
state UP mode DEFAULT group default qlen 1000
link/ether 2c:4d:54:d0:58:06 brd ff:ff:ff:ff:ff:ff
RX: bytes  packets  errors  dropped overrun mcast
323815150  423300   0   4   0   55708
TX: bytes  packets  errors  dropped carrier collsns
41867187   302742   0   0   0   0



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Glenn English
On Tue, Aug 15, 2017 at 3:23 PM, Gene Heskett  wrote:

> Because ip is a pain in the ass to make it run, and still gives grossly
> incomplete information?
>
> In 2 years, I have yet to get a full network report out of ip such as
> ifconfig gives.

How about fixing ip? Like 'ip --config'? Or just 'ip -h'?

I've written many scripts over the years, using ifconfig and others,
and having everything broken now is a major PITA.

I very much agree that sysV init and those old commands were a mess,
especially with the introduction of ipv6. But I'd have more inclined
to fix what was there than to replace it with commands that return
gibberish and kill so many scripts so many people have written.

One of the benefits, to me anyway, of Debian, Linux, and GNU was that
things were very often designed to output text, for the benefit of
humans. For the benefit of computers, that info could easily be parsed
by other commands.

--
Glenn English



Re: No ifconfig

2017-08-15 Thread Pierre Frenkiel

On Tue, 15 Aug 2017, Greg Wooledge wrote:


ip -o link | awk -F": " '{print $2}'


  and even shorter:
  ip -o link | cut -d : -f 2

  BTW, I suggest to abandon, in the subject, the reference to the
  OP's subject ("was ..."), as this thread has really
  nothing to do with inittab stuff



Re: develop for older debian versions

2017-08-15 Thread Dan Ritter
On Tue, Aug 15, 2017 at 05:41:46PM +0200, S. Jacobi wrote:
> I develop software that should run on older debian releases starting
> with wheezy. I would build directly in a VM with such an install, but
> the problem is that my toolchain requires some rather modern pieces
> which are not available in those versions.
> Most libraries will be linked statically, the only exceptions being
> libc and libstdc++.
> Any ideas how to make it work?

You have three basic options.

1. Get all your toolchain's dependencies into backports.

2. Build all those dependencies in /usr/local or /opt

3. Use a different toolchain.

-dsr-



En dehors des sites merci

2017-08-15 Thread fabien_cornet




Envoyé depuis mon smartphone Samsung Galaxy.

develop for older debian versions

2017-08-15 Thread S. Jacobi
I develop software that should run on older debian releases starting
with wheezy. I would build directly in a VM with such an install, but
the problem is that my toolchain requires some rather modern pieces
which are not available in those versions.
Most libraries will be linked statically, the only exceptions being
libc and libstdc++.
Any ideas how to make it work?

Kind regards



Re: Debconf python module

2017-08-15 Thread Gustavo Ferreira
Oh, I missed that, indeed it is there. My bad.

Thank you very much for your help.

Best regards,
Gustavo


On 15 Aug 2017 16:12, "Michael Lange"  wrote:

Hi,

On Tue, 15 Aug 2017 14:59:12 +0100
Gustavo Ferreira  wrote:

> Hi,
>
> I've been reading about debconf internals lately and I've seen some
> references to the "debconf python module".
>
> Even the man page for *debconf-devel* mentions it:
>
> "Perl programmers can use the Debconf::Client::ConfModule(3pm) perl
> module, and *python programmers can use the debconf python module*."
>
> The problem is, I can't find this module/package, neither in debian
> repository nor in Python Package Index (PyPI).
>
> I can develop a new module, it seems pretty straightforward, but I would
> like to know what happened to the other module/package. It seems there
> is no trace of its existence.

here (Jessie) it is included in the debconf package, maybe you have only
looked for a separate package?

Best Regards

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

It would seem that evil retreats when forcibly confronted.
-- Yarnek of Excalbia, "The Savage Curtain", stardate
5906.5


Re: Unusual LUKS setup

2017-08-15 Thread Zenaan Harkness
On Tue, Aug 15, 2017 at 12:13:21PM +, Curt wrote:
> On 2017-08-14, to...@tuxteam.de  wrote:
> >
> >
> > And you are either prey to a God complex (knowing better what's right
> > for others) or a helper syndrome. Or both.
> >
> 
> Christ! What happened to Little Goody Two-Shoes?

This is a family friendly list, so we ought not take the Lord's name
in vain ... and neither should we assert God complexes on one another
- we're humans and ought show a little tolerance toward one another.

Besides, --I'm-- the only one around here whom you may deify - for
all this humility that just bursts out of ... out of ... THAT's
right!! ME :)

:D



Re: which option can set duration of mencoder?

2017-08-15 Thread Gene Heskett
On Tuesday 15 August 2017 09:55:02 mitchell@member.fsf.org wrote:

>  writes:
>
> 
>
> > Disclaimer: sometimes I don't know what I'm doing.
> > Disclaimer(2): the problem is, I don't know *when* those times are.
>
> This made my day. :D

I think I'd copyright that one Tomas. ;-) Thats exactly how I got to from 
where I started.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Gene Heskett
On Tuesday 15 August 2017 07:33:53 Nicolas George wrote:

> L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> > If it's no longer part of the base system, then perhaps the system
> > is too base?
>
> Please ellaborate. Why should ifconfig be part of the base system?
>
> Regards,

Because ip is a pain in the ass to make it run, and still gives grossly 
incomplete information?

In 2 years, I have yet to get a full network report out of ip such as 
ifconfig gives.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Debconf python module

2017-08-15 Thread Michael Lange
Hi,

On Tue, 15 Aug 2017 14:59:12 +0100
Gustavo Ferreira  wrote:

> Hi,
> 
> I've been reading about debconf internals lately and I've seen some
> references to the "debconf python module".
> 
> Even the man page for *debconf-devel* mentions it:
> 
> "Perl programmers can use the Debconf::Client::ConfModule(3pm) perl
> module, and *python programmers can use the debconf python module*."
> 
> The problem is, I can't find this module/package, neither in debian
> repository nor in Python Package Index (PyPI).
> 
> I can develop a new module, it seems pretty straightforward, but I would
> like to know what happened to the other module/package. It seems there
> is no trace of its existence.

here (Jessie) it is included in the debconf package, maybe you have only
looked for a separate package?

Best Regards

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

It would seem that evil retreats when forcibly confronted.
-- Yarnek of Excalbia, "The Savage Curtain", stardate
5906.5



Re: Ciao! Mi saluterai? Sara

2017-08-15 Thread gcarinci55

Ciao 
--
Inviato da Libero Mail per Android Martedì, 15 Agosto 2017, 04:34PM +02:00 da 
Sara Hasratni  jo.the.goel...@wanadoo.fr :

>
>Unisciti a me e chattiamo. 
>http://bit.ly/2uL0EWr


Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Nicolas George
L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> Around 30 years of familiarity across many *nix flavours.

You said it: the only superiority of ifconfig over iproute2 is tradition
and familiarity of long-time users. On the other hand, ifconfig is
technically inferior on most if not all points.

I hope you realize that traditions and familiarity of old geezers can
only go so far to justify the evolution or non-evolution of a system.
Otherwise, we still would have ed in the base system.

Regards,

-- 
  Nicolas George



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Dejan Jocic
On 15-08-17, Erik Christiansen wrote:
> On 15.08.17 15:03, Dejan Jocic wrote:
> > And what exactly do you miss in ifconfig and net-tools package, that you
> > can not do with ip, which is part of iproute2 package that comes as part
> > of base system?
> 
> Around 30 years of familiarity across many *nix flavours. If the package
> builders are more familiar with ip, then perhaps tradition goes out the
> window. Not a problem. I have installed net-tools.
> 
> Erik
> 

I can understand that very well, even with much less years of
familiarity. But it moves forward, for good or worse. Not first familiar
tool that will vanish, nor last. May we live to see many more. I know
that I've thought something like "you will pry ifconfig out of my cold
dead heands" first time I've used ip. But, time passed and ip almost
become familiar tool.




Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Greg Wooledge
On Tue, Aug 15, 2017 at 03:14:02PM +0100, Darac Marjal wrote:
> Have you looked at "ip -s link"? It's not quite as easy to parse as "netstat
> -in", but all the information's there.

Actually, "ip -o link" is a step in the right direction:

wooledg:~$ ip -o link
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN mode 
DEFAULT group default qlen 1\link/loopback 00:00:00:00:00:00 brd 
00:00:00:00:00:00
2: eth0:  mtu 1500 qdisc pfifo_fast state UP 
mode DEFAULT group default qlen 1000\link/ether a0:8c:fd:c3:89:e0 brd 
ff:ff:ff:ff:ff:ff

Still requires multiple steps to extract the interface names (unless
you use awk, or some other language with wide field delimiters), and
still not as nice as ps h -o ppid "$pid", but I guess we won't ever get
anything nicer.

wooledg:~$ ip -o link | awk -F": " '{print $2}'
lo
eth0

The only other scripting language I know that can do splitting with
multi-character separators is perl.

wooledg:~$ ip -o link | perl -ne '@x=split(/: /); print $x[1], "\n"'
lo
eth0

Bash and Tcl can't do it, at least not with their native toolsets.
I don't know python or ruby or any others.



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Henrique de Moraes Holschuh
On Tue, 15 Aug 2017, Felix Miata wrote:
> >> > Please ellaborate. Why should ifconfig be part of the base system?

Indeed.  It shouldn't, and it doesn't anymore.  Maybe net-tools should
be part of the *standard* system, but it certainly does not belong to
the *base* system anymore.

*base* is "what is required for packages to be installed and
upgraded"...

> >> is not anything which needs to be added - we just need busybodies to
> >> refrain from taking it out.

https://www.debian.org/releases/stretch/amd64/release-notes/ch-information.en.html#iproute2

It is broken in that it just *can't* handle the Linux networking stack
except for the bare minimum functionality on IPv4 (no, it doesn't meet
even the bare minimum for IPv6), and the only reason we had to keep it
around by default (consistent output that some scripts scrapped) was
broken by GNU upstream when it took ifconfig out of the bit-rot pit hell
and started maintaining it again.

So, it [somewhat recently] broke scripts that scrapped its output, and
it will give you incomplete/incorrect information because it can't
handle lots of details of the Linux networking stack...

> Interesting man page difference:
> 
> Stretch:
>Ifconfig  is  used  to  configure  the  kernel-resident network
>interfaces.  It is used at boot time to set  up  interfaces  as
>necessary.   After  that, it is usually only needed when debug-
>ging or when system tuning is needed.
> 
>If no arguments are given, ifconfig displays the status of  the
>currently active interfaces.  If a single interface argument is
>given, it displays the status of the given interface only; if a
>single  -a  argument  is  given,  it displays the status of all
>interfaces, even those that are down.  Otherwise, it configures
>an interface.

Which is outdated...

In Debian, it is *not* used to configure anything at boot time: not with
systemd, and not with sysvinit+initscripts.

And if any Debian package wants/needs it, it has to depend on net-tools.

>WARNING: Ifconfig is obsolete on system with Linux kernel newer
>than  2.0.  On this system you should use ip. See the ip manual
>page for details

We should add that paragraph, yes, and remove the "boot time" stuff :-)

-- 
  Henrique Holschuh



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Darac Marjal

On Tue, Aug 15, 2017 at 09:29:37AM -0400, Greg Wooledge wrote:

On Tue, Aug 15, 2017 at 03:03:35PM +0200, Dejan Jocic wrote:

And what exactly do you miss in ifconfig and net-tools package, that you
can not do with ip, which is part of iproute2 package that comes as part
of base system?


What iproute2 and net-tools are BOTH missing is a sane, script-friendly,
user-controllable output format.


Agreed. systemd's "journalctl" gets it right here - a human readable 
"short" output (admittedly, journalctl then goes overboard with the 
number of options for timestamps, but they ARE a thorny issue), a 
verbose output showing all the information and a json output which is 
MUCH more easily parsed by scripts (none of this "The third field from 
the left, except for the first line, which is a header" malarkey).




What iproute2 is specifically missing (as far as I can determine):
consistent option syntax, and any report analogous to "netstat -in":

wooledg:~$ netstat -in
Kernel Interface table
Iface  MTURX-OK RX-ERR RX-DRP RX-OVRTX-OK TX-ERR TX-DRP TX-OVR Flg
eth0  1500  8254258  0  0 0   7682795  0  0  0 BMRU
lo   65536   579959  0  0 0579959  0  0  0 LRU

In a world where virtually every possible output of every reporting
command is atrociously hard to read, that one is the least bad.  You can
actually get the interface names with only two reasonably simple parsing
operations (strip the first line, then strip everything from the first
whitespace to EOL).

The closest analog I've found in iproute2 is "ip link", which looks like:

wooledg:~$ ip link
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN mode 
DEFAULT group default qlen 1
   link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0:  mtu 1500 qdisc pfifo_fast state UP 
mode DEFAULT group default qlen 1000
   link/ether a0:8c:fd:c3:89:e0 brd ff:ff:ff:ff:ff:ff

Parsing the interface names out of THAT is significantly harder.


Have you looked at "ip -s link"? It's not quite as easy to parse as 
"netstat -in", but all the information's there.




The real tragedy is the missed opportunity.  Linux developers wrote
iproute2 from scratch, but they failed to add any kind of user-specified
output format (cf. ps h -o ppid, find -printf %h, etc.), or to sit down
and THINK about how the user interface should be designed.  Instead of
a clean, friendly, consistent, useful new tool we just got this weird
monstrosity that feels like someone decided to change things just because
they were bored one day, without any rhyme or reason or plan.



util-linux is, arguably, going the right way here. libsmartcols[1] 
allows for some rather flexible output options: trees, tables, UTF8 
handling, terminal-width truncation etc.


[1] 
http://karelzak.blogspot.co.uk/2014/05/libsmartcols-pretty-output-for-everyone.html


--
For more information, please reread.


signature.asc
Description: PGP signature


Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Felix Miata
Dejan Jocic composed on 2017-08-15 15:03 (UTC+0200):

> Erik Christiansen wrote:

>> Nicolas George wrote:

>> > Please ellaborate. Why should ifconfig be part of the base system?

>> With pleasure. It is the most basic and useful *nix networking tool,
>> traditional since well back in the last millennium, spanning hp-ux,
>> sunos, then solaris, and various linux distros, in my experience. Even
>> if used mostly interrogatively these days, it is the quickest way to
>> check how "eth0" is currently encrypted, what the IP address is, etc. It

'ip a' get's me what I'm interested in with less typing than 'ifconfig -a'.

>> is not anything which needs to be added - we just need busybodies to
>> refrain from taking it out.

> And what exactly do you miss in ifconfig and net-tools package, that you
> can not do with ip, which is part of iproute2 package that comes as part
> of base system?

Interesting man page difference:

Stretch:
   Ifconfig  is  used  to  configure  the  kernel-resident network
   interfaces.  It is used at boot time to set  up  interfaces  as
   necessary.   After  that, it is usually only needed when debug-
   ging or when system tuning is needed.

   If no arguments are given, ifconfig displays the status of  the
   currently active interfaces.  If a single interface argument is
   given, it displays the status of the given interface only; if a
   single  -a  argument  is  given,  it displays the status of all
   interfaces, even those that are down.  Otherwise, it configures
   an interface.

openSUSE:
   Ifconfig  is  used  to  configure  the  kernel-resident network
   interfaces.  It is used at boot time to set  up  interfaces  as
   necessary.   After  that, it is usually only needed when debug-
   ging or when system tuning is needed.

   WARNING: Ifconfig is obsolete on system with Linux kernel newer
   than  2.0.  On this system you should use ip. See the ip manual
   page for details

   If no arguments are given, ifconfig displays the status of  the
   currently active interfaces.  If a single interface argument is
   given, it displays the status of the given interface only; if a
   single  -a  argument  is  given,  it displays the status of all
   interfaces, even those that are down.  Otherwise, it configures
   an interface.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: obsolete wiki

2017-08-15 Thread rhkramer
On Monday, August 14, 2017 05:39:40 PM Felix Miata wrote:
> Brian composed on 2017-08-14 22:10 (UTC+0100):
> >  I take it you are not up for altering the Init page?
> 
> I looked in the thread and was unable to find that anyone had provided a
> URL for "the Init page". Without seeing the particular page in question I
> can't answer, but I'm guessing the answer would be I would feel I have too
> little competence to adequately address that particular subject, as with
> most wiki pages I find deficient.

Well, even a vague note on the page something like:

"Some of this seems to be out of date with the advent of systemd and its 
adoption in Debian starting with version n.n ().  If you can 
contribute anything more to this story, please do." 


...would be a start.   



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Erik Christiansen
On 15.08.17 09:29, Greg Wooledge wrote:
> wooledg:~$ netstat -in
> Kernel Interface table
> Iface  MTURX-OK RX-ERR RX-DRP RX-OVRTX-OK TX-ERR TX-DRP TX-OVR Flg
> eth0  1500  8254258  0  0 0   7682795  0  0  0 
> BMRU
> lo   65536   579959  0  0 0579959  0  0  0 LRU
> 
   was compared with:

> wooledg:~$ ip link
> 1: lo:  mtu 65536 qdisc noqueue state UNKNOWN mode 
> DEFAULT group default qlen 1
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> 2: eth0:  mtu 1500 qdisc pfifo_fast state UP 
> mode DEFAULT group default qlen 1000
> link/ether a0:8c:fd:c3:89:e0 brd ff:ff:ff:ff:ff:ff
> 
> Parsing the interface names out of THAT is significantly harder.

Yes, true, for a human that's indisputable. However, a first
off-the-cuff quickie does the trick machine-wise:

$ gawk '/^[0-9]:/ {print $2}' /tmp/mail 
lo:
eth0:

So the situation is eminently remediable, I figure. Obviously the
first-cut snippet can easily be made more robust, but with known input,
there is no immediate need.

> The real tragedy is the missed opportunity.  Linux developers wrote
> iproute2 from scratch, but they failed to add any kind of user-specified
> output format (cf. ps h -o ppid, find -printf %h, etc.), or to sit down
> and THINK about how the user interface should be designed.  Instead of
> a clean, friendly, consistent, useful new tool we just got this weird
> monstrosity that feels like someone decided to change things just because
> they were bored one day, without any rhyme or reason or plan.

If the output remains unchanged, then a bit of awk¹ can easily extract
items of interest. Scripts break very badly, though, if the output
format is fiddled with after it has been in the wild for any extended
period.

But I'm drawn to the familiar per-interface ordered reporting of:

$ ifconfig -a
eth0  Link encap:Ethernet  HWaddr 00:27:21:a0:4f:1e  
  inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
  inet6 addr: ee81::233:17ff:fea3:2f5e/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:573689 errors:0 dropped:0 overruns:0 frame:0
  TX packets:338733 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:800824302 (763.7 MiB)  TX bytes:27874966 (26.5 MiB)
  Interrupt:23 Base address:0xee00 

loLink encap:Local Loopback  
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:12551 errors:0 dropped:0 overruns:0 frame:0
  TX packets:12551 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:3328348 (3.1 MiB)  TX bytes:3328348 (3.1 MiB)

That's highly amenable to both human and machine parsing, I submit.

Erik

¹ Yes, I've heard rumours of other text processing languages arising in
  the latter years of the last millennium, but they're probably a
  passing fad, I figure.



Re: need help on audio recording

2017-08-15 Thread rhkramer
On Monday, August 14, 2017 04:42:49 PM Brian wrote:
> Then you answer your own questions. (But cover yourself in case there is
> a comeback). Yes, you are evidently a professional politician.

Ahh, ok, reading more carefully you say "professional" politician.

Almost everybody of a certain age / maturity learns to become something of a 
politician.  (My favorite definition of politics is something like "the art (or 
science?) of getting along with other people".)

If you are any kind of professional, you probably need to be (and are), to 
some extent, a professional politician.



Debconf python module

2017-08-15 Thread Gustavo Ferreira
Hi,

I've been reading about debconf internals lately and I've seen some
references to the "debconf python module".

Even the man page for *debconf-devel* mentions it:

"Perl programmers can use the Debconf::Client::ConfModule(3pm) perl module,
and *python programmers can use the debconf python module*."

The problem is, I can't find this module/package, neither in debian
repository nor in Python Package Index (PyPI).

I can develop a new module, it seems pretty straightforward, but I would
like to know what happened to the other module/package. It seems there is
no trace of its existence.

Best Regards,
Gustavo


Re: which option can set duration of mencoder?

2017-08-15 Thread mitchell . roe
 writes:



> Disclaimer: sometimes I don't know what I'm doing.
> Disclaimer(2): the problem is, I don't know *when* those times are.

This made my day. :D

-- 
Mitchell Roe



Re: dhcp and iptables

2017-08-15 Thread Henning Follmann
On Tue, Aug 15, 2017 at 07:07:41PM +1000, Zenaan Harkness wrote:
> On Tue, Aug 15, 2017 at 10:42:42AM +0200, Pascal Hambourg wrote:
> > Le 15/08/2017 à 10:03, Bonno Bloksma a écrit :
> > > 
> > > Can someone help me to understand this? Why does DHCP work when the 
> > > iptable lines looks like in the first example
> > 
> > DHCP software usually use the raw network interface, by-passing the IP 
> > stack and iptables rules.
> 
> Would one "configure" DHCP firewalling with ebtables, or ip, or
> something else?
> 

Neither!
Tell dhcp server to only listen on the internal network. That's it.

-H


-- 
Henning Follmann   | hfollm...@itcfollmann.com



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Greg Wooledge
On Tue, Aug 15, 2017 at 03:03:35PM +0200, Dejan Jocic wrote:
> And what exactly do you miss in ifconfig and net-tools package, that you
> can not do with ip, which is part of iproute2 package that comes as part
> of base system?

What iproute2 and net-tools are BOTH missing is a sane, script-friendly,
user-controllable output format.

What iproute2 is specifically missing (as far as I can determine):
consistent option syntax, and any report analogous to "netstat -in":

wooledg:~$ netstat -in
Kernel Interface table
Iface  MTURX-OK RX-ERR RX-DRP RX-OVRTX-OK TX-ERR TX-DRP TX-OVR Flg
eth0  1500  8254258  0  0 0   7682795  0  0  0 BMRU
lo   65536   579959  0  0 0579959  0  0  0 LRU

In a world where virtually every possible output of every reporting
command is atrociously hard to read, that one is the least bad.  You can
actually get the interface names with only two reasonably simple parsing
operations (strip the first line, then strip everything from the first
whitespace to EOL).

The closest analog I've found in iproute2 is "ip link", which looks like:

wooledg:~$ ip link
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN mode 
DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0:  mtu 1500 qdisc pfifo_fast state UP 
mode DEFAULT group default qlen 1000
link/ether a0:8c:fd:c3:89:e0 brd ff:ff:ff:ff:ff:ff

Parsing the interface names out of THAT is significantly harder.

The real tragedy is the missed opportunity.  Linux developers wrote
iproute2 from scratch, but they failed to add any kind of user-specified
output format (cf. ps h -o ppid, find -printf %h, etc.), or to sit down
and THINK about how the user interface should be designed.  Instead of
a clean, friendly, consistent, useful new tool we just got this weird
monstrosity that feels like someone decided to change things just because
they were bored one day, without any rhyme or reason or plan.



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Erik Christiansen
On 15.08.17 15:03, Dejan Jocic wrote:
> And what exactly do you miss in ifconfig and net-tools package, that you
> can not do with ip, which is part of iproute2 package that comes as part
> of base system?

Around 30 years of familiarity across many *nix flavours. If the package
builders are more familiar with ip, then perhaps tradition goes out the
window. Not a problem. I have installed net-tools.

Erik



atftpd not working properly

2017-08-15 Thread Bonno Bloksma
Hello,

For whatever reason I cannot get atftpd to work properly.  At first I thought 
is was the firewall but, that's not it as far as I can tell.
It is probably something simple I am missing but I no idea what. 
- I have tried getting a simple tekst file called test from a Windows 7 client.
- I have tried getting a firmware update using a HP/Aruba switch as client
All I can see is that I am getting time-outs.
How can I find out more?

firewall temporarily all but disabled:
linein:~/newfw#(vm) iptables -L -v
Chain INPUT (policy ACCEPT 3308 packets, 257K bytes)
 pkts bytes target prot opt in out source   destination

Chain FORWARD (policy DROP 0 packets, 0 bytes)
 pkts bytes target prot opt in out source   destination

Chain OUTPUT (policy ACCEPT 4334 packets, 963K bytes)
 pkts bytes target prot opt in out source   destination

===
atftpd running on the linein server with logging at level 7 (DEBUG)

Windows 7 client
---
C:\temp>tftp 172.16.208.19 GET test .
Er is een time-out opgetreden.  (Meaning: a time-out has occured) 
 Kan verbindingsaanvraag niet uitvoeren (literaly: could not execute 
connectionrequest)

server Syslog
--
Aug 15 14:43:49 linein atftpd[30372]: Serving test to 172.16.208.34:62637
Aug 15 14:43:50 linein atftpd[30372]: Serving test to 172.16.208.34:62637
Aug 15 14:43:52 linein atftpd[30372]: Serving test to 172.16.208.34:62637
Aug 15 14:43:54 linein atftpd[30372]: timeout: retrying...
Aug 15 14:43:55 linein atftpd[30372]: timeout: retrying...
Aug 15 14:43:56 linein atftpd[30372]: Serving test to 172.16.208.34:62637
Aug 15 14:43:57 linein atftpd[30372]: timeout: retrying...
Aug 15 14:43:59 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:00 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:01 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:02 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:04 linein atftpd[30372]: Serving test to 172.16.208.34:62637
Aug 15 14:44:04 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:05 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:06 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:07 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:09 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:09 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:10 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:11 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:12 linein atftpd[30372]: Serving test to 172.16.208.34:62637
Aug 15 14:44:12 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:14 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:14 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:15 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:16 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:17 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:17 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:19 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:20 linein atftpd[30372]: Serving test to 172.16.208.34:62637
Aug 15 14:44:21 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:22 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:24 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:25 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:27 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:28 linein atftpd[30372]: Serving test to 172.16.208.34:62637
Aug 15 14:44:29 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:30 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:32 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:33 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:35 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:36 linein atftpd[30372]: Invalid request <6> from 172.16.208.34
Aug 15 14:44:37 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:38 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:40 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:43 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:45 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:48 linein atftpd[30372]: timeout: retrying...
Aug 15 14:44:53 linein atftpd[30372]: timeout: retrying...

==

HP / Aruba switch
-
UT3HP3810-PK1# copy tftp flash 172.16.208.19 hp/KB_16_02_0020.swi
The primary image will be deleted.

Continue (y/n)? y
Error in receiving file.  Exceeded max number of retransmits.
000M Operation timed out.
UT3HP3810-PK1#

server Syslog
--
Aug 15 14:50:51 linein in.tftpd[496]: connect from 172.16.32.15 (172.16.32.15)
Aug 15 14:50:51 linein atftpd[496]: Advanced Trivial FTP server started (0.7)
Aug 15 14:50:51 linein atftpd[496]: Serving hp/KB_16_02_0020.swi to 
172.16.32.15:12554
Aug 15 14:50:51 linein atftpd[496]: recvmsg: Message too long
Aug 15 14:50:51 linein atftpd[496]: tftpd_file.c: 958: recvfrom: Message too 
long

===


Met vriendelijke 

Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Dejan Jocic
On 15-08-17, Erik Christiansen wrote:
> On 15.08.17 13:33, Nicolas George wrote:
> > L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> > > If it's no longer part of the base system, then perhaps the system is
> > > too base?
> > 
> > Please ellaborate. Why should ifconfig be part of the base system?
> 
> With pleasure. It is the most basic and useful *nix networking tool,
> traditional since well back in the last millennium, spanning hp-ux,
> sunos, then solaris, and various linux distros, in my experience. Even
> if used mostly interrogatively these days, it is the quickest way to
> check how "eth0" is currently encrypted, what the IP address is, etc. It
> is not anything which needs to be added - we just need busybodies to
> refrain from taking it out.
> 
> Granted, there's quite a bit of cruft taking up space, like
> NetworkMunger. I've been forced to wipe that from several Ubuntu
> versions in particular, as networking wouldn't function until I did.
> Everything has always been sweet once that was gone. Debian does seem to
> have it more under control, though, so I'll trade - leave both.
> 
> Erik
> 

And what exactly do you miss in ifconfig and net-tools package, that you
can not do with ip, which is part of iproute2 package that comes as part
of base system?





Re: testing, upgrade of openssl libssl1.1 ( 1.1.0f-3 => 1.1.0f-4 )

2017-08-15 Thread songbird
Stephan Seitz wrote:
> On Mo, Aug 14, 2017 at 08:02:40 -0400, songbird wrote:

>>  may break your getting of mail process.
>>(i'm using getmail).
>>
>>  luckily downgrading the two packages restores
>>things to working again.
>>
>>  no time right now for me to find the magic
>>words to fiddle with to allow this to go
>>through.
>
> As announced the new version of openssl has disabled TLSv1 and TLSv1.1=20
> leaving only TLSv1.2.
> So if you have an old server without TLSv1.2, you can=E2=80=99t connect any=
> more.

  i'm not sure if anyone cares or if filing a bug is
needed here?  (getmail or openssl)

  i will have time later today where i can file a bug.

  also,

  if the real answer is that i need to encourage my
ISP to update things on their end it would be good
for me to be able to tell them what they do need to
upgrade.  i'm assuming this is openssl and libssl1.1
...


  songbird



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Erik Christiansen
On 15.08.17 13:33, Nicolas George wrote:
> L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> > If it's no longer part of the base system, then perhaps the system is
> > too base?
> 
> Please ellaborate. Why should ifconfig be part of the base system?

With pleasure. It is the most basic and useful *nix networking tool,
traditional since well back in the last millennium, spanning hp-ux,
sunos, then solaris, and various linux distros, in my experience. Even
if used mostly interrogatively these days, it is the quickest way to
check how "eth0" is currently encrypted, what the IP address is, etc. It
is not anything which needs to be added - we just need busybodies to
refrain from taking it out.

Granted, there's quite a bit of cruft taking up space, like
NetworkMunger. I've been forced to wipe that from several Ubuntu
versions in particular, as networking wouldn't function until I did.
Everything has always been sweet once that was gone. Debian does seem to
have it more under control, though, so I'll trade - leave both.

Erik



Re: Unusual LUKS setup

2017-08-15 Thread Curt
On 2017-08-14, to...@tuxteam.de  wrote:
>
>
> And you are either prey to a God complex (knowing better what's right
> for others) or a helper syndrome. Or both.
>

Christ! What happened to Little Goody Two-Shoes?

-- 
"If you want to build a ship, don’t herd people together to collect
wood and don’t assign them tasks and work, but rather teach them to
long for the endless immensity of the sea." — Antoine de Saint-Exupéry 



Re: No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Nicolas George
L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> If it's no longer part of the base system, then perhaps the system is
> too base?

Please ellaborate. Why should ifconfig be part of the base system?

Regards,

-- 
  Nicolas George



Re: which option can set duration of mencoder?

2017-08-15 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 15, 2017 at 10:57:56AM +, Long Wind wrote:
> i knew -endpos, it's not option i seek
> (maybe my english isn't good enougheven i wrote so many words, i'm still 
> misunderstood)
> arecord has such option: -d 
> it will record for specified time and exit
> mencoder doesn't seem to have such -d

That is right. But with -endpos you can do what you want.

If you start at the beginning, endpos is the same as duration.

If you start at a later point, say t, endpos = duration + t

So I hope you can achieve your aim anyway.

> Thank Tomas anyway!

hoping to help

Cheers
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlmS1ucACgkQBcgs9XrR2ka8XACeKqwEQ4Ainpsj6FbFgFMoMBqy
MfgAnAxSZWEbNXYNHEXzdznwXSDfVNEj
=QbtS
-END PGP SIGNATURE-



Re: [solved] Re: Live recording

2017-08-15 Thread deloptes
> 
> 
> Thanks, I'll have a try.  But can we say that all this allows us to do
> without
> mixer or multi-channel audio interface...?  In fact, I suppose I could
> even add some other USB cards if I wanted to add more instruments, say a
> violin...
> 
> Cheers,
> 
> Rodolfo

there are always some physical limitations, so it depends on your computer,
if it is usb3, how the usb are implemented etc.

you can always try

regards



Re: why time in XP is wrong?

2017-08-15 Thread Erik Christiansen
On 14.08.17 11:08, Long Wind wrote:
> In Debian the timezone for the hardware clock is configured in the
> file /etc/adjtime;
> 
>     0.00 14602224559 0.00
>     1460224559
>     UTC
> 
> Edit /etc/adjtime, and change "UTC" to "LOCAL" if you want the hardware
> clock to be kept at local time instead of UTC. 

I'm all for editing human-readable config files, but /etc/adjtime does
not seem to entirely fit that category. I'd much rather follow the
advice in "man tzselect", i.e. use "dpkg-reconfigure tzdata".

That would leave me more confident that I'd not left loose ends.

Erik



No ifconfig [Was: no /etc/inittab]

2017-08-15 Thread Erik Christiansen
On 14.08.17 16:23, deloptes wrote:
> Erik Christiansen wrote:
> 
> > Now, if that brings back ifconfig as well, I won't have to rummage about
> > finding which package that might be in.
> > 
> 
> $ dpkg -S /sbin/ifconfig
> net-tools: /sbin/ifconfig
> 
> should be installed manually as it is no longer part of the base system
> 
> ... and I thought I learned about systemd too late ... this made my day

Many thanks, deloptes. You made mine, by returning an old friend.
If it's no longer part of the base system, then perhaps the system is
too base?

Erik



Re: which option can set duration of mencoder?

2017-08-15 Thread Darac Marjal

On Tue, Aug 15, 2017 at 06:06:21AM -0400, Cindy-Sue Causey wrote:

On 8/15/17, to...@tuxteam.de  wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 15, 2017 at 05:45:56AM +, Long Wind wrote:

i want to record 60 seconds of tv programi have read mencoder's
manualit's long and have too many optionsi'm unable to find option
i needwhich option should i use to set duration of mencoder?Thanks!


(I broke up long line for other reader's comfort)



That's strange.. Long Wind's original post came across in six lines
for me. It looks like a poem. :)


I suspect the issue is with Long Wind's mailer.

It sent a HTML part which broke the paragraph into several ""s 
(divisions).  is a block-level element, so each one is usually rendered 
as a separate paragraph. This is what gives the poem-like forced-structure.


It also sent a text part which, I suspect, was a "translation" of the 
HTML part. This had the same text, but no line breaks at all. In fact, 
where one line finished, the next line started immediately, leading to 
such neologisms as "programi" and "manualit's" (belonging to manualit?).


If your mailer prefers HTML parts, you probably saw six lines. If it 
prefers text parts, you probably saw one (perhaps wrapped).


--
For more information, please reread.


signature.asc
Description: PGP signature


Re: which option can set duration of mencoder?

2017-08-15 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 15, 2017 at 06:06:21AM -0400, Cindy-Sue Causey wrote:
> On 8/15/17, to...@tuxteam.de  wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > On Tue, Aug 15, 2017 at 05:45:56AM +, Long Wind wrote:
> >> i want to record 60 seconds of tv programi have read mencoder's
> >> manualit's long and have too many optionsi'm unable to find option
> >> i needwhich option should i use to set duration of mencoder?Thanks!
> >
> > (I broke up long line for other reader's comfort)
> 
> 
> That's strange.. Long Wind's original post came across in six lines
> for me. It looks like a poem. :)

Interesting. Judging by your headers [1] you are using Google's gmail
web client. Perhaps the Big G is doing the formatting for you?

> 
> Cindy :)
> -- 
> Cindy-Sue Causey
> Talking Rock, Pickens County, Georgia, USA
> 
> * runs with duct tape *
>

[1] Here are the ones I think relevant, with comments:

   ## this one (the first hop) is Big G receiving the input from your
   ## web browser (note the HTTP):
   Received: by 10.237.33.168 with HTTP; Tue, 15 Aug 2017 03:06:21 -0700 (PDT)

   ## this one (the second hop) is Google's MTA preparing to pass the
   ## buck to Debian's servers:
   Received: by mail-qk0-x232.google.com with SMTP id x191so1895752qka.5
  for ; Tue, 15 Aug 2017 03:06:25 -0700 (PDT)

Disclaimer: sometimes I don't know what I'm doing.
Disclaimer(2): the problem is, I don't know *when* those times are.

Cheers
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlmSyi8ACgkQBcgs9XrR2kaSKwCeJjDaIqT4o27NvikGDV1FBKkh
EucAn1Asvs7t6xVsAxfYXDcdj+lb0MVv
=XTfP
-END PGP SIGNATURE-



Re: which option can set duration of mencoder?

2017-08-15 Thread Cindy-Sue Causey
On 8/15/17, to...@tuxteam.de  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Tue, Aug 15, 2017 at 05:45:56AM +, Long Wind wrote:
>> i want to record 60 seconds of tv programi have read mencoder's
>> manualit's long and have too many optionsi'm unable to find option
>> i needwhich option should i use to set duration of mencoder?Thanks!
>
> (I broke up long line for other reader's comfort)


That's strange.. Long Wind's original post came across in six lines
for me. It looks like a poem. :)

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with duct tape *



Re: dhcp and iptables

2017-08-15 Thread Pascal Hambourg

Le 15/08/2017 à 11:07, Zenaan Harkness a écrit :

On Tue, Aug 15, 2017 at 10:42:42AM +0200, Pascal Hambourg wrote:


DHCP software usually use the raw network interface, by-passing the IP stack 
and iptables rules.


Would one "configure" DHCP firewalling with ebtables


ebtables works only on a bridge, so it requires creating a dummy bridge 
containing the network interface.



or ip


ip for firewalling ?



Re: dhcp and iptables

2017-08-15 Thread Zenaan Harkness
On Tue, Aug 15, 2017 at 10:42:42AM +0200, Pascal Hambourg wrote:
> Le 15/08/2017 à 10:03, Bonno Bloksma a écrit :
> > 
> > Can someone help me to understand this? Why does DHCP work when the iptable 
> > lines looks like in the first example
> 
> DHCP software usually use the raw network interface, by-passing the IP stack 
> and iptables rules.

Would one "configure" DHCP firewalling with ebtables, or ip, or
something else?



Re: dhcp and iptables

2017-08-15 Thread Pascal Hambourg

Le 15/08/2017 à 10:03, Bonno Bloksma a écrit :


Can someone help me to understand this? Why does DHCP work when the iptable 
lines looks like in the first example


DHCP software usually use the raw network interface, by-passing the IP 
stack and iptables rules.




dhcp and iptables

2017-08-15 Thread Bonno Bloksma
Hi,

I have a Linux machine that used to be a router as well so it used to have 
multiple interfaces. My firewall script used to have special lines to not 
accept certain traffic on the outside interface.
Nowadays the machine is just doing DHCP stuff on the internal network and all 
is fine, except.

I was just now looking at my firewall script and noticed I accept DHCP and 
BOOTPS requests from all interfaces except... the only interface I have, but it 
all still  works.
Can someone help me to understand this? Why does DHCP work when the iptable 
lines looks like in the first example

My firewall looks like this:
linein:~#(vm) iptables -L -v
Chain INPUT (policy DROP 49 packets, 5557 bytes)
 pkts bytes target prot opt in out source   destination
 1131 88068 ACCEPT all  --  anyany anywhere anywhere
 state RELATED,ESTABLISHED
2   104 ACCEPT tcp  --  anyany 172.16.0.0/15anywhere
 tcp dpt:ssh
0 0 ACCEPT all  --  lo any anywhere anywhere
160 ACCEPT icmp --  anyany anywhere anywhere
0 0 ACCEPT tcp  --  !eth0  any anywhere anywhere
 tcp dpt:bootps
0 0 ACCEPT udp  --  !eth0  any anywhere anywhere
 udp dpt:bootps

Chain FORWARD (policy DROP 0 packets, 0 bytes)
 pkts bytes target prot opt in out source   destination
0 0 ACCEPT all  --  anyany anywhere anywhere
 state RELATED,ESTABLISHED
0 0 ACCEPT all  --  anyany 172.16.0.0/15anywhere

Chain OUTPUT (policy ACCEPT 1478 packets, 338K bytes)
 pkts bytes target prot opt in out source   destination

As you can see the bootps lines have 0 hits and that is also because they 
accept traffic only from interfaces other than eth0, which happens to be the 
only interface right now, except for lo.
As far as I can determine dhcp/bootps traffic gets accepted by the first line 
with the "state RELATED,ESTABLISHED" part, although that is only an educated 
guess.
Now why would be the case can anyone tell me that?

The funny thing it that once I changed the bootps lines to the proper format 
the bootps lines seem to hit my DHCP requests if I do a ipconfig /renew on my 
Windows machine.

linein:~/newfw#(vm) iptables -L -v
Chain INPUT (policy DROP 1 packets, 229 bytes)
 pkts bytes target prot opt in out source   destination
   41  3424 ACCEPT all  --  anyany anywhere anywhere
 state RELATED,ESTABLISHED
0 0 ACCEPT tcp  --  anyany 172.16.0.0/15anywhere
 tcp dpt:ssh
0 0 ACCEPT all  --  lo any anywhere anywhere
0 0 ACCEPT icmp --  anyany anywhere anywhere
0 0 ACCEPT tcp  --  anyany anywhere anywhere
 tcp dpt:bootps
1   328 ACCEPT udp  --  anyany anywhere anywhere
 udp dpt:bootps

Chain FORWARD (policy DROP 0 packets, 0 bytes)
 pkts bytes target prot opt in out source   destination
0 0 ACCEPT all  --  anyany anywhere anywhere
 state RELATED,ESTABLISHED
0 0 ACCEPT all  --  anyany 172.16.0.0/15anywhere

Chain OUTPUT (policy ACCEPT 42 packets, 7204 bytes)
 pkts bytes target prot opt in out source   destination

Now how can that be if the RELATED,ESTABLISHED line is the first in my iptable? 
The DHCP request should either hit that line and get accepted or get accepted 
by another iptables line or get dropped when the bootps line was wrong. But as 
the bootps lines are the last on my INPUT chain and the policy is DROP I 
don't get it. :-(

Can someone help me to understand this? Why does DHCP work when the iptable 
lines looked like in the first example

Ps. I see I still have some forward lines, I should delete those as well from 
my config but I want to change as little as possible right now to understand 
what is going on.

Bonno Bloksma



Re: testing, upgrade of openssl libssl1.1 ( 1.1.0f-3 => 1.1.0f-4 )

2017-08-15 Thread Kamil Jońca
Sven Hartge  writes:

> Kamil Jońca  wrote:
>> Stephan Seitz  writes:
>
[...]
>
>> It is also break lot of other thigs: for example: my radius server
>> start to refuse to authenticate win8 and win8 clients and android
>> tablets.
>
> Windows 8, too? It would be nice if you could add this to the thread on
Yes, strictly speaking 8.1 (which is even worse)
KJ

-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html



Re: which option can set duration of mencoder?

2017-08-15 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 15, 2017 at 05:45:56AM +, Long Wind wrote:
> i want to record 60 seconds of tv programi have read mencoder's
> manualit's long and have too many optionsi'm unable to find option
> i needwhich option should i use to set duration of mencoder?Thanks!

(I broke up long line for other reader's comfort)

I think you are looking for option -endpos.  Quoting from the manual
page:

  -endpos <[[hh:]mm:]ss[.ms]|size[b|kb|mb]> (also see -ss and -sb)
   Stop at given time or byte position.
   NOTE: Byte position may not be accurate, as it can only
   stop at a frame boundary.  When used in conjunction with
   -ss option, -endpos time will shift forward by seconds
   specified with -ss if not a byte position. In addition it
   may not work well or not at all when used with any of the
   -dump options.

 EXAMPLE:
-endpos 56
 Stop at 56 seconds.
-endpos 01:10:00
 Stop at 1 hour 10 minutes.
-ss 10 -endpos 56
 Stop at 1 minute 6 seconds.
mplayer -endpos 100mb
 Stop playback after reading 100MB of the input file.
mencoder -endpos 100mb
 Encode only 100 MB.

Hope this helps
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlmSobwACgkQBcgs9XrR2kZvRACfdy67X2GTdSg2ADQAXTxzFG5L
oJAAnjNoINQ1HhdkMDOCYT2zuI6BM/Tc
=i9qH
-END PGP SIGNATURE-



Re: [solved] Re: Live recording

2017-08-15 Thread Rodolfo Medina
deloptes  writes:

>> 
>> For human voice, I bought a USB audio card and plugged a third microphone
>> into
>> it.  So now I have:
>> 
>>  mic1 for piano basses; |__ plugged together into the
>>  mic2 for piano highs;  |   above Y cable
>>  mic3 for voice -> -> -> -> plugged into the USB dongle.
>> 
>> Then I do:
>> 
>>  $ sox -t alsa default piano.wav
>> 
>> and, at the same time, on another xterm session,
>> 
>>  $ sox -t alsa wh:2,0 voice.wav
>> 
>> where wh:2,0 is the USB device (do: `arecord -l' first).  This way I get
>> two
>> audio files: piano.wav and voice.wav.  The first one is stereo and the
>> second
>> is mono.  In the end I merge the two together with Audacity.  By default,
>> Audacity puts the mono file just in the middle between left and right
>> channel; but, if you like, you can have it weight more left or more right,
>> in the
>> percentage you want.  I must say that the result is acceptable, and
>> more...
>> 
> Why not do all that directly in Audacity? I am sure it works and it will
> take care of the timing automatically


Thanks, I'll have a try.  But can we say that all this allows us to do without
mixer or multi-channel audio interface...?  In fact, I suppose I could even add
some other USB cards if I wanted to add more instruments, say a violin...

Cheers,

Rodolfo