Friday, September 12, 2025

Command line commands on esxi 6 and other esxi

Networking and esxcli on esxi command line
 
 
~ # esxcli network ip 
Usage: esxcli network ip {cmd} [cmd options]

Available Namespaces:
  dns                   Operations pertaining to Domain Name Server configuration.
  interface             Operations having to do with the creation, management and deletion of VMkernel network interfaces (vmknic).
  ipsec                 Operations on Internet Protocol Security
  route                 Operations pertaining to route configuration
  connection            List active tcpip connections
  neighbor              Operations that can be performed on arp tables

 # esxcli network ip interface list
vmk0
   Name: vmk0
   MAC Address: 6c:62:6d:a3:2e:c2
   Enabled: true
   Portset: vSwitch0
   Portgroup: Management Network
   VDS Name: N/A
   VDS UUID: N/A
   VDS Port: N/A
   VDS Connection: -1
   MTU: 1500
   TSO MSS: 65535
   Port ID: 33554436
 # esxcli network ip interface ipv4 get
Name  IPv4 Address    IPv4 Netmask   IPv4 Broadcast  Address Type  DHCP DNS
----  --------------  -------------  --------------  ------------  --------
vmk0  172.16.0.10     255.255.255.0  172.16.0.255    STATIC           false
 
~ # esxcli network ip neighbor list
Neighbor                   Mac Address        Vmknic    Expiry  State    
-------------------------  -----------------  ------  --------  ---------
172.16.0.2                 00:1f:ca:88:96:8c  vmk0    1139 sec           
fe80::6e62:6dff:fea3:2ec2  6c:62:6d:a3:2e:c2  vmk0       0 sec  Reachable
~ # esxcli network ip route ipv4 list
Network       Netmask        Gateway       Interface  Source
------------  -------------  ------------  ---------  ------
default       0.0.0.0        172.16.200.2  vmk0       MANUAL
172.16.200.0  255.255.255.0  0.0.0.0       vmk0       MANUAL
 # esxcfg-route
VMkernel default gateway is 172.16.200.2

To make routing changes on the command line use the esxcli network ip route ipv4 add command.

https://knowledge.broadcom.com/external/article/324496/link-state-up-or-down-for-a-vmnic-interf.html

https://blog.technodrone.cloud/2011/09/netstat-for-esxi.html

-30-- 

Wednesday, September 10, 2025

Install WSL2 Windows 10 and 11 notes

 
install using
powershell as admin
wsl --install -d ubuntu
 
 then install windows manager to run desktop
in ubuntu bash box
 
don't use apt upgrade on ubuntu.  Probably tries to upgrade from 24.04 now and hoses the install
only do apt update

 tried this, didn't work

version list

NAME                            FRIENDLY NAME
Ubuntu                          Ubuntu
Debian                          Debian GNU/Linux
kali-linux                      Kali Linux Rolling
Ubuntu-18.04                    Ubuntu 18.04 LTS
Ubuntu-20.04                    Ubuntu 20.04 LTS
Ubuntu-22.04                    Ubuntu 22.04 LTS
Ubuntu-24.04                    Ubuntu 24.04 LTS
OracleLinux_7_9                 Oracle Linux 7.9
OracleLinux_8_7                 Oracle Linux 8.7
OracleLinux_9_1                 Oracle Linux 9.1
openSUSE-Leap-15.6              openSUSE Leap 15.6
SUSE-Linux-Enterprise-15-SP5    SUSE Linux Enterprise 15 SP5
SUSE-Linux-Enterprise-15-SP6    SUSE Linux Enterprise 15 SP6
openSUSE-Tumbleweed             openSUSE Tumbleweed


sudo apt install xfce4 xfce4-goodies


--30--

Install promox on raspberry pi 5

 
https://global.mirrors.apqa.cn/
 

enable port forwarding on ubuntu

 



check current value
sysctl net.ipv4.ip_forward
set to enabled
sudo sysctl net.ipv4.ip_forward=1
Persist across boots
sudo nano /etc/sysctl.conf
# Uncomment the next line to enable packet forwarding for IPv4
#net.ipv4.ip_forward=1



reference:

--30--

Sunday, June 15, 2025

ISS pass prediction

amsat prediction for Grandview, Mo

Grandview is located at 38°53′6″N 94°31′21″W (38.885007, -94.522578)




--30--
 


Run Windows 11 Arm on Raspberry Pi 4 or 5

Run Windows 11
 
bvm/bvm boot-nodisplay ~/win11
bvm/bvm connect ~/win11 
 
access C drive
bvm/bvm mount ~/win11 
 
 
https://github.com/Botspot/bvm
 
 
--30-- 

Friday, June 13, 2025

Load exagear virtual i686 environment on raspberry pi

This tool support was terminated by the commercial vendor, but is archived on archive.org
The page below has the instructions retrieved 6/13/2025 to install from archive.org.


and

exagear-rpi
installing Exagear Desktop on the newer Raspberry Pies

thanks to this guide.

Exagear Desktop is a discontinued piece of software that could be used to emulate x86 applications on ARM devices.

Installation Steps

First install prerequisites with apt

sudo apt-get update
sudo apt-get install -y bash coreutils findutils curl binfmt-support cron

Create a new directory (to download the packages and key)

mkdir ~/exagear
cd ~/exagear

Download and install required Exagear packages (follow the instructions for your bitness)

# 32-bit
wget https://archive.org/download/exagear-desktop_202111/exagear_3428-1_armhf.deb
wget https://archive.org/download/exagear-desktop_202111/exagear-dsound-server_010_armhf.deb
wget https://archive.org/download/exagear-desktop_202111/exagear-guest-debian-9_3428_all.deb
sudo dpkg -i exagear_3428-1_armhf.deb
sudo dpkg -i exagear-dsound-server_010_armhf.deb
sudo dpkg -i exagear-guest-debian-9_3428_all.deb

# 64-bit
wget https://archive.org/download/exagear-desktop_202111/exagear_3428-1_arm64.deb
wget https://archive.org/download/exagear-desktop_202111/exagear-dsound-server_010_arm64.deb
wget https://archive.org/download/exagear-desktop_202111/exagear-guest-debian-9_3428_all.deb
sudo dpkg -i exagear_3428-1_arm64.deb
sudo dpkg -i exagear-dsound-server_010_arm64.deb
sudo dpkg -i exagear-guest-debian-9_3428_all.deb

Patch exagear license

wget https://archive.org/download/exagear-desktop_202111/patch.sh; sudo bash patch.sh

Now, run sudo exagear, and you're in an x86 environment! Make sure to run the following to update the subsystem:

sudo exagear not exagear

sudo apt-get update && sudo apt-get upgrade -y

Thursday, June 5, 2025

xrdp permissions error

 
Cannot read private key file /etc/xrdp/key.pem: Permission denied

add a directory to browse to apache2.conf



Alias /s70 /export/s70
<Directory /var/www/s70>
    Options +Indexes
    IndexOptions FancyIndexing FoldersFirst NameWidth=* DescriptionWidth=*
    DirectoryIndex Disabled
    AllowOverride None
    AddType text/plain .html .htm .shtml .php .phtml .php5
    Order allow,deny
    Allow from all
    Require all granted
</Directory>


FilesAttach

--30--

Wednesday, June 4, 2025

MVS operation notes

 
Joe Monk 6/1/2025 discord post, Mainframe Enthusiasts
https://discord.com/channels/423767742546575361/751216302793818163/1378780596607783025

P TSO to kill TSO,
Z NET, QUICK to kill VTAM,
$P JES2 to drain JES2,
Z EOD - to kill MVS,
QUIESCE - to stop everything and go into disabled wait

--30--

Sunday, March 16, 2025

install / run arduino ide on ubuntu 22.04

 The raw arduino downloads from the .cc website didn't seem to run.

 There is no install included, just a full running appimage and a zip of the application to download.

the version installed by using apt is of the 1.8, version, very old.  It does run however.  

It does solve something when run.  There is a permission that has to be added, and the app prompts for it.  

Other problem is that xapp library is missing.  That is in the console scroll when you run the app 

the AppImage seems to run once made executable.  It seems to also install the libs once run. 

 There was a complaint  when running the AppImage about xapp library component missing.  W/o installing it the gui doesn't finish running.

 

--30--

Sunday, February 9, 2025

Install ntop

 

install ntop
 
Type the following commands in your shell:

wget https://packages.ntop.org/RaspberryPI/apt-ntop.deb sudo dpkg -i apt-ntop.deb sudo apt-get update
sudo apt-get install ntopng nprobe
 
--30--

Tuesday, January 28, 2025

install / build switchbot temperature sensor tool on raspberry pi os

Switchbot reading tool

use this tool
github incantation
https://github.com/lukearran/SwitchBot-Meter-API.git
https://github.com/lukearran/SwitchBot-Meter-API?tab=readme-ov-file

You will need:

Python3   standard on current Pi OS
SwitchBot Thermometer
BluePy
Flask
TinyDb

Bluepy
https://github.com/IanHarvey/bluepy
github incantation
https://github.com/IanHarvey/bluepy.git
you should install from source.

$ sudo apt-get install git build-essential libglib2.0-dev
$ git clone https://github.com/IanHarvey/bluepy.git
$ cd bluepy
$ python setup.py build
$ sudo python setup.py install

Flask
https://github.com/pallets/flask
https://flask.palletsprojects.com/en/stable/

github incantation
https://github.com/pallets/flask.git

do crap on this page
https://flask.palletsprojects.com/en/stable/installation/#python-version

TinyDb
install
github incantation
git clone https://github.com/msiemens/tinydb.git

https://tinydb.readthedocs.io/en/latest/getting-started.html

dealing with python horsehooey
https://stackoverflow.com/questions/75608323/how-do-i-solve-error-externally-managed-environment-every-time-i-use-pip-3

use pipx to install


 
NOTE:
edited under protest for blogspot censorship.  
--30--