Just discovered it's deprecated.
Clearly I haven't used it for a while and have been living under a rock.
for anyone trapped in the time warp it's now -
ip addr show
Just discovered it's deprecated.
Clearly I haven't used it for a while and have been living under a
rock.
And if you're swamped by that overly-complex display, try
ip -brief addr
And if you're swamped by that overly-complex display, try
ip -brief addr
Just discovered it's deprecated.
Clearly I haven't used it for a while and have been living under a rock.
for anyone trapped in the time warp it's now -
ip addr show
For myself, I prefer ip, but maybe because I learned Linux in 2015 and
still ongoing. For me, ip is more reasonable structured.
Just discovered it's deprecated.
for anyone trapped in the time warp it's now -
ip addr show
Here is a blog post on some of the issues why the old-style commands
don’t really work well any more: the way they get info from the
kernel is inefficient, and their traditional function also no longer reflects the reality of how the network stack works
On 9/16/24 19:07, Lawrence D'Oliveiro wrote:
Here is a blog post on some of the issues why the old-style commands
don’t really work well any more: the way they get info from the
kernel is inefficient, and their traditional function also no longer
reflects the reality of how the network stack works
I largely agree with the statement. I've not yet looked at the URL.
What I don't understand is why nobody has written a wrapper that sites
in front of `ip` et al. to be called by the more traditional
`ifconfig` / `route` et al.
Sure, there are differences. But Unix like OSs have used `ifconfig`
for 40+ years to configure the network interface. I see zero reason
to not provide basic functionality in a backward compatible way.
What I don't understand is why nobody has written a wrapper that sites
in front of `ip` et al. to be called by the more traditional `ifconfig`
/ `route` et al.
I’m not sure how that would differ from the ifconfig that exists now.
AFAIK it still works as well as it always did[1], it just can’t
manage some of the more modern stuff.
[1] possibly better; it seems to know about IPv6 now and if memory
serves, it didn’t use to
On Mon, 23 Sep 2024 20:52:22 -0500, Grant Taylor wrote:
What I don't understand is why nobody has written a wrapper that sites
in front of `ip` et al. to be called by the more traditional `ifconfig`
/ `route` et al.
Unnecessary, given you can still install the old commands side by side
with the new ones, and they still work the same old, albeit inefficient,
way, to give the same old output.
If that's true, then creating an ifconfig / route / et al. wrapper
around iproute2 using the new kernel interfaces would probably be better
in the long run.
On 9/24/24 02:29, Richard Kettlewell wrote:
I’m not sure how that would differ from the ifconfig that exists now.
I read somewhere that the way that ifconfig / route / et al. work
interfacing with the kernel differently
and that these different methods are deprecated and will eventually be removed.
AFAIK it still works as well as it always did[1], it just can’t
manage some of the more modern stuff.
It has more to do with the back end in kernel space than it does the
front end in user space.
On Mon, 16 Sep 2024 05:46:29 GMT, Charlie Gibbs wrote:
And if you're swamped by that overly-complex display, try
ip -brief addr
And if you’re trying to parse the output in a script, try adding the “-json” option for more structured output.
File that one under "Things I Wish I Had Known Years Ago".
On Fri, 4 Oct 2024 16:25:56 -0000 (UTC), Jeremy Brubaker wrote:
File that one under "Things I Wish I Had Known Years Ago".
It’s in the man page <https://manpages.debian.org/8/ip.8.en.html>.
On 2024-10-04, Lawrence D'Oliveiro wrote:
On Fri, 4 Oct 2024 16:25:56 -0000 (UTC), Jeremy Brubaker wrote:
File that one under "Things I Wish I Had Known Years Ago".
It’s in the man page <https://manpages.debian.org/8/ip.8.en.html>.
Would that I could read **all** the manpages **and** retain everything. :)
And comprehend. Would that not be a stunning achievement.
Sysop: | Luis Silva |
---|---|
Location: | Lisbon |
Users: | 763 |
Nodes: | 10 (0 / 10) |
Uptime: | 180:10:35 |
Calls: | 111 |
Files: | 46,971 |
Messages: | 11,239 |