Change VPN pptp iprange on synology

start a telnet session to your device. (beware :use your root account)

vi /usr/syno/etc/packages/VPNCenter/pptp/pptpd.conf

localip 192.168.0.50 (ip number of your device)
remoteip 192.168.0.100-105
Save your config and restart VPN (DSM or restart service)

Hyper-V & Vmware on the same box

It’ has been a while, last time a followed a training course from RES. Using a predefined VMware image. I did have the Hyper-V role enabled on my laptop. Installing VMware Player beside the Hyper-V results of course with a exclamation. Can not start VM due to the Microsoft hypervisor.

How to solve this! Smile

Make two batch scripts:

One to stop Hyper-V :

REG ADD “HKLM\SYSTEM\CurrentControlSet\Services\VMwareHostd” /V “Start” /t REG_DWORD /d 0×2 /f
REG ADD “HKLM\SYSTEM\CurrentControlSet\Services\VMAuthdService” /V “Start” /t REG_DWORD /d 0×2 /f
REG ADD “HKLM\SYSTEM\CurrentControlSet\Services\VMnetDHCP” /V “Start” /t REG_DWORD /d 0×2 /f
REG ADD “HKLM\SYSTEM\CurrentControlSet\Services\VMUSBArbService” /V “Start” /t REG_DWORD /d 0×2 /f
REG ADD “HKLM\SYSTEM\CurrentControlSet\Services\VMware NAT Service” /V “Start” /t REG_DWORD /d 0×2 /f
REM after reboot services above will start at bootup
bcdedit /set hypervisorlaunchtype off
shutdown /r /t 000 /f

Now you can use VMware !

One to start Hyper-V:

Taskkill /IM vmnetdhcp.exe /F
Taskkill /IM vmnat.exe /F
Taskkill /IM vmware-authd.exe /F
Taskkill /IM vmware-hostd.exe /F
Taskkill /IM vmware-usbarbitrator64.exe /F
Taskkill /IM vmware-tray.exe /F

REG ADD “HKLM\SYSTEM\CurrentControlSet\Services\VMwareHostd” /V “Start” /t REG_DWORD /d 0×4 /f
REG ADD “HKLM\SYSTEM\CurrentControlSet\Services\VMAuthdService” /V “Start” /t REG_DWORD /d 0×4 /f
REG ADD “HKLM\SYSTEM\CurrentControlSet\Services\VMnetDHCP” /V “Start” /t REG_DWORD /d 0×4 /f
REG ADD “HKLM\SYSTEM\CurrentControlSet\Services\VMUSBArbService” /V “Start” /t REG_DWORD /d 0×2 /f
REG ADD “HKLM\SYSTEM\CurrentControlSet\Services\VMware NAT Service” /V “Start” /t REG_DWORD /d 0×4 /f

bcdedit /set hypervisorlaunchtype auto
shutdown /r /t 000 /f
exit

MD3000i adding/expanding diskspace

