2019年3月22日 星期五

Windows 10 7 2008 R2 Multiple Remote Desktop Client with RDPWrap



使用Firefox允許從https://github.com/stascorp/rdpwrap/releases下載RDPWrap-v1.6.2.zip,解壓後使用Admin cmd.exe運行install.bat,安裝成功後運行RDPConf.exe確認綠色[fully supported]

2019年3月21日 星期四

Raspberry Pi 3B RDP Client remote desktop to Windows 10

sudo apt-get install rdesktop
rdesktop 192.168.1.10
rdesktop 127.0.0.1 # also possible but crazy

Python Selenium Auto Refresh Webpage


This a.py code uses "geckodriver.exe" in same directory to auto refresh a webpage until specified string is found.


from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time

driver = webdriver.Firefox()
while True:
    driver.get("http://www.aegpromotion.com/mayday2019")
    if "The system is currently processing ticketing purchase by a large number of customers" not in driver.page_source:
        break
    print('waiting 6 seconds')
    time.sleep(6)
input("Great!")
driver.close()

2019年3月16日 星期六

ESXi 6.7 on ASRock J4105-ITX with Realtek 8111H Network Card

ESXi 6.7 on ASRock J4105-ITX with Realtek 8111H Network Card


Unzip ESXi-Customizer-v2.7.2.exe
then edit ESXi-Customizer.cmd
to remove below lines

   if "!WinVer!"=="5.0" call :logCons --- INFO: Running on Windows 2000. What?!
   if "!WinVer!"=="5.1" call :logCons --- INFO: Running on Windows XP.
   if "!WinVer!"=="5.2" call :logCons --- INFO: Running on Windows Server 2003.
   if "!WinVer!"=="6.0" call :logCons --- INFO: Running on Windows Vista or Server 2008.
   if "!WinVer!"=="6.1" call :logCons --- INFO: Running on Windows 7 or Server 2008 R2.
   if "!WinVer!"=="6.2" call :logCons --- INFO: Running on Windows 8 or Server 2012.
   if "!WinVer!"=="6.3" call :logCons --- INFO: Running on Windows 8.1 or Server 2012 R2.
   if "!WinVer!" GTR "6.3" call :logCons --- WARNING: Running on a Windows newer than 8.1 / 2012 R2. Don't know if this will work ...
   if "!WinVer!" LSS "5.1" call :earlyFatal Unsupported Windows Version: !WinVer!. At least Windows XP is required & exit /b 1
   if "!WinVer!" NEQ "6.1" call :logCons --- WARNING: Your Windows version is supported for customizing ESXi 5.x, but not ESXi 4.1.

then select VMware-VMvisor-Installer-6.7.0-8169922.x86_64.iso
and net55-r8168-8.045a-napi.x86_64.vib
to generate a new .iso file and finally refuse it to a 16GB USB 2.0 flash drive
and boot and install it on a Sandisk 32GB USB 3.0 flash drive.

End


DSM 6.2 on ESXi

https://gugucomputing.wordpress.com/2018/10/09/%E5%9C%A8esxi%E4%B8%AD%E5%AE%89%E8%A3%9Ddsm6-2-%E6%BA%96%E5%82%99dsm%E7%92%B0%E5%A2%83/

1. Prepare .img


