SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I built a DHCPD + DDNS box with Slack10 to replace a Windows 2000 DHCP/DNS server.
The DDNS updates are happening for all the WIndows 2000/XP and RH9 clients in the office, but not for my sole Slackware workstation. In an attempt to figure-out why, I had a look at the dhclient.conf-eth0 file from one of the RH9 clients named "sarg":
Code:
send-host "sarg"
I edited the /etc/dhclient.conf file on my Slack client with the same syntax, but still no joy.
Question: what does RH9 do differently to send it's hostname for DDNS to update? How can I mimic this behavior on my Slack box?
It's really not a huge deal, being that all my Windows and RH9 clients are playing nice with the Slackware DHCP/DDNS server (no more Windows2000 Server! Woohoo!). It would just be gravy if I could get my personal Slack workstation in on the game as well.
I've been meaning to find some good documentation on how to setup DHCP, DNS and other netsork services for Slackware. Would you know of any sources?, cheers.
Originally posted by jymbo I just got in a Dell Lattitude laptop (XP Pro)...plugged it in to the LAN and it's hostname (looks like some funky factory default serial number) was pulled from DHCP and updated in the DNS record. Perfect execution by my Slackware server (aka, "Windows2000 DHCP/DNS server killer".)
Still scratching my head on getting this Slackware workstation to only be as cooperative...
You might be a little ahead of majority's curve... Just giving you a friendly bump, wanna se an answer too.
Thanks, but I already tried that. I think that option is more for DHCP servers that REQUIRE a hostname before a lease will be given, i.e. many dsl services.
It must be something more along the line of the dhclient.conf file, cuz that's what the RH boxen use, probably in addition to the RH dhclient-script.
Try looking in man dhcpcd. You may find the thing you need in there. And you can edit rc.inet1 once you tested it out.
I know that dhcpcd used by Slackware is kinda advance, it can even change your client ID (-I) (default to MAC Address).
maybe you are interested with dhcpcd -h
-h <hostname>
specifies a string used for the hostname option
field when dhcpcd sends DHCP messages. Some DHCP
servers, notably those used by @Home Networks,
require the hostname option field containing a spe_
cific string in the DHCP messages from clients.
Anyway, just have a look in man dhcpcd since that is all that you have.
Originally posted by carboncopy Try using dhcpcd command by itself.
Try looking in man dhcpcd. You may find the thing you need in there. And you can edit rc.inet1 once you tested it out.
I know that dhcpcd used by Slackware is kinda advance, it can even change your client ID (-I) (default to MAC Address).
maybe you are interested with dhcpcd -h
-h <hostname>
specifies a string used for the hostname option
field when dhcpcd sends DHCP messages. Some DHCP
servers, notably those used by @Home Networks,
require the hostname option field containing a spe_
cific string in the DHCP messages from clients.
Anyway, just have a look in man dhcpcd since that is all that you have.
You're awesome, carboncopy...it worked. Thanks a bazillion for pointing-out the obvious.
Originally posted by Joseph_M This isn't the best way to do it. You should properly setup /etc/rc.d/rc.inet1.conf
You need to set DHCP_HOSTNAME[0]="" to your hostname and set USE_DHCP[0]="" to yes.
If that does not work then you have hosed your init scripts and you need to use your backup copy. You have a backup copy right??
This was actually the first logical thing I could think of, but the sendhostname never worked to begin with...hosed init scripts or not. That's when I started poking-around the RH9 init scripts looking for a pattern.
Originally posted by jymbo This was actually the first logical thing I could think of, but the sendhostname never worked to begin with...hosed init scripts or not. That's when I started poking-around the RH9 init scripts looking for a pattern.
If the problem is with your slack machine why are you looking at Red Hat init scripts? The way that Slack and RedHat handle init is totally differrent.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.