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

packages/configtools: "sharenet-switch" should generate a "wan" section #826

Open
SvenRoederer opened this issue Jun 28, 2020 · 3 comments

Comments

@SvenRoederer
Copy link
Contributor

The script to swap the assignment (Wan <--> DHCP) of the PoE-port works for 2-port devices. To make it work for 1-Port devices (e.g. NSM Loco, CPE v2+) we need a solid way to generate a "wan" network-section, as this is not done by OpenWrt.

I'm not sure if we should generate a "hardcoded" template wicht we might need to update according to further changes of OpenWrt or if we can "adapt the OpenWrt generate-config" logic.

@SvenRoederer
Copy link
Contributor Author

creating the "wan" section manually is a process that can cause some trouble, see: freifunk-berlin/firmware-packages@24bd7d1

@foudfou
Copy link

foudfou commented Jul 4, 2020

@SvenRoederer any hints on creating the "section" manually ? Possibly with appropriate firewall zones/rules ?
So i tried to remove eth0 from the freifunk zone, and create a static network called "WAN" on eth0. But wifi clients still can't reach the internet. I'll check if tunnel-digger is up.

@SvenRoederer
Copy link
Contributor Author

@kls0e has written something on the Mailinglist recently (https://lists.berlin.freifunk.net/pipermail/berlin/2020-June/040656.html)

SvenRoederer added a commit to SvenRoederer/freifunk-berlin-firmware that referenced this issue Feb 22, 2023
521a406 oonf-olsrd2: fix building with multiple plugins - fixes freifunk-berlin#826
3f74d8a oonf-olsrd2: a usable default configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants