I want to install Wine on Mint

  • Make a note of the Ubuntu release that the version of Mint is based on
    • <RELEASE> before “contrib” in the entry in /etc/apt/sources.list
    • sudo nano /etc/apt/sources.list
  • add the Wine repository on our distribution
  • sudo apt-get update
  • sudo apt-get install –install-recommends winehq-stable -y
    • To install development version
    • sudo apt-get install –install-recommends winehq-devel -y
  • wine –version
  • winecfg

Additional troubleshooting help at

Listing devices on Linux

https://www.lifewire.com/how-to-use-linux-to-find-the-names-of-the-devices-on-your-computer-4078068

  • ls – list files in the file system
  • lsblk – list the block devices (i.e. drives)
    • mount| grep /dev/sd – lists mounted partitions
  • lspci – list the pci devices
    • lspci -vv
    • lspci -vvv
  • lsusb – list the USB devices
  • lsdev – list all the devices

List serial ports

https://www.cyberciti.biz/faq/find-out-linux-serial-ports-with-setserial/

Linux uses ttySx for a serial port device name. For example, COM1 (DOS/Windows name) is ttyS0, COM2 is ttyS1 and so on.

  • dmesg |grep tty
  • setserial -g /dev/ttyS[0123]

Driving the 28BYJ-48 5V Stepper Motor with ULN2003 Motor driver Module and Arduino

Datasheet for 28BYJ-48

ULN2003

There is potential for confusion with wiring. See explanation at the link below.

Use an external power source or power module e.g.

Some guides below

 

Using an ESP8266 microchip based Wi-fi module with Arduino

http://esp8266.com

https://en.wikipedia.org/wiki/ESP8266

“The ESP8266 is a low-cost Wi-Fi microchip with full TCP/IP stack and microcontroller capability produced by Shanghai-based Chinese manufacturer Espressif Systems

Arduino core for ESP8266 WiFi chip

brings support for ESP8266 chip to the Arduino environment. It lets you write sketches using familiar Arduino functions and libraries, and run them directly on ESP8266, no external microcontroller required.

ESP8266 Arduino core comes with libraries to communicate over WiFi using TCP and UDP, set up HTTP, mDNS, SSDP, and DNS servers, do OTA updates, use a file system in flash memory, work with SD cards, servos, SPI and I2C peripherals.”

Installing with Boards Manager

Starting with 1.6.4, Arduino allows installation of third-party platform packages using Boards Manager. We have packages available for Windows, Mac OS, and Linux (32 and 64 bit).

  • Install the current upstream Arduino IDE at the 1.8 level or later. The current version is at the Arduino website.
  • Start Arduino and open Preferences window.
  • Enter http://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas.
  • Open Boards Manager from Tools > Board menu and install esp8266 platform (and don’t forget to select your ESP8266 board from Tools > Board menu after installation).

Some getting started tutorials below.

https://www.instructables.com/id/Quick-Start-to-Nodemcu-ESP8266-on-Arduino-IDE/

Setup SSH Public Key authentication to login to a target

  • On your host machine, use ssh-keygen to generate an SSH key pair
    • ssh-keygen -t rsa
      • Follow the prompts
        • choose the <location> for the file
        • choose a <keyname> e.g. id_rsa_name_of_target
        • set a strong password to unlock the private key
        • default key-length is 2048-bits (don’t change if you do not understand what you are doing)
        • at the end of this process you will have a private/public keyfile <keyname> and a separate file with only the public key <keyname.pub>
      • N.B the private must never ever leave the host
      • Comprehensive information can be found at the link below information can be found at https://www.ssh.com/ssh/keygen/
  • Output the public key  in the format required by the target e.g. Open Media Vault v2.0 needs the public key to be output in RFC 4716 format
    • ssh-keygen -e -f </location/keyname>
  • Copy the public key to the target.
  • Use the host machine where the private key is stored to login to target server
    • ssh <user>@<IP address of target> -i <location>/<keyname>