LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-04-2003, 11:40 PM   #1
neozero62
Member
 
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
[root@

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

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
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, 12:36 AM   #3
adz
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, 12:45 AM   #4
Bluesuperman
Member
 
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, 08:47 AM   #5
neozero62
Member
 
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.
-Neo
 
  


Reply



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 01:34 PM
new kernel modem dont work demmylls Linux - General 4 10-08-2003 05:22 AM
After kernel update some things dont work Vencalator Linux - Newbie 9 09-18-2003 04:10 AM
My commands dont work. ifconfig ? slice4e Linux - General 5 05-08-2003 11:51 PM
Things dont work when you dont understand withoutaclue Linux - Newbie 3 03-12-2003 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:04 PM.

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