A couple of unresolved issues

kokoticek

Active Member
Jun 7, 2010
121
3
38
Hello again.
I decided to make a new thread instead of constantly topping the previous one (and thus avoiding necroposting).

I use latest Proxmox VE 4.2 and already updated it with apt update && apt full-upgrade. I have some issues that I still have not been able to solve and wanted to know if someone could help.

1) I'm having problems with keyboard layout in the kvms... I cannot type for example # \ [ ], perhaps among other characters inside the kvms. The system I use to browse proxmox is a linux one and using firefox, and I'm sure this linux system has the keyboard locale correctly set because I can type normally on it, just not in the vms! Also, I'm sure I installed the vm guests themselves with the correct keyboard locales/layouts, as well as the proxmox host itself.
Client (where I run firefox) and kvms have es-ES, I just confirmed.
Proxmox Datacenter->options->keyboard layout: spanish (es)
Proxmox VM->hardware->keyboard layout: "default" (changing it makes no difference)
Proxmox node's localectl status:
System Locale: LANG=en_US.UTF-8
VC keymap: n/a
X11 Layout: es
X11 model: pc105

2) the task logs in the bottom part of gui window seem to be always in utc. Is it that these logs read server's RTC, which is indeed in utc unlike server's system time? Changing NTP enabled and NTP synchronized in proxmox node doesn't work...

3) how can I simulate a NIC ethernet cable unplugging in Proxmox? As if just unplugging the ethernet cable from a bare metal PC... For some reason I'm not feeling good with disabling network device in windows or network service in linux, if I remove and add a network device in kvm's options in proxmox the added device gets a different mac address (and unplugging and plugging again ethernet cable to a bare metal pc doesn't change its NIC's mac address, right?), and I think there should be already a way to do what I'm seeking through proxmox gui, no?

Thanks for your attention again.
 
Hi,

1.) yes we know use instead spice to avoid this behavior.
2.) This is not desired. Use
"dpkg-reconfigure tzdata"
to set the correct local time.
3.) You can disable(unplug) vnic, what simulates an unplugging.
This can be achieved if you double click on the nic in the HW section of your VM.
There is a checkbox "Disconnect".
 
Can you please send the output of
date
date -utc
 
@wolfgang:

Sir, I think I found the problem. The linux system I use to browse proxmox -with firefox- has the correct time and date indeed, but curiously it says it's using UTC, and this last fact is totally wrong I'm sure. Though due to this being a minimalist linux distro and stuff anyway I just ignored it. I tried then to log into proxmox from a Windows 7 PC, which I know it uses correct time and date settings at least for its system, and this time task logs in the bottom part of gui window were correct. So it's seemingly the used "client" system's side!

Though now there's something that worries me (and I apologize if it sounds stupid...). The proxmox server was indeed already installed with the correct "tzdata", I mean, the correct zone and locales. So doing "dpkg-reconfigure tzdata" was redundant and seemingly "useless". Now I fear by doing this unnecessary change could have done some kind of "damage" or undesired change in the proxmox system and kvm guests as well! As when saying "if it's not broken, *don't fix it*!". It would really hurt having to reinstall from zero the whole proxmox node and kvms!
Did I do something wrong with this, sir?

Thanks beforehand.
 
No worry this is harmless operation, and will not destroy anything.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!