supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* Re: No ifconfig
       [not found] <bcc38df4-2816-3995-75c2-56cb896ce4e8@NTLWorld.COM>
@ 2019-02-13  9:38 ` Jonathan de Boyne Pollard
  0 siblings, 0 replies; only message in thread
From: Jonathan de Boyne Pollard @ 2019-02-13  9:38 UTC (permalink / raw)
  To: Debian users; +Cc: Supervision

[-- 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 %


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-02-13  9:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bcc38df4-2816-3995-75c2-56cb896ce4e8@NTLWorld.COM>
2019-02-13  9:38 ` No ifconfig Jonathan de Boyne Pollard

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).