Osterberg

PowerShell makes people happy, or is it just me?

Exchange Online - Room Settings

By Osterberg |  Feb 5, 2019  | room-properties, exchange-online, m365
When migrating to Exchange Online, default settings for room mailboxes don’t allow others users than the “booker” to see information about the booking. This is a fast rundown of how I changed some permissions to allow users to see who booked the room. Connecting to Exchange Online Start with connecting to Exchange Online $UserCredential = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection Import-PSSession $Session -DisableNameChecking Get ROOM mailboxes Get all mailboxes of type room
Continue Reading...

Install Mosquitto on Ubuntu 15.04

By Osterberg |  Nov 30, 2016  | mosquitto, ubuntu, mqtt
(This is hastly jotted down. Updates may be needed…) Add mosquitto’s PPA to ubuntu, in a terminal sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa If the command does’t work, read more here Run update sudo apt-get update Install the mosquitto server only sudo apt-get install mosquitto Install the mosquitto server and mosquitto pub/sub clients sudo apt-get install mosquitto mosquitto-clients Stop the mosquttio server sudo /etc/init.d/mosquitto stop Add users to mosquitto sudo mosquitto_passwd -c /etc/mosquitto/users.passwd xxyyzz Where ‘xxyyzz’ is the username.
Continue Reading...

SSTP or PPTP VPN Client on Windows 8

By Osterberg |  May 27, 2013  | vpn, sstp
How to configure a VPN client on Windows 8 Start by navigating to “Network and Sharing Center” Click “Set up a new connection or network” Click “Connect to a workplace” Click “Create a new connection” Click “Use my Internet connection (VPN)” In “Internet address:” type the adress to your VPN router and in “Destionation name:” type a descriptive name for the connection.
Continue Reading...

Install Telldus on Synology NAS

By Osterberg |  Feb 9, 2013  | telldus, synology
Some quick notes (not complete) On a “spare” debian computer (virtual), do the following: apt-get install build-essential apt-get install libftdi1 apt-get install libftdi-dev apt-get install libconfuse0 apt-get install libconfuse-dev apt-get cmake Download the latest telldus-core version from Telldus Unpack it by: gunzip telldus-core-{version}.tar.gz and tar xvf telldus-core-{version}.tar Run: cmake -DCMAKE_INSTALL_PREFIX=/usr/syno Run: make Pack it all together and copy it over to the NAS
Continue Reading...

Force HTTPS Synology NAS

By Osterberg |  Feb 9, 2013  | nas, synology, roundcube
As Synology NAS:es uses Roundcube for the “Mailstation” service, it’s rather easy to change desired settings. To force HTTPS on all connections to Roundcube: Connect to the Synology NAS through SSH Edit the file: /volume1/@appstore/MailStation/roundcubemail/config/main.inc.php Under section SYSTEM (around line 306) Change $rcmail_config[‘force_https’] = false; to true Save and quit.
Continue Reading...

Enabling SSH via OEM TGZ on ESXi 4.0

By Osterberg |  Aug 21, 2009  | esxi
Recently I’ve replaced my server at home with a new one. I installed ESXi on a USB stick and enabled the SSH as described here Then updated it via vSphere Host Update Utility 4.0. After rebooting ESXi the SSH server wasn’t working. Doing less /etc/inetd.conf revealed that the SSH server was reset to default (turned off). Googling this, it seems that ESXi now tries to set the defaults on various things when rebooting.
Continue Reading...

Install Active Directory on Server Core 2008

By Osterberg |  Aug 14, 2009  | core, server-2008, active-directory
To install Active Directory on Server Core 2008 you need to run dcpromo.exe in unattended mode. First start notepad on the target Core server and paste the following: [DCINSTALL] InstallDNS=yes NewDomain=forest NewDomainDNSName=<The fully qualified Domain Name System (DNS) name> DomainNetBiosName=<By default, the first label of the fully qualified DNS name> SiteName=<Default-First-Site-Name> ReplicaOrNewDomain=domain ForestLevel=3 DomainLevel=3 DatabasePath="%systemroot%\NTDS" LogPath="%systemroot%\NTDS" RebootOnCompletion=yes SYSVOLPath="%systemroot%\SYSVOL" SafeModeAdminPassword=P@ssw0rd This is example is for a new forest installation with Forest and Domain level set to 2008.
Continue Reading...