Hap ax2 2 GHz wifi in different modes

Hello,

I have the wifi2 (2 GHZ) adapter running as AP in a bridge, internet by WAN/ether1. mode "HOME"
This works well.

I would like to make a 2nd wifi2 interface (not active /enabled at the same time , mode "TRAVEL").
to provide internet connection instead of WAN/ether1 .

I have/want to use the 2 GHZ wifi for both modes.

Is this principally possible?

BR Siegfried

In principle it can be done.
But using the same radio, say with the real wifi interface as Station (or Station-pseudobridge) and an added slave virtual interface as AP, will roughly halve the throughput.
So on an already slowish 2.4 GHz radio you won't have much speed.

Thank you,
I want to use them alternatively.
-Either interternet by ether1 and 2GHz wifi as AP

-internet by wifi2 and no AP (most of the hotels still have 2GHz)

Siegfried

Ah, ok. :slightly_smiling_face:

Then it is just the case of having a script of some kind to alternate between two configurations.

If you have a device with a "mode" button - you could "link" the button to the script, while having (as well if your device has it) the "user led" as visual indicator of which configuration you are running[1].

I would start making a "HOME" configuration (and test it thoroughfully).
Then making a "TRAVEL" confioguration (and as well test it thoroughfully).

Then it will be just a matter of finding the differences between the two with something like (shameless plug :wink: ):

[1] Useful for managing the led and button:

Thanks,

wifi 2, when AP is part of a bridge, this is a problem in the other mode.
Also the firewall rules have to change.

I'll try agian from 0

BR Siegfried

Not really.

If you use properly the default rules, they are based on interface categorization, you change the categorization of interfaces leaving firewall rules untouched.

Example (home):

/interface bridge port
add bridge=bridge comment=defconf interface=ether2 
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=Homeconf interface=wifi1
...
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
...

/interface list member
add comment=defconf interface=bridge list=LAN
add comment=Homeconf interface=ether1 list=WAN
...

(travel):

/interface bridge port
add bridge=bridge comment=defconf interface=ether2 
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5

...
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
...

/interface list member
add comment=defconf interface=bridge list=LAN
add comment=Travelconf interface=wifi1 list=WAN
...

would do without touching the firewall.