LinuxQuestions.org
Visit Jeremy's Blog.
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 02-09-2012, 06:51 PM   #1
sureshpanchanathan
LQ Newbie
 
Registered: Jan 2012
Posts: 16

Rep: Reputation: Disabled
Check network connection is Ok


Hi All,

I was trying to install 11g on Oracle Linux 6.2, as per the document (the document just says execute the below command to check whether network is ok without a result to compare) I executed the following command and got the below result. Please advise whether is there any issue below lines, if any kindly advise how can i fix them. Thanks in advance,

# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT=yes
HWADDR=00:11:43:72:54:8B
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
 
Old 02-09-2012, 07:14 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
That's just the setup for your eth0 NIC. Whether its correct or not is specific to your system.
Have you only got that eth card?
Can you reach any systems on your LAN?
Can you reach google?

Try
Code:
ifconfig
as root or
Code:
/sbin/ifconfig
as non-root and post the result(s)


You'll find this handy http://www.linuxtopia.org/online_boo..._6_deployment/
 
Old 02-09-2012, 10:21 PM   #3
sureshpanchanathan
LQ Newbie
 
Registered: Jan 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Hi,

I am new to Linux and I am learning it. I just installed Oracle Linux 6.2 and wanted to install oracle 11g for learning purpose. Hence its my personal laptop (dual boot with win7). Yes that eth card that comes with inspiron 6000 laptop. I can reach google or any website from linux PC. Thanks

Output of /sbin/ifconfig

eth0 Link encap:Ethernet HWaddr 00:11:43:72:54:8B
inet addr:100.100.0.100 Bcast:100.100.0.255 Mask:255.255.255.0
inet6 addr: fe80::211:43ff:fe72:548b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3119 errors:0 dropped:0 overruns:0 frame:0
TX packets:1053 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1626797 (1.5 MiB) TX bytes:215578 (210.5 KiB)
Interrupt:18

eth1 Link encap:Ethernet HWaddr 00:12:F0:12:C6:1D
inet addr:100.100.0.100 Bcast:100.100.0.055 Mask:255.255.255.0
inet6 addr: fe80::212:f0ff:fe12:c61d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1690 errors:22 dropped:22 overruns:0 frame:0
TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:616058 (601.6 KiB) TX bytes:7346 (7.1 KiB)
Interrupt:17 Base address:0x6000 Memory:dfdfd000-dfdfdfff

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

virbr0 Link encap:Ethernet HWaddr 52:54:00:A4:5C:4E
inet addr:100.100.000.1 Bcast:100.100.100.005 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:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:4999 (4.8 KiB)

Last edited by sureshpanchanathan; 02-10-2012 at 12:30 AM.
 
Old 02-09-2012, 10:43 PM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by sureshpanchanathan View Post
Hence its my personal laptop (dual boot with win7). Yes that eth card that comes with inspiron 6000 laptop. I can reach google or any website from linux PC.
Is "Linux PC" the same computer as "inspiron 6000 laptop"?
 
Old 02-09-2012, 11:02 PM   #5
sureshpanchanathan
LQ Newbie
 
Registered: Jan 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Yes Oracle Linux OS is installed on inspiron 6000 laptop along with win7.
 
Old 02-09-2012, 11:30 PM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
If you "can reach google or any website from linux PC" then the network connection is OK.
 
Old 02-10-2012, 12:31 AM   #7
sureshpanchanathan
LQ Newbie
 
Registered: Jan 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Thanks for the reply
 
  


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
Script to check connection (and restart network if down) mac_phil Linux - Networking 15 06-21-2016 05:59 PM
C program to check if network connection available or not steffin Programming 10 06-08-2011 01:38 PM
inbound connection check saran_redhat Linux - Newbie 2 06-01-2010 11:49 AM
Cron job to check/restart network connection? mac_phil Linux - Networking 6 09-01-2004 01:51 PM
connection speed's, what do I need to check ? bigjohn Linux - Networking 3 12-12-2003 02:04 AM

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

All times are GMT -5. The time now is 12:13 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