smcli –n storage_arry_name -c “set virtualdisk [\"your-disk-name\"] addcapacity=size in bytes;” –p password

Calculate the size in bytes http://www.whatsabyte.com

MD3000i Monitor activity

See what is going on:

smcli –n storage_arry_name –p password -c “show virtualDisk [\"your-disk-name\"] actionProgress;”

MD3000i Bringing a disk online from the command Line.

Having some problems bringing a disk online:

smcli (ip number controller) –p (password) –c “revive physicalDisk [(enclosure),(disk)]”;

example

smcli 10.0.0.1 –p contoso –c “revive physicalDisk [0,6]”;

Enable root login XBMC

At first login with your credentials made during setup.

We will use the “ sudo “ command

The next steps you have to make are:

sudo bash
sudo su
sudo passwd root

Now your root account is enabled and your ready to go.

Static IP on XBMC

Be sure you have root credentials! How to? Enable root .

We are going to modify a file. So use putty or winscp to connect to your xbmc center.

After login, using your root credentials. Navigate to /etc/network and there you find the interfaces file.

If you would like to have a copy of the original file. Feel free to make one.

After that copy the settings below and paste it into your interfaces file.

Of cause you need to modify the ip addresses.

auto eth0
iface eth0 inet static
address 192.168.1.4
netmask 255.255.255.0
gateway 192.168.1.1

Save the file.

Reboot your system “shutdown –r now”

SharePoint 2010 & add a net work location. Pop-Up for credentials, can not connect \\server.address@SSL\DavWWWRoot.

Yes friends, it took me a while to find a solution for this problem. But I think its solved.

The problem is caused by the more secure Windows7 and Windows2008R2.

“ Okay, after trying random things I have come to learn that if I use \\server.address\DavWWWRoot\ I can connect to the server via WebDAV, as it turns out windows sees "DavWWWRoot" as some sort of token which tells the computer to use the DAV protocol rather than just plain HTTP. This is well and good if I wanted a system only over port 80 however I still want the random ssl encrypted port. From what I can understand \\server.address@SSL\DavWWWRoot should give me HTTPS access to the webdav server. this however doesn’t work, I am still presented with the same two Windows Security Credentials pop up boxes. and now when I just try to press ok through them a pop up window shows up saying "The Folder you entered does not appear to be valid. Please choose another." Which I know is untrue because I can navigate to the page in internet explorer via https://server.address/ and it resolves, I can also still connect to this via other Dav Services. Now that I know my DAV server does work with window 7 I would really like to to work under the specified conditions. “

The first step:

Windows 7 is more secure than older version of windows, some things are just going to take some adjusting to.
Try to change the Kerberos encryption type.

1. Open gpedit.msc.
2. Find the policy under Windows Settings -> Security Settings -> Local Policies -> Security Options ->Network Security: Configure encryption types allowed for Kerberos

3. Configure the policy. If it is not configured, actually both DES cipher suites are disabled. I suggest that you enable all the suits.

The second step:

To Disable the Update Root Certificates Component by Using Group Policy

See Appendix B, "Learning About Group Policy and Updating Administrative Templates,” for information about using Group Policy. Ensure that your Administrative templates have been updated, and then edit an appropriate GPO.

Click Computer Configuration, click Administrative Templates, click System, click Internet Communication Management, and then click Internet Communication settings.

In the details pane, double-click Turn off Automatic Root Certificates Update, and then click Enabled.

Important You can also restrict Internet access for this and a number of other components by applying the Restrict Internet communication policy setting, which is located in Computer Configuration/Administrative Templates/System/Internet Communication Management. For more information about this Group Policy and the policies that it controls, see Appendix C, "Group Policy Settings Listed Under the Internet Communication Management Key.

For the official link take a look at WebDAV Web Folders in Windows Explorer, Windows 7

Dual boot Windows 7 <> Windows 8 CP <> Windows 8 Server

pre requirements:

DVD of bootable USB device including Windows 8.

Disk space:

At least 200 GB free space.(If you do install both versions)

 

Well hands on Smile

Boot from DVD or USB Device  
image Before you proceed to “Install now”. Press SHIFT+F10. a WinPe command prompt will popup.

Type: Diskpart

command list disk Shows all disks
command select disk 0 Select disk (ex. disk 0)
command list vol Shows all partitions
command create vdisk file=d:\a_name.vhd maximum=100000 type=expandable this command create a virtual disk 100 GB.
command select vdisk file=d:\a_name.vhd Select vdisk
command attach vdisk mount disk
image Close the prompt exit
image Continue the installation.
We will discover the “new” vdisk. If not go back some steps.

There will be a warning, but the next button is unlocked so proceed using next.

image If the installation is ready it will will reboot. Do not change anything at the first screen at this moment. Just sit back and relax.
After the restart installation will go on.

Final at the next restart you may change your default OS.

Before playing around, if you have approx 8 GB disks space left, you may copy your vhd file as a backup!  

Installing OpsMgr 2012 Beta

Yeh, finally got time to install and configure OpsMgr2012.

Base system (single box):

OS W2k8R2, SQlserver2008R2, windows update incl the latest updates.

Pre Requirements for OpsMgr2012:

Framework 4; IIS enable within features cgi allow framework 4.

SQL Collation:  SQL_Latin1_General_CP1_CI_AS

During configuration, keep the reporting service running on port 80. It would be nice to have this fixed so you can configure another port, but for now its oke.

Accounts:

I have made a couple “default” service accounts:

sa_opssql.

sa_opsMSAA.

sa_opsDRA.

sa_opsDWA.

and have them applied during installation of opsmgr2012.

The setup result is as you can see complete without any error.

image