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 06-13-2012, 04:15 AM   #1
windstory
Member
 
Registered: Nov 2008
Posts: 486

Rep: Reputation: 36
network problem


My box is scinetific linux 6.2 x64 as guest on virtualbox.

The network icon on system tray is blue - which means works, but I could not connect internet and make ping to gateway.

And I can see "ifcfg-Auto_eth0" at "/etc/sysconfig/network-scripts", but there is "eth0" at "service network restart".


The file "ifcfg-Auto_eth0" at "/etc/sysconfig/network-scripts" is

Code:
TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="Auto eth0"
UUID=0122de11-c786-4fc6-8ef4-92bf654488df
ONBOOT=yes
IPADDR=192.168.0.4
PREFIX=24
GATEWAY=192.168.0.1
DNS1=8.8.8.8
HWADDR=08:00:27:32:0F:09
And the file "ifcfg-eth0" at *"/etc/sysconfig/networking/devices" is

Code:
TYPE=Ethernet
BOOTPROTO=static
IPADDR=192.168.0.4
PREFIX=24
GATEWAY=192.168.0.1
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="eth0"
UUID=d279b508-fa23-4f9f-81c8-d98ae0875eab
ONBOOT=yes
HWADDR=08:00:27:AE:64:B2
DNS2=168.126.63.2
DNS1=168.126.63.1
DEVICE=eth0
USERCTL=yes
And the result of "service network restart" is

Quote:
[root@linux Documents]# service network restart
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface Auto_eth0: Active connection state: activated
Active connection path: /org/freedesktop/NetworkManager/ActiveConnection/17
[ OK ]
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
And I disables firewall and selinux.

Please let me know hot to make internet work.

Thanks in advance.
Attached Thumbnails
Click image for larger version

Name:	20120613_lan_1.jpg
Views:	9
Size:	134.3 KB
ID:	9879   Click image for larger version

Name:	20120613_lan_2.jpg
Views:	11
Size:	128.5 KB
ID:	9880   Click image for larger version

Name:	20120613_lan_3.jpg
Views:	8
Size:	19.9 KB
ID:	9881  
 
Old 06-13-2012, 09:04 PM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
ifconfig -a

ifstat

post output
 
1 members found this post helpful.
Old 06-13-2012, 10:17 PM   #3
windstory
Member
 
Registered: Nov 2008
Posts: 486

Original Poster
Rep: Reputation: 36
amani/

The results of two commands are here.


Quote:
[root@linux Documents]# ifconfig -a
eth4 Link encap:Ethernet HWaddr 08:00:27:32:0F:09
inet addr:192.168.0.4 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe32:f09/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:233 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:726 (726.0 b) TX bytes:93827 (91.6 KiB)

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

[root@linux Documents]# ifstat
bash: ifstat: command not found
 
  


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
[SOLVED] problem: Wind River Linux is not detecting the network cards (network interfaces) NM04 Linux - Newbie 17 12-06-2013 09:06 AM
Wireless network disconnects before unmounting network shares-shutdown problem grahamw Linux - Networking 2 05-10-2011 03:05 AM
Two network interfaces on Ubuntu 10.4.1 caused strange network problem iArash Linux - Networking 1 02-06-2011 05:07 AM
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 07:48 AM
2 network cards, 2 network connections - routing problem tvojvodi Linux - Networking 4 02-24-2004 04:26 PM


All times are GMT -5. The time now is 03:04 AM.

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