when unable to log in :
unl_wrapper -a restoredb ; grep -q default_time_zone /etc/mysql/mysql.conf.d/mysqld.cnf || echo "default_time_zone='+00:00'" >> /etc/mysql/mysql.conf.d/mysqld.cnf ; systemctl restart mysql
when unable to log in :
unl_wrapper -a restoredb ; grep -q default_time_zone /etc/mysql/mysql.conf.d/mysqld.cnf || echo "default_time_zone='+00:00'" >> /etc/mysql/mysql.conf.d/mysqld.cnf ; systemctl restart mysql
When log in filled up with:
Sep 15 11:25:51.185 UTC: %SMART_LIC-2-PLATFORM_ERROR: Smart Licensing has encountered an internal software error. Contact TAC: The platform provided UDI list has invalid values: ; udi_sn is empty; udi_sn is null or empty for valid udi_pid
configure:
logging discriminator GO-AWAY facility drops SMART_LIC
logging buffered discriminator GO-AWAY
logging console discriminator GO-AWAY
If the c8000v CLI is slow to reply or is acting sluggish, then go in the lab to "Status" and disable "KSM status"
export LC_ALL=C.UTF-8
cd /root
cp /opt/unetlab/evedb.gz /root
apt-mark hold ifupdown
systemctl stop mysql
rm -f /var/lib/dpkg/lock
export TERM=xterm
apt-get --purge autoremove $(dpkg -l | grep 'mysql' | awk '{print $2}')
rm -rf /var/lib/mysql
rm -rf /etc/mysql
rm -rf /var/lib/apt/lists/*
apt update
apt install eve-ng-pro
If it cannot find the package, do:
https://gist.githubusercontent.com/nichham2/439feada8a2645f9627a2cdf246feba8/raw/ce67ab65aee8645e4f969bd7b65cd2435d41ce60/sources.list
put contents in /etc/apt/sources.list
Add
deb [arch=amd64] http://www.eve-ng.net/jammy jammy main
to that file
apt clean
apt update
apt install eve-ng-pro
apt-mark unhold ifupdown
reboot
cd /opt/unetlab/
mv evedb.gz evedb.fresh
cp /root/evedb.gz /opt/unetlab/
unl_wrapper -a restoredb
reboot
dpkg -l eve-ng-pro
Gree Versati III
https://gist.github.com/slanckma/3bad4ff49545488a3719766bdf0cdc76
TUF-2000M Water flow sensor
https://gist.github.com/slanckma/78c22fbb39e974607e3f3dc83933aaba
Homey Dongle integration in HA
https://gist.github.com/slanckma/cd979360bce88118ffde4503363dd14a
Athom Garage door opener
https://gist.github.com/slanckma/37030a51a75202c320205b0cbc68277d
Chrome -> dev tools -> network -> filter m3u8
Copy player.js m3u8 URL to VLC -> File -> Open Network -> Stream Output -> Settings
when unable to log in : unl_wrapper -a restoredb ; grep -q default_time_zone /etc/mysql/mysql.conf.d/mysqld.cnf || echo "default_time...