So you shifted providers and your IP-number at home changed so you locked yourself out of your server IPMI ["Intelligent(!) Platform Management Interface"] because at the time you didn't realize the webinterface had accesscontrol. At the same time you got a new router that changed your homenetwork from 192.168.1.0 to 192.168.178.0, so webbased IPMI-access from the local network is suddenly problematic as well.
You'd probably guess by now that this HOWTO is the result of raw experience. The search for a solution was a bit too, so here's how to fix stuff.

You need a tool and it's very conveniently called ipmitool and it's in the ports, so run:

#> cd /usr/ports/sysutils/ipmitool && make install clean

To use it, you need to tell the kernel first that you want to do just that, so run:

#> kldload ipmi #> kldstat

Or to load this module at start up:

#> vi /boot/loader.conf ipmi_load="YES"

At this stage I wanted to reset IPMI to factory-defaults. You are advised to make a copy of the current settings first:

#> ipmitool lan print | cat > ipmilanprint.txt

To reset IPMI to factorysettings run:

#> ipmitool raw 0x30 0x40

The network settings are preserved, so fire up your browser to http(s)://your-ipmi-ip-number and login with your vendors default; in my case ADMIN/ADMIN.
There's a shitload of BIOS- and serversettings you can check and manipulate from the commandline using ipmitool, so if you want to send yourself an hourly report about the fanspeed and the peripheral temp, editing the bootloader to load the modules at startup seems like a good idea. :p

For inspiration check man/ipmitool

Hope this saves someone some time.
 
Back
Top