[Bug 90388] Re: hostname supplied by dhcp server is not used

2010-04-01 Thread Launchpad Bug Tracker
This bug was fixed in the package dhcp3 - 3.1.3-2ubuntu3 --- dhcp3 (3.1.3-2ubuntu3) lucid; urgency=low * debian/dhclient-script.linux: Fix regression in host_name option handling, so that it's always honored when /etc/hostname is not set, fixes LP: #537978, #482313, #90388,

[Bug 90388] Re: hostname supplied by dhcp server is not used

2010-04-01 Thread Launchpad Bug Tracker
This bug was fixed in the package dhcp3 - 3.1.3-2ubuntu3 --- dhcp3 (3.1.3-2ubuntu3) lucid; urgency=low * debian/dhclient-script.linux: Fix regression in host_name option handling, so that it's always honored when /etc/hostname is not set, fixes LP: #537978, #482313, #90388,

[Bug 90388] Re: hostname supplied by dhcp server is not used

2010-02-17 Thread perpetualrabbit
Hello?? It used to work in Hardy!!! Therefore either a newer version of dhcp3-client or network-manager or a change to the default configuration by the ubuntu developers must have caused this to stop working. The ability to centrally manage large numbers of workstations includes the ability to

[Bug 90388] Re: hostname supplied by dhcp server is not used

2010-02-17 Thread Tobias Bradtke
** Tags added: regression-release -- hostname supplied by dhcp server is not used https://bugs.launchpad.net/bugs/90388 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

[Bug 90388] Re: hostname supplied by dhcp server is not used

2010-02-17 Thread perpetualrabbit
Hello?? It used to work in Hardy!!! Therefore either a newer version of dhcp3-client or network-manager or a change to the default configuration by the ubuntu developers must have caused this to stop working. The ability to centrally manage large numbers of workstations includes the ability to

[Bug 90388] Re: hostname supplied by dhcp server is not used

2010-02-17 Thread Tobias Bradtke
** Tags added: regression-release -- hostname supplied by dhcp server is not used https://bugs.launchpad.net/bugs/90388 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 90388] Re: hostname supplied by dhcp server is not used

2010-01-28 Thread Christoph Dwertmann
I've just tested this on 9.10 server. Just create the file '/etc/dhcp3 /dhclient-exit-hooks.d/hostname' with the contents: if [[ -n $new_host_name ]]; then echo $new_host_name /etc/hostname /bin/hostname $new_host_name fi Works! -- hostname supplied by dhcp server is not used

[Bug 90388] Re: hostname supplied by dhcp server is not used

2010-01-28 Thread Christoph Dwertmann
I've just tested this on 9.10 server. Just create the file '/etc/dhcp3 /dhclient-exit-hooks.d/hostname' with the contents: if [[ -n $new_host_name ]]; then echo $new_host_name /etc/hostname /bin/hostname $new_host_name fi Works! -- hostname supplied by dhcp server is not used

[Bug 90388] Re: hostname supplied by dhcp server is not used

2010-01-21 Thread Serhii Piddubchak
It's a shame Ubuntu can't get hostname from DHCP server. It's 2010. Bug is almost three years old. But before I read the comments I didn't realize that X server may be affected by hostname change. Any thoughts how can this be handled? I really want this fixed. I don't use NetworkManager, for me

[Bug 90388] Re: hostname supplied by dhcp server is not used

2010-01-21 Thread Serhii Piddubchak
It's a shame Ubuntu can't get hostname from DHCP server. It's 2010. Bug is almost three years old. But before I read the comments I didn't realize that X server may be affected by hostname change. Any thoughts how can this be handled? I really want this fixed. I don't use NetworkManager, for me

[Bug 90388] Re: hostname supplied by dhcp server is not used

2009-11-13 Thread tynaud
Hi all, well, after reinstallation an reconfiguration of the full system, it now works... The only thing i did is to remove the file /etc/hostname (without believing in this action) and it's ok now... So now I can deploy Sorry for that... -- hostname supplied by dhcp server is not used

[Bug 90388] Re: hostname supplied by dhcp server is not used

