Sometimes I get these ideas in my head that I just have to write out. librouteros is one of those. If you need to check data or do periodic updates, or similar stuff to a RouterOS device from a script or program, you should use the RouterOS API. This is an open API that you [...]
Posted December 22nd, 2012 in Uncategorized.
A command most people know about in POSIX systems, is “tail”. A command showing you the ‘tail’(in most cases, the last lines) of a file or pipe. Or with the option -f, it actually monitors your files, and will show the newly appended lines live. But a command that is not that much known is [...]
Posted December 6th, 2011 in Tips & tricks.
Every year, I team up with raider.no to arrange a party in Hurdalen, or around the Oslo area. And one of the things that is important for us (especially me and William), is to create a cool opening show, using our own innovative technology. We don’t have a lot of money in the organization, so [...]
Posted November 18th, 2011 in C, dmx, hobby, jackd, perl.
I’m feel that I am starting to get the hold of C programming. But every now and then, I get these “ahaaa” moments, that I am a bit embarrassed about. One of these “aha”‘s I experienced today is how/when C handles initialization of variables where you don’t explicitly initialize them yourself. Consider this code: 1 [...]
Posted November 13th, 2011 in C, Tips & tricks.
I have often been very thankful of people who blog/share about things they find out on their own, and want to help others find it out quicker, or just to make little known, but awesome, features more visible. So I thought, maybe I should start to write these small posts about stuff i find, or [...]
Posted November 11th, 2011 in Tips & tricks.
My previous post was about RouterOS Mac-Telnet application for Linux users where I talked about the MAC-Telnet client I created for Linux users. Since then, I have both started porting it to OS X and to create a daemon version of MAC-Telnet, called “mactelnetd”. You can look at the different branches at github.com. To use [...]
Posted December 26th, 2010 in C, mikrotik, routeros.
Earlier, I wrote about a Wireshark plugin for dissecting Mac-Telnet packets. Now I have created an open source application for connecting to a RouterOS router via its MAC address from Linux without having to install Wine. At the time of writing the project is still in “alpha” stage. But it is fully functional. Though it [...]
Posted October 1st, 2010 in C, mikrotik, routeros.
I have been using Akelos both for professional and personal uses for a long time now. But sometimes I only need the ORM part of Akelos, and not the whole MVC shebang. So for a while ago, I made a ~40 lines php script that abstracted mysql queries in a easy to use class, much [...]
Posted August 23rd, 2010 in hobby, php. Tagged: ActiveRecord, ORM, php.
I was searching on the Internet if there were any MAC-Telnet clients for linux/posix, since using terminal.exe in wine is problematic sometimes, as wine gives it access to only one of the NICs in your computer. I didn’t find any clients, but I found this nice reverse engineering of the protocol, which interested me, because [...]
Posted June 21st, 2010 in C, routeros.
Not much to write about lately, but many of you, me included, use queue_log to generate important statistics about a company’s queue calls. It is important to see how many times a user have been called, how many times they answered, how long the calls last, etc. But one thing missing, has been how many [...]
Posted February 27th, 2010 in asterisk, work.