Community discussions

MikroTik App

Search found 530 matches

  • 1
  • 2
by namo
Sat Aug 09, 2014 10:06 am
Forum: General
Topic: hotspot doesn't forward HTTPS to login page
Replies: 4
Views: 1874

hotspot doesn't forward HTTPS to login page

Many users in my hotspot has home page with https such as https://www.google.com/?gws_rd=ssl
and they are not forwarded to login page when first enter the hotspot.

How can I solve this?

I have RouterOS v6.15
by namo
Fri Jun 20, 2014 11:45 am
Forum: General
Topic: Moving Mikrotik license from one hard disk to another one
Replies: 1
Views: 1529

Moving Mikrotik license from one hard disk to another one

I had Mikrotik Router OS on x86 PC. My hard disk and PC is very old and I want to move the RouterOS to new PC and hard disk. I have Router OS's license key and software ID for the old hard disk.

Is it possible to move this license to the new hard disk and how to that?
by namo
Thu Sep 05, 2013 9:27 pm
Forum: Scripting
Topic: need a script to move users from one profile to another
Replies: 2
Views: 1662

Re: need a script to move users from one profile to another

I new to script. Could you show me how to do that?
by namo
Thu Aug 08, 2013 12:28 pm
Forum: Scripting
Topic: need a script to move users from one profile to another
Replies: 2
Views: 1662

need a script to move users from one profile to another

