Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-26-2009, 09:20 PM
|
#1
|
Member
Registered: Feb 2007
Location: TX, USA
Distribution: fedora
Posts: 191
Rep:
|
Internet connection
Hi All,
I am not able to connect to internet, When I type in ifconfig command, it says command not found. Please help.
|
|
|
12-26-2009, 09:26 PM
|
#2
|
Member
Registered: Feb 2007
Location: TX, USA
Distribution: fedora
Posts: 191
Original Poster
Rep:
|
I forgot to say I use Fedora 9.
|
|
|
12-26-2009, 09:49 PM
|
#3
|
Member
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468
Rep:
|
You have to be root to use ifconfig.
To switch to root:
|
|
|
12-27-2009, 08:03 AM
|
#4
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,984
|
Hi,
Quote:
Originally Posted by ongte
You have to be root to use ifconfig.
To switch to root:
|
Says you!
Code:
$ /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:30 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1660 (1.6 KiB) TX bytes:1660 (1.6 KiB)
wlan0 Link encap:Ethernet HWaddr 00:19:7d:5e:e5:20
inet addr:192.168.1.18 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::219:7dff:fe5e:e520/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1618408 errors:0 dropped:0 overruns:0 frame:0
TX packets:429866 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:492715325 (469.8 MiB) TX bytes:101470043 (96.7 MiB)
wmaster0 Link encap:UNSPEC HWaddr 00-19-7D-5E-E5-20-00-00-00-00-00-00-00-00-00-00
UP RUNNING MTU:0 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
As a normal user the command is not in the PATH. Now if you want to say it differently; 'If you want to make system changes then you should be root/superuser'.

|
|
|
12-27-2009, 08:34 AM
|
#5
|
Senior Member
Registered: Sep 2007
Posts: 1,047
Rep:
|
Quote:
Originally Posted by palisetty_suman
I forgot to say I use Fedora 9.
|
System>Administration>Network Setting
|
|
|
All times are GMT -5. The time now is 07:50 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|