proxmox on a mobile device with mainly LTE + wifi + lan

fruchtzwerg

Member
Apr 3, 2023
36
2
13
goal: I want to use proxmox on a mobile device (notebook) freely with LTE, Wifi, Lan depending on the given circumstances.

history and limitations:
I used proxmox on a notebook for some time and it's nice. I followed this instruction for getting a desktop and connect via wifi:

With this setup I'm bound to use the wifi settings.

But I want to freely switch between LTE, Wifi or LAN. I think setting up a virtual router is the way to go.

what I have:
This are my nics:
Screenshot from 2025-05-05 09-09-03.png
  • The sixth wwan0 should be the mainly used connection to the internet via LTE.

But for some cases I like to have the possibilities to get alternative internet acces:
  • The second enxa0cec89c352f can be the connection to the internet via lan
  • The fifth wlp2s0 could be the connection to the internet via wifi
The first enp0s31f6 should be my lan-port to connect other devices to my VMs and LXCs.

(The linux bridges I created are a first try. But I not sure how to set it up properly.)

Attemp:
I think I need an openwrt VM as an internal router which manages all the possible (a) incomming connections and (b) provides a network to connect to:
(a) incoming connections:
  • depending on the which connection is available the router should be flexible for getting internet through lan, wlan or LTE
(b) provided network:
  • The router should provide a /24 network which the host, the VMs/LXCs and the via enp0s31f6 connected devices can join.

But I'm stuck in a lot of questions about setting up:
(a) incomming connections:
1. Should I create linuxbridges to connect the nics to the openwrt-router or better connect the nics directly to the router?
2. Is it a good way to bind some multiple nics in one bridge or better to have them separate?

(b) provided network:
3. Should I create the network as a Linux Bridge with the router as gateway?

Any hints are welcome.
 
Last edited:
So I stumbled my way throw the jungle.

Here are my steps:

(1) Preparing the NICs and the Virtual bridges for openwrt (successfull)
  • the physical ethernet port can be handled by proxmox. For every NIC there need to be set up a virtual bridge vmbr0 (LAN) and vmbr1 (WWAN)
  • the wifi and wwan cannot be handled as a nic (This cost me sme time to realize). Just ignore them first
(2) Installing openwrt on proxmox (successfull)
(3) Setting up the lte-modem (not succesfull)
  • proxmox handles the LTE modul as an usb-device that can be passed to the openwrt VM
  • installing the qmi or mbim packages inside openwrt and add a new interface for wwan
  • Both qmi and mbim do not work in my case
    • qmi gives not error
    • mbim says that the SIM PIN is rejected (But that PIN is right - The SIM CARD is properly installed. Without moving the sim card I just switched the SSD and tried the LTE Modem with windows which worked without problems.)
    • I have no idea why this doesn't work.
(4) Setting up wifi for receiving internet (not succesfull)
  • proxmox handles the wifi module as a pci-device that can be passed to the openwrt VM
  • installing all the needed package for pci on openwrt
  • installing the driver for the wifi module on openwrt (Intel Wireless 8265)
  • But there is no entry for wireless in the webgui. I don't know why.