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

Define a dedicated WAN port for devices that do not have one #42

Closed
kls0e opened this issue Oct 1, 2020 · 7 comments
Closed

Define a dedicated WAN port for devices that do not have one #42

kls0e opened this issue Oct 1, 2020 · 7 comments
Labels
enhancement New feature or request
Milestone

Comments

@kls0e
Copy link

kls0e commented Oct 1, 2020

There are some boards like the AVM Fritzbox 7530 that perform great as a tunneldigger uplink, but do not offer a dedicated WAN ethernet port (only LAN 1-4 for example).
At the moment the Wizard does not create a WAN port at all if ran on these boards.

For the tunneldigger uplink usecase I suggest defining LAN1 as WAN on these routers and show a hint in the wizard during setup.

We have a similar situation with routers that sport only one eth port. Currently, it will always be configured as Freifunk DHCP, even if the user decides to use the device as a tunneldigger uplink node.

Other affected devices include TP-Link CPE210/510 V2 & V3, TL-MR3020, Comfast CF-E130N v2, ... – essentially all boards that either lack a labelled WAN port or have only one eth port at all.

@PolynomialDivision
Copy link
Contributor

There is some issue that sometimes the port order is changed. We could make some script that always makes a vlan on port 1 that is used as wan?

@kls0e
Copy link
Author

kls0e commented Oct 1, 2020

There is some issue that sometimes the port order is changed.

Are you referring to the internal switch port numbering that OpenWrt utilizes vs the numbers on the routers' case?

@PolynomialDivision
Copy link
Contributor

Are you referring to the internal switch port numbering that OpenWrt utilizes vs the numbers on the routers' case?

Yep. ;)

@kls0e
Copy link
Author

kls0e commented Oct 1, 2020

I will gladly gather the individual mappings for the affected boards, but I don't know how to patch the wizard.

@PolynomialDivision
Copy link
Contributor

We just have to add a vlan untagged on port 1 and add it to wan. Further, we have to remove the lan vlan from port 1.

@Akira25 Akira25 added the enhancement New feature or request label Dec 11, 2020
@Akira25 Akira25 added this to the falter-2.0.0 milestone Dec 11, 2020
@Akira25
Copy link
Member

Akira25 commented Jan 3, 2021

Perry wrote in #92:

I am not confortable with automatically setting a LAN port as WAN for routers which have a DSL modem in them. I would prefer to have manual intervention by the user to do this. This will keep the settings inline with openwrt and it will also prevent the user from making an unexpected mistake.

Possibly it would be useful to create a menu entry in the Freifunk menu which handles the WAN port, with options such as using LAN-N. Something similar to the new "Wireless Mesh Settings" page.

I agree on that position, as keeping compability with openwrt is one of our main goals on falter.

@pmelange pmelange modified the milestones: falter-2.0.0, falter-1.2.0 Feb 16, 2021
@Akira25
Copy link
Member

Akira25 commented Sep 4, 2021

This issue was partly solved via #212. The new default scripts will configure a WAN interface also on devices, that don't have one. Thus you can connect a port to the wan-interface easily on the switch. The ideas for more easy configuration gets addressed in the new wizard.

@Akira25 Akira25 closed this as completed Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants