About the use of WiFi on the host

zhihuiyuze

Member
May 23, 2020
15
0
21
25
Why can't I use WIFi (virtualized servers generally don't use WIFI but I want to use it). It's based on Debian, can't scan it after finding the device?
1590202969650.png
1590202989035.png
root@pve:~# iwlist wlp2s0 scan
wlp2s0 Interface doesn't support scanning : Network is down
 
To make long stories short:

Set up a VM as a router
Forward your wifi-nic to that VM (either USB or PCI, it's possible in both cases)
Use this VM to connect to your WLAN...

-> within Proxmox, assign the VM IP as Gateway (and DNS)

Sounds a little wiered, but Wifi-NIC's usually don't support features needed for proper virtualization.
Because most of them don't have a monitor- (promiscous) mode.
That's why you will come in trouble while using Wifi on Host as a NIC for your guests.
 
1590408719967.png
为什么无法安装它?
我认为他应该能够使用WiFi在debian。我想在家里建立一个数据中心,用WiFi连接路由器,因为有线连接太难看。(笔记本电脑只有一个网络端口)