[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
** Changed in: dhcp3 (Debian) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dhcp3 in Ubuntu. https://bugs.launchpad.net/bugs/10239 Title: dhcp3-client: Does not send hostname to server by default To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dhcp3/+bug/10239/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
** Changed in: dhcp3 (Debian) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/10239 Title: dhcp3-client: Does not send hostname to server by default To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dhcp3/+bug/10239/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
i don't know toomuch about these things and am completely new to ubuntu...but...i have been hacked for 4 years and, among other things am on a network controlled by others who set permissions, global policy etc and hide themselves effectively..so nothing new here -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dhcp3 in Ubuntu. https://bugs.launchpad.net/bugs/10239 Title: dhcp3-client: Does not send hostname to server by default To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dhcp3/+bug/10239/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
i don't know toomuch about these things and am completely new to ubuntu...but...i have been hacked for 4 years and, among other things am on a network controlled by others who set permissions, global policy etc and hide themselves effectively..so nothing new here -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/10239 Title: dhcp3-client: Does not send hostname to server by default To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dhcp3/+bug/10239/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
Wow. A 6+ year old bug in basic network connectivity. My home router runs DD-WRT with DNSMasq enabled which ...is designed to provide DNS and, optionally, DHCP, to a small network. It can serve the names of local machines which are not in the global DNS. But DNSMasq was unable to resolve a hostname for my Ubuntu 10.10 machine, thus other machines failed to locate it. This broke BackupPC for me as it could never resolve the hostname and gave errors like this: Error: Can't find IP address for [myHostname] [myHostname] is a DHCP host, and I don't know its IP address. I checked the netbios name of [myIP_Address], and found that that machine is not [myHostname]. Until I see [myHostname] at a particular DHCP address, you can only start this request from the client machine itself. I checked /etc/dhcp3/dhclient.conf and it already contained: send host-name hostname; However, as mentioned in comment #47, adding the following after that line made it work for me: send fqdn.server-update on Now my router knows my hostname and I can ping it (by hostname) from other machines. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dhcp3 in ubuntu. https://bugs.launchpad.net/bugs/10239 Title: dhcp3-client: Does not send hostname to server by default -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
Wow. A 6+ year old bug in basic network connectivity. My home router runs DD-WRT with DNSMasq enabled which ...is designed to provide DNS and, optionally, DHCP, to a small network. It can serve the names of local machines which are not in the global DNS. But DNSMasq was unable to resolve a hostname for my Ubuntu 10.10 machine, thus other machines failed to locate it. This broke BackupPC for me as it could never resolve the hostname and gave errors like this: Error: Can't find IP address for [myHostname] [myHostname] is a DHCP host, and I don't know its IP address. I checked the netbios name of [myIP_Address], and found that that machine is not [myHostname]. Until I see [myHostname] at a particular DHCP address, you can only start this request from the client machine itself. I checked /etc/dhcp3/dhclient.conf and it already contained: send host-name hostname; However, as mentioned in comment #47, adding the following after that line made it work for me: send fqdn.server-update on Now my router knows my hostname and I can ping it (by hostname) from other machines. -- You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. https://bugs.launchpad.net/bugs/10239 Title: dhcp3-client: Does not send hostname to server by default -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
Dec. 2010; bug is still present in Mint Linux Debian Edition. A nice way to fix this would be to modify dhclient, adding a function to its Data Expression parser called, something like, hostname that would simply return the client's hostname. Or, solve this and the whole class of related problems in one blow by adding a more generic function called shell, which would take a shell command string as its argument and return the string output to stdout as its result. With such a shell function, one could simply add the following to the dhclient.conf file: send host-name = shell hostname -s #the -s suppresses any domain name Such functions would be straightforward extensions. See man page dhcp- eval.5 for details on Data Expressions. I don't understand the earlier comment that the program doesn't work this way But, given that the upstream maintainers do not seem to be readily accepting patches, I have resorted to the simple hack of rewriting the dhclient.conf file just before dhclient starts. # mv /etc/dhcp/dhclient.conf /etc/dhcp/dhclient.base # mv /sbin/dhclient /sbin/dhclient.original # save the attached script to /sbin/dhclient # chmod +x /sbin/dhclient After you do this, just remember that dhclient.conf will be rewritten. Make any configuration changes in dhclient.base instead. If the upstream devs indicate that they are interested in accepting the Data Function patches described above, I would be willing to submit them. However, I won't investigate further until the basic idea is discussed and accepted. Otherwise, the effort is just wasting everyone's time. (mostly mine :-) ** Attachment added: Script automate sending current hostname by rewriting dhclient.conf https://bugs.launchpad.net/debian/+source/dhcp3/+bug/10239/+attachment/1765383/+files/dhclient -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dhcp3 in ubuntu. https://bugs.launchpad.net/bugs/10239 Title: dhcp3-client: Does not send hostname to server by default -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
Dec. 2010; bug is still present in Mint Linux Debian Edition. A nice way to fix this would be to modify dhclient, adding a function to its Data Expression parser called, something like, hostname that would simply return the client's hostname. Or, solve this and the whole class of related problems in one blow by adding a more generic function called shell, which would take a shell command string as its argument and return the string output to stdout as its result. With such a shell function, one could simply add the following to the dhclient.conf file: send host-name = shell hostname -s #the -s suppresses any domain name Such functions would be straightforward extensions. See man page dhcp- eval.5 for details on Data Expressions. I don't understand the earlier comment that the program doesn't work this way But, given that the upstream maintainers do not seem to be readily accepting patches, I have resorted to the simple hack of rewriting the dhclient.conf file just before dhclient starts. # mv /etc/dhcp/dhclient.conf /etc/dhcp/dhclient.base # mv /sbin/dhclient /sbin/dhclient.original # save the attached script to /sbin/dhclient # chmod +x /sbin/dhclient After you do this, just remember that dhclient.conf will be rewritten. Make any configuration changes in dhclient.base instead. If the upstream devs indicate that they are interested in accepting the Data Function patches described above, I would be willing to submit them. However, I won't investigate further until the basic idea is discussed and accepted. Otherwise, the effort is just wasting everyone's time. (mostly mine :-) ** Attachment added: Script automate sending current hostname by rewriting dhclient.conf https://bugs.launchpad.net/debian/+source/dhcp3/+bug/10239/+attachment/1765383/+files/dhclient -- You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. https://bugs.launchpad.net/bugs/10239 Title: dhcp3-client: Does not send hostname to server by default -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
Sept. 2010; bug is still present, I still have to comment the send host-name hostname; for Network Manager to send the string entered into the 'DHCP Client ID' field. Otherwise it simply gets ignored. -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dhcp3 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
Sept. 2010; bug is still present, I still have to comment the send host-name hostname; for Network Manager to send the string entered into the 'DHCP Client ID' field. Otherwise it simply gets ignored. -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
The same here on Ubuntu Lucid 10.4, even though /etc/dhcp3/dhclient.conf has send host-name hostname; by default in it. -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
I still have this problem even though it says it is fixed. ** Description changed: -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dhcp3 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
I still have this problem even though it says it is fixed. ** Description changed: -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
** Changed in: dhcp3 (Ubuntu) Status: Fix Released = Fix Committed ** Changed in: dhcp3 (Ubuntu) Status: Fix Committed = Fix Released -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dhcp3 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
** Changed in: dhcp3 (Ubuntu) Status: Fix Released = Fix Committed ** Changed in: dhcp3 (Ubuntu) Status: Fix Committed = Fix Released -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
I'm not entirely sure if this is the same bug, I can always open a new one, but my University wired network requires me to send my student ID (e.g. an arbitrary string) as hostname. Uni laptops have their hostname setup as heir student ID. Of course, I could just setup my hostname as my student ID but why if there's a proper way of doing this. With ISC dhcpcd I simply supplied the -h parameter and it worked. Network manager since then has under the DHCP Client ID field under IPV4 settings for a wired connection. However this does not seem to get passed to dhclient, as send host-name hostname; from the config file gets used and always sent. E.g. the DHCP Client ID field doesn't do anything. A workaround is to go into /etc/dhcp3/dhclient.conf and comment out the send host-name hostname ; part. Now network manager nicely passes along the host- name from the DHCP Client ID field and everything works. So I suppose, 'a' proper fix would be to set the DHCP Client ID field to hostname default and pass that to dhclient and not have a hardcoded override in dhclient.conf. I also belive, and I do not know the inner workings of network-manager, but this should be in the daemon bit of it, and not only in the GUI bit. oliver -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dhcp3 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
I'm not entirely sure if this is the same bug, I can always open a new one, but my University wired network requires me to send my student ID (e.g. an arbitrary string) as hostname. Uni laptops have their hostname setup as heir student ID. Of course, I could just setup my hostname as my student ID but why if there's a proper way of doing this. With ISC dhcpcd I simply supplied the -h parameter and it worked. Network manager since then has under the DHCP Client ID field under IPV4 settings for a wired connection. However this does not seem to get passed to dhclient, as send host-name hostname; from the config file gets used and always sent. E.g. the DHCP Client ID field doesn't do anything. A workaround is to go into /etc/dhcp3/dhclient.conf and comment out the send host-name hostname ; part. Now network manager nicely passes along the host- name from the DHCP Client ID field and everything works. So I suppose, 'a' proper fix would be to set the DHCP Client ID field to hostname default and pass that to dhclient and not have a hardcoded override in dhclient.conf. I also belive, and I do not know the inner workings of network-manager, but this should be in the daemon bit of it, and not only in the GUI bit. oliver -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
Thanks for your quick response Mat. The default was the first I've tried. I thought I had tried everything, but I overlooked post #23 about the FRITZ!Box that I have as well. The solution mentioned there works for me too !! I don't understand the logic behind it, the FRITZ!Box already knows the MAC address (from the nic itself, I guess). Upgrading the firmware did not change this behaviour, but it does now enable you to enter the hostname yourself. -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dhcp3 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
Thanks for your quick response Mat. The default was the first I've tried. I thought I had tried everything, but I overlooked post #23 about the FRITZ!Box that I have as well. The solution mentioned there works for me too !! I don't understand the logic behind it, the FRITZ!Box already knows the MAC address (from the nic itself, I guess). Upgrading the firmware did not change this behaviour, but it does now enable you to enter the hostname yourself. -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
A week ago I installed Xubuntu 9.04 Jaunty Jackalope on my old Pentium Pro machine and this bug still seems to exists. Spend days with trying to solve this, found many posts about it, none where recent though. I have installed all the available updates, still the problem persists. -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dhcp3 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
On Sat, Oct 24, 2009 at 07:08:35PM -, Adrie wrote: A week ago I installed Xubuntu 9.04 Jaunty Jackalope on my old Pentium Pro machine and this bug still seems to exists. Spend days with trying to solve this, found many posts about it, none where recent though. I have installed all the available updates, still the problem persists. Works for me here; check that you have: send host-name hostname; in /etc/dhcp3/dhclient.conf (this is in the default configuration file) -- - mdz -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dhcp3 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
A week ago I installed Xubuntu 9.04 Jaunty Jackalope on my old Pentium Pro machine and this bug still seems to exists. Spend days with trying to solve this, found many posts about it, none where recent though. I have installed all the available updates, still the problem persists. -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
On Sat, Oct 24, 2009 at 07:08:35PM -, Adrie wrote: A week ago I installed Xubuntu 9.04 Jaunty Jackalope on my old Pentium Pro machine and this bug still seems to exists. Spend days with trying to solve this, found many posts about it, none where recent though. I have installed all the available updates, still the problem persists. Works for me here; check that you have: send host-name hostname; in /etc/dhcp3/dhclient.conf (this is in the default configuration file) -- - mdz -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
** Changed in: dhcp3 (Debian) Status: Fix Released = Confirmed -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dhcp3 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
** Changed in: dhcp3 (Debian) Status: Fix Released = Confirmed -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
I tested today a jaunty virtual machine in an AD network: it does a dynamic DNS update out of the box. Until now I had to use additional lines in dhclient.conf (#send fqdn.fqdn hostname.mydomain.it.; #send fqdn.server-update on;) or use nsupdate in a hook script. Thanks for fixing this bug. -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
** Changed in: dhcp3 (Debian) Status: Confirmed = Fix Released -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
Update: I now have a fresh installation and after adding the line send fqdn.server-update on to dhcient.conf (the default one after installation) it works here, I can lookup my IP via nslookup hostname again. Without it it doesn't work. -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
** Changed in: dhcp3 (Debian) Status: New = Confirmed -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
dhclient does send the hostname with the patch (I verified via wireshark), but it doesn't send a client identifier (cid). A fritz box (DSL router, market leader in germany) won't update it's dns records with the sent hostname without a cid, and some other DSL routers show this behavior, too, at least from what I gather using google. Maybe the relevant RFCs have something to say about this. To make dhclient send a cid, you have to manually enter the mac address in /etc/dhcp3/dhclient.conf. dhcpcd *does* send a cid (and hostname) by default without any patches, as does windows and OS X. In light of bug 26949 perhaps you might consider making dhcpcd the default client? -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
Weird, I just checked my router's log, and my hostname is still transfered correctly. Do you have any DHCP related error in /var/log/daemon.log? -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
Just checked: I don't have any DHCP related errors in the log file. When I did a nslookup hostname or nslookup hostname.domain.com it returned an old IP address I had a few weeks ago. Then I did sudo dhclient -r eth0 to release, replaced hostname in dhclient.conf with the actual hostname followed by a sudo dhclient eht0. Then I did a nslookup again and then nslookup couldn't resolve it anymore. When I use this instead: send fqdn.fqdn hostname.domain.com; send fqdn.server-update on; it does work, but I don't want to send a fqdn since I use my laptop at other sites too. Weird indeed.. -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
I now have dhcp3 3.0.4-12ubuntu4 here, and it seems like the hostname fix doesn't work anymore on my Feisty installation. It worked with the 3.0.4-12ubuntu2 version. I haven't changed my dhclient.conf (attached) ** Attachment added: dhclient.conf http://librarian.launchpad.net/7279832/dhclient.conf -- dhcp3-client: Does not send hostname to server by default https://bugs.launchpad.net/bugs/10239 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
dhcp3 (3.0.4-12ubuntu2) feisty; urgency=low . * Add debian/patches/dynamic-hostname.dpatch: - Add support for a new string type 'h' which behaves like 't' except that 'hostname' is changed to the current hostname. - Change 'host-name' DHCP option type from 't' to 'h'. - Based on a patch from Nathan O'Sullivan, thank you! * debian/dhclient.conf: Enable send-hostname by default (value 'hostname', which our shiny new patch from above will translate to the actual hostname). Closes: LP#10239 and two handful of duplicates. ** Changed in: dhcp3 (Ubuntu) Status: In Progress = Fix Released -- dhcp3-client: Does not send hostname to server by default https://launchpad.net/bugs/10239 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
** Changed in: dhcp3 (Ubuntu) Assignee: (unassigned) = Martin Pitt Status: Confirmed = In Progress -- dhcp3-client: Does not send hostname to server by default https://launchpad.net/bugs/10239 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
** Bug 43594 has been marked a duplicate of this bug -- dhcp3-client: Does not send hostname to server by default https://launchpad.net/bugs/10239 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
** Bug 54203 has been marked a duplicate of this bug -- dhcp3-client: Does not send hostname to server by default https://launchpad.net/bugs/10239 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
Here's a simple patch against dhcp3-3.0.3-6ubuntu7 . It lets you use send host-name hostname; (that is, the above line literally - paste it as is into your dhclient.conf) dhclient will then send your computer's hostname to the DHCP server. -- dhcp3-client: Does not send hostname to server by default https://launchpad.net/bugs/10239 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 10239] Re: dhcp3-client: Does not send hostname to server by default
** Bug 51478 has been marked a duplicate of this bug -- dhcp3-client: Does not send hostname to server by default https://launchpad.net/bugs/10239 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs