From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2509 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jonathan de Boyne Pollard Newsgroups: gmane.comp.sysutils.supervision.general,gmane.linux.debian.user Subject: Re: No ifconfig Date: Wed, 13 Feb 2019 09:38:04 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------75FD96FB1E962EC39EFE97F7" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="265580"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 Cc: Supervision To: Debian users Original-X-From: supervision-return-2099-gcsg-supervision=m.gmane.org@list.skarnet.org Wed Feb 13 10:40:11 2019 Return-path: Envelope-to: gcsg-supervision@m.gmane.org Original-Received: from alyss.skarnet.org ([95.142.172.232]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1gtr1X-0016wc-Ih for gcsg-supervision@m.gmane.org; Wed, 13 Feb 2019 10:40:11 +0100 Original-Received: (qmail 8673 invoked by uid 89); 13 Feb 2019 09:40:32 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Original-Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 8666 invoked from network); 13 Feb 2019 09:40:32 -0000 X-Originating-IP: [86.10.101.211] X-Authenticated-User: J.deBoynePollard-newsgroups@NTLWorld.COM X-Spam: 0 X-Authority: v=2.3 cv=OO4JIxSB c=1 sm=1 tr=0 a=FQ5CjUvp3JFI4KFGyeqcZw==:117 a=FQ5CjUvp3JFI4KFGyeqcZw==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=xNf9USuDAAAA:8 a=Cc3N9xrbAAAA:8 a=2rVjqWD_AAAA:8 a=DV0MoTXaJpt7Pnw3qOwA:9 a=8W_d5uHqi-xOF4yQ:21 a=2R0wB_orIo_40Th2:21 a=QEXdDO2ut3YA:10 a=dJUPbgwNQrYA:10 a=-FEs8UIgK8oA:10 a=NWVoK91CQyQA:10 a=4-JjJSu39jgvxvzvzmMA:9 a=N50HPMEwDV9Jjv7N:21 a=3JUxGvx29nJ3drM9:21 a=kk29bfeLZjHHDCc-:21 a=_W_S_7VecoQA:10 a=SEwjQc04WA-l_NiBhQ7s:22 a=ULaUcM2Ibn9MdPUUwucP:22 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ntlworld.com; s=meg.feb2017; t=1550050685; bh=xuLS5Thm7VzHapI8xduVPQSFjZo/Eu4YrKcuaDZt3VE=; h=References:Subject:Cc:To:From:Date:In-Reply-To; b=ARpMSOWWagqrKXY6kPmjtLNjT84n/g8EM010nCWtIiZcMcqGBt82y4dUP6g3kKI7S 6XZzuv5VjuAqX2tv6lLJmK7JwZmvHPhrpumKnFbptvZPuxv08XXvy6zJd/kvL019ur fQth7jUSPkJ69nOEKjv2mXj2+e5vcjngWZLZFeEMiZF4PxKkb1mer0BKGWA9uehiPf MbYnyZtRkch3cs6s43hLj7qGWX7OLzZOi4gTMTkWgHlGi9sgww7T5f0VJfpjDVp3up B/oXQUcfvsGqGVfv8MMAophJydaMQE7Q5IqEGvwftTfORuRDBE7P997nSGzc0Dsw3P YLQVMxa3AAkSw== In-Reply-To: X-CMAE-Envelope: MS4wfOgP4GazXC7eWoVDZeKSkyJvMuYpp/99VkP4j0uuoGokzKSFRnF2/6xDUEWHl8nqsMvGxXW3Wb4+T0mCXDF1ibpvi6FajucOJ8itJlAAtILGiqqqsWin lKaLW3d7mIdSYRlb1uCx5wquqQrzHSQvuDTHe+yq8O9AK9ylPKS0X9s8rokmkMJ22t0xyDGZBFql4nz9X4wE2XVO534gatmH1IAIqQZiJZ5u6acQMQpoCa3n iHbBsRf+Pc4TS5ZrDSJMXQ== Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2509 gmane.linux.debian.user:550268 Archived-At: --------------75FD96FB1E962EC39EFE97F7 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit * https://lists.debian.org/debian-user/2017/08/msg01613.html * https://news.ycombinator.com/item?id=17152738 * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=274269 * https://news.ycombinator.com/item?id=17151922 Since I needed an |ifconfig| with a more BSD-like interface /anyway/ so that I didn't have to maintain highly divergent scripts, you are going to gain in the future. |ifconfig| from GNU inetutils : jdebp % inetutils-ifconfig -l enp14s0 enp15s0 lo jdebp % inetutils-ifconfig lo lo Link encap:Local Loopback inet addr:127.0.0.1 Bcast:0.0.0.0 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:9087 errors:0 dropped:0 overruns:0 frame:0 TX packets:9087 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:51214341 TX bytes:51214341 jdebp % |ifconfig| from NET-3 net-tools : jdebp % ifconfig -l ifconfig: option `-l' not recognised. ifconfig: `--help' gives usage information. jdebp % ifconfig lo lo: flags=73 mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 inet6 ::2 prefixlen 128 scopeid 0x80 loop txqueuelen 1000 (Local Loopback) RX packets 9087 bytes 51214341 (48.8 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 9087 bytes 51214341 (48.8 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 jdebp % |ifconfig| from an unreleased version of the nosh toolset : jdebp % ifconfig -l enp14s0 enp15s0 lo jdebp % ifconfig lo lo link up loopback running link address 00:00:00:00:00:00 bdaddr 00:00:00:00:00:00 inet4 address 127.0.0.1 prefixlen 8 bdaddr 127.0.0.1 inet4 address 127.53.0.1 prefixlen 32 bdaddr 127.53.0.1 inet6 address ::2 scope 0 prefixlen 128 inet6 address ::1 scope 0 prefixlen 128 jdebp % FreeBSD |ifconfig| (on a different system) for comparison: JdeBP % ifconfig lo0 lo0: flags=ffde8149 metric 0 mtu 16384 options=600003 inet6 ::2 prefixlen 128 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 inet 127.53.0.1 netmask 0xff000000 nd6 options=61 JdeBP % The |ifconfig| from an unreleased version of the nosh toolset on that other system: JdeBP % ifconfig lo0 lo0 link up loopback drv_running running promisc multicast ppromisc monitor staticarp renaming nd6 performnud auto_linklocal noradr rxcsum txcsum hwcsum rxcsum_ipv6 txcsum_ipv6 link address lo0 metric 0 mtu 16384 type 24 linkstate 0 physical 0 baudrate 0 inet6 address ::2 scope 0 prefixlen 128 inet6 address ::1 scope 0 prefixlen 128 bdaddr ::1 scope 0 inet6 address fe80::1 scope 3 prefixlen 64 inet4 address 127.0.0.1 prefixlen 8 bdaddr 127.0.0.1 inet4 address 127.53.0.1 prefixlen 8 bdaddr 127.53.0.1 JdeBP % --------------75FD96FB1E962EC39EFE97F7--