You are not logged in.

#1 2011-06-09 14:55:20

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

No ifconfig Package?

I just installed Arch Linux on a workstation I'm using at work and did a fresh install from the 'netinst' CD. I noticed once the machine was up and running that I had to way to view my interface configuration:

[root@slave ~]# ifconfig eth0
-bash: ifconfig: command not found
[root@slave ~]# /sbin/ifconfig eth0
-bash: /sbin/ifconfig: No such file or directory
[root@slave ~]# which ifconfig
which: no ifconfig in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl)

How did I manage to not install 'ifconfig' package?


./

Offline

#2 2011-06-09 14:56:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: No ifconfig Package?

Offline

#3 2011-06-09 15:11:03

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: No ifconfig Package?

yup. use

ip addr

Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#4 2011-06-09 15:16:56

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: No ifconfig Package?

OK thank you. So I must install net-tools to get the 'ifconfig' package and 'net-tools' should be avoided, right?


./

Offline

#5 2011-06-09 15:23:18

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: No ifconfig Package?

Carlwill wrote:

OK thank you. So I must install net-tools to get the 'ifconfig' package and 'net-tools' should be avoided, right?

Yes. net-tools are still present to prevent scripts from breaking I suppose but you should switch to 'ip addr' as Inxsible pointed.

Offline

#6 2011-06-09 15:30:35

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: No ifconfig Package?

Just wondering if this command [ip addr] is also functional in distributions like RHEL & Debian Linux? I've never used the 'ip addr' command before in a bash system.


./

Offline

#7 2011-06-09 15:42:11

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: No ifconfig Package?

Carlwill wrote:

Just wondering if this command [ip addr] is also functional in distributions like RHEL & Debian Linux? I've never used the 'ip addr' command before in a bash system.

A similar discussion, but focusing on 'hsstname': https://bugs.archlinux.org/task/24647#comment78365

Last edited by karol (2011-06-09 15:44:20)

Offline

#8 2011-06-09 16:57:25

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: No ifconfig Package?

Carlwill wrote:

Just wondering if this command [ip addr] is also functional in distributions like RHEL & Debian Linux? I've never used the 'ip addr' command before in a bash system.

At least for centos 5 it works, I'd say that the "new" tools will start to be used by "conservative" distros if the "current" one are not maintained anymore.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#9 2011-06-09 19:39:58

marvn
Member
From: Prague
Registered: 2010-01-05
Posts: 84

Re: No ifconfig Package?

Carlwill wrote:

Just wondering if this command [ip addr] is also functional in distributions like RHEL & Debian Linux? I've never used the 'ip addr' command before in a bash system.

I haven't used iproute2 commands before as well, but as net-tools are depracted, I guess we'll have to learn them at some point. Here is some quick guide which might come handy: http://whodat.be/iproute2-cheatsheet-an … nce-guide/

and yeah, iproute is in both redhat 6 http://rpm.pbone.net/index.php3/stat/4/ … 6.rpm.html and in debian stable http://packages.debian.org/squeeze/iproute


core i5 4590, x86_64, nvidia 970

Offline

#10 2011-09-01 21:19:09

wolf_1611
Member
Registered: 2011-09-01
Posts: 1

Re: No ifconfig Package?

I created a forum account just to comment on this thread. First of all: I LOVE ARCH. It's a great system that's helped me to learn SO MUCH about linux that I would not have learned otherwise... I like to truly give thanks to all who make this project possible. Okay, now that I have that out in the open:

Who decided that the net-tools package, or at the very least ifconfig, was no longer worthy of being installed by default? Let me share an example of what just happened to me: During a fresh setup, I made a typo in rc.conf regarding my eth0 subnet. Having not realized this initially, I was not able to connect via pacman to install net-tools an have just spent about an hour trying to understand how in the heck to configure my interface from the shell manually using this "ip addr" command that I previously never knew existed. (Sometimes I don't actually WANT to use the rc.conf file if I'm performing a temporary test of some functionality or want an on-the-fly fix, call me old fashioned...). Now the disclaimer is: Yes, I realize I could have edited the rc.conf file and restarted, but that's not what this post is about. What is IS about is the choice to  dis-include a long standing and highly important command that many perceive as "part" of the base-linux-install, if only for the fact that it's been the primary tool to accomplish these activities for so long now, and when a highly used package such as this is simply 404, it can be very distressing to the user if they aren't informed in advance. To be fair, I read the post about how ifconfig is old and going away, or rather, that it won't have any 'new features' added to it. But reality dictates that most people don't use ifconfig for it's fancy new featuresets, they use it because it's SIMPLE and it JUST WORKS. Do we really need ifconfig to configure our interfaces AND do our laundry for us too? I don't know about you, but that's what I have a girlfriend for....

Maybe you should put up a red flag for the user at the time of install such as "Hey (user), you know we just switched to this different network config method, so in case you aren't familiar with the new method would you like to have the old installed as well?". THAT would have been nice.

Great OS, poor design choice in this instance,
-two cents-

-wolf

Offline

#11 2011-09-01 21:27:30

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: No ifconfig Package?

