Issues with Ubuntu 20.04 on AMD Ryzen 7 4800H and GeForce GTX 1660 Ti
August 4, 2020
· admin
Linux
Ubuntu 20.04
ASUS
UPDATE: Ubuntu 20.10 fixes the issues listed below.
Make Linux use the hardware clock set to local time
Ubuntu sometimes assumes that the hardware clock of the computer is set to GMT. If the hardware clock is set to local time, set UTC=no in /etc/default/rcS.
Move and secure the MySQL data directory
By default, the data directory of MySQL is /var/lib/mysql. This can be a security issue, especially on a laptop. If your home directory is encrypted, you can easily secure you MySQL data. Backup you data before using this information. Read the procedure until the end before doing anything.
First, follow these steps to move the data directory of MySQL.
Interrupt NodeMCU init.lua
November 24, 2015
· admin
Linux
ESP8266
NodeMCU
IoT
Internet of Things
It can be sometimes challenging to regain control of the NodeMCU running on a ESP8266 when init.lua has a tight loop in it. To do so, first, download esptool.py from GitHub.
Execute the following command
Make an Apache2 SSL server more secure
These easy steps will improve significantly the security of your Apache2 SSL server. Edit your /etc/apache2/mods-enabled/ssl.conf file and replace the SSLProtocol, SSLCipherSuite and SSLHonorCipherOrder parameters with the following values.
SSLCipherSuite ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA
SSLHonorCipherOrder on
SSLProtocol all -SSLv2 -SSLv3
How to Install libnfc for PN532 NFC Readers on Linux
February 25, 2015
· admin
Ubuntu 11.10
Ubuntu 11.04
Ubuntu
Linux
Ubuntu 12.04
Ubuntu 14.04
PN532
GO2NFC
Installing libnfc for PN532 based NFC reader is not exactly as described in the documentation. Some information is scattered in the documentation. This installation guide has been tested with the GO2NFC GO2NFC141U NFC Reader and the Adafruit PN532 NFC/RFID controller breakout board.
1) Install the dependencies:
sudo apt-get install libusb-0.1-4 libusb-dev libpcsclite1 libpcsclite-dev libccid pcscd
2) Create the configuration directory
sudo mkdir -p /etc/nfc/devices.d/
3) Create the file /etc/nfc/devices.d/pn532\_uart.conf containing
name = "PN532 board via UART"
connstring = pn532_uart:/dev/ttyACM0
allow_intrusive_scan = true
Replace ttyACM0 with ttyUSB0 if you are using the Adafruit reader.
5) Create the file /etc/nfc/libnfc.conf containing
allow_autoscan = true
6) Download the libnfc library at https://bintray.com/nfc-tools/sources/libnfc. Decompress the archive somewhere. Go into the libnfc-x.x.x directory.
7) Build the library
sudo ./configure --sysconfdir=/etc --prefix=/usr --with-drivers=pn532_uart
sudo make
sudo make install
8) Test your installation. Execute the command utils/nfc-scan-device. You should get an output similar to this one:
nfc-scan-device uses libnfc 1.7.1
1 NFC device(s) found:
- pn532_uart:/dev/ttyACM0:
pn532_uart:/dev/ttyACM0
How To Setup an Internet Gateway using Ubuntu
February 18, 2015
· admin
Ubuntu 11.10
Ubuntu 11.04
Ubuntu
Linux
Ubuntu 12.04
Ubuntu 14.04
Networking
Setting up an Internet Gateway using Ubuntu is pretty straight forward. In order to do so, you will need:
Java Applets are no longer working in Linux
September 24, 2014
· admin
Linux
Ubuntu 14.04
Java Applets
Chrome
NPAPI support was dropped in Chrome version 35 introduced in Spring 2014. One of the consequences is that Java Applets running with IcedTea no longer works.
Upgrading to Ubuntu 14.04 install the newest version of Chrome. You then lose the ability to run IcedTea in Chrome. The only alternative I have found is using Firefox.
How to restore the Arduino Bootloader?
It can be easily done using Linux. This procedure is for the 328p processor. It can easily be adapted for a 168 processor. You will need an ICSP. First, make sure that avrdude is installed. It can be installed by issuing the command:
sudo apt-get install avrdude
You will need to retrieve the bootloader. It can be found in the hardware/arduino/bootloaders/atmega directory in the 1.0.5 Arduino IDE download. It is named ATmegaBOOT\_168\_atmega328.hex.
Tags
- All
- 3D Printing
- ABS
- Android
- apache
- Arduino
- ARPI600
- ASUS
- automation
- Battlefield
- Blogroll
- Certificate
- Chrome
- Cree
- Cura
- Database
- Debian
- Eclipse
- Electronic Component
- ESP8266
- Firewall
- Games
- GCode
- General
- GIT
- GitHub
- GO2NFC
- Handbrake
- Hardware
- Internet of Things
- IoT
- Java Applets
- Linux
- MAC OS X
- Management
- Mantis
- Marlin
- memcache
- Mountain Lion
- MySQL
- Networking
- NodeMCU
- NVIM
- object
- Octoprint
- openssl
- Photos
- PHP
- phpMyAdmin
- PN532
- postfix
- Prusa Mendel
- Ralink
- Raspberry PI
- RaspberryPI
- Raspbian
- Router
- RT5572
- SSH
- STM32
- Tomcat
- Trinket
- Ubuntu
- Ubuntu 11.04
- Ubuntu 11.10
- Ubuntu 12.04
- Ubuntu 14.04
- Ubuntu 15.04
- Ubuntu 20.04
- Unity
- Unix
- Video
- Virtual Box
- Wheezy
- WiFI
- Windows
- Windows 8
- Wink
- WordPress