RE: How to get Linux host name written in Windows DHCP and DNS?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oops...I did not know about that network command...good to know!

OK..here goes:

If I run "host execlinux"? The cursor just returns with no output (if I type the same thing from another machine, I get the error you mentioned).

If I ping the IP address, I get normal returns.

If I "ping -c 5 execlinux", I get "ping: unknown host execlinux"



-----Original Message-----
From: fedora-list-bounces@xxxxxxxxxx
[mailto:fedora-list-bounces@xxxxxxxxxx]On Behalf Of Charles Curley
Sent: Friday, June 29, 2007 1:27 PM
To: For users of Fedora
Subject: Re: How to get Linux host name written in Windows DHCP and DNS?


On Fri, Jun 29, 2007 at 12:54:23PM -0400, Arch Willingham wrote:

> This is sort of a duplicate to what I sent a second ago (our posts
> are passing each other). I did that and then rebooted.

Why reboot? Run "service network restart" instead.

> If I print out /etc/sysconfig/network-scripts/ifcfg-eth0, it looks
> like it takes it:

> # Broadcom Corporation BCM4401 100Base-T
> DEVICE=eth0
> BOOTPROTO=dhcp
> HWADDR=00:08:74:B9:03:5A
> IPV6_AUTOCONF=yes
> ONBOOT=yes
> DHCP_HOSTNAME=execlinux
> TYPE=Ethernet
> USERCTL=no
> IPV6INIT=no
> PEERDNS=yes

Not necessarily. That is info about the network you've put in using
system-config-network.

> 
> If I try to ping it, look what happens:
> [root@tup ~]# ping execlinux

What happens if you run "host execlinux"? If you get something like

    [root@dragon ~]# host execlinux
    Host execlinux not found: 3(NXDOMAIN)

then the host name is not getting into DNS.

What happens when you ping the appropriate IP address? If you get
nothing back from pinging the host name (the apparent resonse here),
that suggests that the host name is set up correctly and you are
getting domain name resolution. However, you should get some sort of
complaint from ping. Try "ping -c 5". That will send five ICMP
packets, and complain if you don't get a response. e.g:

    [root@dragon ~]# ping -c 5 phoenix
    PING phoenix.localdomain (192.168.1.47) 56(84) bytes of data.
    From dragon (192.168.1.4) icmp_seq=2 Destination Host Unreachable
    From dragon (192.168.1.4) icmp_seq=3 Destination Host Unreachable
    From dragon (192.168.1.4) icmp_seq=4 Destination Host Unreachable
    From dragon (192.168.1.4) icmp_seq=5 Destination Host Unreachable

    --- phoenix.localdomain ping statistics ---
    5 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3999ms
    , pipe 3

Phoenix resolved correctly, but the host is down, so it is not
reachable.

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux