I don't have ifconfig on my new installation of CentOS 5.6, but it is on my server in the cloud. What package contains it? Thanks, John -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities
On 07/15/2011 02:39 PM, John J. Boyer wrote:> I don't have ifconfig on my new installation of CentOS 5.6, but it is on > my server in the cloud. What package contains it? > Thanks, > John >root at vsh02:~# yum provides "*/ifconfig" Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.mirror.nexicom.net * extras: centos.mirror.nexicom.net * updates: centos.mirror.nexicom.net updates/filelists_db | 2.5 MB 00:00 net-tools-1.60-81.el5.x86_64 : Basic networking tools. Repo : base Matched from: Filename : /sbin/ifconfig :) -- Digimer E-Mail: digimer at alteeve.com Freenode handle: digimer Papers and Projects: http://alteeve.com Node Assassin: http://nodeassassin.org "At what point did we forget that the Space Shuttle was, essentially, a program that strapped human beings to an explosion and tried to stab through the sky with fire and math?"
On Fri, July 15, 2011 2:39 pm, John J. Boyer wrote:> I don't have ifconfig on my new installation of CentOS 5.6, but it is on > my server in the cloud. What package contains it?net-tools Make sure /sbin is in the PATH of the account you are using.
On 07/15/11 11:39 AM, John J. Boyer wrote:> I don't have ifconfig on my new installation of CentOS 5.6, but it is on > my server in the cloud. What package contains it?that musthave been a really stripped install. I just installed C6 minimal which was about the most stripped install I've ever seen, and it had /sbin/ifconfig you -are- looking in /sbin/ right? -- john r pierce N 37, W 122 santa cruz ca mid-left coast
On Friday, July 15, 2011 02:46:53 PM John R Pierce wrote:> On 07/15/11 11:39 AM, John J. Boyer wrote: > > I don't have ifconfig on my new installation of CentOS 5.6, but it is on > > my server in the cloud. What package contains it?> you -are- looking in /sbin/ right?/sbin is not by default in a normal user's $PATH. Excerpt below: $ cat /etc/redhat-release CentOS release 5.6 (Final) $ ifconfig -bash: ifconfig: command not found $ su - Password: # ifconfig eth0 Link encap:Ethernet HWaddr ......... .... # exit $ /sbin/ifconfig eth0 Link encap:Ethernet HWaddr .........