The devs decide what's being used and what's being dropped and I've read it didn't "just work" even if it appeared so from the user's point of view.
The choice is left to the user, net-tools are still available and are included on the CD https://wiki.archlinux.org/index.php/De … 2011.08.19

Offline

#12 2011-09-02 00:21:53

laloch
Member
Registered: 2010-02-04
Posts: 186

Re: No ifconfig Package?

wolf_1611 wrote:

To be fair, I read the post about how ifconfig is old and going away, or rather, that it won't have any 'new features' added to it. But reality dictates that most people don't use ifconfig for it's fancy new featuresets, they use it because it's SIMPLE and it JUST WORKS

It's not only about fancy new features. The latest stable net-tools release (1.60) is Linux 2.2/glibc 2.2 antique. It's only a matter of time before the tools themselves or their build stops working (btw, it doesn't "just work" already). Besides, the iproute2 package is around for more than 10 years, so most of people could be used to it by now.

Offline

#13 2011-10-22 20:41:56

greenfish
Member
From: eating fish in /dev/null
Registered: 2008-08-30
Posts: 229

Re: No ifconfig Package?

Just wanted to vent my frustration as well.

Been stuck at this ********* prompt now, it wasn't until I managed to find this thread using my iphone and their network.

I hate it, really really really hate it when legacy applications/commands get's moved or worse deleted.

I've been using ifconfig since 2005, don't care about anything else.

Tell me are linux gurus now using iproute2 over net-tools?????

marvn, thanks for the guide, my network is now up and running using this convoluted method

Last edited by greenfish (2011-10-22 20:46:00)


ARCH64 archSKYNET server AMD  Phenom(tm) II X2 550 HDD 6TB Ram 8GB
Hobbies: Running, Pistol Marksmanship, Classic Music

Offline

#14 2011-10-22 20:49:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: No ifconfig Package?

greenfish wrote:

Just wanted to vent my frustration as well.

Been stuck at this ********* prompt now, it wasn't until I managed to find this thread using my iphone and their network.

I hate it, really really really hate it when legacy applications/commands get's moved or worse deleted.

I've been using ifconfig since 2005, don't care about anything else.

Tell me are linux gurus now using iproute2 over net-tools?????

marvn, thanks for the guide, my network is now up and running using this convoluted method

Read the news: http://www.archlinux.org/news/deprecation-of-net-tools/ and the wiki and you should be fine.

Offline

#15 2011-10-22 20:51:22

greenfish
Member
From: eating fish in /dev/null
Registered: 2008-08-30
Posts: 229

Re: No ifconfig Package?

karol wrote:
greenfish wrote:

Just wanted to vent my frustration as well.

Been stuck at this ********* prompt now, it wasn't until I managed to find this thread using my iphone and their network.

I hate it, really really really hate it when legacy applications/commands get's moved or worse deleted.

I've been using ifconfig since 2005, don't care about anything else.

Tell me are linux gurus now using iproute2 over net-tools?????

marvn, thanks for the guide, my network is now up and running using this convoluted method

Read the news: http://www.archlinux.org/news/deprecation-of-net-tools/ and the wiki and you should be fine.

Wow, wasn't even aware they had the entire archive sorted by date, super function!


Thank You!!

Rep to you sir!

Last edited by greenfish (2011-10-22 20:52:33)


ARCH64 archSKYNET server AMD  Phenom(tm) II X2 550 HDD 6TB Ram 8GB
Hobbies: Running, Pistol Marksmanship, Classic Music

Offline

#16 2011-11-23 23:39:27

venancio
Member
From: GZ
Registered: 2011-03-26
Posts: 3

Re: No ifconfig Package?

Thanks for this post! ;-)


Nox Coolbay Window | OCZ ModZStream PRO 500W Modular | Asus M4A785 TD-V EVO | AMD Phenom II x4 955 BE 3,2Ghz | Mushkin Blackline 10666 DDR3 1333 4GB 2x2GB CL7 | Western Digital caviar Black 500GB | BenQ G920Wl LED 19" -- OS: Archlinux x86_64 KDE 4.6.1

Offline

#17 2011-12-10 17:55:38

IlPrincipino
Member
Registered: 2010-06-10
Posts: 61

Re: No ifconfig Package?

Good post !

Last edited by IlPrincipino (2011-12-10 17:56:42)

Offline

#18 2018-08-27 14:39:10

jricha36
Member
Registered: 2018-08-27
Posts: 1

Re: No ifconfig Package?

although it is good to keep the distro current, it is also good to know what tools which are part of the distro are broken by this change. One example is "cylon" . The network testing is based on ifconfig. is repairing cylon part of the change we users can expect?

Offline

#19 2018-08-27 14:50:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,278

Re: No ifconfig Package?

The package (as has been mentioned it's in net-tools) still exists, and you shouldn't necrobump 7 year old topics. Furthermore no one in any official capacity will do anything to fix an AUR package, if the package is missing a dep, take it up with the AUR maintainer.

Though as that person seems to be the developer, if find it unlikely that this would be missing if it was any integral part of the software.

https://wiki.archlinux.org/index.php/Co … bumping.22

Closing.

Last edited by V1del (2018-08-27 14:53:20)

Offline

Board footer

Powered by FluxBB