astounding / mtik Goto Github PK
View Code? Open in Web Editor NEWAn interface to the MikroTik RouterOS API (via TCP) in Ruby
Home Page: http://www.aarongifford.com/computers/mtik/
License: Other
An interface to the MikroTik RouterOS API (via TCP) in Ruby
Home Page: http://www.aarongifford.com/computers/mtik/
License: Other
Hello,
When trying to make a filter in query with Mikrotik 3.9, using version 4.0 of mtik does not work.
conn = MTik::Connection.new(:host => host, :port => porta, :user => usuario, pass => senha)
conn.get_reply("/ip/hotspot/user/getall", "?.id=*3")
The code above returns all users of the hotspot. In version 4.0 or higher Mikrotik works normally.
Congratulations on the project.
Big Hug.
Josué Teixeira
ive tried logging in into mikrotik with mtik gem via ruby rails but eachtime i keep getting invalid username or password even though my credentilals are correct
Hi!
How can I write a command in mikrotik cli like /ip firewall address-list remove [find where comment="10.10.10.10"] using your gem ?
I am trying to login above 6.44 version but error sowing invalid username & password
I'm using the new 4.0.4 release and it is great. However found I had to manually install it, where I couldn't refer to the new version via Gemfile and bundle install. Bundle install just goes and installs 4.0.0 version by default.
The mikrotik wiki, the readme, version docs on github and your website also refer to older version/s.
is there any update about this mtik gem? thank you
Hi,
it seems Mikrotik has implemented new login api, so the old one is not working anymore.
Any change you can implement it?
https://wiki.mikrotik.com/wiki/Manual:API#Initial_login
Thank you
ISP is blocking TCP ports for only Mikrotik API and API SSL.
Could you possibly implement the ability to customize the port you can connect to on the host?
Tried the traditional syntax "hostnameexample:1112"
Receiving error
getaddrinfo: Name or service not known (SocketError)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.