Re: No ifconfig
On Monday 21 August 2017 09:08:11 Christian Seiler wrote:
> Am 2017-08-21 14:50, schrieb Greg Wooledge:
> > [missing features in ifconfig]
> > (Like Gene, I don't even know what those featues *are*.)
>
> From my personal experience, the following two things are
> features I'm actually using regularly and that don't work
> with it:
>
> 1. IPv6 doesn't really work properly (as explained elsewhere
> by other people in this thread)
> 2. Can't add multiple IP addresses to the same interface and
> (worse) even if multiple IP addresses are assigned to the
> same interfaces it only shows the primary address
I don't know as to how ifconfig sets it up, but its a piece of cake to
edit /etc/network/interfaces to do that. If I bring in a new router, I
uncomment this stanza in the interfaces file:
================
#auto eth0:1
# to access reset to 192.168.0.1 routers/switches on the 2nd cat5 port
#iface eth0:1 inet static
#address 192.168.0.3
#netmask 255.255.255.0
==============
giving me an address I can use to talk to and configure the new router.
And I can recall doing it all with a nearly 20yo version of ifconfig the
first time I needed to, following the instructions given to me over the
phone from our network guy at the tv station.
But remembering the arcania of how I did it then, vs the quick edit shown
above, followed by a sudo service networking restart, is for me, buckets
easier.
> (2) is really bad, especially the part where it does not show
> all of the IPs that were assigned by other tools, for example
Huh? ifconfig doesn't even need a -a option to show me eth0:1 if ts
configured and up. It does need the -a if the interface is configured
but down.
> NetworkManager, or Debian's own ifupdown via
> /etc/network/interfaces.
Please don't equate those two. Despite having a dhcpd server configured
in my router, and which my lappy and my kids telephones can use without
any problems, it (N-M) has yet, at this location, to achieve a working
connection for any of my machines. My lappy uses wicd IIRC. N-M will
tear a working connection down and leave you sitting under a bush on a
deserted, .2 acre island. So I long ago learned the usefullness of the
sudo chattr +i filename command as it got done to the various network
related files, in a race to beat N-M's blanking of /etc/resolv.conf.
Fortunately N-M had the great good sense to not load up the logs
complaining about the loss of its access to those files. Lately, its
been made removable, which for me is a "Good Thing".
I agree with the concept of making networking just work, but the concept
and the reality are not even in the same building here. That could even
be my fault because I've never used the first 2 class D 192.168.x.x
addresses for my home network. One more roadblock for the black hats to
climb over, and in 20 years I've not been touched.
> Regards,
> Christian
Cheers Christian, 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 <http://geneslinuxbox.net:6309/gene>
Reply to: