Community discussions

MikroTik App

Search found 89 matches

by mps01k
Thu Feb 02, 2012 4:55 am
Forum: RouterBOARD hardware
Topic: Newsletter 36, NEW PRODUCTS!
Replies: 13
Views: 9193

Re: Newsletter 36, NEW PRODUCTS!

I think 6 to 9dbi antennas would be fine for me and a lot of others. 6 to 12 inches isn't that tall. For outdoor use most people are using sectors. So I bet most of us would be using them indoors. for me I would use them out doors for short distance And I dont care if they have dual pol or not, a 6...
by mps01k
Sun Jan 29, 2012 8:30 am
Forum: RouterBOARD hardware
Topic: Newsletter 36, NEW PRODUCTS!
Replies: 13
Views: 9193

Re: Newsletter 36, NEW PRODUCTS!

1+ for omnitik 2.4 poe output on port 2-5
by mps01k
Tue Jun 07, 2011 8:14 am
Forum: Scripting
Topic: Help with script
Replies: 6
Views: 1456

Re: Help with script

what ppp server do you want to disable and enable?? for pppoe server here is a script to find and disable acording to its name. you whould need 2 scripts one with enable=yes and the other disable=no and then set up a schedular to call out that script acording to your needs. { /interface pppoe-server...
by mps01k
Mon Mar 21, 2011 11:20 am
Forum: Forwarding Protocols
Topic: Too many OSPF interfaces
Replies: 2
Views: 1406

Re: Too many OSPF interfaces

on your ospf network. do you have 0.0.0.0/0 or do you have the specific subnet listed? it sounds to me like you have 0.0.0.0/0 and so it tries to run a ospf session on every single interface including your pppoe.

cheers
by mps01k
Fri Mar 11, 2011 5:31 am
Forum: Scripting
Topic: script to check if customer has downloaded x gigs and email
Replies: 2
Views: 1478

Re: script to check if customer has downloaded x gigs and em

thanks for the reply but the link is dead. edit: site is working now. will readup on it and give it another try.

michael
by mps01k
Thu Mar 10, 2011 4:29 pm
Forum: Scripting
Topic: script to check if customer has downloaded x gigs and email
Replies: 2
Views: 1478

script to check if customer has downloaded x gigs and email

hello guys, I am having problem with a script that i modified to do what i need but for some reason it is not working exactly right. I tested it with one queue in a test enviroment and it worked excelent but when i put it on my main router with hundreds of users it runs untill it finds one user with...
by mps01k
Mon Feb 21, 2011 1:21 am
Forum: Beginner Basics
Topic: EoIP + VLAN
Replies: 9
Views: 18584

Re: EoIP + VLAN

you need to bridge the tunnel to the port facing the vlans on both mikrotik routers
by mps01k
Wed Aug 11, 2010 10:12 am
Forum: General
Topic: Payment reminder page showing once every month on the 28th
Replies: 8
Views: 5513

Re: Payment reminder page showing once every month on the 28

actually if they say went to yahoo.com and the hotspot page popped up, after they hit the but to continue browsing it redirects them to yahoo.com they dont have to retype anything in.
by mps01k
Sun Aug 08, 2010 11:14 pm
Forum: General
Topic: CHALLENGE!! (Create a dynamic QOS that deprioritizes)
Replies: 52
Views: 13611

Re: CHALLENGE!! (Create a dynamic QOS that deprioritizes)

For now i need somthing that can handle 300 customers and around 20mb. I am sure that if this does what we want then the cpu of the hardware is goint to come into to play as you scale. One thing that i was thinking is using traffic monitor and if say total bandwith usage is under 80% it keeps up wit...
by mps01k
Sun Aug 08, 2010 3:37 am
Forum: General
Topic: CHALLENGE!! (Create a dynamic QOS that deprioritizes)
Replies: 52
Views: 13611

Re: CHALLENGE!! (Create a dynamic QOS that deprioritizes)

http://wiki.mikrotik.com/wiki/Limiting_a_user_to_a_given_amount_of_traffic_with_user_levels Check this. You can adapt it to manage different kinds of traffic (HTTP, FTP, P2P), with enough work. Just an example, tangent somehow to your request. I have a script I wrote almost identical to that except...
by mps01k
Sun Aug 08, 2010 3:16 am
Forum: General
Topic: CHALLENGE!! (Create a dynamic QOS that deprioritizes)
Replies: 52
Views: 13611

Re: CHALLENGE!! (Create a dynamic QOS that deprioritizes)

I doubt you will need anything from me since you are so smart an I am so dumb. Yeah I saw the other thread where you were giving out info on how to make a mk power controller. I happened to see it after I posted what I did because based on what I read here in this thread it was agrivating. I have wo...
by mps01k
Sat Aug 07, 2010 8:05 am
Forum: General
Topic: CHALLENGE!! (Create a dynamic QOS that deprioritizes)
Replies: 52
Views: 13611

Re: CHALLENGE!! (Create a dynamic QOS that deprioritizes)

hey there gunther. if you need any help or would like to throw some ideas around I would like to have to help you with it. You already have my email. I am the guy that recently was added to your facebook from honduras. adrian is just being an @$$hole. If he has a solution and dont wont to share it o...
by mps01k
Sat Aug 07, 2010 7:46 am
Forum: General
Topic: Payment reminder page showing once every month on the 28th
Replies: 8
Views: 5513

Re: Payment reminder page showing once every month on the 28

A very very simple way of doing this. maybe not the best and maybe you dont have your network setup in a way that this could be used is. set up hotspot on the router that they are connected to and then edit the page for it to be a reminder with no where to put a password or username but leave the cl...
by mps01k
Mon Jul 13, 2009 11:51 pm
Forum: General
Topic: vlan bonding
Replies: 1
Views: 943

vlan bonding

hello i have a config that i need help with, not sure if it is even possible to do but here goes. my service provider is giving me 7 MB of bandwith but is doing so with 2 different vlans, he gives me the service over cat5 but when i configure the MT i have to configure two different vlans to get the...
by mps01k
Sat Jun 06, 2009 6:45 am
Forum: Wireless Networking
Topic: about R52 card
Replies: 2
Views: 1033

Re: about R52 card

with a 25 dbi basket and a r52 at 14dbi output power at 54mb i get 54mb rate lock on 5.8hgz at 15km with -68 signal and real transfer rate of 30MB ping of 1-2 ms
by mps01k
Tue May 26, 2009 1:49 am
Forum: Wireless Networking
Topic: Best enclosure
Replies: 9
Views: 3154

Re: Best enclosure

i like these , they have only two big screwa on front that you have to remove to open and heavy duty ,, Image
by mps01k
Tue May 26, 2009 1:31 am
Forum: General
Topic: different type of NAT
Replies: 27
Views: 10706

Re: different type of NAT

dont specify what interface is the in or out and it should work fine.
by mps01k
Fri May 08, 2009 10:16 pm
Forum: Wireless Networking
Topic: Best use of resources
Replies: 1
Views: 893

Re: Best use of resources

i think i would use the rb1000 as a radius server if you arnt using somthing different for that and run ppoe servers on each ap that auth to the rb1000, routing will be running on all aps and you can use rip or ospf to make it simpler. just my 10cents
by mps01k
Wed May 06, 2009 3:20 am
Forum: General
Topic: Communicating across different subnets
Replies: 8
Views: 2182

Re: Communicating across different subnets

to be honest with you , i am not sure but i am sure google can find plenty of tuturials on it for you. i can give an example but if you dont understand you wont be able to do it. exp you have ether1 as wan on public ip you have ether 2 as lan with a 192.168.3.0/24 you have hotpot set up and running ...
by mps01k
Wed May 06, 2009 12:37 am
Forum: General
Topic: Communicating across different subnets
Replies: 8
Views: 2182

Re: Communicating across different subnets

if you route over your ap then you still will have the hotspot page come up for every user. if you route and also use nat on your ap then your assumption is correct that every user will have free acces after first user logs on. read up on how to route.
by mps01k
Tue May 05, 2009 7:13 am
Forum: General
Topic: Communicating across different subnets
Replies: 8
Views: 2182

Re: Communicating across different subnets

hello , you have several optiones,

you can add subnets to the same eth interface as the 192.168.88.0/24. you can make the whole subnet larger example a 16 bit subnet or maybe even just a 23 or 22 bit subnet. or you can route over your ap, the better option, in my opinion
by mps01k
Tue Apr 14, 2009 10:03 pm
Forum: Wireless Networking
Topic: having problem with rb493ah rebooting HELP!!
Replies: 10
Views: 2056

Re: having problem with rb493ah rebooting HELP!!

hello all thanks for the help, i am now in honduras and have found that this xr5 will also make 2 other rb192 ´s reboot. i changed out the xr5 on my rb493ah with a r5h and no more rebooting problem , i also tried using the power plugged dirrectly into the rb and still rebooted with the xr5! So i ass...
by mps01k
Mon Apr 06, 2009 9:49 am
Forum: General
Topic: Mikrotik Router act as a switch and transparent firewall?
Replies: 41
Views: 82961

Re: Mikrotik Router act as a switch and transparent firewall?

hmm i thought that there was no sensative info in there. anyways hope none of my cleints are here reading this , haha they would have free internet wouldnt they.

mike
by mps01k
Sun Apr 05, 2009 4:50 am
Forum: General
Topic: Mikrotik Router act as a switch and transparent firewall?
Replies: 41
Views: 82961

Re: Mikrotik Router act as a switch and transparent firewall?

hello i have 493 in place and have no problem like you exsplain. see my setting below only I did change the interface names the #9 is WAN named ether1 before and #8 was before Ether2 ect. /interface ethernet set 0 arp=enabled auto-negotiation=yes comment="" disabled=no full-duplex=yes \ ma...
by mps01k
Fri Apr 03, 2009 11:45 am
Forum: Wireless Networking
Topic: having problem with rb493ah rebooting HELP!!
Replies: 10
Views: 2056

Re: having problem with rb493ah rebooting HELP!!

I did disable watchdog and it did not help, no i dont have another xr5 to try but i did buy a couple of r5h's and r52h and a few rb192's , i am going to honduras next week to work on this problem myself to try and get this link up and running , hope all goes well.

michael
by mps01k
Wed Apr 01, 2009 12:11 pm
Forum: Wireless Networking
Topic: having problem with rb493ah rebooting HELP!!
Replies: 10
Views: 2056

Re: having problem with rb493ah rebooting HELP!!

ok i uninstalled the rb today (well had installer remove it) it does not reeboot if the xr5 is disabled or removed. we changed the xr5 to a different slot , no difference, we upgraded to 3.22 made no difference, we set power on xr5 to 18db no difference, set tx power to default, no difference, chang...
by mps01k
Tue Mar 31, 2009 1:38 pm
Forum: Wireless Networking
Topic: having problem with rb493ah rebooting HELP!!
Replies: 10
Views: 2056

having problem with rb493ah rebooting HELP!!

hello i have installed 2 rb493ah already and when i got the third one on its tower i started having a reebooting issue with it , i had tested everthing already on the bench here in the usa but now my installer is having issues in honduras. here is the setup tower 1 has a 24 dbi roo with rb493 and r5...
by mps01k
Sun Apr 06, 2008 8:29 am
Forum: Scripting
Topic: Siren alarm script
Replies: 18
Views: 15904

Re: Siren alarm script

{ :local count :local freq :for c from=1 to=50 step=1 \ do={ \ :set count 15 :set freq 1900 :do {\ :beep length=400ms frequency=$freq; :delay 25ms :set count ($count - 1); :set freq ($freq +35) } \ while (($count <16) && ($count >0)) :beep length=0 frequency=0 } } }
by mps01k
Wed Apr 02, 2008 6:17 am
Forum: Scripting
Topic: Usermanager Fields Script values
Replies: 4
Views: 2071

Re: Usermanager Fields Script values

glad you were able to make it of some use

michael
by mps01k
Mon Mar 31, 2008 6:44 am
Forum: Scripting
Topic: Usermanager Fields Script values
Replies: 4
Views: 2071

Re: Usermanager Fields Script values

here is a script that i wrote to use with usermanager and it runs on V 3.6 and below to set bandwith speeds , apart from this script you need a couple more to make it work, but you will get the idea. you need to set the comment to bandwith used total to began with. you also need to do that every tim...
by mps01k
Mon Mar 31, 2008 6:34 am
Forum: The User Manager
Topic: User-Manager and NTP
Replies: 2
Views: 1902

Re: User-Manager and NTP

go into customer in usermanager and change the time +/- GMT so that it is the same as what you have in winbox.
by mps01k
Tue Mar 18, 2008 7:23 am
Forum: The User Manager
Topic: Credits expire
Replies: 1
Views: 1727

Re: Credits expire

that is because you are giving them 10 hrs and it starts from the second they first log on , use uptime limit instead and set your credit to 1 month and all should be good for multiple uses totaling 10hrs and exspires in 1 month.
by mps01k
Mon Mar 17, 2008 3:34 am
Forum: Scripting
Topic: change bandwith script not working with 3.2
Replies: 11
Views: 3564

Re: change bandwith script not working with 3.2

this is the last update that i have working and will actually log the cleint off the internet if they go over the limit. it also does not rely on the counters being reset daily it does however rely on a different script that set thes comment to MB total used once a day. { :local userX :local bytesin...
by mps01k
Mon Mar 17, 2008 3:32 am
Forum: Scripting
Topic: Scripts - 3.4 - MT support
Replies: 7
Views: 2232

Re: Scripts - 3.4 - MT support

i agree MT please respond to this. It is not correct for someone to change the way the damn script works and not tell the people that are writing them . i have spent numeros hours debugging stuff that used to work fine on previous versions . && is completly broken in 3.4 and a host of other ...
by mps01k
Sat Mar 15, 2008 1:23 am
Forum: Scripting
Topic: change bandwith script not working with 3.2
Replies: 11
Views: 3564

Re: change bandwith script not working with 3.2

here is my lastest script and it works well only you have to run one other script to set the speed on users that have never been online or havnt been online since you reset counters. it is below the one that applies FAP { :local user :local bytesin :local bytesout :local megstotal :local groupname :...
by mps01k
Thu Mar 13, 2008 6:00 am
Forum: Scripting
Topic: script change
Replies: 6
Views: 1914

Re: script change

you will need to post the complete script for anyone to be able to help you . copy and just paste whole thing from the first { to the last }
by mps01k
Tue Mar 11, 2008 6:22 am
Forum: Scripting
Topic: script change
Replies: 6
Views: 1914

Re: script change

what is the complete script? to help you find the problem
by mps01k
Sun Mar 09, 2008 8:23 pm
Forum: Scripting
Topic: change bandwith script not working with 3.2
Replies: 11
Views: 3564

Re: change bandwith script not working with 3.2

ok here is what i have working so far , it is not the complete script as I am just working with users B at the moment to make like easier but it works like a charm as long as it never finds a user that has just had his counters reset and i need to be able to reset counters every day, might have trye...
by mps01k
Sun Mar 09, 2008 8:27 am
Forum: Scripting
Topic: change bandwith script not working with 3.2
Replies: 11
Views: 3564

Re: change bandwith script not working with 3.2

ok i have been playing around with this for the last 6 hours and i think i am getting a little bit closer , i had to make a few changes to get it to at least run but here is what i have so far that actually works although it only sets the cleints speeds according to what group they are A,B or C if i...
by mps01k
Sun Mar 09, 2008 12:09 am
Forum: Scripting
Topic: change bandwith script not working with 3.2
Replies: 11
Views: 3564

Re: change bandwith script not working with 3.2

yes this script is made so that you can have 3 different classes of users A,B,C and set there speeds to certain levals according to how much they have downloaded. it works with usermanager. it is not like the one from kridge that is a billing script this is like a FAP (fair acces policy) we run this...
by mps01k
Sat Mar 08, 2008 10:45 am
Forum: Scripting
Topic: change bandwith script not working with 3.2
Replies: 11
Views: 3564

Re: change bandwith script not working with 3.2

i am still hoping that someone can help me out with this. there is no info in the documents on scripting in the new version. please someone help us see the error we have.

thanks
by mps01k
Mon Feb 11, 2008 11:36 pm
Forum: Scripting
Topic: change bandwith script not working with 3.2
Replies: 11
Views: 3564

Re: change bandwith script not working with 3.2

please help me gurus . i really need this script to work and somthing has changed in the 3.2 that i cant seem to figure out.
by mps01k
Fri Feb 08, 2008 6:23 pm
Forum: Scripting
Topic: change bandwith script not working with 3.2
Replies: 11
Views: 3564

Re: change bandwith script not working with 3.2

i tried what you suggested and still no luck runs but does nothing

thanks
michael

ps. i have another script that changes the queues in queue tree at midnight and it no longer will work either. what changed in v 3 so that the scripts no longer run correctly?
by mps01k
Thu Feb 07, 2008 4:20 am
Forum: Scripting
Topic: change bandwith script not working with 3.2
Replies: 11
Views: 3564

Re: change bandwith script not working with 3.2

hello guys still no luck with this script does anybody know where to find documentation on scripting with version 3.0? i cant seem to find it and this is driving me crazy becase it runs just fine no errores but dont do nothing.

thanks
by mps01k
Tue Feb 05, 2008 5:58 pm
Forum: Scripting
Topic: change bandwith script not working with 3.2
Replies: 11
Views: 3564

change bandwith script not working with 3.2

hello i have been using below script for last few months with 3.0 beta and now that i am using 3.2 it will not work. any help appreciated. { :local user :local bytesin :local bytesout :local megstotal :local groupname /tool user-manager user :foreach i in=[/tool user-manager user find subscriber=adm...
by mps01k
Fri Oct 26, 2007 1:37 am
Forum: Beginner Basics
Topic: please somebody speak spanish please
Replies: 10
Views: 3490

Re: please somebody speak spanish please

hola yeris , cual es el problema que tienes? si no lo puedo ayudar yo por seguro alguien mas aqui puede.
by mps01k
Wed Oct 24, 2007 11:02 pm
Forum: General
Topic: Mikrotik + Web Proxy Queueing is Impossible ?
Replies: 101
Views: 37204

Re: Mikrotik + Web Proxy Queueing is Impossible ?

enabled: yes src-address: 0.0.0.0 port: 8080 parent-proxy: 0.0.0.0 parent-proxy-port: 0 cache-drive: system cache-administrator: "webmaster" max-cache-size: 4037000KiB cache-on-disk: yes maximal-client-connections: 400 maximal-server-connections: 150 max-fresh-time: 3d serialize-connection...
by mps01k
Wed Oct 24, 2007 4:23 am
Forum: Scripting
Topic: i need script
Replies: 30
Views: 7459

Re: i need script

hello , runs without problem but still same issue , nothing happens, if it would just say what the error was it would be easier to figure out, but ir runs like a charm , just does nothing.

thanks
by mps01k
Wed Oct 24, 2007 4:15 am
Forum: General
Topic: ERROR: Could not find disk! Please attach it somewhere else
Replies: 39
Views: 20787

Re: ERROR: Could not find disk! Please attach it somewhere else

dont think it is a bios update issue . i have tried 2 differnt pc's with same motherboard same bios setting, and one says that cant find disk and other says can. also i have installed with CD on one pc and works another with ftp and works and then on another computer niether cd nor ftp work.. i have...
by mps01k
Wed Oct 24, 2007 1:49 am
Forum: General
Topic: Mikrotik + Web Proxy Queueing is Impossible ?
Replies: 101
Views: 37204

Re: Mikrotik + Web Proxy Queueing is Impossible ?

i have the above setup running on 3.0vr6 and it works well. it does save msn download for me.. really cool. i have tried with up to a 24mb file and worked fine, cant figure out how to make it save youtube tho. i have it running on 6 servers at the moment for up to 3 weeks on the very first one and h...
by mps01k
Tue Oct 23, 2007 10:32 pm
Forum: Scripting
Topic: i need script
Replies: 30
Views: 7459

Re: i need script

hello again friend, i am still trying to get it to log off active users. I made the mod that you sujest and i dont get any errors but it also does not log user off { :local user :local address :local uptime /ip hotspot active :foreach i in=[/ip hotspot active] do={ :set user [get $i name] :set addre...
by mps01k
Tue Oct 23, 2007 9:44 pm
Forum: Scripting
Topic: Simple question, finding two condition
Replies: 5
Views: 2334

Re: Simple question, finding two condition

glad to hear that it worked for you. Like I said that i had not tried to use it. I only wrote it and give you an idea.. The first time that i tried to write a script and someone gave me a idea and it took me a lot longer than 6 hours.. nearly 2 day to figure it out . but after that you are much more...
by mps01k
Tue Oct 23, 2007 5:14 am
Forum: Scripting
Topic: Simple question, finding two condition
Replies: 5
Views: 2334

Re: Simple question, finding two condition

hello , i wrote this on the fly and have not tested it. please let me know if it works for you! { :local conn :local p2p :local src /ip firewall connection :foreach i in=[/ip firewall connection find] do={ :set conn [get $i tcp-state] :set p2p [get $i p2p] :set src [get $i src-address] :if (([$conn]...
by mps01k
Mon Oct 22, 2007 11:55 pm
Forum: Scripting
Topic: Simple question, finding two condition
Replies: 5
Views: 2334

Re: Simple question, finding two condition

why dont you just use mangle and firewall filter? something like / ip firewall mange add action=add-dst-to-address-list address-list=p2p address-list-timeout=0s chain=forward \ comment="" disabled=no p2p=all-p2p add action=mark-connection chain=forward comment="" disabled=no new-...
by mps01k
Mon Oct 22, 2007 11:44 pm
Forum: Beginner Basics
Topic: How to Bypass the cash objects
Replies: 2
Views: 1801

Re: How to Bypass the cash objects

can you explain a little more about what you are trying to do so that we can help you?
by mps01k
Fri Oct 19, 2007 1:46 am
Forum: Scripting
Topic: Moving Static Queue Above Dynamic Queues
Replies: 59
Views: 32931

Re: Moving Static Queue Above Dynamic Queues

what version of OS are you running ? i am using 3.0rc5. I just put it into the scripter and it runs but does nothing at all.

can you post an exapmple of exactly how you have it set , that it works for you and not for me?

thanks
by mps01k
Wed Oct 17, 2007 11:43 pm
Forum: Scripting
Topic: Moving Static Queue Above Dynamic Queues
Replies: 59
Views: 32931

Re: Moving Static Queue Above Dynamic Queues

i am using from 8 to 5 on the dynamic queues and 1 on the static queue i want to move.
by mps01k
Mon Oct 15, 2007 10:32 pm
Forum: Scripting
Topic: Moving Static Queue Above Dynamic Queues
Replies: 59
Views: 32931

Re: Moving Static Queue Above Dynamic Queues

hello , this is the error i am getting [admin@MikroTik] /ip hotspot active> print Flags: R - radius, B - blocked # USER ADDRESS UPTIME SESSION-TIME-LEFT IDLE-TIMEOUT 0 R casm 192.168.250.3 29m39s 1 R favio 192.168.250.11 1h13m32s 2 R lucia 192.168.250.14 16m5s [admin@MikroTik] /ip hotspot active> :f...
by mps01k
Sat Oct 13, 2007 2:51 am
Forum: Scripting
Topic: Moving Static Queue Above Dynamic Queues
Replies: 59
Views: 32931

Re: Moving Static Queue Above Dynamic Queues

i need this for usermanager not for only hotspot.. still no luck getting anything to work and have tried .
by mps01k
Tue Oct 09, 2007 7:35 am
Forum: General
Topic: upgrade
Replies: 25
Views: 7374

Re: upgrade

i have installed 4 servers with the beta v5 and no problems but today i got the same exact message as is above from the others. the server i am using is the same brand , config ect as one of the others that i have done and there was no problem on the others.. i am using in this instance a old p3.. d...
by mps01k
Tue Oct 09, 2007 1:25 am
Forum: Scripting
Topic: i need script
Replies: 30
Views: 7459

Re: i need script

hello , thanks for all the help. below is my latest config and works with ABC profiles and sets bandwith acordingly. might be somthing for the WIKI!!!!!!!!! it is testing and working on a operational system with cleints running right now.. i have it run every 4 hours.. i really never understood scri...
by mps01k
Mon Oct 08, 2007 10:54 pm
Forum: Scripting
Topic: Moving Static Queue Above Dynamic Queues
Replies: 59
Views: 32931

Re: Moving Static Queue Above Dynamic Queues

still no luck,, and really need this!!!!!!!
by mps01k
Sat Oct 06, 2007 6:00 am
Forum: Scripting
Topic: i need script
Replies: 30
Views: 7459

Re: i need script

i found a bug in the below script and a way to fix it but maybe there is a different way . if the total bandwith used is =0 then it sets them to the restricted bandwith. :local bytesin :local bytesout :local megstotal /tool user-manager user :foreach i in=[/tool user-manager user find subscriber=adm...
by mps01k
Sat Oct 06, 2007 5:04 am
Forum: Scripting
Topic: i need script
Replies: 30
Views: 7459

Re: i need script

i have tried and tried to get somthing to make the users log out but it just isnt hapening ,, below are some of the things i have tried ip hotspot active remove 0 /ip hotspot active remove 1 /ip hotspot active remove 2 /ip hotspot active remove 3 /ip hotspot active remove 4 /ip hotspot active remove...
by mps01k
Sat Oct 06, 2007 1:46 am
Forum: Scripting
Topic: i need script
Replies: 30
Views: 7459

Re: i need script

ok we are making progress .. i figured out how to reset only the users data that is getting changed to a lower rate during the scipting proces and i will make another one that will reset everybodys usage once a day.. i tried to also make them log out but i was not able to do that ,, below is what i ...
by mps01k
Fri Oct 05, 2007 3:35 am
Forum: Scripting
Topic: [Help] I need a script
Replies: 3
Views: 1505

Re: [Help] I need a script

what version of mikrotik are you using and what proxy package? you need to make two scripts one call :parent proxy on and the other parent proxy off it would be something like this to set it to use parent proxy / ip proxy set parent-proxy=10.10.10.10:3128 / and this to make it not use parent proxy /...
by mps01k
Fri Oct 05, 2007 3:24 am
Forum: Scripting
Topic: i need script
Replies: 30
Views: 7459

Re: i need script

but how do i make it reset the counters i cant seem to figure that one out..

thanks
by mps01k
Fri Oct 05, 2007 3:15 am
Forum: General
Topic: upgraded but webproxy is not producing HITS
Replies: 1
Views: 1452

Re: upgraded but webproxy is not producing HITS

ok ya te encontre...


you might need to redirect trafic that is going to port 80 over to your proxy port.

Use dstnat , tcp , port 80 , redirect port 8080 .

make sure you close the acces from the outside or you will hammer the router with a lot of unwanted traffic.
by mps01k
Thu Oct 04, 2007 2:28 am
Forum: Scripting
Topic: i need script
Replies: 30
Views: 7459

Re: i need script

thanks very much for your help.. what i do not understand is the reset part of the script or is that a totally differnt script? also i would like to figure out how to make the script to look for $user under ip hotspot active user and log them off if they have used more bandwith than the set limit .....
by mps01k
Tue Oct 02, 2007 1:29 pm
Forum: Scripting
Topic: Moving Static Queue Above Dynamic Queues
Replies: 59
Views: 32931

Re: Moving Static Queue Above Dynamic Queues

tried this but somting is wrong in it

{

:local name

/queue simple
:foreach i in=[/queue simple] do={

:set name [get $i name]

:if ($name=!"proxy_cache") do={
/queue simple move 0 6
}
}
by mps01k
Tue Oct 02, 2007 12:25 pm
Forum: Scripting
Topic: Moving Static Queue Above Dynamic Queues
Replies: 59
Views: 32931

Re: Moving Static Queue Above Dynamic Queues

hello ,,

if we cant move the static above the dynamic with script what about moving the dynamic below the static???

anybody out there with anygood ideas??
by mps01k
Tue Oct 02, 2007 10:32 am
Forum: Scripting
Topic: i need script
Replies: 30
Views: 7459

Re: i need script

this is how i have it now and it runs perfectly { :local user :local bytesin :local bytesout :local megstotal /tool user-manager user :foreach i in=[/tool user-manager user find subscriber=admin] do={ :set user [get $i name] :set bytesin [get $i download-used] :set bytesout [get $i upload-used] :set...
by mps01k
Tue Oct 02, 2007 10:18 am
Forum: Scripting
Topic: i need script
Replies: 30
Views: 7459

Re: i need script

works correctly in 3.0rc5,, havnt figured it out yet in the stable version thanks... is there any way that i can make it take a look at the speed that the customer has right now and set the speed to half that and then reset itself at midnight.. as we have several different packages... or say find ra...
by mps01k
Tue Oct 02, 2007 9:53 am
Forum: Scripting
Topic: i need script
Replies: 30
Views: 7459

Re: i need script

hello thanks for the help but i am still having trouble . i am not sure how to debug it.. i get the different colors when i execute but i am not sure where the problem is.. here is the error that i get and i have tried on v3.0rc5 and also latest stable version.. [admin@MikroTik] > :local user [admin...
by mps01k
Tue Oct 02, 2007 1:09 am
Forum: Scripting
Topic: i need script
Replies: 30
Views: 7459

Re: i need script

hello i have a pc running 2.9.46 with usermanger and it dont work for me and would really like to be able to use somthing like that.

thanks
by mps01k
Tue Oct 02, 2007 12:53 am
Forum: Scripting
Topic: Moving Static Queue Above Dynamic Queues
Replies: 59
Views: 32931

Re: Moving Static Queue Above Dynamic Queues

hello i, i am trying to do the exactly same thing for the same reason. will delete my message or move it here as it is the same topic.

michael
by mps01k
Tue Oct 02, 2007 12:50 am
Forum: Scripting
Topic: script to overide dynamic queues
Replies: 1
Views: 1184

script to overide dynamic queues

hello , i am trying to figure out how to keep one of the simple queues in #0 place.. i am using hotspot and and userman on version 3.0rc5 and have a queue for proxy trafic as explained in the other forum.. the only problem is that the simple queue rule will have to stay on top of all others and when...
by mps01k
Thu Sep 27, 2007 3:14 am
Forum: General
Topic: proxy , mangle , queue tree help
Replies: 0
Views: 1572

proxy , mangle , queue tree help

hello i am trying to prioritize my trafic using mangle and queue tree. It worked fine until i enabled the web proxy. below are my setting. I have tried everthing i can think of and it marks part of the connections but others no. / ip firewall mangle add chain=forward action=add-dst-to-address-list p...
by mps01k
Sat May 12, 2007 10:20 pm
Forum: General
Topic: multiple ip per mac adress
Replies: 3
Views: 2211

i talked with a friend and he pointed me to the fact that the 8186's even in bridge mode still transmit there mac adress as part of the packets. the solution to this was running them in WDS mode and that way what ever is connected to them remotely can be seen not only by IP address but aslo my Mac a...
by mps01k
Thu May 10, 2007 1:43 am
Forum: General
Topic: multiple ip per mac adress
Replies: 3
Views: 2211

ok i figured one thing out . the mac addres i am seeing is from the wireless acces point that feeds the swich that the pc is connected to. here is the setup mikrotik router handing out dhcp and running hotspot. goes to tower 8186 maxx set as bridge and AP (should be transparant) the cleint is a 8186...
by mps01k
Wed May 09, 2007 10:14 pm
Forum: General
Topic: multiple ip per mac adress
Replies: 3
Views: 2211

multiple ip per mac adress

hello i have a problem on our network with 1 computer trying to use a lot of Ip's. we are running ip hotspot and in the host list i see the same mac address a bunch of times. I have set the hotspot server to only allow 2 Ip's per mac address and when this cleint connects to the internet it logs her ...
by mps01k
Fri May 04, 2007 11:06 pm
Forum: General
Topic: how to keep people from trying to log in mikrotik via ftp
Replies: 10
Views: 3939

hello thanks guys , but the problem that i have is that i am using dual wan and when i put that rule into with my other filter rules it makes my gateways thinjk that they are down and disables them here is how i have the gateways configured. This load balances and is failover at the same time. / ip ...
by mps01k
Fri May 04, 2007 6:48 pm
Forum: General
Topic: how to keep people from trying to log in mikrotik via ftp
Replies: 10
Views: 3939

how to keep people from trying to log in mikrotik via ftp

i get sevaral people a day trying to log into our mikrtiks via ftp and they dont stop for hours at a time. What can be done? ay/04/2007 09:44:07 system,error,critical login failure for user Administrator from 66.230.195.16 via ftp may/04/2007 09:44:10 system,error,critical login failure for user Adm...
by mps01k
Fri May 04, 2007 8:35 am
Forum: General
Topic: i need help doing dual wan with hotspot.
Replies: 2
Views: 1501

ok i have it working using the odd/even method and i have proxy working and i have the hotspot/userman up and running. I have my filter enabled and i am seeing that the traffic is going to both wan's. But if I add my other mangle rules and try to do Queue tree it goes to pieces on me. I changed the ...
by mps01k
Fri May 04, 2007 6:38 am
Forum: General
Topic: i need help doing dual wan with hotspot.
Replies: 2
Views: 1501

i need help doing dual wan with hotspot.

hello is there anybody online now that can let me know if there is a way to run hotspot and dual wan at the same time. i have set it up like it shows in the wiki but when i turn on hotspot i get into trouble. I have more mangle rules and filters setup too. If there is any body that would like to log...
by mps01k
Tue May 01, 2007 11:33 pm
Forum: General
Topic: mangle and queue tree
Replies: 1
Views: 1547

mangle and queue tree

here is what i am doing i have a server running 2.9.42 we are running hotspot and userman. every time a client logs in they get a set bandwith thru simple queues, but i would like to give priority to http and voip and https. i am doing that thru mangle and Queue tree. is that correct? does the traff...
by mps01k
Thu Apr 12, 2007 11:38 pm
Forum: General
Topic: Simpler, easier to use and good documented and good support!
Replies: 11
Views: 3460

i too have been trying to figure mikrotik out and have spent at least 80 hours reading forums , doc's and the wiki. I have posted questions also and have recieved some responses. Wish it was easier to find some things. I have figured a lot out on my own and I wonder why when we post it is so hard to...
by mps01k
Fri Mar 23, 2007 11:05 pm
Forum: General
Topic: mikrotik hotspot
Replies: 0
Views: 830

mikrotik hotspot

hello all , I am working on trying to get one of my mikrotiks setup for hotpot usage.. I have set up ether1 with a public ip subnet of 29 and have a ether2 setup with 10.10.2.1/24. I have the DHCP server running and handing out 10.10.2.2-254. I have the hotspot server running on interface ether2 and...