wifi with hotspot lan with no hotspot

I’ve a mikrotik router hexlite connected to the internet by using WAN Type connection PPPoE


I connected to ethernet1 to WAN with WAN Type connection PPPoE details

I connected to ethernet2 to Desktop switch to connect computers and desktop

I connected to ethernet5 to DSL Router for WiFi used as DHCP client


I created hotspot for internet connection, when I rebooted the mikrotik router my Winbox could not connect the Mikrotik router for setup even after applying 192.168.88.1

it redirected to hotspot login page, so I reset my router.


What I want to do is

I want to coonect ethernet1 to WAN with WAN Type connection PPPoE
I connect ethernet2 to Desktop switch to connect computers and desktop Internet connection directly without hotspot login page.
I connect ethernet5 to DSL Router for WiFi used as DHCP client Internet connection directly with hotspot login page.


Plz tell me in details to do these things.


Rajkumar

Its easy to do that.

I assume all your ports is bridged ether 2-5 and wlan.

All you do is remove the wlan from the bridge.

Assign 192.168.30.1/24 or something and change the hotspot interface to wlan1.

Then the hotspot wil only work when users connect to wifi, devices on the lan will not be affected by the HS then

hello
reset your router with out default config

/interface bridge 
add name=local 
add name=out 
/interface bridge port 
add auto-isolate=yes bridge=out interface=ether2 
add auto-isolate=yes bridge=out interface=ether3 
add auto-isolate=yes bridge=out interface=ether4 
add auto-isolate=yes bridge=out interface=ether5 
/ip dhcp-client add interface=ether1 default-route-distance=0 use-peer-dns=yes use-peer-ntp=yes disabled=no 
/ip firewall nat add action=masquerade chain=srcnat comment="masquerade hotspot network" src-address=192.168.88.0/24;
/ip hotspot profile
set [ find default=yes ] use-radius=yes add dns-name=mynetwork.com hotspot-address=192.168.88.1 login-by=cookie,http-chap,http-pap name=hsprof1 use-radius=no
/ip address add address=192.168.88.1/24 interface=out network=192.168.88.0
/ip pool
add name=dhcp_pool1 ranges=192.168.88.2-192.168.88.254
/ip dhcp-server add add-arp=yes address-pool=pool1 disabled=no interface=out lease-time=30m name=dhcp1
/ip hotspot add address-pool=dhcp_pool1 disabled=no idle-timeout=2m interface=out name=hotspot1 profile=hsprof1
/ip dhcp-server network
add address=192.168.88.0/24  gateway=192.168.88.1
/ip hotspot user
add name=admin password=123
/system clock
set time-zone-autodetect=yes