LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   internet conncection problem (https://www.linuxquestions.org/questions/linux-networking-3/internet-conncection-problem-251730/)

karan101 11-06-2004 02:50 AM

internet conncection problem
 
Hello people
I just instlled this Fedora Core 3 with seLinux enabled, i do have an ip address when I enter ifconfig -a it gives me inet ip address...but i can't get online...:( don't know why...the other thing is some commads such as ifconfig don't work with my own account not even when i use su root....so i have to logout and login to the root account and then it'll work..anbody knows why...do i have to add any line to the $PATH
thank you very much
Karan

Darin 11-06-2004 05:28 AM

For commands like ifconfig, these are superuser commands and are stored in a seperate directory that normal users don't have in their path. To get them to work when you superuser to root, use a minus sign (type su, a space and then the minus sign):

user@linux ~>$su -

Optionally, you can give the path to the system command, most are in /sbin so typing /sbin/ifconfig would run ifconfig.

n0sr 11-06-2004 05:35 AM

Can you ping to the IP address assigned to your network interface? What is the output of ifconfig and route?


All times are GMT -5. The time now is 10:36 PM.