Community discussions

MikroTik App

Search found 10 matches

by KILLPC
Wed Jul 24, 2024 11:44 pm
Forum: Scripting
Topic: Script is not working after update
Replies: 11
Views: 1366

Re: Script is not working after update

I tried but it did not work for me. The below works for me. /tool e-mail set server=smtp.gmail.com set port=587 set tls=starttls set from=mail@gmail.com set user=user@gmail.com set password=strongpassword #Send the email send to=mail@gmail.com subject="Testmail" body="Test" The d...
by KILLPC
Tue Jul 23, 2024 7:48 am
Forum: Scripting
Topic: Script is not working after update
Replies: 11
Views: 1366

Re: Script is not working after update

@lasek I just created an app password as described at https://support.google.com/accounts/answer/185833?sjid=987395087964156847-EU and managed to send an e-mail without issues (Ros 7.15.2) Maybe delete your existing app password and create a new one just to make sure that the "sign in with goog...
by KILLPC
Tue Jul 23, 2024 7:28 am
Forum: Scripting
Topic: dos2unix script
Replies: 4
Views: 410

Re: dos2unix script

Ah nice!

I will check that too!

Thanks for the info!
by KILLPC
Mon Jul 22, 2024 6:30 pm
Forum: Scripting
Topic: dos2unix script
Replies: 4
Views: 410

Re: dos2unix script

For some reason (maybe the mistake is from my side), the != "\r" was not working. I have the latest RoS

I will try again since you pointed that it should work that way ( and yes it should).

Thanks!
by KILLPC
Mon Jul 22, 2024 7:45 am
Forum: Scripting
Topic: Volume based QoS (+variable reading from file script)
Replies: 1
Views: 460

Re: Volume based QoS (+variable reading from file script)

Check the viewtopic.php?t=209452 for a dos2unix script for the getvariablevalue function (to clear the carriage return and load properly dos files)
by KILLPC
Mon Jul 22, 2024 7:43 am
Forum: Scripting
Topic: dos2unix script
Replies: 4
Views: 410

dos2unix script

Hi Mikrotik fans! Below is a simple dos2unix script where it removes the \r (carriage return) of a text file. Useful for files or variable content in which you wish to remove the \r (CR) :local content $1 :local cleanedContent "" :local start 0 :local end 1 # Loop through each character an...
by KILLPC
Fri Jul 19, 2024 8:42 am
Forum: Scripting
Topic: Volume based QoS (+variable reading from file script)
Replies: 1
Views: 460

Volume based QoS (+variable reading from file script)

Hi Mikrotik fans! After a lot of trial and error, i managed to create a (several actually) QoS script in which the throttling is volume based (GB). The idea of the below is to configure your QoS settings via a txt file in which there are 2 levels QoS (LevelA and LevelB). So you must create several s...
by KILLPC
Thu Mar 28, 2024 4:08 pm
Forum: RouterOS beta
Topic: Custom Routing Table + Routing Mark not working
Replies: 9
Views: 9120

Re: Custom Routing Table + Routing Mark not working

You need something like the bellow example i think

/routing/rule/add routing-mark=vpn table=vpn action=lookup-only-in-table
by KILLPC
Mon Dec 27, 2021 1:01 am
Forum: RouterOS beta
Topic: Reboot right after PPP login when EOIP (7.1b6,7.1b7,7.1rc1)
Replies: 4
Views: 3928

Re: Reboot right after PPP login when EOIP (7.1b6,7.1b7,7.1rc1)

I am facing similar issues with an RB4011iGS+5HacQ2HnD at 7.1.1 with ipip, eoip, pppoe over eoip ( tunnels are established via ikev2 aes128gcm with rb4011 as responder). In 6.48.6 i do not face them. The other end is a rb750r2. In 7.1.1 the router reboots from time to time (and i performed a reset a...
by KILLPC
Mon May 17, 2021 11:32 pm
Forum: Virtualization
Topic: LEDE metarouter patches & image (MIPS boards)
Replies: 2
Views: 13194

Re: LEDE metarouter patches & image (MIPS boards)

Thank very much you for your work!!!