Re: What settings should be used for VM?
On Thu, May 4, 2023 at 8:42 AM Igor Korot wrote: > > I am trying install Debian Buster on the VirtualBox as a guest. > > I set the VM to use HostOnly network with DHCP enabled, but when I ran the > installer it failed to auto-configure the network. > > How do I solve it? The Debain wiki for VirtualBox was updated. A section was added for "Guest networking setup" at https://wiki.debian.org/VirtualBox#Guest_networking_setup . Please update it as required so the next person can sidestep the issues you experienced. Jeff
Re: What settings should be used for VM?
Hi, guys On Thu, May 4, 2023, 11:03 AM Igor Korot wrote: > zithro, > > On Thu, May 4, 2023 at 10:16 AM zithro wrote: > > > > On 04 May 2023 14:42, Igor Korot wrote: > > > Hi, > > > I am trying install Debian Buster on the VirtualBox as a guest. > > > > > > I set the VM to use HostOnly network with DHCP enabled, but when I ran > the > > > installer it failed to auto-configure the network. > > > > > > How do I solve it? > > > > > > Thank you. > > > > > > P.S.: I need python 2, therefore trying to use older version. > > > > > > > Host-only network is only useful to allow network communications between > > the host and the guest, but not to the outside (local network, internet, > > etc). It's like an isolated bridge. > > You can also put several VMs on this bridge so they can communicate > > together. > > > > Do you need internet access on this VM for your python developments ? > > Because if not, just download a full version (DVD ?) of the installer > > and then do everything offline. > > > > If you need internet, you will have to use NAT, but you got the pointer > > already. > > I will try to use NAT then. > Thank you, NAT worked. > Thank you. > > > >
Re: What settings should be used for VM?
zithro, On Thu, May 4, 2023 at 10:16 AM zithro wrote: > > On 04 May 2023 14:42, Igor Korot wrote: > > Hi, > > I am trying install Debian Buster on the VirtualBox as a guest. > > > > I set the VM to use HostOnly network with DHCP enabled, but when I ran the > > installer it failed to auto-configure the network. > > > > How do I solve it? > > > > Thank you. > > > > P.S.: I need python 2, therefore trying to use older version. > > > > Host-only network is only useful to allow network communications between > the host and the guest, but not to the outside (local network, internet, > etc). It's like an isolated bridge. > You can also put several VMs on this bridge so they can communicate > together. > > Do you need internet access on this VM for your python developments ? > Because if not, just download a full version (DVD ?) of the installer > and then do everything offline. > > If you need internet, you will have to use NAT, but you got the pointer > already. I will try to use NAT then. Thank you. >
Re: What settings should be used for VM?
On 04 May 2023 14:42, Igor Korot wrote: Hi, I am trying install Debian Buster on the VirtualBox as a guest. I set the VM to use HostOnly network with DHCP enabled, but when I ran the installer it failed to auto-configure the network. How do I solve it? Thank you. P.S.: I need python 2, therefore trying to use older version. Host-only network is only useful to allow network communications between the host and the guest, but not to the outside (local network, internet, etc). It's like an isolated bridge. You can also put several VMs on this bridge so they can communicate together. Do you need internet access on this VM for your python developments ? Because if not, just download a full version (DVD ?) of the installer and then do everything offline. If you need internet, you will have to use NAT, but you got the pointer already.
Re: What settings should be used for VM?
On Thu, May 4, 2023 at 10:31 AM Igor Korot wrote: > > Hi, Jeffrey, > > On Thu, May 4, 2023 at 9:03 AM Jeffrey Walton wrote: > > > > On Thu, May 4, 2023 at 8:42 AM Igor Korot wrote: > > > > > > I am trying install Debian Buster on the VirtualBox as a guest. > > > > > > I set the VM to use HostOnly network with DHCP enabled, but when I ran > > > the installer it failed to auto-configure the network. > > > > > > How do I solve it? > > > > The guest should use a bridged adapter if wired ethernet. It will get > > its own IP address from your DHCP server. > > > > If the host is using Wifi, you cannot use bridged for a guest. You > > have to use another type, but I don't recall what it is. > > I am using WiFi. > Could you please check your memory... ;-) I think you have to use NAT, but it has some limitations. See https://forums.virtualbox.org/viewtopic.php?t=85927 . Sorry I don't recall better, it's been about 7 years. A lot has probably changed since that time. Jeff
Re: What settings should be used for VM?
Hi, David, On Thu, May 4, 2023 at 9:00 AM David Christensen wrote: > > On 5/4/23 05:42, Igor Korot wrote: > > Hi, > > I am trying install Debian Buster on the VirtualBox as a guest. > > > > I set the VM to use HostOnly network with DHCP enabled, but when I ran the > > installer it failed to auto-configure the network. > > > > How do I solve it? > > > > Thank you. > > > > P.S.: I need python 2, therefore trying to use older version. > > > I run VirtualBox on Debian: I don't - my host is Gentoo currently for this install. I am trying to set a guest as Debian Buster. Thank you. > > 2023-05-04 06:43:24 root@taz ~ > # cat /etc/debian_version ; uname -a > 11.7 > Linux taz 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 > GNU/Linux > > 2023-05-04 06:43:44 root@taz ~ > # dpkg-query -W | grep -i virtualbox > virtualbox-7.0 7.0.8-156879~Debian~bullseye > > > There is one VM: > > 2023-05-04 06:50:56 dpchrist@taz ~ > $ VBoxManage list -l vms | grep NIC > NIC 1: MAC: , Attachment: Bridged > Interface 'eno1', Cable connected: on, Trace: off (file: none), Type: > 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, > Bandwidth group: none > NIC 2: disabled > NIC 3: disabled > NIC 4: disabled > NIC 5: disabled > NIC 6: disabled > NIC 7: disabled > NIC 8: disabled > > > Oracle VM VirtualBox Manager (GUI) -> select VM "vf1" in left pane -> > select Current State in top right pane -> left click Settings in right > toolbar -> select Network in left pane -> Adapter 1 is selected in right > pane: > >Enabled Network Adapter checked >Attached to Bridged Adapter >Name eno1 >Advanced > Adapter Type Intel PRO/1000 MT Desktop (8254OEM) > Promiscuous Mode Deny > MAC Address > Cable Connectedchecked > > > David >
Re: What settings should be used for VM?
Hi, Jeffrey, On Thu, May 4, 2023 at 9:03 AM Jeffrey Walton wrote: > > On Thu, May 4, 2023 at 8:42 AM Igor Korot wrote: > > > > I am trying install Debian Buster on the VirtualBox as a guest. > > > > I set the VM to use HostOnly network with DHCP enabled, but when I ran the > > installer it failed to auto-configure the network. > > > > How do I solve it? > > The guest should use a bridged adapter if wired ethernet. It will get > its own IP address from your DHCP server. > > If the host is using Wifi, you cannot use bridged for a guest. You > have to use another type, but I don't recall what it is. I am using WiFi. Could you please check your memory... ;-) Thank you. > > Jeff
Re: What settings should be used for VM?
On Thu, May 4, 2023 at 8:42 AM Igor Korot wrote: > > I am trying install Debian Buster on the VirtualBox as a guest. > > I set the VM to use HostOnly network with DHCP enabled, but when I ran the > installer it failed to auto-configure the network. > > How do I solve it? The guest should use a bridged adapter if wired ethernet. It will get its own IP address from your DHCP server. If the host is using Wifi, you cannot use bridged for a guest. You have to use another type, but I don't recall what it is. Jeff
Re: What settings should be used for VM?
On 5/4/23 05:42, Igor Korot wrote: Hi, I am trying install Debian Buster on the VirtualBox as a guest. I set the VM to use HostOnly network with DHCP enabled, but when I ran the installer it failed to auto-configure the network. How do I solve it? Thank you. P.S.: I need python 2, therefore trying to use older version. I run VirtualBox on Debian: 2023-05-04 06:43:24 root@taz ~ # cat /etc/debian_version ; uname -a 11.7 Linux taz 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux 2023-05-04 06:43:44 root@taz ~ # dpkg-query -W | grep -i virtualbox virtualbox-7.0 7.0.8-156879~Debian~bullseye There is one VM: 2023-05-04 06:50:56 dpchrist@taz ~ $ VBoxManage list -l vms | grep NIC NIC 1: MAC: , Attachment: Bridged Interface 'eno1', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none NIC 2: disabled NIC 3: disabled NIC 4: disabled NIC 5: disabled NIC 6: disabled NIC 7: disabled NIC 8: disabled Oracle VM VirtualBox Manager (GUI) -> select VM "vf1" in left pane -> select Current State in top right pane -> left click Settings in right toolbar -> select Network in left pane -> Adapter 1 is selected in right pane: Enabled Network Adapter checked Attached to Bridged Adapter Name eno1 Advanced Adapter TypeIntel PRO/1000 MT Desktop (8254OEM) Promiscuous ModeDeny MAC Address Cable Connected checked David
What settings should be used for VM?
Hi, I am trying install Debian Buster on the VirtualBox as a guest. I set the VM to use HostOnly network with DHCP enabled, but when I ran the installer it failed to auto-configure the network. How do I solve it? Thank you. P.S.: I need python 2, therefore trying to use older version.