I'm trying to open an SSH client between my host machine and my guest machine, the later of which is running Debian.
When I try to obtain the IP assigned to the VM via ifconfig -a, there is no mention of an inet addr enywhere (other than 127.0.0.1 under lo), nor is there an eth0 present, only eth1, eth2, and lo.
When I try pinging 1.1.1.1 (ping 1.1.1.1), I get the following error:
connect: Network is unreachable.
For reference, I am NOT using an ethernet cable as my laptop does not have a port for it.
My network settings are as follows:
Attached to Bridged Adapter
Name: Intel(R) Wi-Fi 6 AX200 160 MHz
Promiscuous Mode: Allow VMs
Cable Connected - unchecked
What am I missing here?
Bridged Adapter not Working over WiFi
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Bridged Adapter not Working over WiFi
This will definitely kill the network:
Bridged may not always work with a Wifi adapter, due to strict implementation of the Wifi protocols by either the wifi adapter driver or the access point firmware. Technically Wifi cannot Bridge, but some combinations of wifi adapter drivers and access point firmware implement these protocols in a lax fashion so Bridged can squeeze through. If it works where you are, good.
If you can't get a good network trying to Bridge with a wifi adapter, there are a couple choices you have available, depending on if you want full on-the-LAN access for the guest, just internet, or internet and access to the host PC storage only:
1. For full on-the-LAN access, use wired Ethernet, or get a USB wi-fi adapter for the guest to use.
2. For internet in the guest while wifi-connected, use NAT or 'NAT network'.
3. For host storage access, add another network card to the guest, set to Host-Only.
Check that box to put the cable back in.Broprah wrote:Cable Connected - unchecked
Bridged may not always work with a Wifi adapter, due to strict implementation of the Wifi protocols by either the wifi adapter driver or the access point firmware. Technically Wifi cannot Bridge, but some combinations of wifi adapter drivers and access point firmware implement these protocols in a lax fashion so Bridged can squeeze through. If it works where you are, good.
If you can't get a good network trying to Bridge with a wifi adapter, there are a couple choices you have available, depending on if you want full on-the-LAN access for the guest, just internet, or internet and access to the host PC storage only:
1. For full on-the-LAN access, use wired Ethernet, or get a USB wi-fi adapter for the guest to use.
2. For internet in the guest while wifi-connected, use NAT or 'NAT network'.
3. For host storage access, add another network card to the guest, set to Host-Only.
Re: Bridged Adapter not Working over WiFi
Just wanted to mention that I also have the same setup as you although my laptop did have a ethernet nic. Although I wanted wireless to work so I can work on the go without wires. Although, my luck ran out with the Wi-Fi 6 AX200, I tried updating drivers, changing settings on the network card in device manager/ network connections, I tried to allow specific ports on my guess machine and nothing worked. As soon as I swap to ethernet, all my problems went away. Guess I am stuck with being wired for now. Unless someone understands why @scottgus1 mentioned ...Attached to Bridged Adapter
Name: Intel(R) Wi-Fi 6 AX200 160 MHz
I also want to mention, other colleagues that have the bridged adapter on wireless, with different wireless card model, do not have this issue that @Broprah and I have.Bridged may not always work with a Wifi adapter, due to strict implementation of the Wifi protocols by either the wifi adapter driver or the access point firmware. Technically Wifi cannot Bridge, but some combinations of wifi adapter drivers and access point firmware implement these protocols in a lax fashion so Bridged can squeeze through. If it works where you are, good.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Bridged Adapter not Working over WiFi
Yes that fits the pattern. Some Wi-Fi drivers aren't so picky with what gets on the radio, some are. There's no telling until one tries.
If you have a fellow colleague who has the exact same Wi-Fi card and exact same driver version, accessing the exact same Wi-Fi access point, and they can get on but you can't, then there could be a Virtualbox glitch. But unless those considerations are identical, could be they have the easy-going setup and you have the boys-school headmaster version of Wi-Fi.