OFSMount the file Synoboot.img from synoboot_3615.zip with NO Read-only.
Notepad++ opens grub.cfg
set sn=1230LWN001915
set mac1=001132001915
Add a leading # to the sections of
#menuentry "DS3615xs 6.2 Baremetal $VERSION" --class os {
#menuentry "DS3615xs 6.2 Baremetal $VERSION Reinstall" --class os {
#menuentry "DS3615xs 6.2 Baremetal AMD $VERSION" --class os {
but need to keep the section
menuentry "DS3615xs 6.2 VMWare/ESXI $VERSION" --class os {
Dismount all disks and Exit

On ESXi, create "dsm62" directory and uploads synoboot.vmdk and synoboot.img
ESXi creates new VM called dsm62 Ubuntu Linux 64 bits
Allocate 2CPU 2GB
Removes default disk, SCSI controller, CD/DVD drives
Set MAC address to 001132001915
Add "Existing disk" with synoboot.vmdk
Add new SATA1 controller and new disk at SATA(1:0)

Browse find.synology.com with DSM_DS3615xs_23739.pat below
https://archive.synology.com/download/DSM/release/6.2/23739/DSM_DS3615xs_23739.pat


SN Generator


http://liuhangcheng.coding.me/synology-serial-generator/

DSM 6.1.5


https://xpenology.com/forum/topic/12216-tutorial-install-dsm-615-on-esxi-65/

https://archive.synology.com/download/DSM/release/6.1.5/15254/
DS3615xs 6.1 Jun's Mod V1.02-alpha.zip
DSM_DS3615xs_15254.pat





End

2019年3月14日 星期四

Passthrough SATA disk to VMWare ESXi 6.5 as RDMs



Passthrough SATA disk to VMWare ESXi 6.5 as RDMs


I have a Dell Precision 3420 with Intel Core i7-6700 4 Cores 8 Threads, 4 x 8GB RAM,  Micron 1100 SSD, 2TB HDD. Windows 10 was already installed on Micron SSD and I keep it intact.

Later on I installed ESXi 6.5 (VMware-VMvisor-Installer-6.5.0-4564106.x86_64.iso) installed on a 16GB USD flash drive with the 2TB HDD as data store with a few more VMs created.

Now I created a VM with 1 vCPU 4GB RAM with the physical Micron SSD mounted as the only drive that boots to Windows 10.

The procedure is to create a new VM called Micron, enable ESXi SSH with 3 below commands.

1. Locate physical disk

ls -l /vmfs/devices/disks

lrwxrwxrwx    1 root     root            72 Mar 14 10:55 vml.010000000020202020202020203137323431374137464231414d6963726f6e -> t10.ATA_____Micron_1100_SATA_256GB__________________________172417A7FB1A
lrwxrwxrwx    1 root     root            74 Mar 14 10:55 vml.010000000020202020202020203137323431374137464231414d6963726f6e:1 -> t10.ATA_____Micron_1100_SATA_256GB__________________________172417A7FB1A:1
lrwxrwxrwx    1 root     root            74 Mar 14 10:55 vml.010000000020202020202020203137323431374137464231414d6963726f6e:2 -> t10.ATA_____Micron_1100_SATA_256GB__________________________172417A7FB1A:2
lrwxrwxrwx    1 root     root            74 Mar 14 10:55 vml.010000000020202020202020203137323431374137464231414d6963726f6e:3 -> t10.ATA_____Micron_1100_SATA_256GB__________________________172417A7FB1A:3

2. Confirm VM directory

ls /vmfs/volumes/2TB/Micron/

3. Create .vmdk file from Micron SSD

The idea is similar to "mnt -t nfs 192.168.1.37:/mnt/hd0/1 /volume/mtv3700d"

vmkfstools -z /vmfs/devices/disks/t10.ATA_____Micron_1100_SATA_256GB__________________________172417A7FB1A "/vmfs/volumes/2TB/Micron/Micron_RDM.vmdk"

Finally I can add the newly created .vmdk file to the Micron VM as the only harddisk. It boots to Windows 10 as if it is a physical machine.

End

2019年3月4日 星期一

Ubuntu Desktop on DSM 5.2 on x200

https://forum.synology.com/enu/viewtopic.php?t=101172


ESXi on x200 for DSM 5.2

VMvisor 6.5.0


2016, VMware-VMvisor-Installer-6.5.0-4564106.x86_64.iso

Searching "VMware-VMvisor-Installer-6.5.0-4564106.x86_64.iso" in Google should bring you to this link https://mirror.fnkr.net/bootimages/vmware/ including some old .iso files.

<a href="VMware-VMvisor-Installer-201501001-2403361.x86_64.iso">
<a href="VMware-VMvisor-Installer-201507001-2809209.x86_64.iso">
<a href="VMware-VMvisor-Installer-201701001-4887370.x86_64.iso">
<a href="VMware-VMvisor-Installer-5.0.0-469512.x86_64.iso">
<a href="VMware-VMvisor-Installer-5.0.0.update01-623860.x86_64.iso">
<a href="VMware-VMvisor-Installer-5.0.0.update02-914586.x86_64.iso">
<a href="VMware-VMvisor-Installer-5.0.0.update03-1311175.x86_64.iso">
<a href="VMware-VMvisor-Installer-5.1.0-799733.x86_64.iso">
<a href="VMware-VMvisor-Installer-5.1.0.update01-1065491.x86_64.iso">
<a href="VMware-VMvisor-Installer-5.1.0.update02-1483097.x86_64.iso">
<a href="VMware-VMvisor-Installer-5.1.0.update03-2323236.x86_64.iso">
<a href="VMware-VMvisor-Installer-5.5.0-1331820.x86_64.iso">
<a href="VMware-VMvisor-Installer-5.5.0.update01-1623387.x86_64.iso">
<a href="VMware-VMvisor-Installer-5.5.0.update03-3116895.x86_64.iso">
<a href="VMware-VMvisor-Installer-6.0.0.update01-3029758.x86_64.iso">
<a href="VMware-VMvisor-Installer-6.0.0.update02-3620759.x86_64.iso">
<a href="VMware-VMvisor-Installer-6.5.0-4564106.x86_64.iso">
<a href="VMware-VMvisor-Installer-6.5.0.update01-5969303.x86_64.iso">

Refus3.4.exe the .iso file to a 16GB USB 2.0 flash drive.

ESXi 6.5 requires 2 cores, x64 CPU after 2006-09, Enable Inter XS or AMD NX, at least 4GB RAM, Intel VT-x or AMD RVI, GBE.

I am using it on Intel Core i7-6700 @ 3.4 GHz CPU with VT-x and VT-d supported and 32 GB RAM installed on Dell Precision 3420.

I mostly refer to https://ithelp.ithome.com.tw/articles/10184288 and it works well.


End

2023 Promox on Morefine N6000 16GB 512GB

2023 Promox on Morefine N6000 16GB 512GB Software Etcher 100MB (not but can be rufus-4.3.exe 1.4MB) Proxmox VE 7.4 ISO Installer (1st ISO re...