ifupdown legacy(?)

Here you can discuss every aspect of Debian. Note: not for support requests!

ifupdown legacy(?)

Postby ptvschkn » 2016-10-19 13:41

Greetings!
The author of Debian Reference marked ifupdown as "legacy".
I can't figure out, what is the nowadays relevant alternative for interfaces configuration.(I mean it.)

https://www.debian.org/doc/manuals/debi ... own_legacy
ptvschkn
 
Posts: 4
Joined: 2016-10-13 21:03
Location: Somewhere, Russia

Re: ifupdown legacy(?)

Postby GarryRicketson » 2016-10-19 14:20

What is the nowadays relevant alternative for interfaces configuration?


https://en.wikipedia.org/wiki/Legacy_system

There is more results, you just need to do some research, and read dome documentatation.
User avatar
GarryRicketson
 
Posts: 3868
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: ifupdown legacy(?)

Postby ptvschkn » 2016-10-19 15:26

GarryRicketson, thank you for you answer,
the statement "The system works satisfactorily, and the owner sees no reason to change it." from the Wikipedia article would, in turn, satisfy me in this case. So far, I've encountered support for wpa_supplicant, hostapd and openvswitch* Debian packages in ifupdown. Despite the documentation being a bit of a mess for ifupdown, so far the ifupdown itself seems very convenient and flexible enough with it's mapping feature and pre/post-up/down scripts.
I still don't get it... I am very confused with ifupdown marked as "legacy" in the Reference, since the term "legacy" implies "outdated". So my question is: did the author of the Reference mean network-manager or did he mean something else, which I am totally missing.
ptvschkn
 
Posts: 4
Joined: 2016-10-13 21:03
Location: Somewhere, Russia

Re: ifupdown legacy(?)

Postby GarryRicketson » 2016-10-19 15:38

Your welcome.
I am very confused with ifupdown marked as "legacy" in the Reference, since the term "legacy" implies "outdated".

----did he mean something else, which I am totally missing.

I don't know really, but it might be a matter of perspective,...I have never thought of "legacy" meaning outdated, at all, in fact , when I see that it is "legacy", I know it probably will work for me, anything
else probably will not work, or is entirely experimental.
User avatar
GarryRicketson
 
Posts: 3868
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: ifupdown legacy(?)

Postby ptvschkn » 2016-10-19 15:54

del
Last edited by ptvschkn on 2016-10-19 16:49, edited 1 time in total.
ptvschkn
 
Posts: 4
Joined: 2016-10-13 21:03
Location: Somewhere, Russia

Re: ifupdown legacy(?)

Postby ptvschkn » 2016-10-19 16:49

Thank you, Garry.
I think, I get your point.
I think, that the Reference means some management system, which name Debian users don't say outloud, and to get the final answer, one should go and dig into this system's current state and it's possible perspectives.
Thanks again!
ptvschkn
 
Posts: 4
Joined: 2016-10-13 21:03
Location: Somewhere, Russia

Re: ifupdown legacy(?)

Postby Head_on_a_Stick » 2016-10-19 20:23

ptvschkn wrote:I can't figure out, what is the nowadays relevant alternative for interfaces configuration.

https://www.debian.org/doc/manuals/debi ... or_desktop

I prefer ifupdown though :)
“Controlling complexity is the essence of computer programming."Brian Kernighan

Please read before posting How to report a problem
User avatar
Head_on_a_Stick
 
Posts: 6489
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: ifupdown legacy(?)

Postby bw123 » 2016-10-19 22:56

I like ifupdown, but I've been using networkmanager because it's nice on the desktop environment. I still have a couple of window manager boxes, and I like ifupdown on them. Networkmangler is a little standoffish, it does it's thing when it wants to, I think it's designed that way, while ifupdown does what you say PDQ! (edit:IF you follow syntax exactly right)

i thought this was an interesting article http://pureperl.blogspot.com/2013/01/th ... e-and.html
jessie/KDE4.14.2 plasma netbook, 3.16.39-1+deb8u2 (2017-03-07) x86_64 GNU/Linux
User avatar
bw123
 
Posts: 2378
Joined: 2011-05-09 06:02
Location: TN_USA

Re: ifupdown legacy(?)

Postby sjukfan » 2016-10-20 23:24

http://www.2daygeek.com/ip-command-exam ... -on-linux/

I have to admit though,
Code: Select all
# ifup eth1

feels a bit easier than
Code: Select all
# ip link set dev eth1 up
Debian Stretch AMD64, Core 2 Quad Q9550
Debian Jessie ARM, NSLU2 Intel IXP420
Debian Sid Powerpc, PowerPC 7447a
User avatar
sjukfan
 
Posts: 359
Joined: 2010-03-01 19:39

Re: ifupdown legacy(?)

Postby millpond » 2016-11-13 08:05

I believe that network-manager relies on systemd - so it would tend to deprecate ifup.

My experience has been that using ifup directly - occasionally made hung the routing tables, particularly when there was a disconnected TUN.
Network-mamager always worked flawlessly.

However, I am currently back to the networking in init.d, which seems to work fine, though could not find the correct interface on its own. It uses ifup.
The script should hopefully be a little better than ifup alone in restoring routing tables, when the VPN is unable to.
millpond
 
Posts: 582
Joined: 2014-06-25 04:56

Re: ifupdown legacy(?)

Postby dust hill resident » 2016-11-22 17:52

ifupdown is the BEST! I appreciate it for its simplicity and ease of use. I use it on all my systems.
User avatar
dust hill resident
 
Posts: 235
Joined: 2007-05-18 13:31

Re: ifupdown legacy(?)

Postby edbarx » 2016-11-26 11:51

I used ifupdown as the workhorse for my simple-netaid-* project. Maybe, it is time to use a custom program to do the dirty work but at Devuan, ifupdown should remain available and independent of SystemD.
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.
User avatar
edbarx
 
Posts: 5378
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E

Re: ifupdown legacy(?)

Postby gmlox » 2016-11-26 20:39

From what I gathered ip tool doesn't only replace ifup and ifdown, but also route, brctl, ifconfig, arp and few others..
This is the same as with iw tool, which replaces iwconfig, iwlist...

Basically, one only only need to use/learn 2 tools, and forget about other tools which are limited on specific tasks.
gmlox
 
Posts: 32
Joined: 2016-11-14 16:41


Return to General Discussion

Who is online

Users browsing this forum: Robertg and 2 guests

fashionable