Page 1 of 1

HOTSPOT ....... Trouble Shooting

Posted: Fri Dec 01, 2006 9:05 pm
by soleed
Good morning ,

i have this follows configuration :
DNS
[admin@HOT SPOT] ip dns> print
            primary-dns: 192.168.0.200
          secondary-dns: 0.0.0.0
  allow-remote-requests: no
             cache-size: 2048KiB
          cache-max-ttl: 1w
             cache-used: 19KiB


DHCP
[admin@HOT SPOT] ip dhcp-server> print
Flags: X - disabled, I - invalid
 #   NAME             INTERFACE RELAY           ADDRESS-POOL LEASE-TIME ADD-ARP
 0   dhcp1            hot                       hs-pool-1    1h       
[admin@HOT SPOT] ip dhcp-server>



Web Proxy
[admin@HOT SPOT] ip web-proxy> print
                 enabled: yes
             src-address: 0.0.0.0
                    port: 8080
                hostname: "proxy"
       transparent-proxy: yes
            parent-proxy: 192.168.0.250:5297
     cache-administrator: "webmaster"
         max-object-size: 4096KiB
             cache-drive: system
          max-cache-size: unlimited
      max-ram-cache-size: unlimited
                  status: running
      reserved-for-cache: 13447168KiB
  reserved-for-ram-cache: 2048KiB
[admin@HOT SPOT] ip web-proxy>

HotSpot
[admin@HOT SPOT] ip hotspot> print
Flags: X - disabled, I - invalid, S - HTTPS
 #   NAME                           INTERFACE ADDRESS-POOL PROFILE IDLE-TIMEOUT
 0 X hs-ether1                      hot       hs-pool-1    hsprof1 5m         
[admin@HOT SPOT] ip hotspot> pro
[admin@HOT SPOT] ip hotspot profile> pri
Flags: * - default
 0 * name="default"

 1   name="hsprof1" hotspot-address=10.10.10.1 dns-name="hotspot.creativelink.net"
     html-directory=hotspot rate-limit="" http-proxy=10.10.10.1:8080
     smtp-server=192.168.0.250 login-by=http-chap,http-pap
     split-user-domain=no use-radius=no
[admin@HOT SPOT] ip hotspot profile>


and This users Profile

[admin@HOT SPOT] ip hotspot user profile> pr
Flags: * - default
 0 * name="default" idle-timeout=none keepalive-timeout=2m
     status-autorefresh=1m shared-users=1 transparent-proxy=yes
     open-status-page=http-login advertise=no
[admin@HOT SPOT] ip hotspot user profile>



The Problem :
when i open the explorer i should have the login page but ...... Nothing appear ,

i try put the webproxy IP and port ,
i open th explorer and every thing seems working login ,
but no internet connection ,

another try i disable the hotspot and open the explorer and every think work internet in working ,


please advice me what did i do wrong ,
and do i have to put the webproxy ip and port in explorer for all my hot spot clients ??

Posted: Sat Dec 02, 2006 5:37 pm
by soleed
any one can help !!

Posted: Sat Dec 02, 2006 11:00 pm
by jarosoup
I don't think you can run Hotspot and Web-Proxy at the same time.

Posted: Sun Dec 03, 2006 4:19 am
by Reefbum
In your hotspot profile try leaving the DNS Name blank

Posted: Mon Dec 04, 2006 2:25 pm
by CREATIVELINK
In your hotspot profile try leaving the DNS Name blank
Same problem my freind , no login page

Posted: Tue Dec 05, 2006 2:24 pm
by CREATIVELINK
Please any help ???

Posted: Tue Dec 05, 2006 2:25 pm
by normis
I suggest you to hire somebody to look at your setup:
http://www.mikrotik.com/consultants.html

Posted: Tue Dec 05, 2006 4:59 pm
by balimore
I suggest you to hire somebody to look at your setup:
http://www.mikrotik.com/consultants.html
---
hei...friend
yes, you are right...
but until now our hotspot is great and fine...fine...fine..

regards
Hasbullah.com
---

