API PHP class
271
$API->write('~active-address~"1.1."');
$ARRAY = $API->read();
print_r($ARRAY);
Returns a number with leases
MikroTik for Mac
There are several possibilities to use Winbox on Apple Mac computers:
1. Winbox wrapper
[1]
2. Winbox in Winebottler by SomniusX (hellasproject.com)
3.3. Install your own Wine (see below)
Darwine
To use WinBox under Mac OS X (possible on Intel-based Macs only), you have to install Darwine, a port of Wine
and other supporting tools that allows Darwin and Mac OS X users to run Windows applications. Wine is an Open
Source implementation of the Windows API on top of X and Unix.
Installation instructions for Mac OS X Leopard 10.5
You can use a combined Darwine package that includes fonts and creates the symlinks. Read about it and download
the latest version here: http:/ / thisismyinter. net/ ?p=47
Once installed, simply run Winbox.exe from anywhere.
Darwine installation instructions on Mac OS X Tiger 10.4
It is possible to get WinBox running on Intel based Mac's running Mac OS X Tiger (10.4) however there are a few
things that are important:
1.1. Install X11. It's on the DVD that came with your Mac.
2.2. Install XCode. It's on the same DVD as X11.
3. Download Darwine for Tiger from http:/ / thisismyinter. net/ ?p=29 or http:/ / www. kronenberg. org/ darwine/ -
Both of these builds have FreeType built in, however you should still install [2] if you use the build from
Kronenberg.org.
After this, you should be able to run Winbox.exe from wherever you wish to place it.
Comments to this Manuals