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

private-wifi: rename ifname to wan_wifiX to not collide with openwrt devices with more than one wan port #3294

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

maurerle
Copy link
Member

Currently, no device is affected, though it makes sense to improve the current situation by giving more meaningful ifnames anyway.

closes #3290

@github-actions github-actions bot added 3. topic: package Topic: Gluon Packages 3. topic: config-mode This is about the configuration mode 3. topic: wireless Topic: Wireless labels Jun 27, 2024
@maurerle maurerle changed the title rename private_wifi ifname to wan_wifiX to not collide with openwrt devices with more than one wan port private-wifi: rename ifname to wan_wifiX to not collide with openwrt devices with more than one wan port Jun 27, 2024
ifname = suffix and 'wan' .. suffix,
ifname = suffix and 'wan_wifi' .. suffix,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even though the package is called "private-wifi", we agreed some time ago to only continue using the term "WLAN", as "WiFi" is associated with the WiFi Alliance.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about making it a "wl" prefix, naming the interface "wlwanX"? Could also be used like "wlclient", "wlmesh", ... in the future as a common naming scheme.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, what about wl_wanX and wl_client/wl_mesh in the future?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we add a separator (which I do not have strong opinions on), I'd rather use wl- to match OpenWrt's br-.

@blocktrron blocktrron merged commit 68f6710 into freifunk-gluon:main Jun 28, 2024
9 checks passed
@maurerle maurerle deleted the private_wifi_ifname branch August 9, 2024 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. topic: config-mode This is about the configuration mode 3. topic: package Topic: Gluon Packages 3. topic: wireless Topic: Wireless
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DSA interface name overlap: wan1 could be ethernet or private wifi
3 participants