Backtrack:  
 
showing posts of August 2017
 
edited by on August 23rd 2017, at 14:11

Hyper-V does not allow to be installed on a machine that's already virtual (such as on another Hyper-V or VMWare). For VMWare, you can circumvent this by adding custom configuration parameters to the VM's configuration.

Add these to the VM's configuration, either through the vSphere (web)client, or by directly editing the VMX-file:

hvh.enable = TRUE
hypervisor.cpuid.v0 = FALSE 

If you're editing the VMX-file, you need to enclose the values (behind the =) in double quotes (").

edited by on August 22nd 2017, at 15:09

Older, obsolete releases of Ubuntu are no longer available on localized mirrors. Instead, you must use the old-releases repositories. This is done by replacing the repository entries in /etc/apt/sources.list:

  • country.archive.ubuntu.com → old-releases.ubuntu.com
  • security.ubuntu.comold-releases.ubuntu.com

For example:

us.archive.ubuntu.com/ubuntu/dists/natty/main/source/Sources

would become

old-releases.ubuntu.com/ubuntu/dists/natty/main/source/Sources

edited by on August 22nd 2017, at 13:49
After successfully extending a partition on a VM, Disk Management shows the correct partition size but Explorer still shows the old size, even after a reboot.

The reason for this is that while the partition has been extended to the new size, the filesystem itself has not. Normally, Disk Management should first extend the partition, then the filesystem, but for some reason, the second part did not happen.

To resolve, perform an extension of the volume using diskpart.

Open an elevated command prompt and start diskpart (type diskpart and press Enter).

List all volumes to find out which volume number corresponds with the drive you need to resize: DISKPART> list volume



Select the volume  ...
edited by on August 18th 2017, at 14:27
There's an issue with the Shorewall package in Debian 9 Stretch, causing Shorewall not to automatically start even when the required configuration files are in-place and/or modified. As stated here, the problem also exists on Ubuntu with some versions of the package (see article).

The problem lies with the package not enabling the startup script in systemd during installation. The solution is to manually enable this by running the following command (as sudo):

systemctl enable shorewall.service

This will enable Shorewall to automatically start during a reboot. Note that you will still have to set the correct parameters in /etc/default/shorewall (and possibly /etc/shorewall/shorewall.conf t  ...
edited by on August 9th 2017, at 12:20

You can easily run Transact-SQL (T-SQL) script files (with extension .sql) via the commandline utility sqlcmd:

sqlcmd -S Server\Instance -i C:\path\to\SomeScript.sql

By default, the output is written to the command prompt. You can also save the output to a file:

sqlcmd -S Server\Instance -i C:\path\to\SomeScript.sql -o C:\path\to\TheOutput.txt

Note that when using this, no output is written in the command prompt window.

edited by on August 4th 2017, at 16:17

An excellent resources website on how to configure Cisco phones to work on Asterisk. This includes the provisioning of phones, configuring them in Asterisk and enabling advanced functionality for Cisco on Asterisk.

http://usecallmanager.nz/document-overview.html

edited by on August 1st 2017, at 09:31
You can quickly reset a Samsung A3 smartphone by booting into recovery mode (e.g. when you're locked out):

Turn off the phone by holding down the power button (right side) and then select to power off.

Hold down Volume up, Home and Power buttons to power the device on. Keep Volume up and Home down until you see the Samsung logo. After a while you will get the recovery menu.

Use the volume buttons to navigate in the menu (up for up, down for down). Select wipe data/factory reset, then press the Power button to confirm. Use the same keys to select yes if an additional prompt appears.

The reset takes a very short time after which the recovery menu will be displayed again. Either select rebo  ...
 
showing posts of August 2017
 
 
« March 2024»
SunMonTueWedThuFriSat
     12
3456789
10111213141516
17181920212223
24252627282930
31      
 
Links
 
Quote
« I needed a password with eight characters so I picked Snow White and the Seven Dwarves. »