I want to use my routerboard 230 and routerOS with APC smartUPS support, connected to the serial port of the routerboard. If I mis-configure the ethernet interfaces so that they are, for example, both disabled, how can I access the router to fix the problem?
I see from Routerboard’s picture that it has USB port, maybe Mikrotik installed USB keyboard support so you can type without looking enywhere , or even you can put one PCI vga card and connect it to monitor .
vga to serial – whether to map VGA output to the serial console (yes | no; yes by default). Should be
enabled if working via serial terminal.
??? Am I understanding this right, is there also VGA card integrated on board and can be redirected to RS232 pins, if yes, where is schematics which pins are what when is in VGA mode or how to make cable for monitors???
vga-to-serial is not redirecting VGA analog signal to RS232 pins, but rather makes text-mode output to the serial port.
There is a J16 jumper (marked as CIN on the board) - if you close it, the serial console will return to the serial port. See the RouterBoard 200 manual for more details.
OK, thanks lastguru. In the routerboard manual J16 is just listed as a programable jumper. However, in the RouterOS manual, under routerboard specific functions the console reset facility is described. RouterOS Routerboard package needs to be installed for this to work.
Well, if it’s the same problem that I had, it’s because your APC UPS does not support the “smart” signalling protocol.
APC uses two types of signalling: “smart” which is RS232 based and passes lots of data in ASCII strings about the status of the UPS and this is what RouterOS supports. What I like to call “dumb” signalling just sends a couple of lines on the interface high and low to indicate “on battery”, and “battery low”.
It is difficult to know which APC UPSs support smart signalling but anything with “Pro” in it seems to have it. The “Back UPS” range does not. Check with APC tech support before you buy. If you have already bought a dumb model joint the club.
Now what to do with the dumb signaling? May be sigwatch tool will give a possibility at least to send an e-mail on such events? Just an idea, I might be wrong, but that could be interesting if GJS would try it out…
Hmm…very interesting. I was not aware of the sigwatch tool at all. I’ve had a quick look at the manual and it sounds like this should work.
Unfortunately, I have yet to tackle my first MT script so I am not an ideal candidate to try this out in the immediate future. I will certainly give it a go however, and in the meantime I will post what the non-smart UPS capabilities are so that we have an idea of what should be possible.
That’s a great tip, lastguru, as the non-smart UPS range gives you considerably more bang (Ah) for your buck!
When I brought my new router on-line, I had trouble getting it to recognize the UPS that was connectged to the old router. The new router only had one serial port, instead of two, and MT wouldn’t recognize the add-in PCI card I bought. I tried disabling the serial console, but couldn’t get it to recognize the UPS.
I finally got it to work by changing the address and irq assigned to the serial port. It was originally setup in the BIOS as COM1 (3f8, irq4). I changed the settings to what would normally be assigned to COM2 (2f8, irq3). When it booted up, it saw and connected to the UPS with no problem. I don’t have a serial console anymore, but this router sits inside with a keyboard and monitor attached.
OK, well, I found that the simple signalling capabilities of the APC UPS are one line goes high for on-battery and one line goes high for low-battery. Then there is one line which when sent high by an attached device, turns off the UPS output. I am unsure about this third line as I do not understand how or why an attached device would immediately kill the power to itself. How does this help with graceful shutdown of the attached device?
For me it would only make sense if the attached device first shut down, then sent that signal to the UPS to terminate power, but when the utility power would return, the UPS would power the device up again.
I got my Smartups 700 going with no problem, I’m WinBox I just went system>serial console> and then un ticked the enable box. Then went to the system>ups tab and enabled ups support. Then that was that it works fine.
What I would like to know is now that I have it all working how do I get it to send me email? I know this was mentioned in some of the topic listed above, but did anyone get it to work?