proxmox and wlan how should the interfaces file look like?

saeft_3004

Active Member
Mar 4, 2019
50
1
28
36
Hello,

I want to use proxmox over wlan on a NUC8i3. How do I have to configure the file interfaces for this to work?

With this interfaces file I have access via LAN (192.168.178.110) and via WLAN (192.168.178.104) to the proxmox web interface. But if I unplug the LAN plug then proxmox is no longer accessible via LAN and WLAN.

Here the current interfaces file:

Code:
auto lo
iface lo inet loopback

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
    address  192.168.178.110
    netmask  255.255.255.0
    gateway  192.168.178.1 
    bridge-ports eno1
    bridge-stp off
    bridge-fd 0

auto wlp0s20f3
iface wlp0s20f3 inet dhcp
    wpa-ssid Krip..............
    wpa-psk c8e8...................


Here the output of ifconfig:

Code:
root@pve:~# ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 1c:69:7a:02:61:91  txqueuelen 1000  (Ethernet)
        RX packets 13089  bytes 2118942 (2.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1978  bytes 1558263 (1.4 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16  memory 0xc0a00000-c0a20000

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 200  bytes 23372 (22.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 200  bytes 23372 (22.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vmbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.178.110  netmask 255.255.255.0  broadcast 192.168.178.255
        inet6 fe80::1e69:7aff:fe02:6191  prefixlen 64  scopeid 0x20<link>
        inet6 2003:ee:5bc2:3b00:1e69:7aff:fe02:6191  prefixlen 64  scopeid 0x0<g                           lobal>
        ether 1c:69:7a:02:61:91  txqueuelen 1000  (Ethernet)
        RX packets 11723  bytes 1619643 (1.5 MiB)
        RX errors 0  dropped 610  overruns 0  frame 0
        TX packets 1466  bytes 1518443 (1.4 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp0s20f3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.178.104  netmask 255.255.255.0  broadcast 192.168.178.255
        inet6 2003:ee:5bc2:3b00:d2c6:37ff:fecb:4a12  prefixlen 64  scopeid 0x0<g                           lobal>
        inet6 fe80::d2c6:37ff:fecb:4a12  prefixlen 64  scopeid 0x20<link>
        ether d0:c6:37:cb:4a:12  txqueuelen 1000  (Ethernet)
        RX packets 75  bytes 6204 (6.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 27  bytes 3654 (3.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

I am from Germany excuse for my bad English.

I would be very happy if you could help me. Many thanks in advance.
 
Good Morning,

does any one of you have an idea? I found the following:


LAN enabled and WLAN disabled:

LAN: NUC8i3 -> Powerline -> Fritzbox 7490 192.168.178.110 1C: 69: 7A: 02: 61: 91


LAN and WLAN enabled:

LAN: NUC8i3 -> Powerline -> Fritzbox 7490 192.168.178.104 1C: 69: 7A: 02: 61: 91

WLAN: NUC8i3 -> Fritzbox 4040 Access point 192.168.178.104 D0: C6: 37: CB: 4A: 12 -> Fritzbox 7490


LAN disabled and WLAN enabled:

No access to the web interfaces



If WLAN is activated then changes in the Fritzbox 7490 the LAN IP of 192.168.178.110 on 192.168.178.104 ?! The web interface is still accessible with the IP 192.168.178.110.

would it be better if I use wpa_supplicant instead of interfaces?
 

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!