LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Internet connection (https://www.linuxquestions.org/questions/linux-newbie-8/internet-connection-778254/)

palisetty_suman 12-26-2009 09:20 PM

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.

palisetty_suman 12-26-2009 09:26 PM

I forgot to say I use Fedora 9.

ongte 12-26-2009 09:49 PM

You have to be root to use ifconfig.

To switch to root:
Code:

$ su -

onebuck 12-27-2009 08:03 AM

Hi,

Quote:

Originally Posted by ongte (Post 3805593)
You have to be root to use ifconfig.

To switch to root:
Code:

$ su -

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'.

:hattip:

cola 12-27-2009 08:34 AM

Quote:

Originally Posted by palisetty_suman (Post 3805586)
I forgot to say I use Fedora 9.

System>Administration>Network Setting


All times are GMT -5. The time now is 02:45 PM.