I have script to move PPPoE users from one profile to another on certain days of the month, But the script is noworking. What is wrong with it? :local day [:pick [/system clock get date] 4 6]; :if ($day = "15") do={ /ppp secret disable [/ppp secret find profile="to be deleted 0400&quo...
by namo
Wed Aug 07, 2013 12:11 pm
Forum: Scripting
Topic: correct this script
Replies: 3
Views: 1518

Re: correct this script

I just enter the forum today. thank you c0d3rSh3ll but the script still not working :local day [:pick [/system clock get date] 4 6]; :if ($day = "15") do={ /ppp secret disable [/ppp secret find profile="to be deleted 0400"] /ppp secret set [/ppp secret find profile="0400kbps...
by namo
Fri Jul 26, 2013 11:07 pm
Forum: Scripting
Topic: correct this script
Replies: 3
Views: 1518

correct this script

what is wrong in this script? It is not working :local day [:pick [/system clock get date] 4 6]; :if ($day = "15") do={ /ip ppp secret disable [/ip ppp secret find profile="to be deleted 0400"] /ip ppp secret set [/ip ppp secret find profile="0400kbps money"] profile=&q...
by namo
Fri Jul 19, 2013 12:54 am
Forum: Scripting
Topic: create same profile in hotspot for PPPoE
Replies: 0
Views: 822

create same profile in hotspot for PPPoE

I have several profiles in hotspot and I want a script to create the same profiles for pppoE
by namo
Fri Sep 28, 2012 11:46 am
Forum: Scripting
Topic: why this scrip is not working any more?
Replies: 1
Views: 1420

why this scrip is not working any more?

I have RouterOS v5.30 This script used to work but I don't know if I changed something that make doesn't work :local day [:pick [/system clock get date] 4 6]; :if ($day = "01") do={ /ip hotspot user profile set [/ip hotspot user profile find name="0400kbps money"] advertise-inter...
by namo
Fri Jun 08, 2012 11:05 am
Forum: General
Topic: Moving Mikrotik license from one hard disk to another
Replies: 3
Views: 2455

Re: Moving Mikrotik license from one hard disk to another

You need the assistance of support team to do that. I suggest you email support with support.rif file.
How can I get "support.rif" file?
by namo
Thu Jun 07, 2012 8:06 pm
Forum: General
Topic: Moving Mikrotik license from one hard disk to another
Replies: 3
Views: 2455

Moving Mikrotik license from one hard disk to another

I had Mikrotik Router OS on x86 PC. My hard disk and PC is very old and I want to move the RouterOS to new PC and hard disk. I have Router OS's license key and software ID for the old hard disk.

Is it possible to move this license to the new hard disk and how to that?
by namo
Sun May 27, 2012 10:55 pm
Forum: General
Topic: Remove IP and mac appearance in Winbox
Replies: 1
Views: 1833

Remove IP and mac appearance in Winbox

In Winbox before login , next to "connect to", there is square with three dots, and when you press on it, you get the ip and mac address of the interface you are connect to. How to remove this so when you press the button, nothing appear?
by namo
Sun May 27, 2012 3:57 pm
Forum: General
Topic: How can I move Mikrotik Router OS setting from one board to
Replies: 8
Views: 2058

Re: How can I move Mikrotik Router OS setting from one board

more precisely, I recommend "/export compact file=name" command. "Compact" is important, as it only exports the changes that you made.
and in the other board should I do

/import file=name

or there is /import compact file=name
by namo
Thu May 03, 2012 11:16 am
Forum: General
Topic: How can I move Mikrotik Router OS setting from one board to
Replies: 8
Views: 2058

Re: How can I move Mikrotik Router OS setting from one board

more precisely, I recommend "/export compact file=name" command. "Compact" is important, as it only exports the changes that you made. Is the compact file is enough. because I notice that I might not need to change anything but the file size is smaller that the one you get from ...
by namo
Thu May 03, 2012 11:08 am
Forum: General
Topic: How can I move Mikrotik Router OS setting from one board to
Replies: 8
Views: 2058

Re: How can I move Mikrotik Router OS setting from one board

You can use Export command, make necessary changes and then Import it to the other one
what are the necessary changes. Do I need to only change the mac addresses?
by namo
Fri Apr 27, 2012 10:10 am
Forum: General
Topic: How can I move Mikrotik Router OS setting from one board to
Replies: 8
Views: 2058

How can I move Mikrotik Router OS setting from one board to

I want to move the exact setting(all what its in the baord setting and users) from RB450 to RB450G board. What should I do?
by namo
Thu Mar 22, 2012 5:00 am
Forum: General
Topic: winbox for android
Replies: 1
Views: 2775

winbox for android

Is there Winbox program for Android phones? and does it work as windows winbox or extra setting need to be added in Mikrotik to make it work?
by namo
Thu Mar 22, 2012 4:27 am
Forum: General
Topic: Email setting
Replies: 3
Views: 1255

Email setting

I have RouterOS v5.7 I used Email Tool and script to send backup email from my gmail the setting was Server: 74.125.53.109 Port: 587 From:xxx@gmail.com User:xxx@gmail.com password:xxxx but now it is not working because the server smtp.gmail.com resolve to 209.85.225.108 so I have to change the ip in...
by namo
Sun Oct 16, 2011 7:40 pm
Forum: General
Topic: correct speed for for user profile in hotspot
Replies: 6
Views: 1932

Re: correct speed for for user profile in hotspot

thank you sadeghrafie. I will try this
by namo
Sun Oct 16, 2011 7:25 pm
Forum: Scripting
Topic: Is it possible to edit the comment using script ?
Replies: 1
Views: 1443

Is it possible to edit the comment using script ?

I have Mikrotik RouterOs v5.7 with hotspot. Is it possible to get all users with "$" in their comment and change them from user profile "0400kbps money" to user profile "0400kbps" . And then delete "$" from the comment for example user: AK2011 profile: 0400kbp...
by namo
Sun Oct 16, 2011 12:38 pm
Forum: General
Topic: correct speed for for user profile in hotspot
Replies: 6
Views: 1932

Re: correct speed for for user profile in hotspot

Isn't better to use something like

rate limit: 25k/400k 100k/400k 50k/400k 10
by namo
Sun Oct 16, 2011 7:24 am
Forum: General
Topic: change multi WAN Mikrotik router setting if modems bridgei
Replies: 4
Views: 1984

Re: change multi WAN Mikrotik router setting if modems bridg

I have added nat rule for wan1 , wan 2 and wan 3 and now I can acess the modems but will this effect the load balancing (Is this OK?)
by namo
Sun Oct 16, 2011 6:49 am
Forum: General
Topic: change multi WAN Mikrotik router setting if modems bridgei
Replies: 4
Views: 1984

Re: change multi WAN Mikrotik router setting if modems bridg

after the change, it seems that I can no access the modem pages. what should I do?

Note: when I connect to the modem directly I can acess the modem page ( for example modem 1 : 192.168.9.168)
by namo
Sun Oct 16, 2011 6:46 am
Forum: General
Topic: correct speed for for user profile in hotspot
Replies: 6
Views: 1932

Re: correct speed for for user profile in hotspot

Hi, Simply, As you know every connection need both send and receive. If You limit the client (which have receive more than send) it will affect on the speed. for example , when you open google.com and write in search filed "Mikrotik", this word have to send to the server to reply to your ...
by namo
Sat Oct 15, 2011 6:59 pm
Forum: General
Topic: correct speed for for user profile in hotspot
Replies: 6
Views: 1932

correct speed for for user profile in hotspot

I have Mikrotik v5.7 with hotspot. I have user profile with 400kbps download and 25kbps upload and another profile with 800jbps download and 50kbps upload. Is it correct to put the rate limit(rx/tx) as 25k/400k for the first profile and 50k/800k for the second profile. I am asking this because I rea...
by namo
Sat Oct 15, 2011 8:45 am
Forum: General
Topic: change multi WAN Mikrotik router setting if modems bridgei
Replies: 4
Views: 1984

Re: change multi WAN Mikrotik router setting if modems bridg

after creating pppoe clients for each wan port, should I change all the interfaces and gateways setting it as the fallowing /ip firewall address-list add list=exempt-from-pcc address=192.168.9.168/32 add list=exempt-from-pcc address=192.168.3.168/32 add list=exempt-from-pcc address=192.168.11.168/32...
by namo
Sat Oct 15, 2011 8:35 am
Forum: General
Topic: Web server
Replies: 5
Views: 1526

Re: Web server

it worked . thank you
by namo
Sat Oct 15, 2011 1:19 am
Forum: General
Topic: change multi WAN Mikrotik router setting if modems bridgei
Replies: 4
Views: 1984

change multi WAN Mikrotik router setting if modems bridgei

I have Mikrotik routerOS v5.7 and I am using the fallowing code to combine three line /ip firewall address-list add list=exempt-from-pcc address=192.168.9.168/32 add list=exempt-from-pcc address=192.168.3.168/32 add list=exempt-from-pcc address=192.168.11.168/32 /ip firewall mangle add chain=prerout...
by namo
Sat Oct 15, 2011 12:28 am
Forum: General
Topic: how to move setting from one Mirotik router to another one
Replies: 9
Views: 3334

Re: how to move setting from one Mirotik router to another o

I see.
So it is the best that do export to file and and change all to the mac address to the one in the new device.
by namo
Sat Oct 15, 2011 12:26 am
Forum: General
Topic: Web server
Replies: 5
Views: 1526

Re: Web server

how to do this?
by namo
Thu Oct 06, 2011 4:57 pm
Forum: General
Topic: how to move setting from one Mirotik router to another one
Replies: 9
Views: 3334

Re: how to move setting from one Mirotik router to another o

From the very link I posted: The configuration backup can be used for backing up MikroTik RouterOS configuration to a binary file, which can be stored on the router or downloaded from it using FTP for future use. The configuration restore can be used for restoring the router's configuration, exactl...
by namo
Mon Oct 03, 2011 5:37 pm
Forum: General
Topic: how to move setting from one Mirotik router to another one
Replies: 9
Views: 3334

Re: how to move setting from one Mirotik router to another o

what about if I change the mac address of two router so they become mached, and then backup the first router and use the backup file in the second router?
by namo
Mon Oct 03, 2011 5:27 pm
Forum: General
Topic: how to move setting from one Mirotik router to another one
Replies: 9
Views: 3334

how to move setting from one Mirotik router to another one

I have a Mikrotik router that has certain setting and I want to move all the setting of this router to another one. Before I used the backup file but in this method I have to check all the setting that involve Ethernet interfaces because the each router interfaces has different mac addresses so it d...
by namo
Sat Oct 01, 2011 2:11 pm
Forum: General
Topic: url with full speed
Replies: 0
Views: 784

url with full speed

I have Mikrotik RouterOS v 5.7 with hotspot user. each user has speed of 800kbps download and 50kbps upload from his hotspot profile. Is there away to have the link for example http://www.test.com\video.avi with full speed. I don't want all the site just this link to have full internet speed. Or hav...
by namo
Sat Oct 01, 2011 7:24 am
Forum: General
Topic: Web server
Replies: 5
Views: 1526

Web server

My network has the fallowung conpenent: Hotspot+PPPoE Mikrotik router (intel PC) Lan 192.168.2.1 WAN 192.168.1.1 RB450 router used to combine 3 lines lan 192.168.1.50 wan1 192.168.3.1 wan2 192.168.7.1 wan3 192.168.9.1 Server 10.10.10.1 ( the server connected to this port and has ip 10.10.10.10) Inte...
by namo
Fri Sep 30, 2011 4:52 pm
Forum: General
Topic: Internet is slow when many users login
Replies: 9
Views: 3349

Re: Internet is slow when many users login

thank you Caci99. no one mention this before. the combine seems better now.
by namo
Thu Sep 29, 2011 11:00 pm
Forum: General
Topic: Internet is slow when many users login
Replies: 9
Views: 3349

Re: Internet is slow when many users login

I have the code below. how can I change it? what lines I need to disable and what lines to add? /ip firewall address-list add list=exempt-from-pcc address=192.168.9.168/32 add list=exempt-from-pcc address=192.168.3.168/32 add list=exempt-from-pcc address=192.168.11.168/32 /ip firewall mangle add cha...
by namo
Wed Sep 28, 2011 1:17 pm
Forum: General
Topic: Internet is slow when many users login
Replies: 9
Views: 3349

Re: Internet is slow when many users login

When you say ADSL you are implying two things; Low upload capacity and if you reach close to the maximum upload capacity it will indirectly affect your download speed. ADSL modems usually have very small CPU's that can't handle too many packets per second. Shouldn't the modem handle the speed of 12...
by namo
Sat Sep 24, 2011 4:56 pm
Forum: General
Topic: Internet is slow when many users login
Replies: 9
Views: 3349

Re: Internet is slow when many users login

When you say ADSL you are implying two things; Low upload capacity and if you reach close to the maximum upload capacity it will indirectly affect your download speed. ADSL modems usually have very small CPU's that can't handle too many packets per second. Shouldn't the modem handle the speed of 12...
by namo
Thu Sep 08, 2011 8:39 pm
Forum: General
Topic: Internet is slow when many users login
Replies: 9
Views: 3349

Internet is slow when many users login

I have routerOS v5.6 level 5 with hotspot. when many users login (20-30 users) to the hotspot, the internet is very slow. I have two 12Mbps ADSL lines and each user has 800kbps Internet speed. I have the hotspot on intel PC and I am using RB450 to combine the two lines using pcc code from this site....
by namo
Thu Sep 01, 2011 6:16 pm
Forum: General
Topic: one or two routerboard to combine two line
Replies: 11
Views: 2877

Re: one or two routerboard to combine two line

it is working properly without problems when one router is for combining the two lines and another for hotspot and PPPoE in he same interface. If will try to see if combining two lines with hotspot + PPPoE in the same interface work in one router.
by namo
Thu Sep 01, 2011 4:45 pm
Forum: General
Topic: one or two routerboard to combine two line
Replies: 11
Views: 2877

Re: one or two routerboard to combine two line

One thing that I didn't mention is that I have hotspot and PPPoE in the same interface so I might need special setting to have the hotspot+ PPPoE + PCC working in the same borad. In the PCC code with hotspot, you need to add hotspot=auth to all firewall mangle rules, will this mean that PPPoE will s...
by namo
Thu Sep 01, 2011 4:12 pm
Forum: General
Topic: one or two routerboard to combine two line
Replies: 11
Views: 2877

Re: one or two routerboard to combine two line

thank you, I have a steps and code to combine two lines with hotspot but currently I have one PC for hotspot and RB450 so that mean I have two seperate setting ( backyp file) after using the steps and combining two line with hotspot. I need to extract extra firewall setting and other setting like em...
by namo
Sat Aug 27, 2011 11:26 pm
Forum: General
Topic: one or two routerboard to combine two line
Replies: 11
Views: 2877

Re: one or two routerboard to combine two line

right, i need a bit more info your physical setup. >how far away is your furthest client. >I've the term hotspot thrown around for a lot these days, are your clients actually using the hotspot system on the mikrotik boards o are they dialing in with PPPoe >where in relation to your antenna location...
by namo
Sat Aug 27, 2011 12:29 pm
Forum: General
Topic: one or two routerboard to combine two line
Replies: 11
Views: 2877

Re: one or two routerboard to combine two line

it all depends really everything you want to do can be handled from one board, logically that is truth be told, we don't know enough of what you want to do to tell you how to go about it I want to combine the two line using PCC. I have around 50 Hotspot users and Level 5 routerOS. I want to use RB4...
by namo
Sat Aug 27, 2011 3:25 am
Forum: General
Topic: one or two routerboard to combine two line
Replies: 11
Views: 2877

one or two routerboard to combine two line

I want to combine two ADSL line and Use Hotspot.

So What is better to use one routerboard to combine the two line and for Hotspot?

Or use one routerboard to combine the two line and another one for hotspot and DHCP?
by namo
Mon Aug 22, 2011 8:33 am
Forum: General
Topic: another instance of status page pop up
Replies: 1
Views: 927

Re: another instance of status page pop up

I see.
the reason is this line
<input type="hidden" name="popup" value="true" />
I changed "true" to "false"
by namo
Mon Aug 22, 2011 8:29 am
Forum: General
Topic: another instance of status page pop up
Replies: 1
Views: 927

another instance of status page pop up

I have Mikrotik router OS v5.6 with Hotspot. My login page is setup so that when user login in he is forwarded to status page. In my computers, only the status page open but I notice that in some of my clients computers a status page open and aslo another instants of the status page open as pop-u wi...
by namo
Tue Aug 02, 2011 3:48 pm
Forum: General
Topic: "skip router advertisement sending on" , Is it a problem?
Replies: 9
Views: 3790

Re: "skip router advertisement sending on" , Is it a problem

Yes.
I disable the ipv6 package from Winbox and "schedule to be disabled" was written beside it in Winbox and in the next reboot, IPv6 package is still there and it was not disabled.
by namo
Sat Jul 30, 2011 7:21 am
Forum: General
Topic: "skip router advertisement sending on" , Is it a problem?
Replies: 9
Views: 3790

Re: "skip router advertisement sending on" , Is it a problem

Uninstall the IPv6 package, as mentioned previously.
Is it enough to disable IPv6 package?
by namo
Sat Jul 30, 2011 6:58 am
Forum: General
Topic: changes to PCC if ADSL modem bridge
Replies: 5
Views: 1653

Re: changes to PCC if ADSL modem bridge

You have two basic methods to implement fail-over, this should not require any modification to your current setup. 1.) Write a script that will test the lines for you via pings, or some other method. 2.) Use the scriptless method described in the Wiki and in the forum. http://wiki.mikrotik.com/wiki...
by namo
Sat Jul 30, 2011 6:57 am
Forum: General
Topic: RB450 rest the time after each restart
Replies: 8
Views: 1898

Re: RB450 rest the time after each restart

It worked thank you petrn and everyone
by namo
Fri Jul 29, 2011 9:24 pm
Forum: General
Topic: problem using a forum with pcc load balance
Replies: 27
Views: 6836

Re: problem using a forum with pcc load balance

/ip firewall nat add chain=pre-hotspot hotspot=auth dst-address-type=!local action=accept
this code has cause the internet to stop working in some of the computers and when I disabled it, the internet work with those users.

why is this happening with those users?
by namo
Wed Jul 27, 2011 10:50 pm
Forum: General
Topic: RB450 rest the time after each restart
Replies: 8
Views: 1898

Re: RB450 rest the time after each restart

No. This is a FAQ. Search the forums, this comes up once a week - RouterBOARDs have never had CMOS batteries, so it is expected that they lose time on reboot. You need to use NTP to sync them.
what should I put for ntp-primary and secondary IP addresses?
by namo
Wed Jul 27, 2011 9:29 pm
Forum: General
Topic: RB450 rest the time after each restart
Replies: 8
Views: 1898

Re: RB450 rest the time after each restart

Does my reouter borard RB450 have battery to store time ?
by namo
Wed Jul 27, 2011 9:26 pm
Forum: General
Topic: changes to PCC if ADSL modem bridge
Replies: 5
Views: 1653

Re: changes to PCC if ADSL modem bridge

You have two basic methods to implement fail-over, this should not require any modification to your current setup. 1.) Write a script that will test the lines for you via pings, or some other method. 2.) Use the scriptless method described in the Wiki and in the forum. http://wiki.mikrotik.com/wiki...
by namo
Wed Jul 27, 2011 4:58 am
Forum: General
Topic: RB450 rest the time after each restart
Replies: 8
Views: 1898

RB450 rest the time after each restart

I have RB450 routerborard and each time I reboot or shutdown the router , the clock time rest to JAN/01/1970 00:00 or if I set the time zone to Abu Dhabi, it reset to 04:00 and the same date. how I keep the time correct even if the system shutdown forcefully.
by namo
Wed Jul 27, 2011 4:55 am
Forum: General
Topic: changes to PCC if ADSL modem bridge
Replies: 5
Views: 1653

Re: changes to PCC if ADSL modem bridge

the solution I got last time was not clear so I decide to open a new topic for this issuse.
by namo
Tue Jul 26, 2011 12:40 am
Forum: General
Topic: changes to PCC if ADSL modem bridge
Replies: 5
Views: 1653

changes to PCC if ADSL modem bridge

I have combine two ADSL lines(with ADSL modems in router mode) using the fallowing code below. I want now to bridge the two ADSL lines so if the internet from one line is off, the traffic goes to the second line. what lines should I add and what line should I remove and disabled from winbox? I want ...
by namo
Mon Jul 18, 2011 9:33 am
Forum: General
Topic: problem using a forum with pcc load balance
Replies: 27
Views: 6836

Re: problem using a forum with pcc load balance

If you put ADSL modem in bridge mode and make PPPoE connection with mikrotik, through the modem, this will solve this. Make use off PPPoE instead of Ether. Will also just have to Nat the PPPoE connection on Mikrotik, since ADSL modem wont do it in bridge mode. I have modem-router and I look for awa...
by namo
Sun Jul 17, 2011 8:52 am
Forum: General
Topic: problem using a forum with pcc load balance
Replies: 27
Views: 6836

Re: problem using a forum with pcc load balance

thank you for your help. Now everything is fine expect when one of internet connection is off. The traffic doesn't go to the second line since the modem of the first line is on (there is respond from the modem and there is ADSL connection but there is no internet).
by namo
Sat Jul 16, 2011 10:17 am
Forum: General
Topic: problem using a forum with pcc load balance
Replies: 27
Views: 6836

Re: problem using a forum with pcc load balance

Indeed. It is, however, the only generic solution available to you. Though you could of course single out heavy download users and manually assign PCC marks. That's much more feasible than tracking all clustered secure sites and forums. thank you few. Now since each user go to one line. Should I ch...
by namo
Sat Jul 16, 2011 10:04 am
Forum: General
Topic: PCC load blance when the line is on but no internet
Replies: 2
Views: 1498

Re: PCC load blance when the line is on but no internet

The basic solution is you need to implement a method for the router to test a specific route to insure that it is working properly and if it's not disable it and clear out the connection table for that route. The reason why unplugging the router works is because it then puts the Ethernet link offli...
by namo
Thu Jul 14, 2011 9:27 am
Forum: General
Topic: PCC load blance when the line is on but no internet
Replies: 2
Views: 1498

PCC load blance when the line is on but no internet

I combine ADSL lines using PCC load balancing. Sometimes One of the line has no internet connection but the ADSL siginal is on. When this happen, the internet stop working for some users. If I Turn off the modem, the problem is solved and all users traffic goes through the Second ADSL line. The inte...
by namo
Wed Jul 13, 2011 8:23 am
Forum: General
Topic: problem using a forum with pcc load balance
Replies: 27
Views: 6836

Re: problem using a forum with pcc load balance

Yes, of course. NAT should be turned off on the Hotspot router ONLY. It's necessary on the PCC router. Again, you should use 'src-address'. Read the "How PCC works (beginner)" link again. 'src-address-and-port' includes the source port in the decision, the source port is random, so it doe...
by namo
Tue Jul 12, 2011 7:37 am
Forum: General
Topic: problem using a forum with pcc load balance
Replies: 27
Views: 6836

Re: problem using a forum with pcc load balance

I have reboot the routers. PPPoE is the one that stop working and I had to enabled the masquerade for it . /ip firewall nat add action=masquerade chain=srcnat comment="masquerade pppoe network" \ disabled=no src-address=192.168.5.0/24 another thing for PCC router in the mangle prerouting c...
by namo
Mon Jul 11, 2011 11:11 pm
Forum: General
Topic: problem using a forum with pcc load balance
Replies: 27
Views: 6836

Re: problem using a forum with pcc load balance

I did this and the internet stop working
by namo
Mon Jul 11, 2011 9:44 am
Forum: General
Topic: problem using a forum with pcc load balance
Replies: 27
Views: 6836

Re: problem using a forum with pcc load balance

Did you insert a route to the Hotspot network and all other relevant networks on the PCC router? It sounds like you didn't. Post the output of "/ip route print detail", "/ip address print detail", "/ip firewall nat export", and "/interface print detail" from ...
by namo
Mon Jul 11, 2011 7:28 am
Forum: General
Topic: problem using a forum with pcc load balance
Replies: 27
Views: 6836

Re: problem using a forum with pcc load balance

the internet stop working when I remove masquerade rules in the hotspot+PPPoE router In one router , I have combine the two ADSL line and in the second router, I have WAN that is connected to the LAN of the first router and LAN for hotspot and PPPoE. the forum now is working after adding its ip to e...
by namo
Mon Jul 11, 2011 6:37 am
Forum: General
Topic: problem using a forum with pcc load balance
Replies: 27
Views: 6836

Re: problem using a forum with pcc load balance

You've been told the solution twice already in this thread: use src-address as the classifier. The manuals outline how. http://wiki.mikrotik.com/wiki/Manual:PCC#Theory http://wiki.mikrotik.com/wiki/How_PCC_works_(beginner) Do you mean that I should add that I should change "the per-connection-...
by namo
Sun Jul 10, 2011 4:22 am
Forum: General
Topic: problem using a forum with pcc load balance
Replies: 27
Views: 6836

Re: problem using a forum with pcc load blance

It turn out that there is many forums that have the same problem as that forum ( Does not allow user to login from two diffrent IPs in the same time). Do I have to add thier IPs one by one as my users requested?
by namo
Sat Jul 09, 2011 1:25 pm
Forum: General
Topic: problem using a forum with pcc load balance
Replies: 27
Views: 6836

Re: problem using a forum with pcc load blance

/ip firewall address-list
add list=exempt-from-pcc address=x.x.x.x/32
This way, your forum will make use of your default route.
You will still have problems with secure sites and some game servers unless you make use of src-address in PCC classifier.
how to do that?
by namo
Sun Jul 03, 2011 2:00 pm
Forum: General
Topic: problem using a forum with pcc load balance
Replies: 27
Views: 6836

Re: problem using a forum with pcc load blance

before I have the fallowing code to access the modem page of the two modems. /ip firewall address-list add list=exempt-from-pcc address=192.168.9.168/32 add list=exempt-from-pcc address=192.168.3.168/32 /ip firewall mangle add chain=prerouting dst-address-list=exempt-from-pcc action=accept I have ad...
by namo
Sat Jul 02, 2011 5:16 pm
Forum: General
Topic: problem using a forum with pcc load balance
Replies: 27
Views: 6836

problem using a forum with pcc load balance

I have combine two equal ADSL line using PCC. There is a forum (http://www.****.com) and when I login to the forum, the forum sign me out and I have to login again. Next , I try to connect to one of the modems directly and I was able to use the forum normally. Next, I connect to the other ADSL modem...
by namo
Tue Jun 21, 2011 10:37 am
Forum: General
Topic: slow internet if one of the ADSL line
Replies: 2
Views: 1183

Re: slow internet if one of the ADSL line

I have no problem when one of the line fail but the problem when one of the line become versy slow. It slow browsing the internet even though downloading file still fast.
by namo
Tue Jun 14, 2011 9:52 am
Forum: General
Topic: slow internet if one of the ADSL line
Replies: 2
Views: 1183

slow internet if one of the ADSL line

I have combine two equal ADSL line using PCC. Sometime one of the line has problem (contentious disconnection or very slow internet) and this lead to total slow internet and the internet become better if I disconnect the line with problems.

how should I solve this problem?
by namo
Tue Jun 07, 2011 4:39 pm
Forum: General
Topic: slow browsing but fast download
Replies: 1
Views: 1129

slow browsing but fast download

I have Mikrotik RouterOS v5.4 with Hotspot. I notice that browsing is slow but when I download a file, I get full speed. Each user has his or her own download/upload speed limit.
by namo
Sun May 29, 2011 7:55 pm
Forum: General
Topic: "skip router advertisement sending on" , Is it a problem?
Replies: 9
Views: 3790

Re: "skip router advertisement sending on" , Is it a problem

how can make this message don't appear in the log?
by namo
Fri May 20, 2011 2:38 pm
Forum: General
Topic: how to enter the pages of the modem?
Replies: 14
Views: 2981

Re: how to enter the pages of the modem?

Do you have the exemption accept rule above the rules that mark routing?
I put the mangle rule at the top and it is working now. thank you
by namo
Mon May 16, 2011 9:27 pm
Forum: General
Topic: "skip router advertisement sending on" , Is it a problem?
Replies: 9
Views: 3790

Re: "skip router advertisement sending on" , Is it a problem

Depends. Are you running IPv6 and are you expecting your router to send RAs on those interfaces? If you're not then it's obviously not a problem. If you are expecting it to then you do have a problem.
I am running ipv4 no ipv6
by namo
Mon May 16, 2011 8:05 pm
Forum: General
Topic: "skip router advertisement sending on" , Is it a problem?
Replies: 9
Views: 3790

Re: "skip router advertisement sending on" , Is it a problem

So, there is no problem in leaving thing as it is?
by namo
Mon May 16, 2011 8:05 pm
Forum: General
Topic: how to enter the pages of the modem?
Replies: 14
Views: 2981

Re: how to enter the pages of the modem?

nothing change. it still slow to enter the modem. and when I tracert to 192.168.3.168, it goes to 192.168.9.168 path
by namo
Thu May 12, 2011 9:05 am
Forum: General
Topic: "skip router advertisement sending on" , Is it a problem?
Replies: 9
Views: 3790

"skip router advertisement sending on" , Is it a problem?

In the log i Winbox, I saw the fallowing lines skip router advertisement sending on wan: no prefixes to send skip router advertisement sending on lan: no prefixes to send skip router advertisement sending on <pppoe-xxx>: no prefixes to send where xxx is my username in pppoe. what does these line mea...
by namo
Fri Apr 22, 2011 8:35 pm
Forum: General
Topic: how to enter the pages of the modem?
Replies: 14
Views: 2981

Re: how to enter the pages of the modem?

thank you. But I am not expert in networking and Mikrotik.

Can you give the scripts that I should add ? Or where should I edit in Winbox?
Note: I used the PCC code that I got from fewi before.
by namo
Thu Apr 21, 2011 5:26 pm
Forum: General
Topic: how to enter the pages of the modem?
Replies: 14
Views: 2981

Re: how to enter the pages of the modem?

I don't know which load balancing scheme you are using, but maybe if you added an exclusion for localnet dst-addresses to the rule that determines the load balancing.
set X dst-address=!192.168.0.0/16
I am using pcc scheme.

what is X?
by namo
Thu Apr 21, 2011 10:42 am
Forum: General
Topic: how to enter the pages of the modem?
Replies: 14
Views: 2981

Re: how to enter the pages of the modem?

add next hop or gateways on all router to reach your network something like 192.168.5.0/24 GW 192.168.4.100 on R2 when there is one modem conncted, there is no problem in accessing the modem page. the problem is when two modem are connected so I think something should be added to R1 (dual WAN route...
by namo
Wed Apr 20, 2011 2:42 pm
Forum: General
Topic: how to enter the pages of the modem?
Replies: 14
Views: 2981

Re: how to enter the pages of the modem?

You can do it either by policy routing or using mangle. Similar examples can be found in wiki http://wiki.mikrotik.com/wiki/User/Routing My combining two lines is working so what I need that if the requested ip is 192.168.1.1, it doesn't go to the load blance but go through the second modem m2 and ...
by namo
Wed Apr 20, 2011 10:27 am
Forum: General
Topic: how to enter the pages of the modem?
Replies: 14
Views: 2981

how to enter the pages of the modem?

I have network that is shown in the picture below http://i56.tinypic.com/2wdwsx3.jpg m1 and m2 are ADSL modems. R1 is Microtik routerboard that is set to be dual WAN router R2 is Microtik Router x86 PC R3 is home private router the combination of the two line are successful and the internet is worki...
by namo
Tue Apr 19, 2011 1:31 pm
Forum: General
Topic: upgrade from v4.12 to v5.1
Replies: 2
Views: 964

Re: upgrade from v4.12 to v5.1

I did, thank you
by namo
Tue Apr 19, 2011 9:41 am
Forum: General
Topic: upgrade from v4.12 to v5.1
Replies: 2
Views: 964

upgrade from v4.12 to v5.1

I have Mikrotik RouterOS v4.12 on Routerboard 450. I want to upgrade to v5.1. Can I upgrade directly? or I need to upgrade to 4.17 to 5.0 to 5.1?
by namo
Sat Apr 09, 2011 1:32 pm
Forum: General
Topic: Winbox Safe mode
Replies: 29
Views: 71059

Winbox Safe mode

What is the Safe mode in Winbox do? I haven't notice something different when I click on it
by namo
Sat Apr 02, 2011 7:16 am
Forum: General
Topic: upgrade to RouterOS 5.0
Replies: 9
Views: 1971

Re: upgrade to RouterOS 5.0

before I put the files in root folder and wait for the update to be down at the time I schedule the shutdown (then after a minute there is timer for power shutdown and then after 15min a schedule for power on). Last week there was a problem that the server doesn't power up without the button after p...
by namo
Fri Apr 01, 2011 7:39 pm
Forum: General
Topic: upgrade to RouterOS 5.0
Replies: 9
Views: 1971

Re: upgrade to RouterOS 5.0

if there is nothing in the log, apparently your packages are not uploaded, or are in the wrong folder. they need to be in the root folder
they are uploaded and it is in the correct folder. I did upgrade before from v4.16 to v4.17. I don't know why can't I upgrade from v4.17 to v5.0
by namo
Fri Apr 01, 2011 12:04 pm
Forum: General
Topic: upgrade to RouterOS 5.0
Replies: 9
Views: 1971

Re: upgrade to RouterOS 5.0

I still couldn't upgrade from 4.17 to 5.0. What should I do?
by namo
Fri Apr 01, 2011 8:05 am
Forum: General
Topic: upgrade to RouterOS 5.0
Replies: 9
Views: 1971

Re: upgrade to RouterOS 5.0

Check log entries. if there are nothing about the packages, check that you put those packages in root directory. nothing about the upgrade in the log entries. I put the file in the main directly as I used to do when I upgrade. Now I will tr the combined package. I used to use the combined package u...
by namo
Fri Apr 01, 2011 7:42 am
Forum: General
Topic: upgrade to RouterOS 5.0
Replies: 9
Views: 1971

upgrade to RouterOS 5.0

I have Intel PC with Mikrotik routerOS v4.17. I have put the files for v5.0 using ftp and restart the computer but the RouterOS didn't upgrade as usual and he files stayed there. what's the problem? Note: I used all packages files not the combine package file. Note2: my license is upgradeable to v7.x
by namo
Thu Mar 03, 2011 11:49 am
Forum: Scripting
Topic: print comment of hotspot users in certain profile
Replies: 2
Views: 2668

Re: print comment of hotspot users in certain profile

You can't use print for that. Print prints lists of items, with all their properties. You have to find the items, extract the properties you want, and put them. :foreach ITEM in=[/ip hotspot user find profile="0300kbps" or profile="0600kbps" or profile="0750kbps" or pr...
by namo
Tue Mar 01, 2011 11:24 am
Forum: Scripting
Topic: print comment of hotspot users in certain profile
Replies: 2
Views: 2668

print comment of hotspot users in certain profile

I want to print a list of hotspot users comments from certain profile I have the code: /ip hotspot user print where profile="0300kbps" or profile="0600kbps" or profile="0750kbps" or profile="0900kbps" or profile="1200kbps" but this print many columns...
by namo
Fri Feb 25, 2011 10:01 am
Forum: Beginner Basics
Topic: combine two ADSL lines
Replies: 6
Views: 2958

Re: combine two ADSL lines

namo: does it work with pppoe to? i mean 2 inputs are not LAN, are pppoe connection, do i need to change something in these commands?
This is not my code. It is from Forum so It is better to ask them
by namo
Sat Feb 12, 2011 4:55 pm
Forum: General
Topic: save xls file that is in the hotspot
Replies: 1
Views: 901

Re: save xls file that is in the hotspot

I save the file in the server as zip file and it was saved automatically.

There is other solution that can be found here http://webdesign.about.com/od/beginning ... ld_tag.htm
by namo
Sat Feb 12, 2011 9:35 am
Forum: General
Topic: save xls file that is in the hotspot
Replies: 1
Views: 901

save xls file that is in the hotspot

I have a link that is point to small excel file on one of HTML pages on the hotspot. When user open the link, the file open in the browser with funny characters. How to make the link open the save file dialog?

I tried Firefox and internet explorer and I got the same result.
by namo
Mon Jan 31, 2011 1:21 pm
Forum: Scripting
Topic: total download for hotspot users
Replies: 2
Views: 1508

Re: total download for hotspot users

I change :local to :global and now it is working in the new terminal
by namo
Mon Jan 31, 2011 9:09 am
Forum: General
Topic: Routerboard RB-1100
Replies: 2
Views: 1069

Re: Routerboard RB-1100

thank you few. I am looking for one that has RAM at least 256Mbps and speed at least 600MHz. so I look for RB-493G or RB-800. RB-800 is faster but it is almost double price. For RB-800 , is it better to buy 24V supply instead of 48V becuase it also work for other board. Or higher voltage better? Not...
by namo
Sat Jan 29, 2011 5:37 pm
Forum: Scripting
Topic: total download for hotspot users
Replies: 2
Views: 1508

total download for hotspot users

I have Mikrotik RouterOS v4,16. I ise the fallowing code to calculate the total download for the hotspot users, but there is errors: :local bytesin 0; :local bytesout 0; /ip hotspot user { :foreach u in=[find] do={ :set bytesin ($bytesin + [get $u bytes-in]); :set bytesout ($bytesout + [get $u bytes...
by namo
Sat Jan 29, 2011 11:26 am
Forum: General
Topic: Routerboard RB-1100
Replies: 2
Views: 1069

Routerboard RB-1100

I want to buy RB-1100 but I want to check :


Is it possible to bridge 12 Ethernet port as LAN and one as WAN? Also have a Vlan between each port and WAN port? (total 12 Vlans)
by namo
Wed Jan 26, 2011 9:38 pm
Forum: General
Topic: In hotspot, Full speeed for certain url
Replies: 1
Views: 704

In hotspot, Full speeed for certain url

I have Mikrotik routerOS with hotspot and limited rate profiles. I want all Hotspot users to have full speed to certain url

the URL is from Hotspot url. I have page with many pictures in the Hotspot and it load slowly for law rate users
by namo
Fri Jan 21, 2011 8:25 am
Forum: General
Topic: client take IP of AP
Replies: 12
Views: 2601

Re: client take IP of AP

Depends on the network layout, and is impossible to answer without an accurate and detailed drawing. That is one of the primary reasons to VLAN off your management IPs, or use dedicated physical management ports, by the way. The other being to hide equipment from customers so that they cannot attac...
by namo
Thu Jan 20, 2011 4:00 am
Forum: General
Topic: client take IP of AP
Replies: 12
Views: 2601

Re: client take IP of AP

I have added the ip and Mac of APs in DHCP server.

Now , there is another problem. If someone(unauthorized) use a program to change his IP and MAC to the same one as one of APs, will I still be able to access the AP web interface?
by namo
Wed Jan 19, 2011 9:24 pm
Forum: General
Topic: client take IP of AP
Replies: 12
Views: 2601

Re: client take IP of AP

Then your option is to disable the hotspot universal nat. Remove the "address-list" value from "/ip hotspot". Insure the dhcp-server address pool is not issuing the static ips of your APs. But It is useful to have address-list for the Hotspot for users with wrong IP. Also if the...
by namo
Wed Jan 19, 2011 9:09 pm
Forum: Scripting
Topic: script to add static ip and mac address to DHCP server
Replies: 4
Views: 4758

Re: script to add static ip and mac address to DHCP server

:foreach ITEM in [/ip hotspot ip-binding find] do={ :local MAC [/ip hotspot ip-binding get $ITEM mac-address; :local IP [/ip hotspot ip-binding get $ITEM address; /ip dhcp-server lease add address="$IP" mac-address="$MAC" disabled=no; } Untested, but it would be something like t...
by namo
Wed Jan 19, 2011 7:14 pm
Forum: Scripting
Topic: script to add static ip and mac address to DHCP server
Replies: 4
Views: 4758

script to add static ip and mac address to DHCP server

In winbox, I have set of IP and mac address in IP---->Hotspot----------> IP bindings.

I want a script to add these IPs and MAC addresses to DHCP server.
by namo
Wed Jan 19, 2011 7:06 pm
Forum: General
Topic: client take IP of AP
Replies: 12
Views: 2601

Re: client take IP of AP

Then your option is to disable the hotspot universal nat. Remove the "address-list" value from "/ip hotspot". Insure the dhcp-server address pool is not issuing the static ips of your APs. I didn't think about the static ip of APs before so I have them at good numbers so that if...
by namo
Wed Jan 19, 2011 4:10 pm
Forum: General
Topic: client take IP of AP
Replies: 12
Views: 2601

Re: client take IP of AP

the real problem is with the client AP. Client who use Ethernet station not USB adapter has two IPs : his station IP and his computer IP. Both these IPs appears with the same Mac address.


How to deal with this ?
by namo
Wed Jan 19, 2011 2:39 pm
Forum: General
Topic: Mikrotik routerOS and PC processor
Replies: 5
Views: 1330

Re: Mikrotik routerOS and PC processor

it's in last release candidate stage, it will be released soo. v4 has old kernel
Are you saying that for RouterOS v4, it is better to use Pentium 4?
by namo
Wed Jan 19, 2011 2:26 pm
Forum: General
Topic: client take IP of AP
Replies: 12
Views: 2601

Re: client take IP of AP

Presuming your AP is static assigned 192.168.2.2/24 Set the dhcp pool to issue 192.168.2.8-192.168.2.254. Then make the dhcp lease to the AP static and set the address outside the dhcp-server range. /ip dhcp-server lease set X make-static=yes set X address=192.168.2.2 Change X to the line number of...
by namo
Wed Jan 19, 2011 1:20 pm
Forum: General
Topic: client take IP of AP
Replies: 12
Views: 2601

client take IP of AP

I have Mikrotik routerOS with hotspot. I have the same address pool for DHCP and hotspot. My APs IPs and mac addresses are added IP binding so I can access them behind a router. I notice that the DHCP sometimes give user my AP IP and I won't be able to Access my AP. How to prevent that. setting: dhc...
by namo
Wed Jan 19, 2011 1:07 pm
Forum: General
Topic: Mikrotik routerOS and PC processor
Replies: 5
Views: 1330

Re: Mikrotik routerOS and PC processor

yes, in RouterOS v5 we have multicore support and you will get more speed with these processors.
what about v4? v5 is beta now
by namo
Wed Jan 19, 2011 8:51 am
Forum: General
Topic: Mikrotik routerOS and PC processor
Replies: 5
Views: 1330

Mikrotik routerOS and PC processor

I have IDE hard disk with Mikrotik routerOS v4.16. I want to know if if RouterOS work with dual , quad core possessor and i3,i5 and i7 processor.

Does RouterOS benifits from these processors (for example, is dual core 2.0 GHz faster than 3.0 GHz Pentium 4 in routerOS ?)
by namo
Wed Jan 05, 2011 10:51 am
Forum: General
Topic: weird IP in hotspot hosts
Replies: 4
Views: 1385

Re: weird IP in hotspot hosts

Check the user profile used for the specific clients, run print command and select <number> which belongs to the particular profile.
Is it the same if I set address pool option in Winbox under

IP--->hotspot---->servers----> " a profile with My server name"
by namo
Tue Jan 04, 2011 7:10 pm
Forum: General
Topic: weird IP in hotspot hosts
Replies: 4
Views: 1385

Re: weird IP in hotspot hosts

Yes, it is possible. Disable Universal client, if address translation is not required on your router, /ip hotspot user profile set address-pool=none I have few clients with wrong IP subnet so the hotspot correct them. Hotspot and DHCP have the same IP pool. Edit: I did the command: /ip hotspot user...
by namo
Tue Jan 04, 2011 2:34 pm
Forum: General
Topic: weird IP in hotspot hosts
Replies: 4
Views: 1385

weird IP in hotspot hosts

I have Mikrotik router with hotspot that it has the fallowing setting WAN : 192.168.0.50 ( connected to LAN of ADSL modem with IP 192.168.0.1) LAN: 192.168.1.1 ( hotspot ip) I have client that has AP in client bridge mode. AP IP is 192.1.1.188 and has home router with WAN IP : 192.168.1.189 and Lan ...
by namo
Sat Jan 01, 2011 8:31 pm
Forum: Scripting
Topic: print hotpot user from certain profile
Replies: 4
Views: 1468

Re: print hotpot user from certain profile

I did this : /ip hotspot user print where profile=profileName1 or profile=profileName2 or profile =profileName3 and I got Flags: X - disabled, D - dynamic # SERVER NAME ADDRESS PROFILE UPTIME ambiguous value of profile, more than one possible value matches input Note: I correct the or to small lette...
by namo
Sat Jan 01, 2011 7:24 pm
Forum: Scripting
Topic: print hotpot user from certain profile
Replies: 4
Views: 1468

Re: print hotpot user from certain profile

/ip hotspot user print where profile=profileName
if I want more than one profiles but one list , Is the correct command:

/ip hotspot user print where profile=profileName1 AND profile=profileName2

?
by namo
Fri Dec 31, 2010 3:39 pm
Forum: Scripting
Topic: print hotpot user from certain profile
Replies: 4
Views: 1468

print hotpot user from certain profile

Hello

Ho to print (in new terminal or in text file) a list of hotspot users from certain user profiles (from 4 profiles) in one list?
by namo
Fri Dec 31, 2010 1:19 pm
Forum: Scripting
Topic: random command
Replies: 2
Views: 1158

random command

Hello,

Does Mikrotik RouterOS script has random option? For example, /ip hotspot user print , Print all users in hotspot. Is there way to print one user at random?
by namo
Sun Dec 26, 2010 8:16 pm
Forum: General
Topic: changing ip continously
Replies: 4
Views: 1270

Re: changing ip continously

I have APs connected to the Mikrotik. I am not using the Mikrotik Wireless. The client has AP in client mode and it is connected to a router. The mac address is the mac address of the client AP.
by namo
Sun Dec 26, 2010 5:24 am
Forum: General
Topic: changing ip continously
Replies: 4
Views: 1270

Re: changing ip continously

Is this is your same system with the external APs (192.168.1.100, etc)? Are you certain that the mac you are seeing is not your APs? I have some APs that did not show the client mac, but the AP mac instead. All the client ips showed as one mac address (the AP) in "/ip hotspot host". Could...
by namo
Sat Dec 25, 2010 10:42 am
Forum: General
Topic: changing ip continously
Replies: 4
Views: 1270

changing ip continously

I have Mikrotik routerOS v4.16 with hotspot. I notice that in Winbox--> IP--->hotspot---> hosts , one of the mac address change his ip continously ( I think a program change his ip) but the same mac address is for an uthorized user and he is using the internet and he is taking one static ip. The int...
by namo
Sat Dec 25, 2010 10:20 am
Forum: Wireless Networking
Topic: problem with IP binding to Access the AP behind a router
Replies: 11
Views: 5223

Re: problem with IP binding to Access the AP behind a router

I block the AP IP expect port 80 and now it is working.
by namo
Sat Dec 25, 2010 1:50 am
Forum: Wireless Networking
Topic: problem with IP binding to Access the AP behind a router
Replies: 11
Views: 5223

Re: problem with IP binding to Access the AP behind a router

That was the secondary purpose of getting a static lease on the AP. You can now use that ip to block access on new connections from the AP (or mac thief) to the internet with "/ip firewall filter". The Nanostation have any services that need internet access? /ip firewall filter add chain=...
by namo
Fri Dec 24, 2010 8:12 pm
Forum: Wireless Networking
Topic: problem with IP binding to Access the AP behind a router
Replies: 11
Views: 5223

Re: problem with IP binding to Access the AP behind a router

Buy an AP that supports the concept of management ports, either physically dedicated ones or via VLANs. Then run the Hotspot on the customer interface, and manage the AP via the management interface. Also has the advantage of customers not being able to access or see your APs. I have ubiquiti nanos...
by namo
Fri Dec 24, 2010 7:45 pm
Forum: Wireless Networking
Topic: problem with IP binding to Access the AP behind a router
Replies: 11
Views: 5223

Re: problem with IP binding to Access the AP behind a router

Check "/ip hotspot host". Insure the 192.168.1.100 is not already being translated to another ip. If the to-address is not 192.168.1.100, then you should fix that. ADD: I don't issue the entire ip subnet with dhcp. I set dhcp to issue 192.168.1.32-192.168.1.250 only. That leaves a few low...
by namo
Tue Dec 21, 2010 6:32 am
Forum: General
Topic: We Need To Be Protect From MAC Hacking!!
Replies: 20
Views: 8163

Re: We Need To Be Protect From MAC Hacking!!

look like switches that has these feature are expesive. I tried to look for used one but I only found new one (Netgear ProSafe FSM726-300NAS Ethernet Switch 26 Port cost around $350 on ebay). I read about Vlan before and I found this on cisco site about Dynamic ARP ispection (http://www.cisco.com/en...
by namo
Mon Dec 20, 2010 9:49 am
Forum: Beginner Basics
Topic: block other html pahe from unauthorized users
Replies: 2
Views: 909

Re: block other html pahe from unauthorized users

thank you few
by namo
Mon Dec 20, 2010 9:48 am
Forum: General
Topic: We Need To Be Protect From MAC Hacking!!
Replies: 20
Views: 8163

Re: We Need To Be Protect From MAC Hacking!!

No, SwOS will not work.
SwOS has VLan so what the feature that managed switch has and SwOS hasn't.
by namo
Sun Dec 19, 2010 2:57 pm
Forum: Scripting
Topic: add to a new list if appear in another list 20 times
Replies: 7
Views: 1953

Re: add to a new list if appear in another list 20 times

Try nth=20,1 http://wiki.mikrotik.com/wiki/Manual:NTH_in_RouterOS_3.x thank you. I did this with nth=100,1 but I notice that many IPs appear in the 24-hr-list list in short time so I don't think that this is working. I have to stop rules that drop the internet from 24-hr list. Note: my rule is fire...
by namo
Sun Dec 19, 2010 2:52 pm
Forum: General
Topic: We Need To Be Protect From MAC Hacking!!
Replies: 20
Views: 8163

Re: We Need To Be Protect From MAC Hacking!!

Does SwOS is enough as managed switch to have security protection from Mac spoofing? Are Mikrotik planning to make larger switches (more than 10 ports)?
by namo
Sun Dec 19, 2010 2:21 pm
Forum: Beginner Basics
Topic: block other html pahe from unauthorized users
Replies: 2
Views: 909

block other html pahe from unauthorized users

1-I notice that unauthorized user can not access ststus, alogin or any of the original html pages but they can access any other page I created, for example news.html if they get the link from someone. Is there a way to block all hotspot files expect of course login.html from unauthorized users. 2- h...
by namo
Sun Dec 19, 2010 1:17 pm
Forum: Wireless Networking
Topic: problem with IP binding to Access the AP behind a router
Replies: 11
Views: 5223

Re: problem with IP binding to Access the AP behind a router

Try this: /ip firewall filter add chain=forward action=drop src-address=192.168.1.100 connection-state=new Same for the other two ips. With this, you can connect to them from any interface, but they can't start a new connection. Insure the three ips have a static lease in "/ip dhcp-server leas...
by namo
Sun Dec 19, 2010 6:23 am
Forum: General
Topic: allow access to a link only not whole site
Replies: 2
Views: 1001

Re: allow access to a link only not whole site

So provide a path in the walled garden entry. Refer to the manual for how to. i I thought in the beginning that walled-garden will open access to the website by passing the hotspot but i know now now that it only show content in the lohin page. I did and it is working but still the users has to ope...
by namo
Sun Dec 19, 2010 5:49 am
Forum: General
Topic: allow access to a link only not whole site
Replies: 2
Views: 1001

allow access to a link only not whole site

I read the topic "Notify your customers internet is down, monitor connectivity" on Mikrotik wiki (http://wiki.mikrotik.com/wiki/Notify_your_customers_internet_is_down,_monitor_connectivity) but in this you need to add the address http://www.SOME-EXTERNAL-WEBSITE.com on the walled-garden. w...
by namo
Sun Dec 19, 2010 4:47 am
Forum: Scripting
Topic: add to a new list if appear in another list 20 times
Replies: 7
Views: 1953

Re: add to a new list if appear in another list 20 times

Ahh, I understand, so you want IPs from a dynamic 30sec list to be added a 24hour dynamic list. I haven't use nth much, but I've seen a request for the ability to add a dynamic list entry to address list (I believe it's on the feature requests wiki page). Otherwise, using firewall (as you mentioned...
by namo
Sat Dec 18, 2010 8:47 pm
Forum: Wireless Networking
Topic: problem with IP binding to Access the AP behind a router
Replies: 11
Views: 5223

problem with IP binding to Access the AP behind a router

I have 5 ports Wired Mikrotik router with hotspot accounts. port 1: WAN (connect to modem) port 2 : connected to Acess point 1 (AP1) port 3 : connected to Acess point 2 (AP2) port 4 : connected to Acess point 3 (AP3) port 5: connect to home router port 2-5 are LAN and they are bridge. In the ADSL mo...
by namo
Fri Dec 17, 2010 3:44 pm
Forum: Scripting
Topic: add to a new list if appear in another list 20 times
Replies: 7
Views: 1953

Re: add to a new list if appear in another list 20 times

I found the code on wiki but it has the same problem:

http://wiki.mikrotik.com/wiki/Bad-host-detection

I will get "value of packet out of range (1..4294967295)" for nth=20,0
by namo
Fri Dec 17, 2010 6:31 am
Forum: General
Topic: Repeated DNS , 32 subnet mask and fake DHCP gate way
Replies: 4
Views: 4141

Re: Repeated DNS , 32 subnet mask and fake DHCP gate way

The MikroTik needs DNS servers because it itself needs to resolve host names with the Hotspot or if you use the proxy. It also needs DNS servers so it can pass those onto the end user via DHCP. An end user needs DNS servers so they themselves can resolve host names. A layer2 or layer3 device will n...
by namo
Fri Dec 17, 2010 6:25 am
Forum: Scripting
Topic: add to a new list if appear in another list 20 times
Replies: 7
Views: 1953

Re: add to a new list if appear in another list 20 times

This is a script tseems to need run on schedule but it is not run just once, I tried this /ip firewall filter add action=add-src-to-address-list address-list=24-hour-list address-list-timeout="1d 00:00:00" chain=bad-host-detection comment="If seen 20 time in 30 seconds add to the one ...
by namo
Thu Dec 16, 2010 9:26 pm
Forum: General
Topic: Repeated DNS , 32 subnet mask and fake DHCP gate way
Replies: 4
Views: 4141

Re: Repeated DNS , 32 subnet mask and fake DHCP gate way

1.) You can always use whatever DNS servers you want, it never really matters, it's only an IP address that a client goes to to resolve host names. The ones the ISP give you are usually closer to you on the network than using some other serves. An access point should only be a layer2 device, and ha...
by namo
Thu Dec 16, 2010 5:10 pm
Forum: Scripting
Topic: script with routerOS v4.13
Replies: 4
Views: 2045

Re: script with routerOS v4.13

I deleted nth=50 in the code and in he firewall rule in Winbox, there is nth option which has two values:
every :
packet

should I every with 20 and packet with 1? I want the IP to become in 24hr-list if appears 20 times in 30-seond-list

Note: It says that every has to be bigger than packet
by namo
Thu Dec 16, 2010 7:52 am
Forum: Scripting
Topic: script with routerOS v4.13
Replies: 4
Views: 2045

Re: script with routerOS v4.13

Is there solrion for this code for v4.15?
by namo
Thu Dec 16, 2010 7:47 am
Forum: Scripting
Topic: two lines marked red in firewall filter rules
Replies: 2
Views: 1427

two lines marked red in firewall filter rules

when I open the firewall, I found that there are two red lined (I think mean invalid) which are created using the fallowing lines: /ip firewall filter add action=jump chain=forward comment="Check if dest is an open customer" disabled=no dst-address-list=open-customers jump-target=open-cust...
by namo
Thu Dec 16, 2010 7:38 am
Forum: Scripting
Topic: add to a new list if appear in another list 20 times
Replies: 7
Views: 1953

add to a new list if appear in another list 20 times

I want a script to run it in a new terminal.

I have a firewall address list called 30-seconds-list (an ip last 30 seconds in this list). I want a script to add an IP to 24-hour-list if he appears 20 times in the 30-seconds-list)
by namo
Thu Dec 16, 2010 4:40 am
Forum: General
Topic: Repeated DNS , 32 subnet mask and fake DHCP gate way
Replies: 4
Views: 4141

Repeated DNS , 32 subnet mask and fake DHCP gate way

Hello, I have D-link modem that is connected to Mikrotik rourer (v4.14 with hotspot setting) which in tern connected to bridge outdoor APs. First DNS Question: Modem setting: WAN : IP from ISP LAN: 192.168.0.1 DNS: two DNS from ISP Mikrotik setting: WAN: 192.168.0.2 LAN:192.168.1.1 DNS: two as the s...
by namo
Wed Dec 15, 2010 4:41 am
Forum: General
Topic: We Need To Be Protect From MAC Hacking!!
Replies: 20
Views: 8163

Re: We Need To Be Protect From MAC Hacking!!

In case the Mac hacker that only change the MAC address and get IP from DHCP which is the same as the legitimate user. I notice that on the DHCP leases, the active host name change from the legitimate user PC name to the hacker PC now. Can't we use this fact and block this host name and tell any oth...
by namo
Tue Dec 14, 2010 12:55 pm
Forum: General
Topic: pool ip Vs set of IPs
Replies: 2
Views: 1099

Re: pool ip Vs set of IPs

I actually don't want users to communicate with each there but for that I set the DHCP netmask to 32 and I have one range pool from 192.168.1.2-192.168.1.254 (192.168.1.1 is for hotspot page)
by namo
Tue Dec 14, 2010 9:08 am
Forum: General
Topic: pool ip Vs set of IPs
Replies: 2
Views: 1099

pool ip Vs set of IPs

I have Mikrotik RouterOS v4.14 with hotspot DHCP have the same pool. I notice that in pool you can have range of IPs instead of 1 Is there a diffrence between spesify the pool with the ips 192.168.1.2-192.168.1.254 and have a three ranges: 192.168.1.2-192.168.1.100 192.168.1.101-192.168.1.200 192.16...
by namo
Tue Dec 14, 2010 7:32 am
Forum: General
Topic: We Need To Be Protect From MAC Hacking!!
Replies: 20
Views: 8163

Re: We Need To Be Protect From MAC Hacking!!

Does this help? how? I'm sure your problem it from your bad configration of hotspot , if you can send the configration by /ip hotspot export /ip dhcp-server export /ip firewall nat export and send it . Your problem is happen when you use saim IP for DHCP and Hotspot . the scanner software that hack ...
by namo
Tue Dec 14, 2010 5:10 am
Forum: Scripting
Topic: Useful scripts
Replies: 116
Views: 297627

Re: Useful scripts

thank you janisk. It also useful to mention the RouterOS version that the script work with because sometimes I found old scripts for v2.9 and they don't work with v4.14
by namo
Tue Dec 14, 2010 4:45 am
Forum: Scripting
Topic: deassign DHCP for IPs from a list
Replies: 6
Views: 2227

Re: deassign DHCP for IPs from a list

there might be code or trick to reduce them. I want just to prevent netcut not a pro program. I am worried about netCut because even normal user can use it easly. Another thing that I notice that when real user login he assigned IP from DHCP and when the netCut guy change his MAC, DHCP deassign the ...
by namo
Mon Dec 13, 2010 11:01 pm
Forum: Scripting
Topic: deassign DHCP for IPs from a list
Replies: 6
Views: 2227

Re: deassign DHCP for IPs from a list

thank you few I am still thinking of a way to prevent netCut. This method might annoy the real user. In my server the netcut user need to get the mac address and he wll be using internet for free. That;s why the real user says the internet always slow. I am thinking of moving to PPPoE but my users a...
by namo
Mon Dec 13, 2010 10:24 pm
Forum: Scripting
Topic: deassign DHCP for IPs from a list
Replies: 6
Views: 2227

Re: deassign DHCP for IPs from a list

The list actually coming from the fallowing firewall rule that I get from somewhere saying that anybody use netcut will be in the list.

I want to deassign the ip so the real user get another IP and he has to login again
by namo
Mon Dec 13, 2010 9:27 pm
Forum: Scripting
Topic: deassign DHCP for IPs from a list
Replies: 6
Views: 2227

deassign DHCP for IPs from a list

I have Mikrotik v4.14 I want a script that run every 1 hour and check for IPs in a list called "24-hour-list" that I made in the firewall address list. The script should deassign those IP addresses if the IP is not DHCP, the script should look for ips in the active and hostes of hotspot an...
by namo
Sun Dec 12, 2010 5:18 am
Forum: General
Topic: what are Important firewall rules needed for hotspot
Replies: 0
Views: 1171

what are Important firewall rules needed for hotspot

I have Mikrotik RouterOS v4.13 with hotspot. Here are the firewall rules that I got from /ip firewall filter print. Please tell me of the rules that I need to remove and any extra that I should add: chain=input action=drop protocol=tcp dst-port=22,23,80,443,8728 4 X ;;; Reject if in the 24-hour-list...
by namo
Fri Dec 10, 2010 5:47 am
Forum: General
Topic: can not Access modems pages after the router
Replies: 0
Views: 715

can not Access modems pages after the router

I have fallowing setting starting from my computer and IPs will make clear what is connected to what(the IPs on the same subnet are connected(all subsets are 255.255.255.0): - my computer connected to LAN of buffalo router -Buffalo router: Lan: 192.168.10.1 WAN: PPPoE from Mikrotik intel PC (192.168...
by namo
Thu Dec 09, 2010 3:36 pm
Forum: Beginner Basics
Topic: cobine two unequal lines
Replies: 9
Views: 2088

Re: cobine two unequal lines

I tried the code but I couldn't combine the speed. I draw the internet from one line and it drop continuously. It was better with one line. I have intel PC as my Mikrotik router with hotspot. I also have Routerboard 450 which I am not using. Is it good idea to use router board to only combine the tw...
by namo
Tue Dec 07, 2010 10:33 pm
Forum: General
Topic: why PPPoE have much less feature than hotspot?
Replies: 0
Views: 741

why PPPoE have much less feature than hotspot?

PPPoE has more security than hotspot but why it is messing many of the features in hotspot like - veiwing the total download and upload for this user this month. -Also viewing the total uptime. In hotspot you can limit the uptime beside byte in and out but in PPPoE, there no limit in uptime. -hotspo...
by namo
Fri Dec 03, 2010 11:14 am
Forum: General
Topic: OS v5.0 Stable, ever?
Replies: 20
Views: 7279

Re: OS v5.0 Stable, ever?

when ROSv5 become stable, will I be able to upgrade from v4 with the my current setting without problem?
by namo
Fri Nov 26, 2010 6:01 pm
Forum: General
Topic: Mikrotik log
Replies: 10
Views: 10612

Re: Mikrotik log

you probably have two identical log actions.
for each rule , I have one for action memory and another for action disk. Does Winbox log show both so I need only disk?
by namo
Fri Nov 26, 2010 3:05 pm
Forum: General
Topic: Mikrotik log
Replies: 10
Views: 10612

Re: Mikrotik log

why is now I see each entry has two lines in Winbox -->log
by namo
Thu Nov 25, 2010 3:45 pm
Forum: General
Topic: Mikrotik log
Replies: 10
Views: 10612

Re: Mikrotik log

I have Mikrotik on Intel PC. So I have hard disk not nand. where I can view the log in the hard disk. I wrote that. Didn't I? configure the DISK action! I understand now. In rules, all my action was memory. I put tworules for each one for memory and the other for disk. I can change the disk setting...
by namo
Thu Nov 25, 2010 3:23 pm
Forum: General
Topic: Mikrotik log
Replies: 10
Views: 10612

Re: Mikrotik log

I have Mikrotik on Intel PC. So I have hard disk not nand (40GB). where I can view the log in the hard disk.



In memory can I change the log from 100 to 2500
In disk , what should I choose the type? It is disk now.
Can I change the line per pages 2500 and file count to 7?
by namo
Thu Nov 25, 2010 11:43 am
Forum: General
Topic: Mikrotik log
Replies: 10
Views: 10612

Mikrotik log

I have Mikrotik RouterOS v4.13. In Winbox, when I view log, it only show me the information for 1 hour. How can I view the log for the last 24 hours.
by namo
Sun Nov 21, 2010 4:27 pm
Forum: General
Topic: Advertisment for Hotspot and not using the browser
Replies: 10
Views: 2987

Re: Advertisment for Hotspot and not using the browser

Does email body accept all html codes (url , picture,...etc )? Yes it does, it accepts any text you want to put in, in raw form. Pictures might have to be encoded with base64 encoding (I haven't done extensive testing of base64 however). This is not the same as html in front page. It looks longer c...
by namo
Sun Nov 21, 2010 6:40 am
Forum: General
Topic: Advertisment for Hotspot and not using the browser
Replies: 10
Views: 2987

Re: Advertisment for Hotspot and not using the browser

Is there a way to change the font size in email body? Or use other languages such as Arabic? 1) As for font size, you'd probably want to insert HTML into your body message. 2) As for other languages, I've only worked in English, so I can't say for sure. I don't believe Mikrotik supports Unicode, on...
by namo
Sat Nov 20, 2010 3:19 pm
Forum: Scripting
Topic: help: script for firewall address list and user information
Replies: 0
Views: 977

help: script for firewall address list and user information

I have Mikrotik Router OS with Hotspot. I have email setup and working to send backup. I have some firewall filter rules that add IP address to an address list. For example, I have port scanning. Any user do illegal port scanning will be added to "port scanning list in firewall address list. I ...
by namo
Sat Nov 20, 2010 8:23 am
Forum: General
Topic: Advertisment for Hotspot and not using the browser
Replies: 10
Views: 2987

Re: Advertisment for Hotspot and not using the browser

After trying I find that I can replace the line
 :foreach u in=[find] do={
wiith
 :foreach u in=[find disabled=no] do={
Is there a way to change the font size in email body? Or use other languages such as Arabic?
by namo
Sat Nov 20, 2010 4:12 am
Forum: General
Topic: Advertisment for Hotspot and not using the browser
Replies: 10
Views: 2987

Re: Advertisment for Hotspot and not using the browser

thank you dssmiktik but I have two notes:


1) how to increase the font size in the email body?

2) what should I add to send for the enabled user only? ( I might have some disabled users who has no internet this month or just leave the service but I didn't delete them)
by namo
Sat Nov 20, 2010 2:24 am
Forum: General
Topic: Advertisment for Hotspot and not using the browser
Replies: 10
Views: 2987

Re: Advertisment for Hotspot and not using the browser

Email? RouterOS can send email via user specified SMTP server. Thank you for your reply: I have gmail setup to send backup file. I know that I need to fill in email for each user in hotspot. what script should I use to send email for all users in user profile "128kbps money" and "256...
by namo
Fri Nov 19, 2010 7:20 am
Forum: General
Topic: Advertisment for Hotspot and not using the browser
Replies: 10
Views: 2987

Advertisment for Hotspot and not using the browser

Hello, I have Mikrotik routerOS v4.13 with hotspot setting. I have activated " Advertise " in user profile for the users that didn't pay for the internet. Advertise interval get shorter as days passed. But there are some people who only use only windows live messenger or open the browser f...
by namo
Wed Nov 17, 2010 7:55 pm
Forum: General
Topic: rate limit for hotspot
Replies: 2
Views: 1303

Re: rate limit for hotspot

I don't know what you are talking about. I am taking about the rate limt in hotspot user profile .

Is it better to set it as 64k/512k or 64k/512k 96k/1M 32k/300k 8/8 8 16k/64k?
by namo
Tue Nov 16, 2010 3:34 pm
Forum: General
Topic: copy files from FTP to my PC
Replies: 7
Views: 2989

Re: copy files from FTP to my PC

Which FTP client do you use?
Maybe try different one, for example Filezilla?
I am just using windows folder without program
by namo
Tue Nov 16, 2010 3:34 pm
Forum: Scripting
Topic: script with routerOS v4.13
Replies: 4
Views: 2045

Re: script with routerOS v4.13

nth=50 is not a correct value
I guess there should be nth=5,0
I did this and I get the error:
value of packet out of range (1..4294967295)
by namo
Mon Nov 15, 2010 4:01 pm
Forum: General
Topic: copy files from FTP to my PC
Replies: 7
Views: 2989

Re: copy files from FTP to my PC

I do not have any problems to copy all HotSpot files to my computer. As you said that router before the MikroTik does not respond, maybe you could try to load files from different locations.
I connect to a Mikrotik directly and it is the same.
by namo
Mon Nov 15, 2010 11:24 am
Forum: General
Topic: copy files from FTP to my PC
Replies: 7
Views: 2989

Re: copy files from FTP to my PC

Try to copy files from different locations, where your computer is not connected over router, which should be restarted.
But I used to copy files normally. I can still copy single files one at a time but the problem happens when I try to copy several files that has size more than 1MB
by namo
Sun Nov 14, 2010 2:57 pm
Forum: General
Topic: rate limit for hotspot
Replies: 2
Views: 1303

rate limit for hotspot

I have Mikrotik routerOS v4.13. If I want to create user profile with 64k/512k speed. In user profile, is it better to spessify the rate limit as 64k/512k or it is more stable to have something like 64k/512k 96k/1M 32k/300k 8/8 8 16k/64k I want to give the user 512kbps speed but when only browsing a...
by namo
Sat Nov 13, 2010 9:55 pm
Forum: General
Topic: i found way to detect the spoof or arp program just try it
Replies: 30
Views: 17085

Re: i found way to detect the spoof or arp program just try

the problem that netCut still show some IPs and mac and the user can change his as those.

We need a code that prevent a mac address with different host in short time (shorter than the keep alive time)
by namo
Sat Nov 13, 2010 5:39 pm
Forum: Scripting
Topic: script with routerOS v4.13
Replies: 4
Views: 2045

script with routerOS v4.13

I have routerOs v4.13 with hotspot. I tried to run this code the terminal: /ip firewall filter add action=reject chain=forward comment="Reject if in the 24-hour-list" disabled=no reject-with=icmp-network-unreachable src-address-list=24-hour-list add action=jump chain=forward comment="...
by namo
Sat Nov 13, 2010 4:47 pm
Forum: General
Topic: i found way to detect the spoof or arp program just try it
Replies: 30
Views: 17085

Re: i found way to detect the spoof or arp program just try

Do I need to put these firewall rule at the top?
Do they work with v4.13
by namo
Sat Nov 13, 2010 3:49 pm
Forum: General
Topic: Client isolation (PC + managed switch )
Replies: 12
Views: 4660

Re: Client isolation (PC + managed switch )

I will try these suggestions when I get my managed switch
by namo
Sat Nov 13, 2010 3:46 pm
Forum: Scripting
Topic: remove users who steal mac address
Replies: 1
Views: 2123

Re: remove users who steal mac address

Please correct the codes if they have errors
by namo
Sat Nov 13, 2010 6:15 am
Forum: General
Topic: Client isolation (PC + managed switch )
Replies: 12
Views: 4660

Re: Client isolation (PC + managed switch )

No switch is ever going to help with someone impersonating another client on the same AP. I have no problem with the same AP. User can get IP and MAC of other AP but they can't get the one on the same AP. I connect to one AP and open NetCut. I can see the mac and IP of users from other AP but I can...
by namo
Sat Nov 13, 2010 5:33 am
Forum: Scripting
Topic: remove users who steal mac address
Replies: 1
Views: 2123

remove users who steal mac address

Does this work with routerOS v4.13 OK - I don't have anyone changing their MAC address to get free access on my hotspots, so cannot really test this. But it seems to be working, as best as I can tell. I have basically taken rolands original scripts and made them work on v3.x. I have not tried very h...
by namo
Fri Nov 12, 2010 3:54 pm
Forum: General
Topic: Client isolation (PC + managed switch )
Replies: 12
Views: 4660

Re: Client isolation (PC + managed switch )

by namo
Thu Nov 11, 2010 3:39 pm
Forum: General
Topic: not getting IP from Mikrotik
Replies: 3
Views: 1373

Re: not getting IP from Mikrotik

/ip address add address=192.168.2.1/24 broadcast=192.168.2.255 comment="" disabled=no \ interface=lan network=192.168.2.0 add address=192.168.1.60/24 broadcast=192.168.1.255 comment="" disabled=no \ interface=wan network=192.168.1.0 add address=192.168.6.1/32 broadcast=192.168.6...
by namo
Thu Nov 11, 2010 3:36 pm
Forum: General
Topic: copy files from FTP to my PC
Replies: 7
Views: 2989

copy files from FTP to my PC

I have Mikrotik routerOS v4.13 with hotspot. I can normally access the FTP using windows 7. I can easily copy a single file from hotspot folder to my computer but when I try to copy the all files and folders in hotspot folder to my computer, the file transfer is stopped and the internet connection i...
by namo
Tue Nov 09, 2010 12:05 pm
Forum: General
Topic: not getting IP from Mikrotik
Replies: 3
Views: 1373

Re: not getting IP from Mikrotik

Weird, I changed the Netmask to 32 and the internet is working now and I am getting IP from the server.

what are the reason?
by namo
Tue Nov 09, 2010 12:00 pm
Forum: General
Topic: not getting IP from Mikrotik
Replies: 3
Views: 1373

not getting IP from Mikrotik

I have Mikrotik 4.12 with hotspot and it is connected to switch to connect APs. When I connect to any of APs, I don't get an IP from DHCP server. There are users who get IP and other who doesn't get IP. I am connecting NanoStation M2 and I get data rate of 130Mb/s in my laptop but I don't get IP fro...
by namo
Fri Oct 29, 2010 4:41 pm
Forum: General
Topic: Client isolation (PC + managed switch )
Replies: 12
Views: 4660

Re: Client isolation (PC + managed switch Vs RB493AH)

Split horizon bridging or bridge firewall. Have used both. Works great for me.
I have the a PC computer with one ethernet port lan not RB493AH. so I have one port for lan.
by namo
Fri Oct 29, 2010 9:31 am
Forum: General
Topic: DHCP keep assigning and dessigning IP
Replies: 0
Views: 697

DHCP keep assigning and dessigning IP

when I open log in winbox, I notice that webbox keep assigning IP address and deassigning IP address evey second to one of the Mac addresses. This mac is not using the active hotspot users and it is not in Hosts but it is connected to one of the APs.

what's the problem?
by namo
Fri Oct 29, 2010 6:28 am
Forum: General
Topic: combine two lines is not working
Replies: 9
Views: 2775

Re: combine two lines is not working

Hotspots lead to the router sourcing all traffic due to automatic proxying, so all web traffic is in the output chain and never hits prerouting. PCC and Hotspots don't work well together out of the box. To fix that for 99% of all traffic you can circumvent the Hotspot servlets: /ip firewall nat add...
by namo
Fri Oct 29, 2010 6:26 am
Forum: General
Topic: Client isolation (PC + managed switch )
Replies: 12
Views: 4660

Re: Client isolation (PC + managed switch Vs RB493AH)

I discover that unauthorized client can scan IP and Mac using netcut. Then , He or she can change the mac of his WiFi adapter to a Mac address that is the same as an authorized user and the Mikrotik will give him the same IP The user then can use other people internet. I decide to by this managed sw...
by namo
Thu Oct 28, 2010 6:02 pm
Forum: General
Topic: combine two lines is not working
Replies: 9
Views: 2775

Re: combine two lines is not working

What are your NAT rules that you have set up to scr-nat out of the hotspot? the firewall NAT has rule for hotspot chain srcnat Src Address 192.168.2.0/24 Action = masquerade similar rule for PPPoE but Src Address 192.168.5.0/24 I have hotspot and PPPoE in the same interface and the internet is work...
by namo
Thu Oct 28, 2010 6:35 am
Forum: General
Topic: combine two lines is not working
Replies: 9
Views: 2775

Re: combine two lines is not working

Hi, this works: http://wiki.mikrotik.com/wiki/Advanced_Routing_Failover_without_Scripting but I want to combine the two lines not just use one and use the other when the first fail. Both link has internet but the above code is not working in combining the two lines. I have two options fix the code ...
by namo
Wed Oct 27, 2010 4:44 pm
Forum: General
Topic: combine two lines is not working
Replies: 9
Views: 2775

Re: combine two lines is not working

the problem occur after /ip route lines 192.168.4.4 and 192.168.7.7 are reachable. 192.168.4.4 marked AS but 192.168.7.7 marked S. if poth routes are enable, then the internet doesn't work. If only 192.168.4.4, then the internet is working but if only 192.168.7.7 enabled, then the internet is disabl...
by namo
Wed Oct 27, 2010 12:54 pm
Forum: General
Topic: combine two lines is not working
Replies: 9
Views: 2775

combine two lines is not working

I have Mikrotik v4.11 with hotspot. I try to combine two ADSL line using the code below but the internet is not working properly. the windows live messenger is working and Google main page only working. the internet was working fine before I used the fallowing code: /ip address add address=192.168.4...
by namo
Mon Oct 11, 2010 7:30 pm
Forum: General
Topic: Client isolation (PC + managed switch )
Replies: 12
Views: 4660

Re: Client isolation (PC + managed switch Vs RB493AH)

It's difficult with most hotspot setups using MAC authentication. The best thing would be to try to find another authentication method. A managed switch won't really help unless the spoofing is from two different APs that pass through it. If it's on the same AP then the AP itself won't know which i...
by namo
Mon Oct 11, 2010 6:15 pm
Forum: Beginner Basics
Topic: confirm combine two ADSL lines with hotspot and PPoE
Replies: 4
Views: 1961

Re: confirm combine two ADSL lines with hotspot and PPoE

This is nice but Does not answer if the code work when you have hotspot and PPoE on the same interface
by namo
Mon Oct 11, 2010 1:15 pm
Forum: General
Topic: Client isolation (PC + managed switch )
Replies: 12
Views: 4660

Client isolation (PC + managed switch )

I have Mikrotik RouterOS with hotspot on Intel PC. The computer is connected to switch, and switch is connected to several APs. (user can login using user name and password using HTTP-chap only) . I have a problem that unauthorized users can scan IP and Mac of active users and change their mac and I...
by namo
Mon Oct 11, 2010 1:07 pm
Forum: Beginner Basics
Topic: confirm combine two ADSL lines with hotspot and PPoE
Replies: 4
Views: 1961

Re: confirm combine two ADSL lines with hotspot and PPoE

I didn't get an answer.
by namo
Fri Oct 01, 2010 3:32 pm
Forum: General
Topic: access hotspot page in PPPoE
Replies: 16
Views: 6787

Re: access hotspot page in PPPoE

I think Question should asked in a new topic. here I am asking about different thing.
by namo
Fri Oct 01, 2010 10:39 am
Forum: General
Topic: set RB450 as managed switch
Replies: 10
Views: 2984

Re: set RB450 as managed switch

It all depends on your setup and what your goals are. Having a 493 handle everything definitely makes your life easier since there is only one thing to manage, and hence only one thing to go wrong. You won't have any extra options in this case however, but the setup is definitely less complex. Keep...
by namo
Wed Sep 29, 2010 9:40 am
Forum: General
Topic: access hotspot page in PPPoE
Replies: 16
Views: 6787

Re: access hotspot page in PPPoE

Currently I have all users on hotspot and I am the only one on PPPoE(PPPoE is entered inside a home router that is connected to the Mikrotik router). I can now easily move some users from hotspot to PPPoE if I want to. Also, unlike most users who login for few hours, I am always online and I don't w...
by namo
Wed Sep 29, 2010 9:29 am
Forum: General
Topic: set RB450 as managed switch
Replies: 10
Views: 2984

Re: set RB450 as managed switch

will I have better options and setting if I used RB493AH as a router and switch instead of of having Intel PC as router and RB450 as switch?
by namo
Wed Sep 29, 2010 9:25 am
Forum: Beginner Basics
Topic: confirm combine two ADSL lines with hotspot and PPoE
Replies: 4
Views: 1961

confirm combine two ADSL lines with hotspot and PPoE

I have hotspot and PPPoE on the same interface and it is working with one WAN. If I want to add another line, will the fallowing code for hotspot work for hotspot+PPPoE? /ip address add address=192.168.1.60/24 disabled=no interface=outside1 add address=192.168.3.60/24 disabled=no interface=outside2 ...
by namo
Fri Sep 24, 2010 10:37 am
Forum: General
Topic: access hotspot page in PPPoE
Replies: 16
Views: 6787

Re: access hotspot page in PPPoE

Is it possible?
by namo
Mon Sep 20, 2010 8:33 am
Forum: General
Topic: access hotspot page in PPPoE
Replies: 16
Views: 6787

access hotspot page in PPPoE

I have Mikrotik RouterOS v4.11 with hotspot and PPPoE in the same interface. LAN 192.168.1.1/24 Mikrotik DHCP server 192.168.1.0/24 hotspot page 192.168.2.1(www.xxx.com) hotspot pool 192.168.1.2-192.168.1.254 PPPoE local address : the same as hotspot pool PPPoE remote address : pppoe-pool 192.168.3....
by namo
Fri Sep 17, 2010 12:49 pm
Forum: General
Topic: set RB450 as managed switch
Replies: 10
Views: 2984

Re: set RB450 as managed switch

/interface bridge add name=bridge /interface bridge port add bridge=bridge interface=ether1 horizon=1 /interface bridge port add bridge=bridge interface=ether2 horizon=1 /interface bridge port add bridge=bridge interface=ether3 horizon=1 /interface bridge port add bridge=bridge interface=ether4 hor...
by namo
Thu Sep 16, 2010 3:22 pm
Forum: General
Topic: how to block arp-scan in hotspot
Replies: 25
Views: 9561

Re: how to block arp-scan in hotspot

thank you for your help and info.
by namo
Thu Sep 16, 2010 1:16 pm
Forum: General
Topic: how to block arp-scan in hotspot
Replies: 25
Views: 9561

Re: how to block arp-scan in hotspot

Does RouterOS has port security if it is setup as switch? I try to to mac scanning and I cannot see the user that are connected to the same AP which mean what I need is the protection at the switch level.
by namo
Wed Sep 15, 2010 6:36 pm
Forum: General
Topic: how to block arp-scan in hotspot
Replies: 25
Views: 9561

Re: how to block arp-scan in hotspot

the people who are stealing are taking mac and IP of an active authorize client so that client will complain that the internet is slow. I don't have a method to know if something wrong with his computer or someone clone his ip and mac as him. No one does. There was no security built into MAC addres...
by namo
Tue Sep 14, 2010 4:08 pm
Forum: General
Topic: how to block arp-scan in hotspot
Replies: 25
Views: 9561

Re: how to block arp-scan in hotspot

Question: are you running a public Hotspot over WiFi? If so, you HAVE to run it as an open access point. You cannot use WEP or WPA (which are broken, anyway), and you cannot use WPA2. You would confuse people and make it hard for them to connect, and you would lose customers. In an open access poin...
by namo
Tue Sep 14, 2010 11:46 am
Forum: General
Topic: how to block arp-scan in hotspot
Replies: 25
Views: 9561

Re: how to block arp-scan in hotspot

I am assuming the the chain is forward and I should not filter port 5 which is connected to the router (uplink). /interface bridge filter add in-interface=ether1 out-interface=ether2 action=drop chain=forward add in-interface=ether1 out-interface=ether3 action=drop chain=forward add in-interface=eth...
by namo
Tue Sep 14, 2010 11:30 am
Forum: General
Topic: how to block arp-scan in hotspot
Replies: 25
Views: 9561

Re: how to block arp-scan in hotspot

It works, it doesn't help your case. You don't need VLANs. Set the same horizon value on client ports, set NO horizon value on the uplink port. should I also add filter between each combination port port such as /interface bridge filter add in-interface=ether2 out-interface=ether3 action=drop what ...
by namo
Tue Sep 14, 2010 11:19 am
Forum: General
Topic: set RB450 as managed switch
Replies: 10
Views: 2984

Re: set RB450 as managed switch

No you don't need vlan.
/interface bridge filter
add in-interface=ether2 out-interface=ether3 action=drop
Do the same for every interface combination.
should I also filter port 5 if it is the one connected to the router?
by namo
Mon Sep 13, 2010 8:17 pm
Forum: General
Topic: how to block arp-scan in hotspot
Replies: 25
Views: 9561

Re: how to block arp-scan in hotspot

I am using 192.168.1.0/24 for DHCP and 192.168.1.2-192.168.1.254 pool for the hotspot. Will using different pools for hotspot and DHCP help? Does it accually work to have diffrent pools for them
by namo
Mon Sep 13, 2010 6:19 pm
Forum: Beginner Basics
Topic: ideas to split speed for users profile in hotspot
Replies: 6
Views: 2467

Re: ideas to split speed for users profile in hotspot

The slides are for someone who wants to limit users to their set speeds, but also control the QoS for traffic coming in and out of those users. As for the profiles, it is just enough to fill in the rx and tx rate values. Eg: /ip hotspot profile set default dns-name="" hotspot-address=0.0....
by namo
Mon Sep 13, 2010 6:11 pm
Forum: General
Topic: how to block arp-scan in hotspot
Replies: 25
Views: 9561

Re: how to block arp-scan in hotspot

No, the Horizon value needs to be the same, basically what it's saying is any traffic that comes in on this port with a Horizon number of x, do not let the traffic go out of any of the ports that have the same number set. This is why you will need to leave the Horizon option off of the uplink port,...
by namo
Mon Sep 13, 2010 6:10 pm
Forum: General
Topic: set RB450 as managed switch
Replies: 10
Views: 2984

Re: set RB450 as managed switch

You can set bridge filters to drop communication between bridge ports.
Other than than RB450 cannot be configured as managed switch.
how to set bridge filters and do I need the vlan
by namo
Mon Sep 13, 2010 8:29 am
Forum: General
Topic: set RB450 as managed switch
Replies: 10
Views: 2984

set RB450 as managed switch

I have Mikrotik v4.11 with hotspot on intel PC. I mention in previous post that I want set RB450 as managed switch which do client isolation and block arp-scan that steel the ip and mac address of other clients Or do not allow two computer with same ip and mac address (We know that the second device...
by namo
Mon Sep 13, 2010 8:18 am
Forum: Beginner Basics
Topic: ideas to split speed for users profile in hotspot
Replies: 6
Views: 2467

Re: ideas to split speed for users profile in hotspot

thank you omega-00 but I think the slide help who want to divide the internet equally between the online users. But I have different speeds that set from hotspot profile. I read that in rate limte in the profile you can fill rx-rate[/tx-rate] [rx-burst-rate[/tx-burst-rate] [rx-burst-threshold[/tx-bu...
by namo
Sun Sep 12, 2010 7:53 am
Forum: General
Topic: hotspot ads (Advertisement timeout)
Replies: 2
Views: 2073

Re: hotspot ads (Advertisement timeout)

I found it. It is radvert.html.
by namo
Sat Sep 11, 2010 11:16 pm
Forum: General
Topic: hotspot ads (Advertisement timeout)
Replies: 2
Views: 2073

hotspot ads (Advertisement timeout)

I have RouterOs v4.11 and I put users who very late but I don't want to cut them completely in a profile called money. In this profile , Advertisement interval: 5m Advertisement Timeout: 5m I test this profile and I found out that after 5-10m the internet disconnected and when I open the browser a p...
by namo
Sat Sep 11, 2010 5:20 pm
Forum: General
Topic: how to block arp-scan in hotspot
Replies: 25
Views: 9561

Re: how to block arp-scan in hotspot

Should I have the setup like this /interface bridge add name=bridge /interface bridge port add bridge=bridge interface=ether1 horizon=1 /interface bridge port add bridge=bridge interface=ether2 horizon=2 /interface bridge port add bridge=bridge interface=ether3 horizon=3 /interface bridge port add b...
by namo
Sat Sep 11, 2010 4:34 pm
Forum: Beginner Basics
Topic: ideas to split speed for users profile in hotspot
Replies: 6
Views: 2467

Re: ideas to split speed for users profile in hotspot

it ok but you should consider the number of online user that max you should worry about it
the total of user online is always lower than the download speed but might little exceed the upload
by namo
Fri Sep 10, 2010 8:26 pm
Forum: General
Topic: how to block arp-scan in hotspot
Replies: 25
Views: 9561

Re: how to block arp-scan in hotspot

I am plannig to use RB450 as switch and my intel PC as a router for now and in the future, I will buy RB493AH and use it as a router and managed switch what is the command to clear setting in Mikrotik? and what setting do I need to do to turn RB450 into managed switch that can do client isolation an...
by namo
Fri Sep 10, 2010 2:33 pm
Forum: General
Topic: how to block arp-scan in hotspot
Replies: 25
Views: 9561

Re: how to block arp-scan in hotspot

I found this one: http://www.zyxel.com/web/support_download_list.php?indexflag=20040906173729&ModelIndexflags=0,420060809155239 Managed switches are expesive. I hoped that Mikrotik has the capability that I want. I have Mikrotik RB450(with RouterOS v4.11 Level 4). Can I turn this into managed sw...
by namo
Fri Sep 10, 2010 7:56 am
Forum: General
Topic: how to block arp-scan in hotspot
Replies: 25
Views: 9561

Re: how to block arp-scan in hotspot

You're looking at managed switches. Extreme, HP, Foundry, AT, Cisco - that kind of thing. will this one do the job: 3com 3CDSG8 datasheet: http://www.google.com/url?sa=t&source=web&cd=2&ved=0CBgQFjAB&url=http%3A%2F%2Fsupport.3com.com%2Fdocuments%2Fswitches%2F3CDSG8%2F10016799_Rev_BA...
by namo
Thu Sep 09, 2010 8:35 am
Forum: General
Topic: how to block arp-scan in hotspot
Replies: 25
Views: 9561

Re: how to block arp-scan in hotspot

This has been stated many times. The only way to prevent clients talking to each other over a layer 2 network is for the edge equipment to be set up to prevent this. This has been and will always be the case. On switches this means VLANs and or Port Isolation, on access points this means Client Iso...
by namo
Wed Sep 08, 2010 10:15 am
Forum: General
Topic: how to block arp-scan in hotspot
Replies: 25
Views: 9561

how to block arp-scan in hotspot

I have Mikrotik v4.11 with hotspot. I want to block arp-scan or solution to prevent this.

I connect to the hotspot without login, then do arp-scan and get one of the ip and mac address and clone mine as his and I can connect to the Internet.

an Authorize people can steal free internet.
by namo
Mon Sep 06, 2010 4:57 pm
Forum: General
Topic: how to link PPPoE and hotspot
Replies: 7
Views: 1932

Re: how to link PPPoE and hotspot

HotSpot can answer, when PPPoE fails. However when PPPoE authentication is successful, PPPoe user should login to HotSpot. Is possible that when user login using PPPoE, he is required to login using hotspot too. But Can also login to hotspot without PPPoE? In Case , the user login using PPPoE, will...
by namo
Mon Sep 06, 2010 4:41 pm
Forum: General
Topic: how to link PPPoE and hotspot
Replies: 7
Views: 1932

Re: how to link PPPoE and hotspot

Yes, freeRadius is used by a lot of customers.
http://freeradius.org/
My Mikrotik is on intel PC. Is this installed in another machine as OS or installed in a machine with linux. It seems complex
by namo
Mon Sep 06, 2010 4:17 pm
Forum: General
Topic: Delivery Status Notification (Delay) .....in my email?
Replies: 2
Views: 1141

Re: Delivery Status Notification (Delay) .....in my email?

I switch now from hotmail. I send now from gmail to gmail
by namo
Mon Sep 06, 2010 3:51 pm
Forum: General
Topic: how to link PPPoE and hotspot
Replies: 7
Views: 1932

Re: how to link PPPoE and hotspot

As far as I know with user manager you can't do it either.
Probably with free radius or other radius server it is possible.
Are you taking about different server than the Mikrotik?
by namo
Mon Sep 06, 2010 3:43 pm
Forum: General
Topic: how to link PPPoE and hotspot
Replies: 7
Views: 1932

Re: how to link PPPoE and hotspot

It is not possible with internal user database.. most likely it is possible with RADIUS server. I tryed user manager and create an account but I can login with that account on one computer with PPPoE and hotspot in another computer. Alsom I cannot move radius user to different profile in hotspot. I...
by namo
Mon Sep 06, 2010 12:52 pm
Forum: General
Topic: how to link PPPoE and hotspot
Replies: 7
Views: 1932

how to link PPPoE and hotspot

I have setup both PPPoE and Hotspot on the same interface successfully.

I have the same user accounts in both Hotspot and PPP. Now I want to link those accounts such as if a person login using PPPoE, he cannot login using hotspot somewhere else; and the opposite is true.
by namo
Mon Sep 06, 2010 12:41 pm
Forum: General
Topic: PPPoE internet speed
Replies: 4
Views: 1232

Re: PPPoE internet speed

I will set it with the same speed. thank you.
by namo
Mon Sep 06, 2010 11:53 am
Forum: General
Topic: Delivery Status Notification (Delay) .....in my email?
Replies: 2
Views: 1141

Delivery Status Notification (Delay) .....in my email?

I have Mikrotik v4.11. I set backup to be sent to my email and it was working. But since few days, I get the fallowing email instead of the backup:(I replace some data with x) This is an automatically generated Delivery Status Notification THIS IS A WARNING MESSAGE ONLY. YOU DO NOT NEED TO RESEND YO...
by namo
Mon Sep 06, 2010 11:39 am
Forum: General
Topic: move user from hotspot to PPPoE??
Replies: 3
Views: 1115

Re: move user from hotspot to PPPoE??

I did this and worked
:foreach i in=[/ip hotspot user find] do={
/ppp secret add name=[/ip hotspot user get $i name] password=[/ip hotspot user get $i password] profile=[/ip hotspot user get $i profile] comment=[/ip hotspot user get $i comment];
}
by namo
Mon Sep 06, 2010 11:32 am
Forum: General
Topic: move user from hotspot to PPPoE??
Replies: 3
Views: 1115

Re: move user from hotspot to PPPoE??

you can create a script, something like below

:foreach i in=[/ip hotspot user find] do={
/ppp secret add name=[/ip hotspot user get $i name] password=[/ip hotspot user get $i password];
}
this will add the users in the defaulted ppp profile not the same profile
by namo
Mon Sep 06, 2010 11:00 am
Forum: General
Topic: move user from hotspot to PPPoE??
Replies: 3
Views: 1115

move user from hotspot to PPPoE??

I have RouterOS v4.11 currently have user in hotspot. In PPP , I have created the same profiles names as the one in hotspot. I want to create the same users(secrets) for PPP as the hotspot users (same user name, password and profile name). Is there a command or a script to do that? OR I have to add ...
  • 1
  • 2