Hotspot issue

Well first of all, i am all new to MikroTik OS vs. 2.9

I managed to set it up with help from here and there.

it has been running for a month without a glitch. DHCP, Authentication, Hotspot, etc.

but yesterday after a power failure, i restarted the system manually (NOT set to reboot automatically on purpose) and everything was ok but not the Hotspot, DHCP gives ip’s, DNS, and search domain, the server is running and responsive but no hotspot login web. i can’t access the internet.

i restore a recent working backup, but no luck. i friend of mine mentioned something about system files or directories lockups after power failure.

any help would be appreciated i really don’t want to reinstall.

Is DNS working OK from the router ?
Can you get to the hotspot page manually using the IP address of the router like http://192.168.0.254/login ?

Regards
Paul

i checked the internet street from the ADSL router, it is OK
but i cant get to the login page if that is what you mean: http://10.50.42.1/

i can login TO the router from the outside world as we type. which means internet is ok

I would check “/ip address” and insure the hotspot interface is assigned the correct ip/netmask. It should be something like 10.50.42.1/24.
Then check “/ip hotspot profile” and insure the hotspot-address=10.50.42.1 and html-directory=hotspot
Insure you are editing the correct profile.

ADD: While there, check the dns-name setting. I leave mine blank. Had trouble with that before.
Also check “/file print” to see if all html docs are still there.

Can you ping 10.50.42.1 from a local net computer on the hotspot interface?

i have tried getting to the login page, but i can’t.

i have all the setting in place, DNS-name and in the hotspot profile there is a correct ip address.

what about what i heard…? system files or directory lockups

To be honest, the only problems I have had with any RB133s is one lost the license key when I let the supply voltage fall well below 10 volts. My supplier was quick in sending me the key again, and I was back in business. My bad.

But that is why I had you check “/file”. If they disappear, you could have had a power failure that did not just turn off. Sometimes, there are several brownouts with a power failure too. Those cause the problem.

I also expeience this problem (and other problem like; vista users don’t get login page)on 2.9.5.1 , i then read somewhere in forum that upgrading is best solution. So i upgraded to 3.20… hurray!!! now vista users can see login page and all is fine. But whenever there is a power outage on the routers(I’ve a cisco 1700series behind my MT router). Every user don’t get login page again. even when i ping a public address on my MT router i get no reply. But while everything is on, i restart my cisco router, then everything will start working again. Is there any firewall rule/settings that could cause this problem. So that i don’t have to be going through this procedure everytime?

Could be a ip confilct on your network between cisco and mikrotik.Turn OFF DHCP server on cisco and set up static ip on mikrotik from cisco ip range.IF your cisco is 192.168.1.1/24 set up on mikrotik 192.168.1.2/24/ network 192.168.1.0 or set up dhcp client-mikrotik and turn on DHCP server ON-cisco.I have two hotspot servers on OS 3.20.+radius+user-manager and they working lovly.
PS. Did you set up correct maskarade for your public network?Try transparent proxy ON -hotspot user-profile.

Hi, thanks for replying here is my response

Turn OFF DHCP server on cisco and set up static ip on mikrotik from cisco ip range

:
DHCP is OFF on Cisco, and Static is on Both on 44.194.12.80/29 network. Cisco is 44.194.12.81, mikrotik 44.194.12.85

set up dhcp client-mikrotik and turn on DHCP server ON-cisco:

Not necessary,DHCP is enabled on mikrotik. Here is my route:

[admin@MikroTik] > ip route print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit

DST-ADDRESS PREF-SRC G GATEWAY DISTANCE IN..

0 A S 0.0.0.0/0 r 44.194.12.81 1 IN..
1 ADC 44.194.12.80/29 44.194.12.85 0 IN..
2 ADC 192.168.16.0/21 192.168.16.1 0 LAN



PS. Did you set up correct maskarade for your public network?

yes i think i did, here is it:

[admin@MikroTik] > ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic

0 ;;; masquerade hotspot network
chain=srcnat action=masquerade src-address=192.168.16.0/21



Try transparent proxy ON -hotspot user-profile.

Transparency is No?
Sorry my mistake, i don’t have any /24 network. My LAN network is 192.168.16.0/21 with 192.168.16.1/21 on mikrotik ether2

I have not problem when hotspot is disabled, but when i enable it(or if there is a power outage) i get a timeout on 44.194.12.81/29(cisco) unless i restart the router(cisco only) and ping from a user’s PC.