Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-05-2003, 12:40 AM   #1
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 103

Rep: Reputation: 15
Angry ifconfig dont work with new kernel

I installed the new kernel on reh hat 9, the install went ok and all, but now if I try to use ifconfig It says this:
bash: ifconfig: command not found

Anyone have any idea on whats going on?
Old 11-05-2003, 01:18 AM   #2
Senior Member
Registered: Oct 2003
Posts: 2,397

Rep: Reputation: 163Reputation: 163
Did you try /sbin/ifconfig? In all the rh versions I've tried /sbin is not in PATH so you have to give the complete path to anything in /sbin which is where ifconfig is located.
Old 11-05-2003, 01:36 AM   #3
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
And make sure you're root. You probably know that since you've used ifconfig before but just making sure.
Old 11-05-2003, 01:45 AM   #4
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
If you are root -- /sbin should ALWAYS be part of your path.

do a "echo $PATH" and see if /sbin if there. If not make sure /etc/profile is adding it in and not /root/.profile is over writing it.
Old 11-05-2003, 09:47 AM   #5
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 103

Original Poster
Rep: Reputation: 15
Ok, The /sbin/ifconfig works. In red hat 6 I have never had to do the /sbin first. I guess something with the new kernel I installed changed it. Thanks for your help.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ifconfig doesn't work woodland56 Linux - Newbie 7 03-09-2005 02:34 PM
new kernel modem dont work demmylls Linux - General 4 10-08-2003 06:22 AM
After kernel update some things dont work Vencalator Linux - Newbie 9 09-18-2003 05:10 AM
My commands dont work. ifconfig ? slice4e Linux - General 5 05-09-2003 12:51 AM
Things dont work when you dont understand withoutaclue Linux - Newbie 3 03-12-2003 10:51 AM

All times are GMT -5. The time now is 07:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration