Boot your Raspberry Pi from a USB mass storage device such as a flash drive or USB hard disk. The Raspberry Pi 3 B+ is able to boot from USB without any changes, but the Raspberry Pi 3 B requires the USB boot bit to be set in the OTP (one-time programmmble) memory. To enable the USB boot bit, the Raspberry Pi 3 needs to be booted from an SD card with a config option to enable USB boot mode. Once this bit has been set, the SD card is no longer required. Note that any change you make to the OTP is permanent andRead More →

The perfect android TV box to watch YouTube, Netflix, and 4K videos. It is low priced, Google and Netflix certified, Voice Search remote, Google Cast and low power consumption. Specifications: Dimensions • Length: 101mm • Width: 101mm • Thickness: 19.5mm • Weight: 176.5g (+/- 1g) • Color: Black Basic specs • Output Resolution: Up to 4K 60fps • Processor: Quad-core Cortex-A53 2.0GHz • GPU: Mali 450 750MHz • RAM: 2GB DDR3 • Flash: 8GB eMMC • System: Android TV 8.0 • Security: Widevine L1 + PlayReady 3.0 Wireless connectivity • Wi-Fi: 802.11a/b/g/n/ac, Dual-band Wi-Fi 2.4GHz/5GHz • Bluetooth: Bluetooth 4.0/3.0 Video • VP9 Profile-2 up toRead More →

FDK-AAC encoder was removed from Handbrake from version 0.10.5 onwards, as it can no longer be publicly distributed due to GPL licensing issues. The default AAC encoder Libav is lacking in quality compared to FDK (especially at lower bitrates) as it is only a basic AAC encoder. Fortunately you can still compile HandBrake from source and enable FDK-AAC as a compile-time option. Fire up Ubuntu 18.04 and open a Terminal Window, you should start in your “Home” directory. sudo apt install autoconf automake bison build-essential bzip2 cmake curl flex gcc git gzip g++ intltool libtool libtool-bin m4 make patch pax pkg-config python tar wget yasmRead More →

Since Ubuntu code names are in incremental alphabetical order, we now have Cosmic Cuttlefish after Ubuntu 18.04 Bionic Beaver. Ubuntu 18.10 will be released on 18th October 2018. Ubuntu 18.10 release schedule will be different from previous releases. Unlike the previous releases, there will be no alpha or beta milestones. This will be replaced by ‘testing weeks’. 1. GNOME 3.30 Most of the visual and under the hood changes in GNOME 3.30 will be seen in Ubuntu 18.10 as well. 2. New default theme Ubuntu 18.04 was supposed to have a new look with the community developed Communitheme. This theme could not be completed inRead More →

On 5GHz WiFi there are more channels and less interference, both are important for fast wireless communications. The bandwidth can even be increased multifold by combining channels. 5GHz was introduced in 802.11a, but the radios were expensive and the band didn’t gain popularity. 802.11n was defined for both 2.4GHz and 5GHz bands, which finally launched 5GHz use. The latest 802.11ac is only defined for 5GHz but all devices still support 802.11n and most also on 2.4GHz Channels The 5GHz band is divided into 5MHz channels like the 2.4GHz band. Fortunately only every fourth channel (36, 40, 44…) is used which provides for de facto 20MHzRead More →

Samba has its own user management system. However, any user existing on the samba user list must also exist within /etc/passwd file. If your system user does not exist yet, hence cannot be located within /etc/passwd file, first create a new user using the useradd command before creating any new Samba user. Once your new system user eg. linuxconfig exits, use the smbpasswd command to create a new Samba user: Samba users (sambashare group) sudo smbpasswd -a $USER testparm sudo systemctl restart smbd smbclient -L localhost sudo systemctl status smbdRead More →

The QSV encoder doesn’t have a parameter called CRF. The equivalent ratecontrol method is LA_ICQ. look_ahead should be 1. global_quality can be from 1 to 51. Lower value represents better quality. ~25 should be equivalent to x264 CRF 23. LookAheadDepth, a parameter which specifies the depth of look ahead rate control algorithm. It is the number of frames analyzed before encoding. Valid value range is from 10 to 100. Lookahead is only available on Intel® Iris™ Pro Graphics, Intel® Iris™ Graphics and Intel® HD Graphics on Haswell architecture (4th Generation Core) and forward. Both Interlaced and progressive content is supported. HEVC (10bit): ffmpeg -i input.mp4Read More →

You can configure Postfix MTA to use as a Smarthost i.e. routing all mails to a smarthost. A smarthost can be an external smtpd server provided by SendGrid, AWS, Rackspace, Google apps/Gmail, ISP or your own server in another data center with the help of the relay server. sudo dpkg-reconfigure postfix sudo nano /etc/postfix/main.cf Set myhostname to FQDN ===== myhostname = websrv.example.com # Enable auth smtp_sasl_auth_enable = yes # Set username and password smtp_sasl_password_maps = static:YOUR-SMTP-USER-NAME-HERE:YOUR-SMTP-SERVER-PASSWORD-HERE smtp_sasl_security_options = noanonymous # Turn on tls encryption smtp_tls_security_level = encrypt header_size_limit = 4096000 # Set external SMTP relay host here IP or hostname accepted along with a portRead More →

The good thing about starting a new WordPress website or blog is that you get a chance to set up everything right the first time. When you get it right the first time, there will be no need to go back to fix issues that weren’t setup correctly. sudo apt install php7.2-cgi php7.2-curl php7.2-gd php7.2-xml php7.2-xmlrpc php7.2-mbstring php7.2-zip php7.2-intl php7.2-soap php7.2-ldap sudo nano /etc/php/7.2/apache2/php.ini ===== post_max_size = 100M memory_limit = 256M max_execution_time = 360 upload_max_file_size = 100M date.timezone = Africa/Nairobi ===== sudo nano /etc/apache2/apache2.conf ===== … Directory /var/www/ Options FollowSymLinks AllowOverride All Require all granted ===== sudo nano /etc/apache2/envvars ===== export APACHE_RUN_USER=www-data export APACHE_RUN_GROUP=www-data =====Read More →