Page 1 of 1

Change keyboard layout, set up network

Posted: 7. Sep 2022, 11:18
by Asmir
Hello,

I am French and I block with these points below
- How to put the keyboard in AZERTY?
- How to change subnet?
Why change the subnet: I'm on a project with Flexiwan and we're using Virtualbox on the three machines deployed (they all stay on the same subnet, namely 192.168.1.3) my idea is to change some subnet VMs because I don't there will be conflict.

For information:
An example of what partially works when I run this command

Code: Select all

 ifconfig eth0 192.168.15.31
it works but when I reboot the machine I lose the IP I just assigned do you have any idea?

Sorry for the mistakes, because I use google translator

Re: New with Virtualbox

Posted: 7. Sep 2022, 11:26
by mpack
Asmir wrote: - How to put the keyboard in AZERTY?
You normally choose the appropriate keyboard layout when you install the guest OS. VirtualBox deals with the computer hardware, and the hardware doesn't care what symbols are painted on the plastic tops of a keyboard. Look in the settings areas of your guest OS.

Asmir wrote: - How to change subnet?
Again, not really a VirtualBox question. VirtualBox provides the Ethernet hardware, and Ethernet knows nothing of TCP/IP subnets. You also have not mentioned what network mode you are using. If it is NAT, i.e. the default, then the VM is already on its own separate network which you should not mess with. If you use Bridged network mode then the VM addressing is controlled just like any other PC on your local network.

The trick to VMs is to stop thinking about it as something special: a VM is an ordinary PC, treat it as such. When posing a question, consider what the answer would be if you had a physical PC sitting there.

p.s. In future please feel free to post in French. Those of us who can't read it natively have access to online translation. However it is of course best if you use simple language and good grammar to give the translation engine the best chance.

Re: New with Virtualbox

Posted: 7. Sep 2022, 11:46
by Asmir
Re-bonjour,
Merci pour votre retour.
  • J'ai installé virtualbox sur mon PC (Windows 11) sans qu'il me demande quoi que ce soit pour le clavier.
  • Je pense que cette difficulter vient car je récupère la configuration de flexiwan
  • Pour la configuration réseau
    1. Adapter 1 est sur Accès sur pont
    2. Adapter 2 est sur NAT

Re: New with Virtualbox

Posted: 7. Sep 2022, 14:32
by scottgus1
Asmir wrote:J'ai installé virtualbox sur mon PC (Windows 11) sans qu'il me demande quoi que ce soit pour le clavier.
The Virtualbox installer does not ask for the kind of keyboard. When you make a new VM and install an operating system in the VM, the new operating system will ask you for the kind of keyboard if it is programmed to do so. Many operating systems can change the kind of keyboard in the operating system's settings. If your VMs are not using the AZERTY layout, web-search how to change the kind of keyboard in the operating system inside the VM.
Asmir wrote:Pour la configuration réseau
Adapter 1 est sur Accès sur pont
Adapter 2 est sur NAT
See Virtualbox Networks: In Pictures for how the Virtualbox networks work. From the tutorial you'll see that Bridged and NAT are almost duplicate connections, only that NAT has a 'router' between the VM and the host's network, whereas Bridged is a direct connection to the host's network.

Your earlier questions about setting IP addresses and subnets sound like you need some tutorials on how to set up an Ethernet network and how to use the Flexiwan system. Those tutorials are to be found on other sites than the Virtualbox forum.

If you can draw a picture of the host, the VMs, and other computers in the network, and how you want them connected, then upload a PNG picture of the drawing using the forum's Upload Attachment tab, we can show you what Virtualbox network type to use.