No ifconfig [Was: no /etc/inittab]

2017-08-28 Thread Jonathan de Boyne Pollard
Greg Wooledge: 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

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

2017-08-16 Thread Clive Standbridge
> Much less was I trying to criticize you, Oh I didn't think you were :-) > Just trying to raise awareness about (the few) shell variation idiosyncracies > I know about, to help making people's lives easier. Sounds good to me. -- Cheers, Clive

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

2017-08-16 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Aug 16, 2017 at 02:56:01PM +0100, Clive Standbridge wrote: > > > The "declare", OTOH, is pretty Bashist. But it can be replaced by > > a simple "echo": > > True. It was just a convenient way of showing that the variable hadn't > absorbed any

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

2017-08-16 Thread Clive Standbridge
> The "declare", OTOH, is pretty Bashist. But it can be replaced by > a simple "echo": True. It was just a convenient way of showing that the variable hadn't absorbed any white space. Besides, I was just picking up the "Bash can't do it" gauntlet. I'd often prefer awk in such a situation (like

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

2017-08-16 Thread Greg Wooledge
On Wed, Aug 16, 2017 at 11:58:06AM +0200, to...@tuxteam.de wrote: > oldIFS="$IFS"; IFS=': '; ip -o link | while read num interface other; > do echo "$interface"; done; IFS="$oldIFS" ip -o link | while IFS=' :' read -r _ i _; do echo "<$i>"; done There's no need to set IFS globally and

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

2017-08-16 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Aug 16, 2017 at 04:58:24AM -0400, Gene Heskett wrote: > On Wednesday 16 August 2017 03:28:43 Clive Standbridge wrote: > > > oldIFS="$IFS"; IFS=': '; ip -o link | while read num interface other; > > do declare -p interface; done; IFS="$oldIFS"

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

2017-08-16 Thread Gene Heskett
On Wednesday 16 August 2017 03:28:43 Clive Standbridge wrote: > oldIFS="$IFS"; IFS=': '; ip -o link | while read num interface other; > do declare -p interface; done; IFS="$oldIFS" Now thats an interesting bit of bashism, and deeper into it than I have waded. But for this local network, I know

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

2017-08-16 Thread Clive Standbridge
> 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

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

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:

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: >

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: > > > > >

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

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

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

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

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

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:

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

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

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

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,

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.

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

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

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,

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

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

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

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

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

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

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 0

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,

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

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

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

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

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