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.