View previous topic :: View next topic |
Author |
Message |
jbmohler n00b
Joined: 23 Mar 2004 Posts: 29
|
Posted: Thu May 24, 2007 9:40 pm Post subject: dhcpcd & domain names (-D switch) [SOLVED] |
|
|
The installation guide recommends the use of
in the networking section. The "-D" switch is not supported in dhcpcd 3.x. This would seem to be a bug in the documentation (especially since dhcpcd 3.x appears to be the recommended dhcp client).
However, I want the feature enabled by "-D" in dhcpcd 2.x. This is that the domainname of the client is set per the dhcp server's information.
What's the recommended way to do this? I find the miss-matched documentation and missing (?) feature quite perplexing since according to http://dhcpcd.berlios.de/, the developer of dhcpcd 3.x is a gentoo dev!
Thanks for any help!
Joel
Last edited by jbmohler on Fri May 25, 2007 2:38 pm; edited 2 times in total |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
jbmohler n00b
Joined: 23 Mar 2004 Posts: 29
|
Posted: Fri May 25, 2007 12:46 pm Post subject: |
|
|
Thanks for the reply. I deduce from it that there is no analogue of the 2.x -D option in the new version. Therefore, there is no way to do what I wanted to do.
However, I guess I'm supposed to set things like
Code: | nis_domain_eth0="my.domain.com"
nis_domain_ESSID="my.domain.com"
|
in my /etc/conf.d/net. I have done this and upgraded to 3.x and my desired functionality is restored. However, it seems sensible to me to not have to specify this on the client -- i.e. to have the server send out my domain name.
Perhaps I should say, I wanted the domain name set which is used to "authenticate" nfs requests. That is, my internal lan domain is "home.kiwistrawberry.us" and I have "*.home.kiwistrawberry.us" allowed to mount my nfs server's shared stuff. All-in-all, that's a pathetic ugly way to do that probably. I really need to find a sensible alternative to nfs, but I fear there is none.
--
Joel |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
jbmohler n00b
Joined: 23 Mar 2004 Posts: 29
|
Posted: Fri May 25, 2007 1:48 pm Post subject: |
|
|
Yes, that seems like a most reasonable suggestion. It seems that my dhcp server (dnsmasq) doesn't provide a way to do that. The man-page does not any knowledge of nis domains that I could find.
My current config is functional. I'll probably revisit the matter of a dhcp server that serves the nis domain later as time and ambition allow.
Thanks
Joel |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
jbmohler n00b
Joined: 23 Mar 2004 Posts: 29
|
Posted: Fri May 25, 2007 2:38 pm Post subject: |
|
|
That did it. I was afraid it might be something cryptic like that!
Thanks a bunch for your patience with my lack of domain name understanding
--
Joel |
|
Back to top |
|
|
|