Community discussions

MikroTik App
 
soleed
newbie
Topic Author
Posts: 48
Joined: Sun Apr 30, 2006 1:02 am

HOTSPOT ....... Trouble Shooting

Fri Dec 01, 2006 9:05 pm

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 ??
 
soleed
newbie
Topic Author
Posts: 48
Joined: Sun Apr 30, 2006 1:02 am

Sat Dec 02, 2006 5:37 pm

any one can help !!
 
jarosoup
Long time Member
Long time Member
Posts: 596
Joined: Sun Aug 22, 2004 9:02 am

Sat Dec 02, 2006 11:00 pm

I don't think you can run Hotspot and Web-Proxy at the same time.
 
Reefbum
Frequent Visitor
Frequent Visitor
Posts: 64
Joined: Sun Apr 23, 2006 12:00 am

Sun Dec 03, 2006 4:19 am

In your hotspot profile try leaving the DNS Name blank
 
CREATIVELINK
newbie
Posts: 31
Joined: Thu Nov 30, 2006 1:32 pm

Mon Dec 04, 2006 2:25 pm

In your hotspot profile try leaving the DNS Name blank
Same problem my freind , no login page
 
CREATIVELINK
newbie
Posts: 31
Joined: Thu Nov 30, 2006 1:32 pm

Tue Dec 05, 2006 2:24 pm

Please any help ???
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26376
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Tue Dec 05, 2006 2:25 pm

I suggest you to hire somebody to look at your setup:
http://www.mikrotik.com/consultants.html
 
User avatar
balimore
Forum Veteran
Forum Veteran
Posts: 884
Joined: Mon Apr 10, 2006 3:38 am

Tue Dec 05, 2006 4:59 pm

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
---
 
soleed
newbie
Topic Author
Posts: 48
Joined: Sun Apr 30, 2006 1:02 am

Tue Dec 05, 2006 7:28 pm

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 ??/
 
User avatar
balimore
Forum Veteran
Forum Veteran
Posts: 884
Joined: Mon Apr 10, 2006 3:38 am

Wed Dec 06, 2006 1:57 pm

---
:wink:
we so sorry our post removed...
try to next post as sergejs post..

regards
Hasbullah.com
----
Last edited by balimore on Wed Dec 06, 2006 3:38 pm, edited 1 time in total.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Wed Dec 06, 2006 3:01 pm

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.
 
iron4umx
Frequent Visitor
Frequent Visitor
Posts: 61
Joined: Wed Jan 10, 2007 8:49 am
Location: Mexico

Sat Mar 03, 2007 12:00 am

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.
 
jo2jo
Forum Guru
Forum Guru
Posts: 1003
Joined: Fri May 26, 2006 1:25 am

Sun Mar 04, 2007 1:53 am

nm
 
ikrar
newbie
Posts: 26
Joined: Thu May 18, 2006 3:52 pm

Mon Mar 05, 2007 6:44 pm

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
 
iron4umx
Frequent Visitor
Frequent Visitor
Posts: 61
Joined: Wed Jan 10, 2007 8:49 am
Location: Mexico

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

Thu Jul 19, 2007 9:26 am

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¡¡
 
iron4umx
Frequent Visitor
Frequent Visitor
Posts: 61
Joined: Wed Jan 10, 2007 8:49 am
Location: Mexico

Re:

Thu Jul 19, 2007 9:41 am

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

Who is online

Users browsing this forum: edupre, maigonis and 112 guests