Proxmox + pfSense: pass wireless card to create AP

May 3, 2018
1
0
6
37
Hi everyone,

I've installed Proxmox 5.1 under Qotom-Q330G4 i3 8GB RAM 64GB SSD and inside I've created a VM hosting pfSense 2.4.3.

Qotom hardware has 4 Gigabit ethernet cards (enp1s0, enp2s0, enp3s0 and enp5s0) all of them being slave members of Linux bridges (vmbr0, vmbr3, vmbr1 and vmbr2 respectively). Two of them (LAN and WAN interfaces) given to the pfSense VM in bridged mode using E1000 driver.

So far, everything is under control and everything seems to be working fine.

However, this Qotom device also has one Wireless card:

Code:
root@federer:~# lspci -nn|grep -i Atheros
04:00.0 Network controller [0280]: Qualcomm Atheros AR9287 Wireless Network Adapter (PCI-Express) [168c:002e] (rev 01)

Which I would like to also pass to the pfSense in order to create a Wireless Access Point (AP).
How can I do that?

Thanks in advance !

I also post some extra info just in case it helps:

Code:
root@federer:~# pveversion -v
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "es_ES.UTF-8",
    LC_PAPER = "es_ES.UTF-8",
    LC_MONETARY = "es_ES.UTF-8",
    LC_NAME = "es_ES.UTF-8",
    LC_ADDRESS = "es_ES.UTF-8",
    LC_NUMERIC = "es_ES.UTF-8",
    LC_TELEPHONE = "es_ES.UTF-8",
    LC_IDENTIFICATION = "es_ES.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
proxmox-ve: 5.1-32 (running kernel: 4.13.13-2-pve)
pve-manager: 5.1-41 (running version: 5.1-41/0b958203)
pve-kernel-4.13.13-2-pve: 4.13.13-32
libpve-http-server-perl: 2.0-8
lvm2: 2.02.168-pve6
corosync: 2.4.2-pve3
libqb0: 1.0.1-1
pve-cluster: 5.0-19
qemu-server: 5.0-18
pve-firmware: 2.0-3
libpve-common-perl: 5.0-25
libpve-guest-common-perl: 2.0-14
libpve-access-control: 5.0-7
libpve-storage-perl: 5.0-17
pve-libspice-server1: 0.12.8-3
vncterm: 1.5-3
pve-docs: 5.1-12
pve-qemu-kvm: 2.9.1-5
pve-container: 2.0-18
pve-firewall: 3.0-5
pve-ha-manager: 2.0-4
ksm-control-daemon: 1.2-2
glusterfs-client: 3.8.8-1
lxc-pve: 2.1.1-2
lxcfs: 2.0.8-1
criu: 2.11.1-1~bpo90
novnc-pve: 0.6-4
smartmontools: 6.5+svn4324-1
zfsutils-linux: 0.7.3-pve1~bpo9

Code:
root@federer:~# egrep -wo 'vmx|lm|aes' /proc/cpuinfo  | sort | uniq\
> | sed -e 's/aes/Hardware encryption=Yes (&)/g' \
> -e 's/lm/64 bit cpu=Yes (&)/g' -e 's/vmx/Intel hardware virtualization=Yes (&)/g'
Hardware encryption=Yes (aes)
64 bit cpu=Yes (lm)
Intel hardware virtualization=Yes (vmx)

Code:
root@federer:~# dmesg | grep ecap
[    0.031490] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap c0000020660462 ecap f0101a
[    0.031495] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c20660462 ecap f010da
 
However, this Qotom device also has one Wireless card:

Code:
root@federer:~# lspci -nn|grep -i Atheros
04:00.0 Network controller [0280]: Qualcomm Atheros AR9287 Wireless Network Adapter (PCI-Express) [168c:002e] (rev 01)

Which I would like to also pass to the pfSense in order to create a Wireless Access Point (AP).
How can I do that?

See https://forum.proxmox.com/threads/bridge-wireless-adapter-for-pfsense-vm.38751/ :

Hi,

there is no way to add a bridge on a wireless adapter.
You have to use a routed configuration for this or make a pcie passthough to the pfsense VM.
 

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!