Latest posts
Technical notes, renewable energy projects, useful fixes and updates.
Exporting Mikrotik Firewall Rules
In a terminal windows or via ssh, enter the below line ip firewall export file=firewallrules then find a file called “firewallrules.rsc” in your files…
Read more →Server 2008 R2 BSOD after Bare Metal Restore
After completing the BMR process don’t restart. Select Command Prompt. regedt32<CR> Highlight HKEY_LOCAL_MACHINE, File>Load Hive>[restored volume]:\Windows\System32\Config\SYSTEM>Open>Key Name = Restored_HKLM>OK. Expand Restored_HKLM\ControlSet001\services and ensure the…
Read more →Migrate Windows DHCP server
A few weeks ago at work, I was tasked with the project of decommissioning one of our older Windows Server 2008 machines and upgrading…
Read more →Set AD Attributes
You can also view and set these values with PowerShell, provided you have the ActiveDirectory module installed. View: Get-ADUser <username> -Properties extensionattribute1 Set: Set-ADUser…
Read more →
Mikrotik VPN place rule before dummy rule
/ip firewall filter add chain=forward dst-address=”remoterange” src-address=”localrange” place-before=0 /ip firewall filter add chain=forward dst-address=”localrange” src-address=”remoterange” place-before=0
Read more →Adding a USB backup drive to SBS backup
Add a new disk to the backup schedule by running the wbadmin command from an elevated command prompt. Run the following command from an…
Read more →Change Centos IP address
In common situation, "system ip address" is the ETH0 address. So edit /etc/sysconfig/network-scripts/ifcfg-eth0 with your favourite text editor and run service network restart ps…
Read more →
Routerboard SNTP Client
How to set the NTP client on a Mikrotik router using the Terminal /system ntp client set enabled=yes primary-ntp=###.###.###.### secondary-ntp=###.###.###.### Change the ### for…
Read more →What version of Centos is my server running?
This post shows how to find out what version of Centos you are running from the command line. tail /etc/redhat-release This will output the…
Read more →