Sponsored Content
Full Discussion: HOSTNAME not being applied
Operating Systems Linux SuSE HOSTNAME not being applied Post 302410523 by mark54g on Tuesday 6th of April 2010 08:02:09 AM
Old 04-06-2010
have you tried using the tools "host" and "dig" ?

check your /etc/resolv.conf on the client

Can you ping your nameserver from the client?

What are the contents of your client's /etc/nsswitch.conf?
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Solaris - unknown hostname - how can I change hostname?

Hello, I am new to Solaris. I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Discussion started by: XNOR
1 Replies

2. UNIX and Linux Applications

Where is UNIX applied presently

Can any one of you post the applications of UNIX? (6 Replies)
Discussion started by: chinni1888
6 Replies

3. Emergency UNIX and Linux Support

HP UX - ILO Console hostname different than Machine Hostname...

Hi All, So we added a new HP-UX 11.31 machine. Copied OS via Ignite-UX (DVD)over from this machine called machine_a. It was supposed to be named machine_c. And it is when you log in...however when I'm in the ILO console before logging in, it says: It should say: What gives? And how do... (4 Replies)
Discussion started by: zixzix01
4 Replies

4. UNIX for Advanced & Expert Users

Hostname -f hostname: Unknown host

deleted (0 Replies)
Discussion started by: hce
0 Replies

5. Linux

[archLinux] keymap not applied?

Heyas -Just- installed Arch, and having difficulties to understand why my keyboard layout still is en_US, eventhough i had set it to be de_CH. *UTF-8 obviously* This applies to console AND X. * https://wiki.archlinux.org/index.php/Beginners%27_guide#Console_font_and_keymap *... (0 Replies)
Discussion started by: sea
0 Replies

6. UNIX for Advanced & Expert Users

Bash-Completion, installed but not applied

Heyas For my project TUI i had prepared bash completion. Bash-completion works, at least if i source that file manualy. However, when i'm installing it, it wont apply, not even for new opened terminals. Allthough i had it working once, i dont get why it doesnt work now. <...> + '' +... (0 Replies)
Discussion started by: sea
0 Replies
UDHCPC(8)						 GNU/Linux Administrator's Manual						 UDHCPC(8)

NAME
udhcpc - very small DHCP client SYNOPSIS
udhcpc [OPTION]... DESCRIPTION
The udhcp client negotiates a lease with the DHCP server and executes a script when it is obtained or lost. OPTIONS
-c CLIENTID, --clientid=CLIENTID Send the client identifier CLIENTID. -f, --foreground Do not fork after obtaining a lease. -H HOSTNAME, --hostname=HOSTNAME Send the client hostname HOSTNAME. -h HOSTNAME Alias for -H HOSTNAME. -i INTERFACE, --interface=INTERFACE Configure INTERFACE. -n, --now Exit with failure if a lease cannot be obtained. -p FILE, --pidfile=FILE Write the process ID of the daemon to FILE. -q, --quit Exit after obtaining a lease. -r ADDRESS, --request=ADDRESS Request IP address ADDRESS. -s FILE, --script=FILE Use script FILE. -v, --version Display version. USAGE
When an event occurs, udhcpc executes a script. There are four possible arguments to this script: deconfig deconfig is used when udhcpc starts, and when a lease is lost. The script should put the interface in an up, but deconfigured, state. bound bound is used when udhcpc moves from an unbound to a bound state. The script should configure the interface and set any other rele- vant parameters (e.g., default gateway, dns server, etc.). renew renew is used when udhcpc when a lease is renewed. The interface is already configured, so the IP address will not change. Other parameters (e.g., default gateway, subnet mask, dns server) may. nak nak is used when udhcpc receieves a NAK packet from the server. The enviromental variable $message will contain the reason for the NAK message if the server included one. Processing this message is optional, as the script will also be called with deconfig if need be. Parameters are passed to the script via the following environment variables: HOME The inherited HOME, or "/" if it is unset. PATH The inherited PATH, or "/bin:/usr/bin:/sbin:/usr/sbin" if it is unset. interface The interface. ip The client IP address. siaddr The BOOTP next server option. sname The BOOTP server name option. boot_file The BOOTP boot file option. subnet The subnet mask. timezone The timezone offset from UTC in seconds. router The list of routers. timesvr The list of time servers. namesvr The list of IEN 116 name servers. dns The list of DNS servers. logsvr The list of MIT-LCS UDP log servers. cookiesvr The list of RFC 865 cookie servers. lprsvr The list of LPR servers. hostname The host name. bootsize The length in 512-octet blocks of the bootfile. domain The domain name of the network. swapsvr The client's swap server. rootpath The path of the client's root dist. ipttl The TTL. mtu The MTU. broadcast The broadcast address. ntpsrv The list of NTP servers. wins The list of WINS servers. lease The lease time in seconds. dhcptype The DHCP message type (safely ignored). serverid The server IP address. message Reason for a DHCPNAK. tftp The TFTP server name. bootfile The bootfile name. FILES
/usr/share/udhcpc/default.script Script run when leases are obtained or lost. NOTES
udhcpc responds to the following signals: SIGUSR1 This signal causes udhcpc to renew the current lease or, if it does not have one, obtain a new lease. SIGUSR2 This signal caused udhcpc to release the current lease. GNU
/Linux 2001-09-26 UDHCPC(8)
All times are GMT -4. The time now is 04:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy