LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 06-13-2012, 03:15 AM   #1
windstory
Member
 
Registered: Nov 2008
Posts: 393

Rep: Reputation: 31
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 Images
File Type: jpg 20120613_lan_1.jpg (134.3 KB, 4 views)
File Type: jpg 20120613_lan_2.jpg (128.5 KB, 4 views)
File Type: jpg 20120613_lan_3.jpg (19.9 KB, 3 views)
 
Old 06-13-2012, 08:04 PM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,717

Rep: Reputation: Disabled
ifconfig -a

ifstat

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

Original Poster
Rep: Reputation: 31
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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless network disconnects before unmounting network shares-shutdown problem grahamw Linux - Networking 2 05-10-2011 02:05 AM
Two network interfaces on Ubuntu 10.4.1 caused strange network problem iArash Linux - Networking 1 02-06-2011 04:07 AM
[SOLVED] problem: Wind River Linux is not detecting the network cards (network interfaces) NM04 Linux - Newbie 13 02-04-2011 06:17 AM
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 06:48 AM
2 network cards, 2 network connections - routing problem tvojvodi Linux - Networking 4 02-24-2004 03:26 PM


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