Posted: Tue Dec 05, 2006 7:28 pm
by soleed
I suggest you to hire somebody to look at your setup:
http://www.mikrotik.com/consultants.html
---
hei...friend
yes, you are right...
but until now our hotspot is great and fine...fine...fine..

regards
Hasbullah.com
---

Freind can you help me with my Hotspot ??/

Posted: Wed Dec 06, 2006 1:57 pm
by balimore
---
:wink:
we so sorry our post removed...
try to next post as sergejs post..

regards
Hasbullah.com
----

Posted: Wed Dec 06, 2006 3:01 pm
by sergejs
Soleed,
make sure you have accomplished the following requirements,
1. Valid IP config is required on both interfaces.
2. valid DNS configuration in the /ip dns submenu
3. HotSpot configured on the Local interface, using the same IP address pool as DHCP server uses for that interface.

I suggest you to reset the current router configuration using 'system reset', then add IP addresses and route confiuguration, as well SRC-NAT rules to allow access for local IP addresses.
Add DNS settings to ip dns menu, make sure that local client is able to connect to public networks.
Then setup HotSpot,
'ip hotspot setup'
- select local interface;
- 'local address of network' should be address of the local interace;
- masquerade network: no (as you have already created masquerade rule);
- use address-pool predefined value;
- select certificate: none
- specify SMTP server address, if you want to redirect all clients to the specific SMTP server;
- specify DNS server addresses for HotSpot clients;
- dns name leave blank;
- add default user (as well you can additional users to 'ip hotspot user' menu).
Then HotSpot should work fine.

Posted: Sat Mar 03, 2007 12:00 am
by iron4umx
After a lot of strugle with the hotspot, I found that these steps should set up the initial configuration for a hotspot to work:

assuming that your router has no configuration (assuming that you reset it)

If you have an internet conection that sends DHCP then in the interface that connects to your ISP put a DHCP client

Then run the hotspot setup for the interface the hotspot is going to be in, select the IP RANGE x.x.x.x/x (You can have it like 192.168.0.1/16) yes on maskerade network, and the rest is up to you.

Then it should work.

This will give you a basic configuration so you can add the other feathures latter.

Hope this hellps you... I am really new to RouterOs.

Posted: Sun Mar 04, 2007 1:53 am
by jo2jo
nm

Posted: Mon Mar 05, 2007 6:44 pm
by ikrar
have you try to configured IP redirect in yout firewall, because you have chose tranparent proxy so you have to create a transparent proxy too not just only proxy.



regards,


Ikrar

Re: HOTSPOT ....... Trouble Shooting

Posted: Thu Jul 19, 2007 9:26 am
by iron4umx
I don't think you can run Hotspot and Web-Proxy at the same time.
It can be done :wink:
Steps:

1.-Upgrade to latest version
2.-Set the ip for the interface on with the router is goin to run hotspot, like: 192.168.0.1/16
Yo can skip this since I have not done this, it's just an Idea: go to webbox and mark the "protect router" and "protect client"
3.-If you can implement ppp0e(highly recommended) on your WAN interface, do so and enable: use peer dns. f your ISP provides you with dynamic or static DHCP ip's then on your WAN interface set up a DHCP client. If you have manual static IP then call your ISP so they can give you the rigth configuration
4.-Run the hotspot setup wizard to create the hostpot.
5.-Set web-proxy to transparent and enable it.
6.-on ip-firewall: put this nat rule:
chain=hotspot action=redirect to-ports=3128 in-interface=local dst-port=80 protocol=tcp
(interface local is the interface on witch the hotspot is running)
7.-in ip-services: change your www service to another port (not port 80 since it will be used for web-proxy)
8.-if you wold like to use usermanager... go ahead¡¡¡ it's cool¡¡

Re:

Posted: Thu Jul 19, 2007 9:41 am
by iron4umx
In your hotspot profile try leaving the DNS Name blank
Same problem my freind , no login page
Yes, this problem is because both hotspot and web-proxy use the same port: port 80, and when they are working at the same time, the nat rule that redirects the traffict from port 80 to the web-proxy is responsible for this.
Follow the steps I gave in my previous post, allso, view my topics, I had the same problems, they are all fixed and I posted the solutions for them.


Best Regards: iron4umx