2009-11-13 Thread Gökdeniz Karadağ
Another approach might be to set /etc/hostname to the value from DHCP server, and leave the current hostname alone. That would set the host name to correct value at next boot, without any clash with netowork manager behaviour or a running X [ and hopefully the name would not change between reboots

[Bug 90388] Re: hostname supplied by dhcp server is not used

2009-11-13 Thread tynaud
Hi all, well, after reinstallation an reconfiguration of the full system, it now works... The only thing i did is to remove the file /etc/hostname (without believing in this action) and it's ok now... So now I can deploy Sorry for that... -- hostname supplied by dhcp server is not used

[Bug 90388] Re: hostname supplied by dhcp server is not used

2009-11-13 Thread Gökdeniz Karadağ
Another approach might be to set /etc/hostname to the value from DHCP server, and leave the current hostname alone. That would set the host name to correct value at next boot, without any clash with netowork manager behaviour or a running X [ and hopefully the name would not change between reboots

[Bug 90388] Re: hostname supplied by dhcp server is not used

2009-10-15 Thread tynaud
Hello... I was so happy finding this script but it didn't work for me... I tried to use it on karmic today. First I did like on hardy, using a hostname file empty (it was well working), but it seems it prevents the eth0 interface to be brought up networkmanager and even if declared in

[Bug 90388] Re: hostname supplied by dhcp server is not used

2009-10-15 Thread tynaud
Hello... I was so happy finding this script but it didn't work for me... I tried to use it on karmic today. First I did like on hardy, using a hostname file empty (it was well working), but it seems it prevents the eth0 interface to be brought up networkmanager and even if declared in

[Bug 90388] Re: hostname supplied by dhcp server is not used

2009-01-29 Thread Gregg
Gökdeniz Karadağ - your solution doesn't work on Ubuntu 8.10. I had completely removed NetworkManager and put correct configuration lines into the interfaces file (network connection is working fine) and this did not changed anything. Your previous solution did the trick. So thank you very much

[Bug 90388] Re: hostname supplied by dhcp server is not used

2008-04-08 Thread Gökdeniz Karadağ
We solved it by putting hostname $new_host_name into a file at /etc/dhcp3/dhclient-exit-hooks.d/ Thanks Thomas for the tip. default host-name NO-NETWORK did not work, when network was not available hostname was none (or blank, i'm not sure) as jason said. Booting the machine took ages, so we

[Bug 90388] Re: hostname supplied by dhcp server is not used

2008-04-08 Thread Frederic M
Tx Gökdeniz, Can you be more specific about the other modifications you added in dhclient.conf and or interfaces ? I added the script without touching any other conf files and do not get my hostname from the dhcp server. -- hostname supplied by dhcp server is not used

[Bug 90388] Re: hostname supplied by dhcp server is not used

2008-04-08 Thread Gökdeniz Karadağ
Hi, dhclient.conf does not need modifications. On ubuntu, /etc/network/interfaces file has only loopback interface, This causes the eth0 interface to be down until glorious NetworkManager kicks in. Add the following lines to /etc/network/interfaces as a fix auto eth0 iface eth0 inet dhcp --

[Bug 90388] Re: hostname supplied by dhcp server is not used

2008-02-08 Thread jason
at least in dapper, i couldn't tell if that's what this bug was attached to, you can remove /etc/hostname and the hostname from the server will be used. however, there is the problem that if you do this and there isn't an entry for the ip address, the /etc/dhcp3/dhclient-script will set the

[Bug 90388] Re: hostname supplied by dhcp server is not used

2007-11-29 Thread yecril71pl
The reverse lookup can return a different host name than declared for the kernel; I do not see any problem with that, given that different network interfaces can belong to different domains, let alone have different names. -- hostname supplied by dhcp server is not used

[Bug 90388] Re: hostname supplied by dhcp server is not used

2007-10-06 Thread Thomas
A hook script in /etc/dhcp3/dhclient-exit-hooks.d/ should be able to fix this. As has been mentioned, X might get angry, but you could always check for a running X before changing the hostname (assuming it's better to have the wrong hostname than it is to have a non-working X). Signaling a no

[Bug 90388] Re: hostname supplied by dhcp server is not used

2007-08-13 Thread Bart Cerneels
I need this for a rollout in a College computer lab where the hard-drives (dual-boot Kubuntu/WinXP) are cloned to 24 identical machines. These should take their hostname from DHCP. I believe the correct option in /etc/dhcp3/dhclient.conf is: default host-name NO-NETWORK But this doesn't seem to

[Bug 90388] Re: hostname supplied by dhcp server is not used

2007-04-25 Thread Tam Pham
I'm interested in this too. I've VMs that people can just use. When the VM boot up, it should get the hostname from the dhcp server. My Fedora VMs are working fine, but I've no clue how to do with Ubuntu. -- hostname supplied by dhcp server is not used https://bugs.launchpad.net/bugs/90388

[Bug 90388] Re: hostname supplied by dhcp server is not used

2007-03-23 Thread Alex Mauer
I believe Fedora can do this; how does it work over there? -- hostname supplied by dhcp server is not used https://launchpad.net/bugs/90388 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 90388] Re: hostname supplied by dhcp server is not used

2007-03-08 Thread Martin Pitt
This cannot be enabled by default in dhcp client. X becomes very angry if you change the hostname underneath it, so this should only be done at boot time, not when changing the lease at runtime. However, I do agree that there should be an option to enable this feature for people who know what