Skip to main content

Posts

Install Winget on Windows 2022 or Windows 10 LSTC

Install Winget on Windows 2022 or Windows 10 LTSC Install Pre-reqs Install Microsoft.UI.Xaml/2.7.3 Navigate to https://www.nuget.org/packages/Microsoft.UI.Xaml/2.7.3 , on the left side look for Download Package button to download microsoft.ui.xaml.2.7.3.nupkg. Using 7-zip, extract microsoft.ui.xaml.2.7.3.nupkg\microsoft.ui.xaml.2.7.3.nupkg\tools\AppX\x64\Release\Microsoft.UI.Xaml.2.7.appx Install PS C:\>Add-AppxPackage .\Microsoft.UI.Xaml.2.7.appx Install Microsoft.VCLibs.140.00.UWPDesktop Download https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx Install PS C:\>Add-AppxPackage .\Microsoft.VCLibs.x64.14.00.Desktop.appx Install Winget Download Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle or any recent versions (tested using 1.6.2771) from Github Download license file 27abf0d1afe340e7a64fb696056b2672_License1.xml (should be one of the artifacts) from Github, the same URL from above. Install PS C:\cd ~/Downloads PS C:\Users\u1\Down

Fedora 32 Workstation installation screen capture

Just an itch, wanted to see how Fedora 32 Workstation looks like. For other versions see  here .

Get Network Interface Card GUID in Windows

Get Network Interface Card GUID in Windows Method 1 - using netsh PS C:\> netsh lan show interfaces Below shows sample output There is 1 interface on the system: Name : Ethernet Description : Microsoft Hyper-V Network Adapter GUID : 17ab0088-6ca5-4aac-82bb-c533700cda21 Physical Address : 00-15-5D-1C-45-00 State : Connected. Network does not support authentication. Method 2 - using PowerShell WMI PS C:\> Get-CimInstance -ClassName Win32_NetworkAdapter | Select-Object -Property DeviceID, GUID, Name Below shows sample output DeviceID GUID Name -------- ---- ---- 0 Microsoft Kernel Debug Network Adapter 1 {17AB0088-6CA5-4AAC-82BB-C533700CDA21} Microsoft Hyper-V Network Adapter 2 WAN Miniport (SSTP) 3

Control Panel console command equivalent

There are cases where you might need to run some of the Control Panel applets to perform quick configuration like add user accounts under different user credentials(say administrator account). Anyway below lists the files and equivalent Control Panel applet. Command Description access.cpl Accessibility Options appwiz.cpl Add or REmove Programs bthprops.cpl Bluetooth configuration desk.cpl Display Properties firewall.cpl Windows Firewall hdwwiz.cpl Add Hardware Wizard inetcpl.cpl Internet Properties intl.cpl Regional and Laguage Options irprops.cpl Infrared Properties joy.cpl Game Controllers jpicpl32.cpl Java Control Panel main.cpl Mouse Properties mmsys.cpl

Enable SSH server on QNX 6.5

This is quick start guide how to run ssh server on QNX. Tested on QNX 6.5 (650SP1-VM.tar). # ssh-keygen -t dsa -b 1024 -f /etc/ssh/ssh_host_dsa_key -N '' # ssh-keygen -t rsa -b 1024 -f /etc/ssh/ssh_host_rsa_key -N '' This is not security best practice but this is only a test machine. Enable direct root ssh login to the machine. # sed -i 's/#PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config To start ssh service interactively, do: # /usr/sbin/sshd Use /usr/sbin/sshd -ddd to view debug output To run sshd on start, add the following to /etc/rc.d/rc.local : /usr/sbin/sshd & Reference: http://www.qnx.com/developers/docs/660/index.jsp?topic=%2Fcom.qnx.doc.neutrino.utilities%2Ftopic%2Fs%2Fsshd.html

Using INTEL PRO/1000 Gigabit driver in QNX 6.6 running on VMware ESXi

Using INTEL PRO/1000 Gigabit driver in QNX 6.6 running on VMware ESXi When installing QNX 6.6 using VM-QNXSDP660-201402230339.iso on VMware ESXi (8.0 update 2) the default network apapter used is AMD Lance PCNet 32 . The PCNet 32 driver reports to only support 10Mbps, for cases where higher network bandwidth is needed Intel PRO/1000 Gigabit is a good choice. To load Intel PRO/1000 Gigabit , edit /etc/rc.d/startup_aps.sh and comment out pcnet.so driver and add dirver for e1000 , like: #io-pkt-v4-hc -d /lib/dll/devn-pcnet.so & io-pkt-v4-hc -d /lib/dll/devnp-e1000.so &

Installing Vim 7.2 in QNX 6.5 using pkgsrc

Installing Vim 7.2 in QNX 6.5 using pkgsrc QNX 6.5 self-hosted Neutrino host ships with vi but Vim 7.2 is a big imporovement over the default application. Below are the steps to install Vim 7.2 using pkgsrc. Download the bootstrap package http://archive.netbsd.org/pub/pkgsrc-archive/packages/QNX/i386/6.5.0_head_20110826/bootstrap.tar.gz Download Vim package and dependencies from the link below http://archive.netbsd.org/pub/pkgsrc-archive/packages/QNX/i386/6.5.0_head_20110826/All vim-share-7.2.446.tgz libiconv-1.14.tgz gettext-lib-0.18.1.1.tgz vim-7.2.446nb1.tgz Copy the files into /tmp using ftp, Momentics IDE, sftp, etc #: ls /tmp bootstrap.tar.gz vim-share-7.2.446.tgz libiconv-1.14.tgz gettext-lib-0.18.1.1.tgz vim-7.2.446nb1.tgz Install bootstrap package into the root folder #: tar -xvzf bootstrap.tar.gz -C / Add pkgsrc utilities into the path #: echo 'export PA