can't ifconfig

Antonio Olivares olivares14031 at yahoo.com
Fri Jul 20 13:39:46 UTC 2007


----- Original Message ----
From: Scroopy <no-reply-gw at fcp.surfsite.org>
To: fedora-list at redhat.com
Sent: Friday, July 20, 2007 8:22:53 AM
Subject: can't ifconfig

I can not use the ifconfig command.   When I type ifconfig, I get the
following command:

bash: ifconfig: command not found

I then typed the command updatedb

I then typed the command locate ifconfig, which gave me the following
output:

/sbin/ifconfig
/usr/share/man/de/man8/ifconfig.8.gz
/usr/share/man/fr/man8/ifconfig.8.gz
/usr/share/man/man8/ifconfig.8.gz
/usr/share/man/pt/man8/ifconfig.8.gz

Do I need to install ifconfig? If so, how do I do that?


-- 
This is an email sent via The Fedora Community Portal https://fcp.surfsite.org
https://fcp.surfsite.org/modules/newbb/viewtopic.php?post_id=187614&topic_id=41318&forum=34#forumpost187614
If you think, this is spam, please report this to webmaster at fcp.surfsite.org and/or blame nekenamant at hotmail.com.

-- 
----- End of Original Message ----

On the command prompt you see something like

[olivares at localhost ~]$ ifconfig
bash: ifconfig: command not found

To get ifconfig to work you need to become superuser (type su -) on command prompt and ifconfig should work as shown below 

[olivares at localhost ~]$ su -
Password: 
[root at localhost ~]# ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:190 errors:0 dropped:0 overruns:0 frame:0
          TX packets:190 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:34344 (33.5 KiB)  TX bytes:34344 (33.5 KiB)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:66.201.8.31  P-t-P:66.201.8.6  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:1877 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2318 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:795664 (777.0 KiB)  TX bytes:553145 (540.1 KiB)

[root at localhost ~]# 

or alternatively you can use /sbin/ifconfig as follows

[olivares at localhost ~]$ /sbin/ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:190 errors:0 dropped:0 overruns:0 frame:0
          TX packets:190 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:34344 (33.5 KiB)  TX bytes:34344 (33.5 KiB)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:66.201.8.31  P-t-P:66.201.8.6  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:1889 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2328 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:797030 (778.3 KiB)  TX bytes:557222 (544.1 KiB)

[olivares at localhost ~]$

Regards,

Antonio

Linux Counter #381662
http://counter.li.org/
Home Page(s):
http://www20.brinkster.com/olivares/
http://www.geocities.com/olivares14031/

[olivares at localhost ~]$ uname -a
Linux localhost.localdomain 2.6.20-1.2962.fc6 #1 SMP Tue Jun 19 19:27:14 EDT 2007 i686 athlon i386 GNU/Linux
[olivares at localhost ~]$ uptime
 08:37:57 up 4 days,  6:57,  2 users,  load average: 0.35, 0.74, 1.03
[olivares at localhost ~]$ 





       
____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. 
http://mobile.yahoo.com/go?refer=1GNXIC




More information about the fedora-list mailing list