USB NIC for alternate login to single NIC host


New Member
Nov 17, 2022
Hello all,
I'm setting up a mac mini 6.2 (late 2012 Corei7) as a proxmox host. It has a single NIC, and I'm going to attempt to run pfSense in a container as a 'router on a stick' via its connection to a level 2 switch.

I fully expect to fall on my face while setting up the trunk to the switch.

  1. I have a USB3 NIC which I'd like to be able as a backup to access the host if I make a mess.
  2. I would at least like access to the root cli via ssh.
  3. It would be nice to have alternate access to the management web interface, but I would be ok if that was too hard.
Is this a reasonable thing to do? This is my first proxmox host setup.

Worked it out myself...

1. Plug in the usb device with the NIC. (mine is multi-function)
2. dmesg will have relevant device identification events:

[328607.057728] usb 4-1.1: Product: USB 10/100/1000 LAN [328607.059464] usb 4-1.1: Manufacturer: Realtek [328607.061019] usb 4-1.1: SerialNumber: 000001 [328607.072947] usbcore: registered new interface driver r8152 [328607.076762] usbcore: registered new interface driver cdc_ether [328607.078843] usbcore: registered new interface driver r8153_ecm [328607.153370] usb 4-1.1: reset SuperSpeed USB device number 3 using xhci_hcd [328607.204110] r8152 4-1.1:1.0: load rtl8153a-4 v2 02/07/20 successfully [328607.233721] r8152 4-1.1:1.0 eth0: v1.12.13 [328607.241629] r8152 4-1.1:1.0 enxa0cec8e111f7: renamed from eth0 [328611.400985] usb 2-1.5: new high-speed USB device number 3 using

my new interface name is: enxa0cec8e111f7
backup your '/etc/network/interfaces' file
edit such and (substituting your nic's device id, and your network) add similar to this:

allow-hotplug enxa0cec8e111f7 iface enxa0cec8e111f7 inet static address gateway
at your bash prompt:

# ifreload -a # ifup enxa0cec8e111f7

No rebooting required.
I should now be able to recover access if I make mess of setting-up my Mac MIni router-on-a-stick...

RTFM here:


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!