Solved

SUSE DHCP Client

Posted on 2001-09-10
4
392 Views
Last Modified: 2013-12-15
I have a SuSE 7.2 dhcp client. In the lease on the server it gets it's lease from, there is only a uid to identify the client, and not a hostname. The lease looks like:

lease 1.2.3.4 {
starts 1 2001/09/10 07:23:02;
ends 4 2001/10/25 07:23:02;
binding state active;
next binding state free;
hardware ethernet 00:99:22:77:55:66;
uid "\001\000\220'}P\344";

How do I get the client to give it's hostname?
It's only the SuSE7. clients that don't give hostnames.



0
Comment
Question by:roelfsch
4 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 6470479
Try adding '-h my-hostname' to the arguments to dhcpcd. I've never used SuSE so I can't tell you exactly where to look for the dhcp commands, but it may be in one of the scripts in /etc/sysconfig/network-scripts.
0
 

Expert Comment

by:CleanupPing
ID: 9086707
roelfsch:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 2

Expert Comment

by:fciii
ID: 9668226
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

PAQd and points forfeited

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

fciii
EE Cleanup Volunteer
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 9710042
PAQed - no points refunded (of 150)

Computer101
E-E Admin
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now