Community discussions

MikroTik App
 
User avatar
overdream
newbie
Topic Author
Posts: 30
Joined: Fri Jul 04, 2014 7:48 am
Location: China

Resolved, ~~ strange problem, the hotspot can't work any more, please help

Tue Feb 17, 2015 10:24 am

I have to reset my router (RB951Ui) in today with basic configuration, but strange problem is the hotspot page can't work any more, the IE say "404 error, can't find the page", it's happened when I open any outside website, but hotspot on the gateway IP address "172.16.0.1" is working


below is my configuration, sincerely thanks

# feb/17/2015 08:14:05 by RouterOS 6.5
# software id = AP9J-1DL6
#
/interface bridge
add admin-mac=4C:5E:0C:31:E2:EB auto-mac=no l2mtu=1598 name=bridge-local protocol-mode=rstp
/interface ethernet
set [ find default-name=ether1 ] name=ether1-gateway
set [ find default-name=ether2 ] name=ether2-master-local
set [ find default-name=ether3 ] master-port=ether2-master-local name=ether3-slave-local
set [ find default-name=ether4 ] master-port=ether2-master-local name=ether4-slave-local
set [ find default-name=ether5 ] master-port=ether2-master-local name=ether5-slave-local
/interface pppoe-client
add add-default-route=yes disabled=no interface=ether1-gateway name="\D6\D0\B9\FA\C1\AA\CD\A8" password= user=
/ip neighbor discovery
set ether1-gateway discover=no
/interface wireless security-profiles
add authentication-types=wpa-psk,wpa2-psk eap-methods="" management-protection=allowed mode=dynamic-keys name=82128388 supplicant-identity="" wpa-pre-shared-key=82128388 \
wpa2-pre-shared-key=82128388
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-ht-above disabled=no distance=indoors ht-rxchains=0,1 ht-txchains=0,1 l2mtu=2290 mode=ap-bridge name=\
Home security-profile=82128388 ssid=Home
add disabled=no l2mtu=2290 mac-address=4E:5E:0C:31:E2:EF master-interface=Home name="Home Free" ssid="Home Free" wds-cost-range=0 wds-default-cost=0
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m mac-cookie-timeout=3d
/ip pool
add name=192.168.88.0-dhcp ranges=192.168.88.10-192.168.88.254
add name=172.16.0.0-dhcp ranges=172.16.0.100-172.16.0.150
/ip dhcp-server
add address-pool=192.168.88.0-dhcp disabled=no interface=bridge-local name=default
add address-pool=172.16.0.0-dhcp disabled=no interface="Home Free" name=server1
/ip hotspot user profile
add address-pool=172.16.0.0-dhcp idle-timeout=none keepalive-timeout=2m mac-cookie-timeout=3d name="172.16.0.0 uprof1" transparent-proxy=yes
/ip hotspot profile
add login-by=http-chap,trial name="172.16.0.0 hsprof1" trial-user-profile="172.16.0.0 uprof1"
/ip hotspot
add address-pool=172.16.0.0-dhcp disabled=no idle-timeout=none interface="Home Free" name=server1 profile="172.16.0.0 hsprof1"
/interface bridge port
add bridge=bridge-local interface=ether2-master-local
add bridge=bridge-local interface=Home
/ip address
add address=192.168.88.1/24 comment="default configuration" interface=bridge-local network=192.168.88.0
add address=172.16.0.1/24 interface="Home Free" network=172.16.0.0
/ip dhcp-client
add comment="default configuration" dhcp-options=hostname,clientid disabled=no interface=ether1-gateway
/ip dhcp-server network
add address=172.16.0.0/24 dns-server=119.6.6.6 gateway=172.16.0.1
add address=192.168.88.0/24 comment="default configuration" dns-server=119.6.6.6 gateway=192.168.88.1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 name=router
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" disabled=yes
add chain=input comment="default configuration" protocol=icmp
add chain=input comment="default configuration" connection-state=established
add chain=input comment="default configuration" connection-state=related
add action=drop chain=input comment="default configuration" in-interface=ether1-gateway
add chain=forward comment="default configuration" connection-state=established
add chain=forward comment="default configuration" connection-state=related
add action=drop chain=forward comment="default configuration" connection-state=invalid
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" disabled=yes
add action=masquerade chain=srcnat comment="default configuration"
/ip service
set www port=800
/system leds
set 0 interface=Home
/system ntp client
set enabled=yes mode=unicast primary-ntp=202.118.1.81 secondary-ntp=202.112.10.36
Last edited by overdream on Tue Feb 17, 2015 1:00 pm, edited 1 time in total.
 
User avatar
overdream
newbie
Topic Author
Posts: 30
Joined: Fri Jul 04, 2014 7:48 am
Location: China

Re: strange problem, the hotspot can't work any more, please help

Tue Feb 17, 2015 10:28 am

I'm forgot to post the hotspot working on gateway when I add it in walled garden IP list. but can't work when I try to open any outside website.

I think something wrong/missing in my configuration, but I can't find it.
Last edited by overdream on Tue Feb 17, 2015 10:53 am, edited 1 time in total.
 
noib
Member Candidate
Member Candidate
Posts: 291
Joined: Fri Jan 25, 2013 6:04 pm
Location: France
Contact:

Re: strange problem, the hotspot can't work any more, please help

Tue Feb 17, 2015 10:33 am

did you change something in the hotspot html files? renaming, moving, deleting?
 
User avatar
overdream
newbie
Topic Author
Posts: 30
Joined: Fri Jul 04, 2014 7:48 am
Location: China

Re: strange problem, the hotspot can't work any more, please help

Tue Feb 17, 2015 10:42 am

did you change something in the hotspot html files? renaming, moving, deleting?

No, I try to reset all of my router with default settings, and hotspot folder created by system automatically.
 
User avatar
overdream
newbie
Topic Author
Posts: 30
Joined: Fri Jul 04, 2014 7:48 am
Location: China

Re: strange problem, the hotspot can't work any more, please help

Tue Feb 17, 2015 12:59 pm

problem resolved, I have type the wrong DNS, now change the DNS server to local gateway in DHCP server, and it's working, Thanks everyone.