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]

 



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

Attachment: pgp2unA26eJkY.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux