[opensuse] Strange naming behavior
Recently installed OpenSuse 12.1 64bit. At the login screen, the "computer name" was "linux-sprk". Not catchy, but not offensive. But, when I opened a terminal window, the first line of the terminal window read " regis3@Scotts-iPhone:~> ; indicating that the name was "Scotts-iPhone" I went to Yast-> Network Settings-> Hostname/DNS tab and changed the Hostname. I unchecked the box for Change Hostname via DHCP, and everything changed. The problem is that in order for one of my virtual box applications to work, I need to have the "Change Hostname via DHCP" box checked. When I re-check the "Change Hostname via DHCP" box, the command line interface returns to regis3@Scotts-iPhone:~> I checked the DHCP server in the network router, and it is using the name I assigned "rmdesktop". I looked elsewhere for where the DHCP server might be using the name "Scotts-Iphone" and cant seem to find it anywhere. This naming conflict seems to be at the basis of my problems with the virtual machine connecting to the internet. Any ideas? thanks, Regis -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-03-26 02:18, Regis Matejcik wrote:
I checked the DHCP server in the network router, and it is using the name I assigned "rmdesktop". I looked elsewhere for where the DHCP server might be using the name "Scotts-Iphone" and cant seem to find it anywhere.
The virtualization software also has a dhcp server. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk9vuxoACgkQIvFNjefEBxppKACgoKMb7JF/5/8gaOmwILpWoEh7 cb4AoK5r5hdlsDR0ee15BM20I4OtDek5 =Gl7B -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Regis Matejcik wrote:
Recently installed OpenSuse 12.1 64bit.
At the login screen, the "computer name" was "linux-sprk". Not catchy, but not offensive.
But, when I opened a terminal window, the first line of the terminal window read " regis3@Scotts-iPhone:~> ; indicating that the name was "Scotts-iPhone"
I went to Yast-> Network Settings-> Hostname/DNS tab and changed the Hostname.
I unchecked the box for Change Hostname via DHCP, and everything changed. The problem is that in order for one of my virtual box applications to work, I need to have the "Change Hostname via DHCP" box checked.
When I re-check the "Change Hostname via DHCP" box, the command line interface returns to regis3@Scotts-iPhone:~>
I checked the DHCP server in the network router, and it is using the name I assigned "rmdesktop". I looked elsewhere for where the DHCP server might be using the name "Scotts-Iphone" and cant seem to find it anywhere.
Assuming you're looking at the right DHCP server, it will be in /etc/dhcpd.conf. -- Per Jessen, Zürich (5.5°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, 2012-03-26 at 07:38 +0200, Per Jessen wrote:
Regis Matejcik wrote:
Recently installed OpenSuse 12.1 64bit.
At the login screen, the "computer name" was "linux-sprk". Not catchy, but not offensive.
But, when I opened a terminal window, the first line of the terminal window read " regis3@Scotts-iPhone:~> ; indicating that the name was "Scotts-iPhone"
I went to Yast-> Network Settings-> Hostname/DNS tab and changed the Hostname.
I unchecked the box for Change Hostname via DHCP, and everything changed. The problem is that in order for one of my virtual box applications to work, I need to have the "Change Hostname via DHCP" box checked.
When I re-check the "Change Hostname via DHCP" box, the command line interface returns to regis3@Scotts-iPhone:~>
I checked the DHCP server in the network router, and it is using the name I assigned "rmdesktop". I looked elsewhere for where the DHCP server might be using the name "Scotts-Iphone" and cant seem to find it anywhere.
Assuming you're looking at the right DHCP server, it will be in /etc/dhcpd.conf.
-- Per Jessen, Zürich (5.5°C)
Interesting. I don't seem to have a file /etc/dhcpd.conf . In etc/ I have dhclient.conf and dhclient6.conf. I don't really care what the computer is called, but having 2 different names seems to create issues for the Virtual Machine. Wondering if I should format the drive and start all over. thanks, Regis -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Regis Matejcik wrote:
I checked the DHCP server in the network router, and it is using the name I assigned "rmdesktop". I looked elsewhere for where the DHCP server might be using the name "Scotts-Iphone" and cant seem to find it anywhere.
Assuming you're looking at the right DHCP server, it will be in /etc/dhcpd.conf.
-- Per Jessen, Zürich (5.5°C)
Interesting.
I don't seem to have a file /etc/dhcpd.conf . In etc/ I have dhclient.conf and dhclient6.conf.
Those are presumably your client config - /etc/dhcpd.conf is the server config.
I don't really care what the computer is called, but having 2 different names seems to create issues for the Virtual Machine. Wondering if I should format the drive and start all over.
It won't help much, but you could just untick the option that says "Set hostname from DHCP". -- Per Jessen, Zürich (12.9°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen wrote:
Regis Matejcik wrote:
I checked the DHCP server in the network router, and it is using the name I assigned "rmdesktop". I looked elsewhere for where the DHCP server might be using the name "Scotts-Iphone" and cant seem to find it anywhere.
Assuming you're looking at the right DHCP server, it will be in /etc/dhcpd.conf.
-- Per Jessen, Zürich (5.5°C)
Interesting.
I don't seem to have a file /etc/dhcpd.conf . In etc/ I have dhclient.conf and dhclient6.conf.
Those are presumably your client config - /etc/dhcpd.conf is the server config.
I don't really care what the computer is called, but having 2 different names seems to create issues for the Virtual Machine. Wondering if I should format the drive and start all over.
It won't help much, but you could just untick the option that says "Set hostname from DHCP".
I meant to say that formatting and starting over won't help much, whereas unticking "Set hostname from DHCP" might. -- Per Jessen, Zürich (12.9°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, 2012-03-26 at 21:04 +0200, Per Jessen wrote:
Per Jessen wrote:
Regis Matejcik wrote:
I checked the DHCP server in the network router, and it is using the name I assigned "rmdesktop". I looked elsewhere for where the DHCP server might be using the name "Scotts-Iphone" and cant seem to find it anywhere.
Assuming you're looking at the right DHCP server, it will be in /etc/dhcpd.conf.
-- Per Jessen, Zürich (5.5°C)
Interesting.
I don't seem to have a file /etc/dhcpd.conf . In etc/ I have dhclient.conf and dhclient6.conf.
Those are presumably your client config - /etc/dhcpd.conf is the server config.
I don't really care what the computer is called, but having 2 different names seems to create issues for the Virtual Machine. Wondering if I should format the drive and start all over.
It won't help much, but you could just untick the option that says "Set hostname from DHCP".
I meant to say that formatting and starting over won't help much, whereas unticking "Set hostname from DHCP" might.
Thanks for the suggestion. The problem is that the software application I'm attmepting to run in the VirtualBox machine requires the "Set hostname from DHCP" option to be checked. When it's unchecked, the program (OpenBravo) doesn't run at all. For what it's worth, I tried it, it worked, but when I re-checked it - back to square one. I'm not even sure that this naming behavior is the cause of the virtual machine not being able to connect to the internet - its just the current rabbit hole I'm running down. Still can't fine a dhcpd.conf in etc. Could they have stashed it inside some other subdirectory under etc.? thanks, Regis -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-03-26 22:09, Regis Matejcik wrote:
Still can't fine a dhcpd.conf in etc. Could they have stashed it inside some other subdirectory under etc.?
Look in the dhcp SERVER. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk9xFHsACgkQIvFNjefEBxoSeQCgsvM5zUPIF6JX2Jxy8IR6HKzr 1YgAoKa/rH73nkdUWTsNGbrZSyQOLFtQ =L8Ew -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Regis Matejcik wrote:
On Mon, 2012-03-26 at 21:04 +0200, Per Jessen wrote:
I meant to say that formatting and starting over won't help much, whereas unticking "Set hostname from DHCP" might.
Thanks for the suggestion. The problem is that the software application I'm attmepting to run in the VirtualBox machine requires the "Set hostname from DHCP" option to be checked. When it's unchecked, the program (OpenBravo) doesn't run at all.
Hi Regis I feel pretty certain that your application does not require that option to be enabled (how would it even know about it?), but it may well require your system to have a hostname.
For what it's worth, I tried it, it worked, but when I re-checked it - back to square one.
Try setting a hostname manually.
I'm not even sure that this naming behavior is the cause of the virtual machine not being able to connect to the internet - its just the current rabbit hole I'm running down.
Still can't fine a dhcpd.conf in etc. Could they have stashed it inside some other subdirectory under etc.?
Like Carlos said, you have to look on your dhcp SERVER. -- Per Jessen, Zürich (7.1°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 03/26/2012 06:43 AM, Regis Matejcik wrote:
Interesting.
I don't seem to have a file /etc/dhcpd.conf . In etc/ I have dhclient.conf and dhclient6.conf.
I don't really care what the computer is called, but having 2 different names seems to create issues for the Virtual Machine. Wondering if I should format the drive and start all over.
thanks,
Regis
That would be worthless. The problem is that your dhcp server cached the IP associated with the name Scotts-iPhone. The means that at one time there was a device, presumably Scott's iPhone that was connected to your network through that same IP and DCHP correctly made a journal entry for it. When your new openSuSE box connected to your dhcp server, Scott's iPhone was not connected and the time between the last time Scott's iPhone was connected and the time your openSuSE box connected was greater that the 'lease time' on that IP to Scott's iPhone. So when the server got the DHCP request from your box, it assigned the IP that had previously assigned to Scott's iPhone. Now, when it assigned the IP, it should NOT had assigned the 'Scotts-iPhone' hostname. I cannot explain this behavior and it is a bug. The only way it could have occurred is to hit some logic in the dhcp server where your box did NOT provide any hostname to the dhcp server leaving the dhcp server capable of assigning to only name it had associated with the IP -- that being Scotts-iPhone. If you have a typical dhcp/bind setup with dynamic hostname update, then you can cure this problem by stopping the BIND dns server: sudo rcnamed stop Then delete the journal files in /var/lib/named/dyn: sudo rm /var/lib/named/dyn/*.jnl The restart the named daemon sudo rcnamed start That should erase all memory of Scotts-iPhone on your server..... -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, Mar 27, 2012 at 08:17:38AM -0500, David C. Rankin wrote: [ 8< ] many chars deleted for universal and peace of mind
If you have a typical dhcp/bind setup with dynamic hostname update, then you can cure this problem by stopping the BIND dns server:
Having bind/dhcpd (d like daemon) configured this way is not the usual setup these days in the soho zone. dnsmasq is the tool these small router/gateway/eggs,wool,milk offering devices are operated with.
sudo rcnamed stop
Then delete the journal files in /var/lib/named/dyn:
sudo rm /var/lib/named/dyn/*.jnl
Don't do this! Never! Use nsupdate instead. If you have bind installed all is prepared for you including the keys. At least that was the case in the past. If this doesn't longer work feed bugzilla.
The restart the named daemon
Yeah, stop the engine, open the doors, close them, start the engine and continue the journey. Well, for some this works. As even rm -rf / helps to create more space on your harddisk. ;) Cheers, Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
On Sun, Mar 25, 2012 at 07:18:46PM -0500, Regis Matejcik wrote:
Recently installed OpenSuse 12.1 64bit.
At the login screen, the "computer name" was "linux-sprk". Not catchy, but not offensive.
a) The majority of the users is not aware and doesn't care about the hostname. It's possible to configure it as part of the details settings while install if you like to change the suggested default. b) The intention is to get different host names even if you install multiple openSUSE or SUSE Linux Enterprise systems in the same network. If we would have more than the current market share of less than 1% I would argue four pseudo random chars as suffix are not enough to reach the intended goal. Cheers, Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
participants (5)
-
Carlos E. R.
-
David C. Rankin
-
Lars Müller
-
Per Jessen
-
Regis Matejcik