supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM>
To: Debian users <debian-user@lists.debian.org>
Cc: Supervision <supervision@list.skarnet.org>
Subject: Re: No ifconfig
Date: Wed, 13 Feb 2019 09:38:04 +0000	[thread overview]
Message-ID: <eebb5130-1236-577f-236e-175e76bc0193@NTLWorld.COM> (raw)
In-Reply-To: <bcc38df4-2816-3995-75c2-56cb896ce4e8@NTLWorld.COM>

[-- Attachment #1: Type: text/plain, Size: 3515 bytes --]

  *

    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 
<https://packages.debian.org/en/sid/inetutils-tools>:

    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 
<https://packages.debian.org/en/sid/net-tools>:

    jdebp % ifconfig -l
    ifconfig: option `-l' not recognised.
    ifconfig: `--help' gives usage information.
    jdebp % ifconfig lo
    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
             inet 127.0.0.1  netmask 255.0.0.0
             inet6 ::1  prefixlen 128  scopeid 0x10<host>
             inet6 ::2  prefixlen 128  scopeid 0x80<compat,global>
             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 
<http://jdebp.eu./Softwares/nosh/>:

    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<UP,LOOPBACK,RUNNING,PROMISC,MULTICAST,PPROMISC,MONITOR,STATICARP> metric 0 mtu 16384
         options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
         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<PERFORMNUD,AUTO_LINKLOCAL,NO_RADR>
    JdeBP %

The |ifconfig| from an unreleased version of the nosh toolset 
<http://jdebp.eu./Softwares/nosh/> 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 %


           reply	other threads:[~2019-02-13  9:38 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <bcc38df4-2816-3995-75c2-56cb896ce4e8@NTLWorld.COM>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=eebb5130-1236-577f-236e-175e76bc0193@NTLWorld.COM \
    --to=j.deboynepollard-newsgroups@ntlworld.com \
    --cc=debian-user@lists.debian.org \
    --cc=supervision@list.skarnet.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).