Community discussions

Search found 61 matches

  • 1
  • 2
by NetWorker
Mon Jun 03, 2019 11:56 pm
Forum: RouterBOARD hardware
Topic: More info about mUPS
Replies: 53
Views: 7931

Re: More info about mUPS

Lol, that makes sense. Thanks again! I'll post back if we decide to give it a shot. Right now we're leaning towards a different setup.
by NetWorker
Mon Jun 03, 2019 8:18 pm
Forum: RouterBOARD hardware
Topic: More info about mUPS
Replies: 53
Views: 7931

Re: More info about mUPS

Brochure says max battery charging current is 1A ... so it'll take ages to charge that "massive" 18Ah battery when fully discharged even if power adapter used is powerful enough. Other than that, 18Ah battery should be fine. Thanks for replying mkx. Actually, I have another question related to the ...
by NetWorker
Sun Jun 02, 2019 1:48 am
Forum: RouterBOARD hardware
Topic: More info about mUPS
Replies: 53
Views: 7931

Re: More info about mUPS

Sorry for reviving an old thread (though it isn't that old! lol). I've been unable to find any comments on battery size. I know it'll take 7 and 12 Ah batteries. But any thoughts on going to 18 Ah? I realize it's a bit on the high side but we're looking at getting a bit longer run times at a low wat...
by NetWorker
Mon May 20, 2019 4:31 pm
Forum: Scripting
Topic: Backup script
Replies: 5
Views: 302

Re: Backup script

Agreed. Though it did save me twice on a rb2011 that went into a boot loop. Reinstalling routerOS over serial and then restoring the backup file was easier than having to import all the certificates and a few other things that are not in the compact again. It's not that you can't do it but it does s...
by NetWorker
Mon May 20, 2019 3:24 am
Forum: Scripting
Topic: Backup script
Replies: 5
Views: 302

Re: Backup script

well what use is the build-in scripting and a linux box that pulls the backup from the router and stores it on a nas.
quick & dirty solution , but this allows me to make a backup for example from a rb2011 and restore it on a hapac2
Exactly!
by NetWorker
Sat May 18, 2019 6:19 am
Forum: General
Topic: routing - 3x GW, failover
Replies: 14
Views: 591

Re: routing - 3x GW, failover

Glad to help! Didn't read all your code since the Mrs. is nagging to go to bed lol. But I still find you're missing the default gateways? Unless you have something else in mind? Anyway, I posted an interface watchdog script a couple of years ago that would reset an interface since we were having iss...
by NetWorker
Wed May 15, 2019 11:04 pm
Forum: Scripting
Topic: Backup script behaves strange
Replies: 3
Views: 227

Re: Backup script behaves strange

It does indeed sound like a permissions issue. i don't know what you mean by "everywhere else", I assume you mean "don't-require-permissions"? Check again that it is indeed set to yes. However it's always best to just enable the required permissions. For my backup script I use policy=ftp,read,policy...
by NetWorker
Wed May 15, 2019 10:41 pm
Forum: Scripting
Topic: Backup script
Replies: 5
Views: 302

Re: Backup script

Oh and in case anyone's wondering about all the picks, the system date comes back with / (slashes) which you can't use in a filename so I replace those with . (dots).
by NetWorker
Wed May 15, 2019 10:38 pm
Forum: Scripting
Topic: Backup script
Replies: 5
Views: 302

Backup script

Hi everyone, a couple of weeks ago I became aware that years of routerOS backups all nice and tidily organized in one of our backup servers are USESLESS if an older router goes belly up. Read all about it here . Long story short, in case you're blissfully unaware like I was that using the winbox bac...
by NetWorker
Wed May 15, 2019 5:27 pm
Forum: Scripting
Topic: Two questions about DHCP leases script. [SOLVED]
Replies: 9
Views: 473

Re: Two questions about DHCP leases script. [SOLVED]

Glad you got it working!
by NetWorker
Wed May 15, 2019 5:22 pm
Forum: Scripting
Topic: Set timer or some other way to prevent script from running multiple times in short time [SOLVED]
Replies: 5
Views: 285

Re: Set timer or some other way to prevent script from running multiple times in short time [SOLVED]

There are two ways to go about doing that. One, you put the scheduled task and enable/disable it as needed. The other, you create and remove it each time. This is the task you need. /system scheduler add name=dwnFlagCleaner start-time=startup interval=60m on-event=dwnFlagCleaner Either add it and di...
by NetWorker
Wed May 15, 2019 6:57 am
Forum: General
Topic: RB750GR3 for a 30 PCs Gaming event?
Replies: 10
Views: 397

Re: RB750GR3 for a 30 PCs Gaming event?

Lol I haven't played a lot of online games in recent years. Actually I've never played a lot of online games after Team Fortress 2 and the original Counter Strike. Recently became a dad so don't have much time for gaming anymore. =) Anyway, your numbers sound about right. Online gaming has always be...
by NetWorker
Wed May 15, 2019 3:17 am
Forum: General
Topic: RB750GR3 for a 30 PCs Gaming event?
Replies: 10
Views: 397

Re: RB750GR3 for a 30 PCs Gaming event?

can route 980 Mbps with 25 firewall rules and 512 bytes packet size. 512 bytes are fairly large packets. Most packets are a lot smaller than that. A lot of acks, etc. So the number you should look at is the one on the right, for 64 bytes. Mainly for two reasons, first it kinda provides a worst case...
by NetWorker
Tue May 14, 2019 11:26 pm
Forum: Scripting
Topic: Two questions about DHCP leases script. [SOLVED]
Replies: 9
Views: 473

Re: Two questions about DHCP leases script. [SOLVED]

Wow, that's news for me. I hadn't read that bit. Cool stuff. Right, so for question number two, did you try using the hostname variable? I know not all devices report host name correctly. Other than that, if you are indeed using static leases you could try to comment each lease and using the MAC, re...
by NetWorker
Tue May 14, 2019 11:16 pm
Forum: General
Topic: routing - 3x GW, failover
Replies: 14
Views: 591

Re: routing - 3x GW, failover

- by using a ping check of a remote system, you make the usability of the link dependent on the availability of the remote system. when it is down, your ISP link will be declared down even when it really isn't. remember that the remote system may decide that it had enough of the pings and just bloc...
by NetWorker
Tue May 14, 2019 7:59 pm
Forum: Scripting
Topic: Two questions about DHCP leases script. [SOLVED]
Replies: 9
Views: 473

Re: Two questions about DHCP leases script. [SOLVED]

Lol, right. But what about this:
global telegramMessage "$leaseActMAC connected as guest and received $leaseActIP address."
How are you setting those variables?
by NetWorker
Tue May 14, 2019 7:47 pm
Forum: General
Topic: hotspot + userman : how avoid to reach webfig ?
Replies: 5
Views: 243

Re: hotspot + userman : how avoid to reach webfig ?

I've never setup a hotspot but have you tried changing the www service port from 80 to whatever? I don't have the hotspot package installed on any of my routers so I can't check but afaik hotspot and webfig are different services so changing the www service port shouldn't affect the hotspot portal?
by NetWorker
Tue May 14, 2019 7:45 pm
Forum: General
Topic: RB750GR3 for a 30 PCs Gaming event?
Replies: 10
Views: 397

Re: RB750GR3 for a 30 PCs Gaming event?

Balancing close to 30 mbps upload shouldn't be a problem for that router. But if anyone decides to starts to download at anything close to max download speeds you posted, you'll need to move into the CCR range so make sure you cap download speeds. Unless those are indeed mB/s and not mbps in which c...
by NetWorker
Tue May 14, 2019 7:21 pm
Forum: General
Topic: routing - 3x GW, failover
Replies: 14
Views: 591

Re: routing - 3x GW, failover

Forgot to point out two things. First was already covered by pe1chl. If you only ping the gateway and there's a problem further down the line in the ISP, those routes will stay up but you'll drop all the traffic. I.e. the failover won't happen. More complex checking schemes will require scripts. Sec...
by NetWorker
Tue May 14, 2019 6:46 pm
Forum: General
Topic: routing - 3x GW, failover
Replies: 14
Views: 591

Re: routing - 3x GW, failover

Not quite. You either do it with mangle or with routing rules as pe1chl suggested. Also, you're missing the default gateways. /ip route #first add the default gateways with distance for failover add dst-address=0.0.0.0/0 gateway=10.0.1.1 distance=1 check-gateway=ping add dst-address=0.0.0.0/0 gatewa...
by NetWorker
Tue May 14, 2019 6:07 pm
Forum: General
Topic: Mikrotik & Ubuntu please help
Replies: 2
Views: 199

Re: Mikrotik & Ubuntu please help

Daru, first of all, what is a mikrotik server? I'm assuming you mean a hotspot router. Second, as Dude already pointed out, if everyone else connects fine, the problem MUST be on your end, not the server's. Third, this really sounds like a browser redirection problem. Ask in the Ubuntu forums first....
by NetWorker
Tue May 14, 2019 5:15 pm
Forum: Scripting
Topic: Two questions about DHCP leases script. [SOLVED]
Replies: 9
Views: 473

Re: Two questions about DHCP leases script. [SOLVED]

Alright, sorry for not getting back to you sooner. First of all, you haven't shown me how you parse the MAC which is what interests me from the other script. I apologize for not making that clear. In any case, I always recommend (and to the best of my knowledge so does Mikrotik) keeping all scripts ...
by NetWorker
Tue May 14, 2019 4:11 pm
Forum: General
Topic: Can't get 10gig speed
Replies: 3
Views: 279

Re: Can't get 10gig speed

Awesome. Do check your cabling though. This might be the reason why it's not negotiating 10G and why you're not nearer to the actual 10G mark.
by NetWorker
Fri May 10, 2019 6:25 pm
Forum: General
Topic: DSL TLS MTU problem [SOLVED]
Replies: 1
Views: 163

Re: DSL TLS MTU problem [SOLVED]

Found it! MSS can be changed in the profile. Turns out the option "Change TCP MSS" was set to no. When set to yes TLS started working again. Also, even with MTU at 1492 it works a lot better than before. I'm guessing that's because browsers were doing a lot of path discoveries which oddly enough wor...
by NetWorker
Fri May 10, 2019 5:30 pm
Forum: General
Topic: Can't get 10gig speed
Replies: 3
Views: 279

Re: Can't get 10gig speed

Have you checked that autonegotiation actually went for 10G? Did you try forcing it to 10G? Have you checked CPU load during your bandwith tests?
by NetWorker
Fri May 10, 2019 5:22 pm
Forum: General
Topic: DSL TLS MTU problem [SOLVED]
Replies: 1
Views: 163

DSL TLS MTU problem [SOLVED]

Hey everyone! We've recently been having increasing issues with some webpages not being displayed correctly or not loading at all. Long story short, I've tracked it down to being pages that have upgraded to newer versions of TLS. Haven't checked if 1.3 only or also 1.2. And only when going over our ...
by NetWorker
Mon Apr 29, 2019 4:22 pm
Forum: Scripting
Topic: No such item [SOLVED]
Replies: 2
Views: 178

Re: No such item [SOLVED]

Wouldn't it be more logical to check for number of items?
:log info [:len [/ip ipsec installed-sa find]];
And then compare if it's zero or more.
*Facepalm* :lol: Thanks sob!
by NetWorker
Fri Apr 26, 2019 3:00 am
Forum: Scripting
Topic: Two questions about DHCP leases script. [SOLVED]
Replies: 9
Views: 473

Re: Two questions about DHCP leases script. [SOLVED]

You didn't mention how you're triggering the lease script so I can't answer your first question. But in case you're triggering from the dhcp-server, you could just check if said mac address is still registered and if it isn't not to run the telegram script. That way it will only notify of the new le...
by NetWorker
Fri Apr 26, 2019 1:41 am
Forum: Scripting
Topic: Fail-Over
Replies: 8
Views: 676

Re: Fail-Over

@facubertran : wait... seriously? Do you expect anyone to download and run ambiguous script on their device? Why don't you just ask for ip, username and password straight away? :lol: :lol: :lol: :lol: :lol: :lol: :lol: Copy the script into the window. Use not a link to another website please What h...
by NetWorker
Fri Apr 26, 2019 1:28 am
Forum: Scripting
Topic: No such item [SOLVED]
Replies: 2
Views: 178

No such item [SOLVED]

So I want to wite a script that checks if an item exists and performs an action if it doesn't. Specifically, we want to check if ipsec is connected and if it isn't disable the l2tp interface so it doesn't endlessly pollute the log with reconnection attempts. -----Background info----- We have a 2 rou...
by NetWorker
Fri Apr 26, 2019 12:24 am
Forum: Wireless Networking
Topic: importing and exporting config files
Replies: 20
Views: 110115

Re: importing and exporting config files

Yeah, I realized that from the above. I mean I was a happy camper with my regular backups, all nice and tidy, indexed by date and name, safely stored on the server. So if a router goes up in flames I got exactly squat. Nice.......
by NetWorker
Thu Apr 25, 2019 7:48 pm
Forum: Wireless Networking
Topic: importing and exporting config files
Replies: 20
Views: 110115

Re: importing and exporting config files

Backups are only valid for a given device with a given RouterOS and firmware versions. Backups are not intended for setup replication. I apologize for reviving an old thread and quoting a 4 year old post but like gator, I was just *shocked* by this statement. WHAT??? We have a few routers running i...
by NetWorker
Wed Mar 20, 2019 7:04 pm
Forum: General
Topic: Very slow download speed when USB tethering to 4G phone
Replies: 2
Views: 292

Re: Very slow download speed when USB tethering to 4G phone

My first guess would be the phone and or cell spectrum/backhaul. Did you check the phone with a PC at the same time you were getting these results? How much throughput did you get with that setup? It's pretty common to see dismal download rates and high upload rates at times in highly congested cell...
by NetWorker
Wed Mar 20, 2019 6:15 pm
Forum: General
Topic: Need help routing public subnet IP to internal server
Replies: 22
Views: 645

Re: Need help routing public subnet IP to internal server

Dunno if you solved this and I stand to be corrected but here's what I'm thinking: You have 2 interfaces: eth5 and eth9. On eth5 you have 1.1.1.1 and on eth9 a server with 2.2.2.1 (with gateway 1.1.1.1) but no IP on the router ethernet interface. This setup won't work because router has no IP connec...
by NetWorker
Wed Mar 20, 2019 5:37 pm
Forum: General
Topic: ARP/DHCP issue [SOLVED]
Replies: 9
Views: 462

Re: ARP/DHCP issue [SOLVED]

Well folks, I managed to crack it. For whatever reason the "designer" (if we can call the schmuck who designed this marvellous piece of... erm... tech, that) decided that always doing an ARP request, no matter what the destination IP address is, is a good idea. I'm guessing they did this to surpass ...
by NetWorker
Fri Mar 08, 2019 4:40 pm
Forum: General
Topic: ARP/DHCP issue [SOLVED]
Replies: 9
Views: 462

Re: ARP/DHCP issue [SOLVED]

There are two kind of routes in the IP protocol: interface routes (or connected routes, that Mikrotik marks with a C when printing) gateway routes (that in classic route command are marked with a G ) The interface routes are where the ARP mechanism is used, to know which L2 host to address with pac...
by NetWorker
Fri Mar 08, 2019 4:34 pm
Forum: General
Topic: ARP/DHCP issue [SOLVED]
Replies: 9
Views: 462

Re: ARP/DHCP issue [SOLVED]

- When a host wants to send a packet to an internet address, it will send the packet directly to the gateway. It will NOT do an arp lookup for that internet address. - You shouldn't see two DHCP discovers and two requests during a DHCP transaction, but not a big deal. Discover, Offer, Request, Ack....
by NetWorker
Thu Mar 07, 2019 7:03 pm
Forum: General
Topic: load-balancing don't work
Replies: 49
Views: 2006

Re: load-balancing don't work

I admittedly haven't read through all the code because I don't have a lot of time right now. But load balancing is all about mangle marking. First mark connections that are NOT to be load balanced. You can either do action=accept or use some other mark. For example DNS requests or specific addresses...
by NetWorker
Thu Mar 07, 2019 6:21 pm
Forum: General
Topic: ARP/DHCP issue [SOLVED]
Replies: 9
Views: 462

Re: ARP/DHCP issue [SOLVED]

If the Alarm system has an IP statically set and it's not on the same subnet as statically set in the alarm system, then the alarm system will do ARP requests for the gateway that's statically set in the Alarm system. Since no device on your network will have that IP, you will only see ARP requests...
by NetWorker
Thu Mar 07, 2019 5:57 pm
Forum: General
Topic: ARP/DHCP issue [SOLVED]
Replies: 9
Views: 462

Re: ARP/DHCP issue [SOLVED]

You're a bit off on ARP. On an Ethernet network, every device has a mac address. When packets get sent out over Ethernet, they are actually routed only by their mac address. Not IP address. Since your PC will connect to remote devices by IP, then it needs to find out who on the network has an IP as...
by NetWorker
Wed Mar 06, 2019 3:09 am
Forum: General
Topic: ARP/DHCP issue [SOLVED]
Replies: 9
Views: 462

ARP/DHCP issue [SOLVED]

Hi all, Ihave a question about ARP: ---background---- At one of our remote offices we recently elected to have an alarm system installed. We have an RB2011 with dual wan running there. The alarm, which apparently is one of those Christopher Columbus brought with him back in 1493, is supposed to be i...
by NetWorker
Mon Sep 04, 2017 7:06 pm
Forum: Scripting
Topic: UPS script
Replies: 1
Views: 1224

Re: UPS script

Guys, quick followup. The script won't read the previously run global variables if the policy policy is not set. So as it stands now, you need four of them for the script to behave: read, write, test and policy. I've edited the comment in the script to reflect this: # UPS-Script powerfail # (c) stei...
by NetWorker
Thu Aug 31, 2017 8:14 pm
Forum: Scripting
Topic: UPS script
Replies: 1
Views: 1224

UPS script

Hey yall! The UPS script on the wiki https://wiki.mikrotik.com/wiki/UPS_scripts seems to be a little outdated when it comes to the online/onbattery flag. On our APC SUA1000 attached to a RB750, the flag is called "on-line" instead of "on-battery": https://thumb.ibb.co/mOO245/Capture_ups1_red.jpg whi...
by NetWorker
Sat Jul 22, 2017 12:08 am
Forum: RouterBOARD hardware
Topic: Usb port invalid
Replies: 45
Views: 21582

Re: Usb port invalid

Well, we've moved past using 3g modems a couple of years ago. But are considering setting one up again as a backup connection since the site now also runs a server and some more critical traffic. On topic, I wanted to point out that we later moved from the USB dongles to a Sierra Wireless MC 8775 3g...
by NetWorker
Fri Jul 21, 2017 11:55 pm
Forum: Scripting
Topic: Failover
Replies: 6
Views: 1005

Re: Failover

Holy cow, that looks incredibly complex to me. First of all, I'm assuming (you failed to clarify) you have a main connection and a backup and that you run ALL traffic through your main unless it fails. If this is the case: add two default routes 0.0.0.0/0 with distance 1 and 2. Set gateway of your m...
by NetWorker
Thu Jun 22, 2017 6:30 pm
Forum: Scripting
Topic: Interface Watchdog script
Replies: 5
Views: 3062

Re: Interface Watchdog script

Quick update when using multiple reset counters. In the interface reset script I just used the global variable. But if you have multiple global variables, instead of editing the variable name everywhere in all the scripts, you can use a local variable and just change the name of the global at the be...
by NetWorker
Thu Jun 22, 2017 6:18 pm
Forum: Scripting
Topic: Interface Watchdog script
Replies: 5
Views: 3062

Re: Interface Watchdog script

Guys, a word of caution. I've also been running this script for our VPN links now, since they tend to crash along with the pppoe client. That is, our dedicated lines stay up but ovpn connections over the DSL line crash. Anyways, long story short, the ovpn client drops the connection but doesn't try ...
by NetWorker
Fri Jun 16, 2017 2:15 am
Forum: Scripting
Topic: Interface Watchdog script
Replies: 5
Views: 3062

Re: Interface Watchdog script

intreset #Interface Reset #Feel free to use or modify as needed. #Hope this saves you work, trouble or time. #Regards, Networker. #The following script will reset the defined interface. It also checks the number of #resets performed. Past that number, the script will permanently disable said interf...
by NetWorker
Fri Jun 16, 2017 2:09 am
Forum: Scripting
Topic: Interface Watchdog script
Replies: 5
Views: 3062

Re: Interface Watchdog script

intwatchdog #Interface Watchdog #Feel free to use or modify as needed. #Hope this saves you work, trouble or time. #Regards, Networker. #This script will ping a remote address from a particular interface and its gateway. #This way, we don't bombard the remote host with icmp requests, and make sure ...
  • 1
  • 2