LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Help me about "ifconfig" Command(Debian) (https://www.linuxquestions.org/questions/debian-26/help-me-about-ifconfig-command-debian-657981/)

xdevsg 07-24-2008 10:26 AM

Help me about "ifconfig" Command(Debian)
 
Hi, I was installed the Debian etch 4.0 on my laptop, And i have a problem with "ifconfig" command, so when i was use this command the following message were appeared: "bash: ifconfig: command not found"
please help me for this problem
thank you for your help

Nylex 07-24-2008 11:33 AM

Either run it as root, or use the full path (which is usually /sbin/ifconfig).

xdevsg 07-25-2008 03:06 AM

THANKS ,and how can i log in with ROOT user? (in the graphical mode)
and how can i switch to the text mode (without going to graphical mode)

Nylex 07-25-2008 05:42 AM

You just need to "become" root in a terminal, which is done by using the command "su" and entering your root password when prompted. If you want a terminal "outside" of the GUI, then you should be able to use Ctrl+Alt+F[1-6] (my notation "F[1-6]" means F1, F2, ..., F6). Does that answer your question?

carlosinfl 07-25-2008 10:37 AM

Basically to understand why you get this message, /sbin/ifconfig is not in your users environment path. You can add it however I simply just run the entire path of the command since that is what I am use to:

Code:

/sbin/ifconfig eth0
Your hardware maybe different and not labeled eth0 so you can leave that off and view all labeled interfaces on the system. Chances are however eth0 is your first functioning interfaces.


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