Community discussions

MikroTik App
 
nafees88
just joined
Topic Author
Posts: 16
Joined: Tue Jun 02, 2020 3:08 pm

RB4011IGS lte interface

Tue Jun 02, 2020 3:19 pm

i want to know i have RB4011IGS model Mikrotik i want to use LTE interface i mean i want to use sms service for mikrotik is there any way because in this model there is no usb port only have gigabit and 1 fiber port and 1 console port kindly guide is there any possibility
 
User avatar
krafg
Forum Guru
Forum Guru
Posts: 1042
Joined: Sun Jun 28, 2015 7:36 pm

Re: RB4011IGS lte interface

Wed Jun 03, 2020 12:48 am

Add an LtAP mini with SIM card + some compatible LTE/UMTS pcie card with Mikrotik and your ISP to these RouterBOARD.

Regards.
 
nafees88
just joined
Topic Author
Posts: 16
Joined: Tue Jun 02, 2020 3:08 pm

Re: RB4011IGS lte interface

Wed Jun 03, 2020 9:39 am

there is no option in RB4011iGS to install other module i have a api for sms is there any script which i can use in netwatch instead of installing a interface ?
Last edited by nafees88 on Wed Jun 03, 2020 1:00 pm, edited 1 time in total.
 
User avatar
krafg
Forum Guru
Forum Guru
Posts: 1042
Joined: Sun Jun 28, 2015 7:36 pm

Re: RB4011IGS lte interface

Wed Jun 03, 2020 10:32 am

Sent PM.

Regards.
 
User avatar
SiB
Forum Guru
Forum Guru
Posts: 1891
Joined: Sun Jan 06, 2013 11:19 pm
Location: Poland

Re: RB4011IGS lte interface  [SOLVED]

Wed Jun 03, 2020 12:28 pm

RB4011IGS model Mikrotik i want to use LTE interface
No way, that RB have not USB port or mPCIe with SIM slot... means you not have possibility to install usb or mPCIe lte module....
You can buy separate lte device who give you a internet via Ethernet... and MikroTik to other MikroTik can send ssh commnads and that way you can triger SMS from RB4011
 
nafees88
just joined
Topic Author
Posts: 16
Joined: Tue Jun 02, 2020 3:08 pm

Re: RB4011IGS lte interface

Wed Jun 03, 2020 12:50 pm

RB4011IGS model Mikrotik i want to use LTE interface
No way, that RB have not USB port or mPCIe with SIM slot... means you not have possibility to install usb or mPCIe lte module....
You can buy separate lte device who give you a internet via Ethernet... and MikroTik to other MikroTik can send ssh commnads and that way you can triger SMS from RB4011
how about if i have an sms api i can use it with script in netwatch ? i have wrote some script but its didn't work if you please guide me wih api
 
User avatar
SiB
Forum Guru
Forum Guru
Posts: 1891
Joined: Sun Jan 06, 2013 11:19 pm
Location: Poland

Re: RB4011IGS lte interface

Wed Jun 03, 2020 1:41 pm

/tools fetch is your friend, type it and API at forum and you found many examples.
Create a new post in Scripting sub-forum if you still have a problem.
 
nafees88
just joined
Topic Author
Posts: 16
Joined: Tue Jun 02, 2020 3:08 pm

Re: RB4011IGS lte interface

Wed Jun 03, 2020 2:05 pm

/tools fetch is your friend, type it and API at forum and you found many examples.
Create a new post in Scripting sub-forum if you still have a problem.
i used this mention bloew script but the problem in this script there is a (?) after link and mikro tik is considering an other command for (?) as a help command there for script didnt work but when i simply paste this link in to a browser its work properly and send sms on cell is there any other way to write this script in mikrotik and skip (?) from the link ?
/tool fetch keep-result=no url="https://sendpk.com/api/sms.php?username ... e=MikroTik Test msg"
 
User avatar
SiB
Forum Guru
Forum Guru
Posts: 1891
Joined: Sun Jan 06, 2013 11:19 pm
Location: Poland

Re: RB4011IGS lte interface

Wed Jun 03, 2020 2:16 pm

/tools fetch is your friend, type it and API at forum and you found many examples.
Create a new post in Scripting sub-forum if you still have a problem.
/tool fetch keep-result=no url="https://sendpk.com/api/sms.php?username=923315330661&password=*****&sender=BrandName&mobile=923315330661&message=MikroTik Test msg"
use "\" before "?".
tool fetch url="https://domain.tld/api/name\?key=value" ...

read documentation: https://wiki.mikrotik.com/wiki/Manual:Scripting#Constant_Escape_Sequences
 
nafees88
just joined
Topic Author
Posts: 16
Joined: Tue Jun 02, 2020 3:08 pm

Re: RB4011IGS lte interface

Wed Jun 03, 2020 2:23 pm

/tools fetch is your friend, type it and API at forum and you found many examples.
Create a new post in Scripting sub-forum if you still have a problem.
/tool fetch keep-result=no url="https://sendpk.com/api/sms.php?username ... e=MikroTik Test msg"
use "\" before "?".
tool fetch url="https://domain.tld/api/name[u][b]\?[/b][/u]key=value" ...

read documentation: https://wiki.mikrotik.com/wiki/Manual:Scripting#Constant_Escape_Sequences
ok bro let me check if its work i will let you know
 
nafees88
just joined
Topic Author
Posts: 16
Joined: Tue Jun 02, 2020 3:08 pm

Re: RB4011IGS lte interface

Wed Jun 03, 2020 2:46 pm

/tools fetch is your friend, type it and API at forum and you found many examples.
Create a new post in Scripting sub-forum if you still have a problem.
/tool fetch keep-result=no url="https://sendpk.com/api/sms.php?username ... e=MikroTik Test msg"
use "\" before "?".
tool fetch url="https://domain.tld/api/name[u][b]\?[/b][/u]key=value" ...

read documentation: https://wiki.mikrotik.com/wiki/Manual:Scripting#Constant_Escape_Sequences
not working bro i check on terminal found this error
You do not have the required permissions to view the files attached to this post.
 
User avatar
SiB
Forum Guru
Forum Guru
Posts: 1891
Joined: Sun Jan 06, 2013 11:19 pm
Location: Poland

Re: RB4011IGS lte interface

Wed Jun 03, 2020 3:10 pm

not working bro i check on terminal found this error
https://sendpk.com/api.php is example:
https://sendpk.com/api/sms.php?username=username&password=password&sender=Masking&mobile=923001234567&message=Hello

and at your screen you show 2x https://sendpk.com - this is wrong url and you have only one ? to fix as \? .

I check my SMS API and works no problem as:
tool fetch url="https://www.12voip.com/myaccount/sendsms.php\?username=xxx&password=xxx&from=+48xxxxxx735&to=+48xxxxxx661&text=test2" http-method=get
 
nafees88
just joined
Topic Author
Posts: 16
Joined: Tue Jun 02, 2020 3:08 pm

Re: RB4011IGS lte interface

Thu Jun 04, 2020 7:06 am

not working bro i check on terminal found this error
https://sendpk.com/api.php is example:
https://sendpk.com/api/sms.php?username ... sage=Hello

and at your screen you show 2x https://sendpk.com - this is wrong url and you have only one ? to fix as \? .

I check my SMS API and works no problem as:
tool fetch url="https://www.12voip.com/myaccount/sendsm ... text=test2" http-method=get
thnx alot bro finally its working once again thank you very much for your help :D
You do not have the required permissions to view the files attached to this post.
 
nafees88
just joined
Topic Author
Posts: 16
Joined: Tue Jun 02, 2020 3:08 pm

Netwatch Multi wan script

Thu Jun 04, 2020 12:16 pm

i need a help i have 3 wan connection i want a script if any one form then goes down its send email kindly help me as i have masquerade rule with wan group
 
User avatar
SiB
Forum Guru
Forum Guru
Posts: 1891
Joined: Sun Jan 06, 2013 11:19 pm
Location: Poland

Re: Netwatch Multi wan script

Thu Jun 04, 2020 12:30 pm

i need a help i have 3 wan connection i want a script if any one form then goes down its send email kindly help me as i have masquerade rule with wan group
Sorry, I have time to help to LTE stuff only, with other case I help as counsultant.
Please create separate a topic at forum and they help you.

But, please study this one what I always recommend:
I really recommended to learn and do this one HowTo who have got the best way to use many WAN's at ones.
Next you can use any method netwatch/script/pcc etc to just flow the outgoing - then this is small stuff.

Bandwidth-based load-balancing with failover. This presentation also covers Mangle.
This was presented at the MUM (MikroTik User Meeting) in New Orelans, USA.
Tomas Kirnak - YouTube: https://www.youtube.com/watch?v=67Dna_ffCvc&t=1s
http://mum.mikrotik.com/presentations/US12/tomas.pdf