LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 03-02-2010, 01:05 PM   #1
vedaprasad
LQ Newbie
 
Registered: Jan 2010
Posts: 20

Rep: Reputation: 0
Question Prob setting up internet in cent-os


Hi guys this is vedaprasad.i moved from ubuntu to cent-os recently,however i am not able to connect to internet, even ifconfig dosent work .can some one please help.

Thanks in advance.
 
Old 03-02-2010, 01:41 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
you need to provide more useful information, i.e. REAL error messages etc. How does ifconfig "not work" for example? Also tell us about the network you're trying to use, what sort of internet access there is etc.
 
Old 03-03-2010, 11:15 AM   #3
vedaprasad
LQ Newbie
 
Registered: Jan 2010
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie View Post
you need to provide more useful information, i.e. REAL error messages etc. How does ifconfig "not work" for example? Also tell us about the network you're trying to use, what sort of internet access there is etc.
It says "command not found"
 
Old 03-03-2010, 12:07 PM   #4
nuwen52
Member
 
Registered: Feb 2009
Distribution: Debian, CentOS 5, Gentoo, FreeBSD, Fedora, Mint, Slackware64
Posts: 208

Rep: Reputation: 46
hey,

Command not found is most likely due to /sbin not being on the default user path (it isn't on my CentOS 5.4 machine). You can just type /sbin/ifconfig. Or, you can change your path to include this.

As for networking not working... More details are needed. But, if you are using Gnome, I would go to system -> Administration -> Network as a first place to check things out.

Last edited by nuwen52; 03-03-2010 at 12:53 PM.
 
Old 03-03-2010, 08:16 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,411

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
If you're working from the cmd line, begin by logging in as root to change network settings.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot access Internet from Vmware guest : Cent O/S when adsl router is bridge mode kumvinod Linux - Networking 0 03-02-2009 12:42 PM
LXer: Windows internet share drops below 90 per cent LXer Syndicated Linux News 0 12-02-2008 02:40 PM
prob in xfree setting, please help!!!!!!!!!!!! daziplqa Linux - Software 2 06-22-2006 12:05 AM
X-window prob - don't understand 'DISPLAY' setting Steerpike Linux - Newbie 1 11-29-2004 08:07 AM
prob setting up ipchains for network(Urgent plse) Brian Workman Linux - Security 3 05-01-2002 04:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration