Community discussions

MUM Europe 2020

Search found 72 matches

by EarthStation
Fri Jan 29, 2016 3:07 pm
Forum: Scripting
Topic: Less than < throws up error?
Replies: 1
Views: 489

Less than < throws up error?

Greetings,

I have this line that is tossing up an error.
   :if ($http!<=99) do={
syntax error (line 16 column 24)
The indicator is that the < is a problem. If I change it to >, the code works correctly, but not as I want, I need "not less than"....

ROS 6.33.5 on a CRS109

Regards
Brian
by EarthStation
Thu Dec 13, 2012 5:15 pm
Forum: Scripting
Topic: Request for script to reset CPE + run edited script
Replies: 4
Views: 1983

Re: Request for script to reset CPE + run edited script

I need help to setup a script that will reset a customers CPE and then run a edited custom script with SSID of AP + NV2,etc setting to reassociate with AP.
My bad. I thought you were requiring assistance with CPE reset and config.

Regards
Brian
Zimbabwe
by EarthStation
Thu Dec 13, 2012 10:27 am
Forum: Scripting
Topic: Condtional not Booelan?
Replies: 2
Views: 1160

Re: Condtional not Booelan?

Thanks Janisk.
:if [/interface wireless get wlan1 disabled] do={/interface wireless set wlan1 disabled=no}
Works correctly.

Regards
Brian
Zimbabwe
by EarthStation
Thu Dec 13, 2012 9:30 am
Forum: Scripting
Topic: Request for script to reset CPE + run edited script
Replies: 4
Views: 1983

Re: Request for script to reset CPE + run edited script

We use a pre-configured .rsc file to load our full config to new CPE's (i.e default or no configuration). As we run on static IP's, we use a text editor like notepad to "find and replace" the IP addresses/client side DHCP server info, so we can config 10-15 units in an hour. We have failover scripts...
by EarthStation
Thu Dec 13, 2012 8:30 am
Forum: Scripting
Topic: Limiting a user to a given amount of traffic II
Replies: 11
Views: 4244

Re: Limiting a user to a given amount of traffic II

Is open to abuse by users giving themselves (as yet not limited) static IP's (rinse repeat) But better than no limiting at all for now. Thanks again :) You could set the arp to "reply-only" on the AP interface, which will ensure that only DHCP issued addresses are allowed to operate. Will block all...
by EarthStation
Thu Dec 13, 2012 8:20 am
Forum: Scripting
Topic: Condtional not Booelan?
Replies: 2
Views: 1160

Condtional not Booelan?

Hi, Trying to add a simple line of code to a CPE . RB411 running ROSv5.22 Firmware 2.41 . Simple line to enable the wireless interface only if it is disabled. :if [/interface wireless find 0 disabled=no] do={/interface wireless set 0 disabled=no} Replies with "conditional not boolean"......? Any sol...
by EarthStation
Tue Dec 04, 2012 9:43 am
Forum: The User Manager
Topic: First Time User Manager operation - assistance please.
Replies: 4
Views: 3980

Re: First Time User Manager operation - assistance please.

Ok, so no suggestions from the forum, so have now implemented http://wiki.mikrotik.com/wiki/User_Manager/4/PPP_Setup , and still no success. On that page the part that puzzles me is "'127.0.0.1' is the address of the PPPoE-server router. 'shared-secret' should match on both User Manager and PPPoE-se...
by EarthStation
Tue Dec 04, 2012 7:54 am
Forum: The User Manager
Topic: First Time User Manager operation - assistance please.
Replies: 4
Views: 3980

Re: First Time User Manager operation - assistance please.

And now having change the Radius and user manager router IP to 127.0.0.1 ( they are both on the same device) I am getting: 07:51:03 radius,debug new request 1b:1c4 code=Access-Request service=ppp called-id=MikroTik 07:51:03 radius,debug sending 1b:1c4 to 127.0.0.1:1812 07:51:03 radius,debug,packet s...
by EarthStation
Mon Dec 03, 2012 4:47 pm
Forum: The User Manager
Topic: First Time User Manager operation - assistance please.
Replies: 4
Views: 3980

Re: First Time User Manager operation - assistance please.

So I carry on trying to get RADIUS server to talk to UM. Redid the entire setup as per http://wiki.mikrotik.com/wiki/User_Manager/PPP_Example and still nothing. i am using version 5.22, and that page only shows for ver 3 and 4, i assume 5.22 would the same as version 4? Would be great if I could fin...
by EarthStation
Mon Dec 03, 2012 10:36 am
Forum: The User Manager
Topic: First Time User Manager operation - assistance please.
Replies: 4
Views: 3980

First Time User Manager operation - assistance please.

Hi, we have decided to offer capped packages for the first time, so want to use PPPOE with UserManager and Radius(no hotspot). All code and UM on RB800. This is what we have so far. User Manager setup; The IP we have listed for the router is the same IP as the WLAN that the users connect on. But we ...
by EarthStation
Sun Aug 19, 2012 6:23 pm
Forum: Scripting
Topic: Automating CPE ROS/Firmware/script changes - Updated
Replies: 4
Views: 2726

Re: Automatic Network Wide CPE changes - Simple Solution

This thread now in the Mikrotik Wiki at Semi-Auto....
by EarthStation
Sat Aug 18, 2012 3:48 pm
Forum: Scripting
Topic: Automating CPE ROS/Firmware/script changes - Updated
Replies: 4
Views: 2726

Re: Automatic Network Wide CPE changes - Simple Solution

Edit: 20 August 2012 - This post now incorporated in thread lead post.
by EarthStation
Fri Jun 29, 2012 10:36 pm
Forum: General
Topic: v5.18 released
Replies: 92
Views: 26538

Re: v5.18 released

After the bad experience we had with 5.15, we are still running 5.16. Over 80 devices, 2011, 800's, 433's 433AH, 411, 411Ar's, Grooves, 750's 751's etc, all very stable in both 2 and 5 Ghz bands. Now we read the forum and watch what happens to the new versions. Just thought I'd mention this might be...
by EarthStation
Fri May 25, 2012 5:10 pm
Forum: Scripting
Topic: Dividing in a ROS script?
Replies: 4
Views: 1568

Re: Dividing in a ROS script?

Try to explicitly convert to number first, i.e. :global ram ([:tonum [/system resource get free-memory]]/1024) Very weird. Applied that and it takes a kb figure of 13816 (system resource get free-memory) and gives a result of 13 no decimals. Any ideas? [admin@MasterHub] >:global ram ([:tonum [/syst...
by EarthStation
Fri May 25, 2012 2:26 pm
Forum: Scripting
Topic: transfer file to mikrotik and run as script
Replies: 10
Views: 24094

Re: transfer file to mikrotik and run as script

I use this file to roll out CPE changes (not ROS upgrades). { :global ftpserver :global usrnme :global passwd :global pckgname :set pckgname ("upgrade.rsc") :set ftpserver "10.254.253.254" :set usrnme "admin" :set passwd "abcxyz123" :if ([:len [/file find name="upgrade"]] = 0) do={:log error "Downlo...
by EarthStation
Fri May 25, 2012 2:13 pm
Forum: Scripting
Topic: Dividing in a ROS script?
Replies: 4
Views: 1568

Dividing in a ROS script?

Hi, I have script that saves the free RAM value to an array every hour, and after 24 hours mails the admin with the hourly summary. My issue is, the line of code that sets the $ram variable reports in kb, and I want to divide that number by 1024 to get MB of free RAM as opposed to the kb the global ...
by EarthStation
Mon May 14, 2012 8:07 pm
Forum: General
Topic: RouterOS v5.16 released
Replies: 69
Views: 18302

Re: RouterOS v5.16 released

I have been running 5.16 network wide and it appears to to be stable, and the AP wireless problems we had with 5.15 have not re-appeared. So all looking good, thank you Mikrotik! Regards Brian Zimbabwe Another positive to add: Links that were somewhat marginal are now holding connection a lot bette...
by EarthStation
Mon May 14, 2012 9:41 am
Forum: General
Topic: RouterOS v5.16 released
Replies: 69
Views: 18302

Re: RouterOS v5.16 released

I have been running 5.16 network wide and it appears to to be stable, and the AP wireless problems we had with 5.15 have not re-appeared. So all looking good, thank you Mikrotik!

Regards
Brian
Zimbabwe
by EarthStation
Tue May 01, 2012 10:23 am
Forum: General
Topic: v5.15 released!
Replies: 150
Views: 30197

Re: v5.15 released!

I agree with the Dbii F50Pro issue. Have had to downgrade (to 5.14) a 411 and 433 that have these cards installed. The cards suddenly drop connections and refuse to allow reconnects. Disable and enable the card, all is normal again. No pattern to the time between the drops, can be 2 hours or 2 days....
by EarthStation
Wed Apr 18, 2012 2:14 pm
Forum: Scripting
Topic: Fetching an HTML page with Userid and Password?
Replies: 4
Views: 1361

Re: Fetching an HTML page with Userid and Password?

Thanks for the info. Quite correct, the page I was trying to call used a POST command. I have resolved the problem by using telnet and a Windows app tst10.exe which I then run at regular intervals using a cron app on the PC adjacent to the RB750 that feeds traffic to the adsl modems, that ensures th...
by EarthStation
Tue Apr 17, 2012 10:16 am
Forum: Scripting
Topic: Fetching an HTML page with Userid and Password?
Replies: 4
Views: 1361

Re: Fetching an HTML page with Userid and Password?

/tool fetch user=admin password=12345 .....
/tool fetch user=admin password=12345 address=10.6.0.1 mode=http src-path="goform/admin/formReboot";
status: failed

failure: connection failed
by EarthStation
Mon Apr 16, 2012 6:38 pm
Forum: Scripting
Topic: Fetching an HTML page with Userid and Password?
Replies: 4
Views: 1361

Fetching an HTML page with Userid and Password?

Hi,

I need to script a fetch command that will satisfy a UserID andPassowrd requirement.

/tool fetch ....
http://10.6.0.1/goform/admin/formReboot
with userid admin and password 12345

This is to reboot an ADSL modem via script....

Thanks
Brian
Zimbabwe
by EarthStation
Fri Jan 20, 2012 12:57 pm
Forum: Scripting
Topic: Unable to enable of disable filter rules
Replies: 4
Views: 2077

Re: Unable to enable of disable filter rules

We operate an ISP in Mutare. Do WIMAX and VSAT systems. Operate under the name "Earthstation". The WIMAX is local to Mutare ODZI Vumba area, all entirely on Mikrotiks. VSATS are installed across the country, and our "T&C/s" (to our clients) on those systems insist we have an RB750 as the edge router...
by EarthStation
Fri Jan 20, 2012 12:48 pm
Forum: Scripting
Topic: Need help with script to make simple queue for dhcp entries
Replies: 10
Views: 5897

Re: Need help with script to make simple queue for dhcp entr

Ok, problem sorted. Need to create a simple queue entry first. Would not populate until this was done. So added a Master Queue in the script that I used to create the dhcp to queue script. No runs on a scheduler every 15 minutes as well. So had to adjust to look for existing queues, and we now have:...
by EarthStation
Fri Jan 20, 2012 8:38 am
Forum: Scripting
Topic: Unable to enable of disable filter rules
Replies: 4
Views: 2077

Re: Unable to enable of disable filter rules

I notice in your images that in the script code after the 15 and 16 is a rectangular shape instead of a ";". Any reason for this? Have copied this script and pasted into a terminal window? It should work there as well, and if it doesn't, will possibly highlight the error it has.

Brian
Zimbabwe
by EarthStation
Fri Jan 20, 2012 8:25 am
Forum: Scripting
Topic: Script/schedule to enable wlan1 on certain days
Replies: 5
Views: 2194

Re: Script/schedule to enable wlan1 on certain days

You don't need the scripts. Put the code you have in those scripts, in the scheduler in place of the code you are using to call the script. Keeps it simple.

Cheers
Brian
by EarthStation
Fri Jan 20, 2012 7:44 am
Forum: Scripting
Topic: Script/schedule to enable wlan1 on certain days
Replies: 5
Views: 2194

Re: Script/schedule to enable wlan1 on certain days

Hi, Without getting into serious scripting, the simple way to do this is have a few schedules, run at 7 day intervals. No seriousscripting skills required. First schedule runs at Monday at 9am, then repeats after 7 days, turning lwan1 on. (/interface wireless enable wlan1; ) Second Schedule runs on ...
by EarthStation
Thu Jan 19, 2012 4:52 pm
Forum: Scripting
Topic: Need help with script to make simple queue for dhcp entries
Replies: 10
Views: 5897

Re: Need help with script to make simple queue for dhcp entr

/queue simple :foreach a in=[find] do={ :local tmpip [get $a target-addresses] /ip dhcp-server lease :foreach i in=[find] do={ :local oldip ([get $i address]."/32") :if ($oldip!=$tmpip && [:typeof $tmpip]!="nil") do={ /queue simple add name=[:pick $oldip 0 [:find $oldip "/"]] target-address=\ $oldi...
by EarthStation
Thu Jan 19, 2012 12:28 pm
Forum: Scripting
Topic: Need help with script to make simple queue for dhcp entries
Replies: 10
Views: 5897

Need help with script to make simple queue for dhcp entries

Hi, I am trying to write a script that will look at the DHCP leases, and compare the (IP) address entry to the Name list in the simple queues, and if it doesn't exist, create a simple queue. I am trying (and failing!) with: {:foreach d in=[/ip dhcp-server lease find address] do={:if ([/queue simple ...
by EarthStation
Sat Jan 14, 2012 2:53 pm
Forum: Scripting
Topic: Automating CPE ROS/Firmware/script changes - Updated
Replies: 4
Views: 2726

Re: Automatic Network Wide CPE changes - Simple Solution

Edit: 20 August 2012 - Tested on ROSv5.20 and working
by EarthStation
Fri Jan 13, 2012 12:07 pm
Forum: Scripting
Topic: Automating CPE ROS/Firmware/script changes - Updated
Replies: 4
Views: 2726

Automating CPE ROS/Firmware/script changes - Updated

As your network grows, you will find that updating ROS versions and Firmware versions and scripts on CPE's becomes a time consuming process. By following the process below you will only have to manually access your existing client units one last time, to load the scripts below. Once the CPE's are lo...
by EarthStation
Thu Jun 16, 2011 10:50 pm
Forum: Wireless Networking
Topic: Planning 83km PTP 5.8Ghz backhaul link.
Replies: 13
Views: 3834

Re: Planning 83km PTP 5.8Ghz backhaul link.

Hi Brian, Have you thought about using a DBii F52n-PRO and Jirous JRC29-Duplex ? This would allow you to use 802.11n/Dual-Chain and provide a bit more speed. Using MCS3 at this distance with this combo, you would have a 33M fresnel zone and could expect around -65dBm signal. This would provide you ...
by EarthStation
Thu Jun 16, 2011 1:32 pm
Forum: Wireless Networking
Topic: will work this PTP 50km link?
Replies: 28
Views: 6881

Re: will work this PTP 50km link?

I would suggest 433ah + XR5. There are 2 links here 104km & 80km that with r52hn work very bad, but with xr5 work excellent. Would appreciate it if contributors to this thread could look at http://forum.mikrotik.com/viewtopic.php?f=7&t=52622 and give an opinion. Plan looks solid enough, but never b...
by EarthStation
Thu Jun 16, 2011 12:23 pm
Forum: Wireless Networking
Topic: Planning 83km PTP 5.8Ghz backhaul link.
Replies: 13
Views: 3834

Planning 83km PTP 5.8Ghz backhaul link.

Greetings from Zimbabwe, We are expanding our network and need to commission a reliable 83km PTP backhaul link in the 5.8Ghz band. We require a minimum stable throughput of 10Mbps minimum. The profile of the route is shown below: http://www.earthstation.mobi/images/ESHI_Troutbeck.JPG At the 1614m si...
by EarthStation
Wed Jun 01, 2011 2:23 pm
Forum: General
Topic: RouterOS v5.4 released
Replies: 118
Views: 32269

Re: RouterOS v5.4 released

Version 5.4 running well on RB800, RB433AH, RB 711's and numerous RB411's. No problems. Thanks Mikrotik!
by EarthStation
Wed Jun 01, 2011 12:56 pm
Forum: General
Topic: Dual WAN with failover & without load balancing
Replies: 8
Views: 5724

Re: Dual WAN with failover & without load balancing

I have tired of using single ping routines to determine WAN up/downtime. Too many false alarms, changeovers in seconds etc. This multiple ping solution in use on my system monitors the first IP on the ISP's network as seen in a traceroute from the router to (for example) www.google.com. The script i...
by EarthStation
Wed Jun 01, 2011 12:35 pm
Forum: General
Topic: RB411 not booting after firmware upgrade.
Replies: 1
Views: 760

RB411 not booting after firmware upgrade.

Hi, I have just increased the L3 to and L4 licence on this RB411. Rebooted, all fine. Then I ran the /system routerboard upgrade from a terminal window in Winbox. Now the unit refuses to reboot. When power is applied, 4 led's on board light up brightly, then one goes half dim, so we have 3 bright an...
by EarthStation
Thu May 26, 2011 12:37 pm
Forum: General
Topic: v5.3 released
Replies: 76
Views: 9812

Re: v5.3 released

An RB433AH (Production Unit) now running v5.3 for 11 hours. All stable, no ether port ports dropping noted. We will run this unit for a few days and if all still well, will upgrade another production unit, an RB800 and see how that does. Upgraded a RB411 to 5.3, then added the ntp package, and /syst...
by EarthStation
Wed May 25, 2011 12:03 pm
Forum: General
Topic: What is P-Throughput
Replies: 4
Views: 4426

Re: What is P-Throughput

Does this only work with MIPSBE?

I can't get any readings on PowerPC routers.
I am getting P-throughput on on RB800 (PPC), but only on 802.11, not NV2 or Nstreme. RouterOS 4.17 (waiting for 5.3 :D )
by EarthStation
Wed May 25, 2011 8:46 am
Forum: General
Topic: Customer constantly loses his connection
Replies: 3
Views: 509

Re: Customer constantly loses his connection

It would be useful to know what version RoS you operating on the AP and the client unit, what signal strengths the client unit is connecting at, the signal to noise ratio of that unit when connected, as well as the TX/RX CCQ on the link. This may be a starting point for a proper comment on what migh...
by EarthStation
Wed May 25, 2011 8:40 am
Forum: General
Topic: System health in RB433
Replies: 8
Views: 2359

Re: System health in RB433

The RB433 does not allow voltage to be be recorded/seen.... The RB433AH allows this.
by EarthStation
Tue May 24, 2011 2:27 pm
Forum: General
Topic: Our newly commissioned hi-site
Replies: 2
Views: 548

Our newly commissioned hi-site

Hi, A few pics of our newly installed hi-site. The grid is a backhaul on a 24km link to another AP. Gear at the hi-site consists of RB800 and a RB533AH. 300W wind turbine charges 400Ah 12V battery bank. The mast is 15m high. http://www.earthstation.mobi/images/IMG_6114.JPG A view of the town covered...
by EarthStation
Tue Apr 26, 2011 11:20 am
Forum: General
Topic: RouterOS 5.1 is out!
Replies: 93
Views: 13936

Re: RouterOS 5.1 is out!

When trying to run a snooper from the Wireless Tables interface dialog (v5.1 and 5.0), RB800 reboots and first log message after reboot is "System rebooted because of kernel failure" This does NOT occur when the individual wireless interface is opened and the snooper is run from there. It only occur...
by EarthStation
Tue Apr 26, 2011 10:59 am
Forum: General
Topic: RouterOS 5.1 is out!
Replies: 93
Views: 13936

Re: RouterOS 5.1 is out!

Where can we find a old versions of RouterOS? On the download page, there is only 4,17v and 5.1. I need 5.0!!!
http://download.mikrotik.com/all_packages-ppc-5.0.zip

http://download.mikrotik.com/all_packag ... be-5.0.zip
by EarthStation
Sun Apr 03, 2011 7:29 pm
Forum: General
Topic: No SNTP server in v5.0?
Replies: 2
Views: 614

No SNTP server in v5.0?

Upgraded from v4.17, no SNTP server installed. Am I missing something, or is this the way 5.0 is supposed to be?

Cheers
Brian
by EarthStation
Mon Mar 28, 2011 12:33 pm
Forum: Scripting
Topic: Sending user stats by e-mail to each user.
Replies: 0
Views: 768

Sending user stats by e-mail to each user.

Hi, Thought I'd share this solution I developed to mail our users their daily download stats. I am NOT using User manager at the moment. This method involves using filters on my mail server as well as the scripts on the Routerboard. This also excludes any users that have LES THAN 5 Mb daata download...
by EarthStation
Fri Jan 14, 2011 9:48 am
Forum: Wireless Networking
Topic: Connection limit
Replies: 5
Views: 3703

Re: Connection limit

Mr Zero, here is what I use. First we set a mangle rule which adds P2P users to an address list. If you have added the L7 protocols, you can also create mangle rule to add results to the address list. the list is a dynamic list, entries expire after 1 hour. /ip firewall mangle add action=add-src-to-...
by EarthStation
Thu Jan 13, 2011 10:29 am
Forum: General
Topic: Winbox Connection refused!
Replies: 10
Views: 21838

Re: Winbox Connection refused!

Am now finding this same issue with an RB750G board at a remote location. Unable to find the MAC address of the connected port to the RB411 connected to it. Suppose will have to drive out and do a hard reboot......
by EarthStation
Mon Jan 10, 2011 12:56 pm
Forum: Wireless Networking
Topic: Long Range Wireless w/ hills and trees
Replies: 2
Views: 1025

Re: Long Range Wireless w/ hills and trees

I suggest your starting point will to download the latest version of Google Earth. Then Google Earth opened to your area, you can draw a line between two points and view the profile, this does not include earth curvature adjustments though. Then using a neat add-on which works with Google Earth foun...
by EarthStation
Mon Jan 10, 2011 9:31 am
Forum: Wireless Networking
Topic: Close Physical Proximity AP's on 2.4GHz
Replies: 2
Views: 511

Re: Close Physical Proximity AP's on 2.4GHz

I would suggest running the third AP on Channel 8 and 13. Channels 3,8 and 13 do not interfere with each other, and the problem you may be having is that if all 3 AP's run on channel 3, when load gets very high on that Channel, the "noise" on the Channel (traffic that an AP "hears", that is not dire...
by EarthStation
Fri Jan 07, 2011 11:19 am
Forum: Wireless Networking
Topic: Close Physical Proximity AP's on 2.4GHz
Replies: 2
Views: 511

Close Physical Proximity AP's on 2.4GHz

Hi, We share a hi site with a competitor. They have 5 AP's and we have 4, all within a 50m radius. I noticed that the "seen" signal strengths of client units connected to the one AP would float between -60 and -100, which I put down to cross modulation (interference) from adjacent channels having a ...
by EarthStation
Thu Nov 18, 2010 10:05 pm
Forum: Wireless Networking
Topic: Weird routing problem.
Replies: 3
Views: 764

Re: Weird routing problem.

Problem solved....the backup did not restore the Route Rules, probably due to an interface naming conflict....did an export from the old unit, and imported to the AH unit and all is now well again :)
by EarthStation
Wed Nov 17, 2010 9:48 pm
Forum: Wireless Networking
Topic: Weird routing problem.
Replies: 3
Views: 764

Re: Weird routing problem.

Ok Tim, now how do I fix this? :o The unit functions 100% perfectly, apart from this odd "non routing" issue.
by EarthStation
Wed Nov 17, 2010 8:34 am
Forum: Wireless Networking
Topic: Weird routing problem.
Replies: 3
Views: 764

Weird routing problem.

Hi, Over the weekend I change a 433 to a 433ah at our hi site. I set the wireless cards Mac addresses on the 433Ah to exactly the same as the 433, and then used a backup created on the 433 (had been in service for a year with no problems) and restored this onto the 433AH, basically cloned the 433 to...
by EarthStation
Tue Nov 02, 2010 10:55 pm
Forum: Scripting
Topic: Parsing and picking variables from text fields?
Replies: 1
Views: 963

Re: Parsing and picking variables from text fields?

Anyone? Any ideas?
by EarthStation
Fri Oct 29, 2010 12:13 am
Forum: Scripting
Topic: Parsing and picking variables from text fields?
Replies: 1
Views: 963

Parsing and picking variables from text fields?

Disclaimer: I am an absolute noob at scripting, please feel free to cleanup/modify/suggest/cuss as needed! On my network I allow unlimited data download, but on the ""budget package", I limit speeds during the the day (from 7am) as the Bytes increase. This then resets at 7pm. At 7am, the Comment on ...
by EarthStation
Thu Oct 28, 2010 11:55 pm
Forum: Scripting
Topic: Netwatch
Replies: 7
Views: 1548

Re: Netwatch

Hi, I am using this script, run by a scheduler every x seconds. :local i 0; {:do {:set i ($i + 1)} while (($i < 2) && ([/ping 10.254.254.250 interval=3 count=1]=0))}; :if ($i=2 && [/ip route get [find comment="Group A"] gateway]=10.254.254.250) do={:log info "Liquid Gateway down"; /ip route set [fin...
by EarthStation
Fri Oct 08, 2010 10:14 pm
Forum: Scripting
Topic: Another script from v2.8 docs on MT site that doesn't play
Replies: 1
Views: 549

Another script from v2.8 docs on MT site that doesn't play

Hi, Trying to get this to work (from http://www.mikrotik.com/testdocs/ros/2.8/appex/scripting1.php). Ideally I'd want it to work for an Interface i have named WAN....wishful thinking? I have created the scheduler named record to run this (as required on line 8 of script), and also have not been able...
by EarthStation
Fri Oct 08, 2010 6:15 pm
Forum: Scripting
Topic: What am I missing?
Replies: 6
Views: 1350

Re: What am I missing?

Thanks Tim, have learned a bucket load today. Time to bump your karma up... :)

Brian
by EarthStation
Fri Oct 08, 2010 6:12 pm
Forum: Scripting
Topic: My solution to failover scripting.
Replies: 0
Views: 5681

My solution to failover scripting.

Hi, Firstly, I am a new at scripting in ROS, and have relied on the help of many on this forum to put together this series of scripts to handle our load sharing / routing and failover system. many thanks to all who have contributed, your karma was increased :lol: The routes used at B... Load is shar...
by EarthStation
Fri Oct 08, 2010 2:59 pm
Forum: Scripting
Topic: What am I missing?
Replies: 6
Views: 1350

Re: What am I missing?

Thanks! that works perfectly now. Now I can work with that to monitor my backhaul links/failovers etc. Being a noob at scripting, it's all trial an error for me, and only after at least 2 or 3 hours of failure, do I come here looking for help - need to do things myself so I can learn.

Regards
Brian
by EarthStation
Fri Oct 08, 2010 2:18 pm
Forum: Scripting
Topic: What am I missing?
Replies: 6
Views: 1350

Re: What am I missing?

Hi Tim, Tried it, no response at all, nothing logged. Those mac-addresses do not exist on my system, so it should log "not found". This originally comes from http://www.mikrotik.com/testdocs/ros/2.8/appex/scripting1.php , so I am not sure if after numerous version changes, that coding still operates...
by EarthStation
Fri Oct 08, 2010 1:48 pm
Forum: Scripting
Topic: What am I missing?
Replies: 6
Views: 1350

What am I missing?

Hi,

Running ROS v4.10

This script fails to log "Not Found" as it is desired.
{:if ([/interface wireless reg find mac-address=00:01:02:03:04:05] = 0) 
do={:if ([/interface wireless reg find mac-address=AA:AB:AA:AA:AA:AA] = 0)  
do={:log info "not found"}}}
What am I missing?

Cheers
Brian
by EarthStation
Thu Sep 30, 2010 12:13 am
Forum: Wireless Networking
Topic: Nstreme single - rapid connection/disconnection.
Replies: 11
Views: 1426

Re: Nstreme single - rapid connection/disconnection.

Hi, Radios are Mikrotik R52 MiniPCI Wireless in AP and CPE's, no way of increasing the antenna gain. I have operated on the one frequency that is clear when scanning from the AP. Problem I think could be, that being a Hi Site, the AP is not alone, and 5 Mhz below and 10Mhz above is a competitors two...
by EarthStation
Wed Sep 29, 2010 10:32 pm
Forum: Wireless Networking
Topic: Nstreme single - rapid connection/disconnection.
Replies: 11
Views: 1426

Re: Nstreme single - rapid connection/disconnection.

Yes, I can sometimes see the signal data before it disconnects, or it reconnects so quickly, that the Winbox doesn't time out. The log is always there to view when I do get back in.

Signal Strenths look very similar to the readings on the AP.

Regards
Brian
by EarthStation
Wed Sep 29, 2010 8:42 pm
Forum: Wireless Networking
Topic: Nstreme single - rapid connection/disconnection.
Replies: 11
Views: 1426

Re: Nstreme single - rapid connection/disconnection.

Tim,

Correct, a hill seperates the two CPE's, but both see the AP, which is on a mountain some 600m above the CPE's.

Brian
by EarthStation
Wed Sep 29, 2010 6:25 pm
Forum: Wireless Networking
Topic: Nstreme single - rapid connection/disconnection.
Replies: 11
Views: 1426

Re: Nstreme single - rapid connection/disconnection.

Hi Tim, I am in Zimbabwe, long range radar is a long way away :) The link is a lot more stable when I turn Nstreme off, without changing frequency. But I thought the polling might take care of the packet collisions that occur because the two CPE's dont see each other, which is why I am trying Nstrem...
by EarthStation
Wed Sep 29, 2010 4:30 pm
Forum: Wireless Networking
Topic: Nstreme single - rapid connection/disconnection.
Replies: 11
Views: 1426

Re: Nstreme single - rapid connection/disconnection.

Hi,

Reg table shows:
Image

The connection breaks every minute....

Getting desperate.

Thanks
Brian
by EarthStation
Wed Sep 29, 2010 3:23 pm
Forum: Wireless Networking
Topic: Nstreme single - rapid connection/disconnection.
Replies: 11
Views: 1426

Nstreme single - rapid connection/disconnection.

Hi, I have a Point to Multi point setup. One AP communicates with 2 Client Units. The cleint units cannot "hear" each other, so the probability of packet collsions at the AP is high, so I have changed this setup over to Nstreme. Now I get at the AP: Sep/29/2010 13:51:48 wireless,debug WAN: 00:80:48:...
by EarthStation
Sat Sep 04, 2010 12:09 pm
Forum: Scripting
Topic: If else commands scripting.
Replies: 14
Views: 22741

Re: If else commands scripting.

Hi, Taking this a step further...... I have a Netwatch command that reads: /ip route set [find comment="Group B"] gateway=10.254.254.255; I would like that command above to first check if /ip route [find comment="Group B"] gateway=10.254.254.250 and if this is so, then run: /ip route set [find comme...
by EarthStation
Sat Jun 05, 2010 10:29 am
Forum: Scripting
Topic: Dead-Beat Client Notice Displayed By Client Browser...
Replies: 8
Views: 1515

Re: Dead-Beat Client Notice Displayed By Client Browser...

I am using this rule, but cant seem to get it to work. Trying to load a webpage results in a time out, no redirection. Is this because the IP I am specifying is not local? Using OS v4.9. add chain=dstnat action=dst-nat to-addresses=74.53.240.102 to-ports=80 \ dst-address=!74.53.240.102 dst-port=80 p...
by EarthStation
Mon May 24, 2010 5:11 pm
Forum: Scripting
Topic: More detail required please.....
Replies: 1
Views: 651

More detail required please.....

I have been trying to get this script to run and have failed thus far. /system scheduler add name=sched_upgrade on-event=upgrade start-date=jan/01/2007 start-time=02:00:00 interval=1d /system script add name=upgrade source={/system upgrade refresh :if([/system upgrade get [/system upgrade find sourc...