Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VLAN assignment to WLAN parent interface issue #3120

Closed
BPtLNfxZWo opened this issue Jan 11, 2019 · 4 comments
Closed

VLAN assignment to WLAN parent interface issue #3120

BPtLNfxZWo opened this issue Jan 11, 2019 · 4 comments
Labels
support Community support

Comments

@BPtLNfxZWo
Copy link

Assigning an VLAN-ID to an WLAN parent interface e.g ath0_wlan1 results in a crash with the following notification:

opnsense: /usr/local/etc/rc.filter_configure: New alert found: There were error(s) loading the rules: /tmp/rules.debug:97: interface name too long - The line in question reads [97]: scrub on ath0_wlanX_vlanXX all

OPNsense 18.7.10-amd64
FreeBSD 11.1-RELEASE-p18
OpenSSL 1.0.2q 20 Nov 2018

Steps to reproduce:

  1. Interfaces: Wireless: Devices -> Add an Wireless interface, will be automatically named ath0_wlanX
  2. Interfaces: Other Types: VLAN -> Assign VLAN ID to that Interface, will be named as ath0_wlanX_vlanXX

results in mentioned error

@fichtner
Copy link
Member

Hi, thanks for the report. Interface names are 15 characters plus terminating zero so this is hitting a brick wall... VLAN notation could be changed, but will require a bit of dedicated work and QA time.

@fichtner fichtner added the bug Production bug label Jan 11, 2019
@BPtLNfxZWo
Copy link
Author

Thanks for the answer. I'll switch to an external VLAN capable AP soon which is anyway recommended.

@bewue
Copy link

bewue commented Jan 18, 2019

Hi, thanks for the report. Interface names are 15 characters plus terminating zero so this is hitting a brick wall... VLAN notation could be changed, but will require a bit of dedicated work and QA time.

A quick solution would be to limit the character length in the input field?

General: The warnings in the upper right corner can easily be overlooked. A red icon at this point for example would be helpful.

@fichtner fichtner added support Community support and removed bug Production bug labels Feb 18, 2019
@fichtner
Copy link
Member

Tracked via #3222

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Community support
Development

No branches or pull requests

3 participants