LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 07-24-2008, 10:26 AM   #1
xdevsg
LQ Newbie
 
Registered: Jul 2008
Posts: 3

Rep: Reputation: 0
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

Last edited by xdevsg; 07-25-2008 at 03:00 AM.
 
Old 07-24-2008, 11:33 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Either run it as root, or use the full path (which is usually /sbin/ifconfig).
 
Old 07-25-2008, 03:06 AM   #3
xdevsg
LQ Newbie
 
Registered: Jul 2008
Posts: 3

Original Poster
Rep: Reputation: 0
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)
 
Old 07-25-2008, 05:42 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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?
 
Old 07-25-2008, 10:37 AM   #5
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,900

Rep: Reputation: 73
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.
 
  


Reply


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
is there an "ifconfig dhcp" command ? nass Linux - General 5 03-28-2007 11:56 AM
ifconfig "command not found" NNP Linux - Networking 2 11-17-2004 12:55 PM
problem using ifup and ifconfig "command not found" sicgixxer Linux - Networking 2 11-11-2004 09:39 PM
ifconfig "command not found"...? GDDYUP Linux - Networking 1 09-30-2001 01:10 AM


All times are GMT -5. The time now is 03:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration