hello
update 11/23/2023
111
https://sites.tufts.edu/cfactory/2023/11/23/update-11-23-2023/
raspberry pi vpn setup
https://sites.tufts.edu/cfactory/2022/03/19/raspberry-pi-vpn-setup2/
ubuntu encrypted grub boot
https://sites.tufts.edu/cfactory/2022/03/15/ubuntu-encrypted-grub-boot/
linux grub rescue
press c at the first box
then ls to check your partitions/disks
Then indicate which vmlinuz and imitrd.img you want to boot with.
grub> set root=(lvm/mint--vg-root)
grub> linux /boot/vmlinuz-4.4.0-112-generic root=/dev/mapper/mint--vg-root
grub> initrd (hd0,msdos1)/boot/initrd.img-4.4.0-112-generic
grub> boot
https://sites.tufts.edu/cfactory/2022/03/14/linux-grub-rescue/
calibre server, https, selfsigned ssl
these two sites are very useful…
redirect incoming traffic to a service running at an internal port
–> use proxy option..
for example, if you have a ebook server running internal port 70 then,
setup proxy as ‘/ebook/’ ‘http://localhost:70″
and access this from outside by typing https://external_ip:port/ebook/
using this trick, you can link services as many as you want.
https://sites.tufts.edu/cfactory/2022/01/23/calibre-server-https-selfsigned-ssl/
wake on lan: ubuntu20
https://sites.tufts.edu/cfactory/2022/01/17/wake-on-lan-ubuntu20/
ubuntu 20 vnc connect after logout not working
this solution seems correct
https://askubuntu.com/questions/1033274/ubuntu-18-04-connect-to-login-screen-over-vnc
switch the display manager to lightdm, and then bind vnc with x11vnc
Ubuntu 18.04 switched from LightDM to GDM3. Connecting to the login screen with VNC while using GDM3 is currently not possible. The easiest way to get this VNC functionality back is to simply switch back from GDM3 to LightDM.
LightDM is still being actively developed and used by many Linux distributions including some other flavors of Ubuntu. So no worries there.
Install LightDM
apt install lightdm
Should you for some reason come to regret switching to LightDM:
dpkg-reconfigure gdm3
Once you have LightDM installed and configured as your default greeter..
Install x11vnc from packages
apt install x11vnc
Create the file /etc/systemd/system/x11vnc.service
# Description: Custom Service Unit file
# File: /etc/systemd/system/x11vnc.service
[Unit]
Description="x11vnc"
Requires=display-manager.service
After=display-manager.service
[Service]
ExecStart=/usr/bin/x11vnc -loop -nopw -xkb -repeat -noxrecord -noxfixes -noxdamage -forever -rfbport 5900 -display :0 -auth guess
ExecStop=/usr/bin/killall x11vnc
Restart=on-failure
RestartSec=2
[Install]
WantedBy=multi-user.target
Enable the x11vnc service
systemctl enable x11vnc.service
This assumes screen :0 represents your monitor and binds x11vnc to that monitor instead of a session. If you do not have a monitor (headless) you can install the xserver-xorg-video-dummy package and use the dummy driver to configure a virtual :0 screen for you.
https://sites.tufts.edu/cfactory/2022/01/08/ubuntu-20-vnc-connect-after-logout-not-working/
Another post
See how it looks
https://sites.tufts.edu/cfactory/2021/11/30/another-post/
Useful Arduino Projects
GPS low power consumption
https://create.arduino.cc/projecthub/JeremyCook/gps-led-bike-speedometer-c8f956
arduino nema17 motor, a4988 driver
https://lastminuteengineers.com/a4988-stepper-motor-driver-arduino-tutorial/
General purpose
https://sites.tufts.edu/cfactory/2021/11/24/useful-arduino-projects/