Live data from Hacker News

Eth0 no more?

lists.us.dell.com

51–53 of 53 posts

Re: Eth0 no more?

#51
post #42

Earlier quoted context omitted.

somewhat OT: > 2. You mean (IIRC) 'ip link show'. ifconfig on linux isn't maintained, and breaks in a bunch of situations (Aliases on VLANs on bonds, for one) This seemingly simple change seems to be taking forever to gain traction; "use `ip` for network config on linux". There is so much googlable stuff instructing one to use ifconfig, route, etc. that it seems to self perpetuate. I often find people telling others…

I used ifconfig until about halfway through last year when someone pointed 'ip' out to me. I kept using ifconfig right up until the point I found that ip didn't require root rights...

Neither needs root privileges to display interface status. Perhaps it's a PATH issue for you - sbin/ is often left out of the PATH for regular users.

Re: Eth0 no more?

#52
post #49

Earlier quoted context omitted.

I agree wholeheartedly that the old tools should be hidden away, and I assume that they haven't been, because that will break more things than the actual renaming of devices. I bet even adding deprecation warnings could cause a ruckus, seeing how many times I've come across `ifconfig | something` both in scripts and people shelling out from other languages. I do wish the distros would just make a clean break, and let…

Then you just make the deprecation warning go to stderr instead of stdout. '|' only redirects stdout.

True - I'm just grasping as straws to come up with an excuse as to why this has gone on for so long.

Re: Eth0 no more?

#53
post #42

Earlier quoted context omitted.

I used ifconfig until about halfway through last year when someone pointed 'ip' out to me. I kept using ifconfig right up until the point I found that ip didn't require root rights...

Neither needs root privileges to display interface status. Perhaps it's a PATH issue for you - sbin/ is often left out of the PATH for regular users.

Fair enough, thanks for the info. I just generally found that I couldn't simply make it work on a standard debian install and assumed it was permissions.

ta

Post reply on HN