LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-18-2013, 09:30 PM   #1
Arty Ziff
Member
 
Registered: May 2008
Location: Tacoma, WA
Distribution: CentOS and RHEL
Posts: 124

Rep: Reputation: 15
CentOS - Cant Access Internet


I just upgraded from 5.something to 6.4.

I can not access the Internet via a browser.

I was able to with previous version install.

I am connected to a DSL router.

Any suggestions?
 
Old 08-18-2013, 09:40 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Open a terminal as root. What does 'ifconfig -a' show?
 
Old 08-18-2013, 11:05 PM   #3
Arty Ziff
Member
 
Registered: May 2008
Location: Tacoma, WA
Distribution: CentOS and RHEL
Posts: 124

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by smallpond View Post
Open a terminal as root. What does 'ifconfig -a' show?
[root@localhost ~]# ifconfig -a

eth0

Link encap:Ethernet HWaddr 00:19:D1:A8:25:F0
inet6 addr: fe80::219:d1ff:fea8:25f0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1170 (1.1 KiB) TX bytes:468 (468.0 b)
Interrupt:20 Memory:e0300000-e0320000

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

virbr0

Link encap:Ethernet HWaddr 52:54:00:F4:AF:39
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 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)

virbr0-nic

Link encap:Ethernet HWaddr 52:54:00:F4:AF:39
BROADCAST MULTICAST MTU:1500 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:500
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Last edited by Arty Ziff; 08-18-2013 at 11:23 PM.
 
Old 08-19-2013, 12:02 AM   #4
SAbhi
Member
 
Registered: Aug 2009
Location: Bangaluru, India
Distribution: CentOS 6.5, SuSE SLED/ SLES 10.2 SP2 /11.2, Fedora 11/16
Posts: 665

Rep: Reputation: Disabled
Quote:
eth0

Link encap:Ethernet HWaddr 00:191:A8:25:F0
inet6 addr: fe80::219:d1ff:fea8:25f0/64 Scope:Link


virbr0

Link encap:Ethernet HWaddr 52:54:00:F4:AF:39
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
can you share output from :
Code:
cat /etc/sysconfig/network-scripts/ifcfg-eth0  and ifcfg-virbr0.

also

service NetworkManager status
 
Old 08-31-2013, 05:11 PM   #5
Arty Ziff
Member
 
Registered: May 2008
Location: Tacoma, WA
Distribution: CentOS and RHEL
Posts: 124

Original Poster
Rep: Reputation: 15
Sorry about the delay, I was out of town:

[localhost ~]$ cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
TYPE=Ethernet
UUID=97257198-b746-4f80-8438-eeed9c728891
ONBOOT=no
NM_CONTROLLED=yes
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
HWADDR=00:19:D1:A8:25:F0
PEERDNS=yes
PEERROUTES=yes

[localhost ~]$ cat /etc/sysconfig/network-scripts/ifcfg-virbr0
cat: /etc/sysconfig/network-scripts/ifcfg-virbr0: No such file or directory
 
Old 08-31-2013, 05:39 PM   #6
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Quote:
Originally Posted by Arty Ziff View Post
Sorry about the delay, I was out of town:

[localhost ~]$ cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
TYPE=Ethernet
UUID=97257198-b746-4f80-8438-eeed9c728891
ONBOOT=no
NM_CONTROLLED=yes
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
HWADDR=00:191:A8:25:F0
PEERDNS=yes
PEERROUTES=yes

[localhost ~]$ cat /etc/sysconfig/network-scripts/ifcfg-virbr0
cat: /etc/sysconfig/network-scripts/ifcfg-virbr0: No such file or directory
there is your problem right there. change the onboot from no to yes, then as root run:

Code:
# service network restart
that should get you up and running provided you are in a DHCP LAN. for some reason the default for ethX in RHEL is now off. just make that adjustment and from now on as long as the cable and LAN are functioning including the DHCP server, you should be ok.
 
2 members found this post helpful.
Old 08-31-2013, 06:00 PM   #7
Arty Ziff
Member
 
Registered: May 2008
Location: Tacoma, WA
Distribution: CentOS and RHEL
Posts: 124

Original Poster
Rep: Reputation: 15
Solved...

Bingo.
 
Old 08-31-2013, 09:48 PM   #8
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
glad that helped.
 
  


Reply



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
Enable Wireless & USB Internet Access CentOS 6.3 01010011 Linux - Networking 1 06-26-2013 02:23 PM
[SOLVED] Virtual Box Centos 6.2 x86 Internet Access Issue. dailyoliver Linux - Server 15 03-11-2013 03:19 AM
[SOLVED] CentOS - Internet access vasupraveen29 Linux - Newbie 1 08-16-2012 06:24 AM
access internet in redhat 5.4 & centos 5.5 Srikanth86 Linux - Newbie 3 04-08-2011 06:51 AM
EXACTLY how do I access Internet from CentOS 5.0? michaeltipton2222 Linux - Newbie 2 11-01-2007 02:02 PM

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

All times are GMT -5. The time now is 07:31 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
Open Source Consulting | Domain Registration