LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-06-2009, 04:29 AM   #1
mbanwi
LQ Newbie
 
Registered: Jul 2009
Posts: 16

Rep: Reputation: 0
cannot connect to internet from centos machine


Hi there
just new to the linux world. struggling to get through this in the shortest time. i have this problem disturbing me, don't know if any one can help.
i just did dual booting on my pc; on one partiton i install windows vista and on the other, i install centOS 5. windows partion can connect to the internet but the centOS 5 cannot. i even tried to change the speed on the network card from 1000mbps to 100mbps on the centos partition but it is refusing to change

Last edited by mbanwi; 07-06-2009 at 04:33 AM.
 
Old 07-06-2009, 05:46 AM   #2
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47
you need not have to change the speed and most of the times the hardware auto-negotiates the speed.
if you say that you are not connected do you mean to say that the link is not up ?

may be from console you can login as root and paste us the output of
# ifconfig -a
this can help us find out issues with the ip addresses ...
 
Old 07-08-2009, 06:28 AM   #3
mbanwi
LQ Newbie
 
Registered: Jul 2009
Posts: 16

Original Poster
Rep: Reputation: 0
i entered the follwing 2 command and got this:

[root@stanley ~]#ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1F:299:18:64
inet addr:192.168.2.5 Bcast:192.168.2.15 Mask:255.255.255.240
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:6 errors:0 dropped:3144420496 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:759 (759.0 b) TX bytes:0 (0.0 b)
Interrupt:177 Base address:0x4000

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:29 errors:0 dropped:0 overruns:0 frame:0
TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2606 (2.5 KiB) TX bytes:2606 (2.5 KiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)


[root@stanley ~]# ethtool eth0
Settings for eth0:
Supported ports: [ FIBRE ]
Supported link modes: 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: Not reported
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: FIBRE
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
Link detected: no
 
Old 07-08-2009, 08:40 PM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,261

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
I think we need to see your network files contents, see Method 3 here: http://www.cyberciti.biz/faq/rhel-ce...configuration/
 
  


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 Connect to Internet; CentOS lucknowm62 Linux - Networking 8 08-26-2007 01:27 PM
connect to internet with vista through a ubuntu machine kelsoge Linux - Newbie 3 05-17-2007 03:08 PM
Live CD Linux Box to connect to Internet via XP machine ? uncle-c Linux - Newbie 5 03-02-2007 09:31 AM
How to Connect to Remote Red Hat 9 Machine Via Internet? shelldinesh Linux - General 3 10-06-2004 12:13 PM
Connect to the internet through a winXP machine TheRepublican Slackware 8 04-08-2004 03:19 PM


All times are GMT -5. The time now is 10:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration