The Dude on Linux

I installed two Mikrotik RouterBoard 750s in my network last week. One of them is NATing my home ADSL connection, the second one is in the Gerecse tower and routes between my home network and the newly installed Pusztamarót Wi-Fi link. Here’s a picture of the two Ubiquity AirGrid M5 HPs on the Gerecse tower used for the HA2NON-HA5KDR and HA5KDR-Pusztamarót links:

The antenna on the left is connected to our APRS repeater. Here’s my current network topology:



I’ve created this graph in The Dude, which is a free network monitoring and management software from Mikrotik. Some items are red on the graph because I’m monitoring a few devices which are not always powered on. The Dude can get device and link status info by pinging, connection monitoring, SNMP or with it’s native RouterOS protocol.

The Dude runs only on Windows, so I’m running it on my Debian server with wine. I simply installed wine with apt-get install wine. To use The Dude, you’ll need a virtual display. After downloading the installer, create one with Xvfb (:5 will be the ID of the created virtual display):

1
2
Xvfb :5 -screen 0 1024x768x24
DISPLAY=:5 wine dude-install-4.0beta3.exe

Now you can connect to this display using ssvnc. Check “Use SSH” and enter the host as hostname:5. After finishing installation, you can close Xvfb and The Dude.

Here are the start and stop scripts for the Dude service, and here is the Debian init.d script. To start it at system bootup, copy it to /etc/init.d and execute:

1
update-rc.d dude defaults

Don’t forget to edit the path of Dude in the start script!

Name (required)
E-mail (required - never shown publicly)
Webpage URL
Comment:
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> in your comment.

Trackback responses to this post

About me

Nonoo
I'm Nonoo. This is my blog about music, sounds, filmmaking, amateur radio, computers, programming, electronics and other things I'm obsessed with. ... »

Twitter

Listening now

My favorite artists