On 03/31/2011 04:34 PM, reg(a)dwf.com wrote:
> <reg<at> dwf.com> writes:
>
>> ...
>
> Show us full/unedited outputs:
> $ yum list installed "*network*"
> $ chkconfig --list |grep -i network
> $ /etc/init.d/network status
>
> $ cat /etc/sysconfig/network
> $ ls /etc/sysconfig/network-scripts/*eth*
> $ cat /etc/sysconfig/network-scripts/ifcfg-eth0
>
> $ ifconfig -a
> $ route -n
>
> $ grep -i host /etc/nsswitch.conf
> $ cat /etc/host.conf
> $ cat /etc/hosts
>
> $ dig
www.yahoo.com
> $ dig 87.248.122.122
>
>
OK, this is going to be interesting, since I cant get the output from the F14
machine to the machine Im posting from over the network. Hopefully, I
can write it to a USB stick and transfer it, here we go:
yum list installed "*network*"
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Installed Packages
NetworkManager.x86_64 1:0.8.1-9.git20100831.fc14
@anaconda-InstallationRepo-201010211827.x86_64
NetworkManager-glib.x86_64 1:0.8.1-9.git20100831.fc14
@anaconda-InstallationRepo-201010211827.x86_64
NetworkManager-gnome.x86_64 1:0.8.1-9.git20100831.fc14
@anaconda-InstallationRepo-201010211827.x86_64
NetworkManager-openconnect.x86_64 0.8.1-1.fc14
@anaconda-InstallationRepo-201010211827.x86_64
NetworkManager-openvpn.x86_64 1:0.8.1-1.fc14
@anaconda-InstallationRepo-201010211827.x86_64
NetworkManager-pptp.x86_64 1:0.8.1-1.fc14
@anaconda-InstallationRepo-201010211827.x86_64
NetworkManager-vpnc.x86_64 1:0.8.1-1.fc14
@anaconda-InstallationRepo-201010211827.x86_64
system-config-network.noarch 1.6.1-1.fc14
@anaconda-InstallationRepo-201010211827.x86_64
system-config-network-tui.noarch 1.6.1-1.fc14
@anaconda-InstallationRepo-201010211827.x86_64
chkconfig --list | grep -i network
NetworkManager 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
/etc/init.d/network status
Configured devices:
lo eth0
Currently active devices:
lo eth0
cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=mythtv-fe
NTPSERVERARGS=iburst
NETWORKING_IPV6=no
cat /etc/sysconfig/network-scripts/ifcfg-eth0
NETWORKING=yes
HOSTNAME=mythtv-fe
NTPSERVERARGS=iburst
NETWORKING_IPV6=no
[root@mythtv-fe reg]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
NM_CONTROLLED=no
ONBOOT=yes
TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
HWADDR=00:19:D1:75:E3:3E
IPADDR=192.168.64.99
PREFIX=24
GATEWAY=192.168.64.10
DNS1=192.168.64.10
Really? Your DNS server is also your default gateway? That's not
common.
DOMAIN=dwf.com
NETMASK=255.255.255.0
USERCTL=no
ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:19:D1:75:E3:3E
inet addr:192.168.64.99 Bcast:192.168.64.255 Mask:255.255.255.0
inet6 addr: fe80::219:d1ff:fe75:e33e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:41 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:3978 (3.8 KiB) TX bytes:13541 (13.2 KiB)
Interrupt:20 Memory:52200000-52220000
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:131 errors:0 dropped:0 overruns:0 frame:0
TX packets:131 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12612 (12.3 KiB) TX bytes:12612 (12.3 KiB)
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.64.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
0.0.0.0 192.168.64.10 0.0.0.0 UG 0 0 0 eth0
grep -i host /etc/nsswitch.conf
#hosts: db files nisplus nis dns
hosts: files dns
cat /etc/host.conf
multi on
order hosts,bind
cat /etc/hosts
127.0.0.1 localhost.localdomain localhost localhost4
::1 localhost6.localdomain6 localhost6
192.168.64.99
mythtv-fe.dwf.com mythtv-fe
dig
www.yahoo.com
;<<>> DiG 9.7.2-P2-RedHat-9.7.2-2.P2.fc14<<>>
www.yahoo.com
;; global options: +cmd
;; connection timed out; no servers could be reached
dig 87.248.122.122
;<<>> DiG 9.7.2-P2-RedHat-9.7.2-2.P2.fc14<<>> 87.248.122.122
;; global options: +cmd
;; connection timed out; no servers could be reached
---
Thats about it.
Hope it shows you something.
Can you ping your gateway?
# ping 192.168.64.10
If that works, then your machine's network is running. Try pinging
an external IP address, such as:
# ping 2.17.144.112
(2.17.144.112 is
www.redhat.com). If that works, then your networking
is functional. Next, verify your gateway is actually running a DNS
server, as your dig output simply indicates that you can't reach the
DNS server you specified.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting ricks(a)nerd.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- I'm afraid my karma just ran over your dogma -
----------------------------------------------------------------------