Re: can't ifconfig

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message ----
From: Scroopy <no-reply-gw@xxxxxxxxxxxxxxxx>
To: fedora-list@xxxxxxxxxx
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@xxxxxxxxxxxxxxxx and/or blame nekenamant@xxxxxxxxxxxx

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

On the command prompt you see something like

[olivares@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@localhost ~]$ su -
Password: 
[root@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@localhost ~]# 

or alternatively you can use /sbin/ifconfig as follows

[olivares@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@localhost ~]$

Regards,

Antonio

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

[olivares@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@localhost ~]$ uptime
 08:37:57 up 4 days,  6:57,  2 users,  load average: 0.35, 0.74, 1.03
[olivares@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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux