Meshtastic – TDeck Plus – FancyUI

The T-Deck Plus is a great LoRa product made by Lillygo that includes all the necessary hardware to use the Meshtastic framework in an easy-to-use form factor.

The problem is the default UI is… awful. It’s designed for small OLED read-only devices, and thus does not take advantage of the Blackberry-eqsue nature of the T-Deck device.

The solution is the “FancyUI” firmware; a development work-in-progress build that offers a much more user friendly UI, and shows some of the potential what the device can become in the future.

You can easily build your own firmware image using GitPod, an online build environemtn. All you need is a free GitHub account to get started.

Create a new Work Space

Access GitPod, and allow GitPod to access your GitHub account to create your new Work Space:

https://gitpod.io/new#https://github.com/meshtastic/firmware

Build the Firmware

Now that the Work Space is up-to-date, we’re ready to build the latest Meshtastic Firmware for our T-Deck-Plus.

First make sure you have the latest files; if this is your first build, the files should be up to date already.

git pull

Next we’ll make a new branch to work with where we build our firmware

git switch tft-gui-work

Now we can init the sub modules that we need

git submodule update --init

And finally build our firmware binaries, this part will take a few minutes(more like 10)

pio run -e t-deck-tft 

Once the build is complete, you’re ready to download the firmware.bin from the path specified in the terminal – /workspace/firmware/.pio/build/t-deck-tft/firmware.bin

To access the files, use the file browser on the left-hand-bar. Right click on the file in the file browser, and click Download to download the firmware.bin to your local PC.

Once we have the firmware.bin on our PC, we’re ready to shut-down the Work Space and flash our T-Deck.

Build Command Summary:

git pull
git switch tft-gui-work
git submodule update --init
pio run -e t-deck-tft 

Flashing the T-Deck

Use the M5Stick Launcher to install the new firmware.bin – https://bmorcelli.github.io/M5Stick-Launcher

Proceed with the initial T-Deck install, then use the Web or SD flasher methods to update the device.

If you are using the Web based method; first login to your Access Point on the T-Deck, then navigate to the IP address provided, and login with the username & password shown.

Click on OTA Update and select the firmware.bin file downloaded from GitPod to install.

Wait for the update to complete and reboot the T-Deck.

Upon the next boot, you should be staring at the T-Deck “FancyUI”, where you’ll need to configure the Region & usual Meshtastic Settings.

Untitled


To find the price per front foot of the property, you need to first calculate the total front footage of the rectangular parcel.

Given:

  • The rectangular parcel is 5.5 acres.
  • It has a depth of 400 feet.

To find the width (or front footage) of the parcel, you first need to find the length. Since 1 acre equals 43,560 square feet:

Now you have the total width (front footage) of the rectangular parcel.

Finally, to find the price per front foot, divide the total amount received by the width:

Price per front foot=$800,000598.95 ftPrice per front foot=598.95 ft$800,000​

Price per front foot≈$1335.67Price per front foot≈$1335.67

So, the price per front foot of the property is approximately $1335.67.

To find the price per front foot of the property, you need to first calculate the total front footage of the rectangular parcel.

Given:

  • The rectangular parcel is 5.5 acres.
  • It has a depth of 400 feet.

To find the width (or front footage) of the parcel, you first need to find the length. Since 1 acre equals 43,560 square feet:

To find the price per front foot of the property, you need to first calculate the total front footage of the rectangular parcel. Given: The rectangular parcel is 5.5 acres. It has a depth of 400 feet. To find the width (or front footage) of the parcel, you first need to find the length. Since 1 acre equals 43,560 square feet: Find the total area of the parcel in square feet: 5.5 acres × 43 , 560 sq ft/acre = 239 , 580 sq ft 5.5 acres×43,560 sq ft/acre=239,580 sq ft Knowing that the area of a rectangle is width multiplied by length, you can rearrange the formula to find the width: � � � � � ℎ = � � � � � � � � ℎ Length=WidthArea​ � � � � ℎ = � � � � � � � � � ℎ Width=LengthArea​ Since the length is the depth given (400 feet): � � � � ℎ = 239 , 580 sq ft 400 ft = 598.95 ft Width=400 ft239,580 sq ft​=598.95 ft Now you have the total width (front footage) of the rectangular parcel. Finally, to find the price per front foot, divide the total amount received by the width: Price per front foot = $ 800 , 000 598.95 ft Price per front foot=598.95 ft$800,000​ Price per front foot ≈ $ 1335.67 Price per front foot≈$1335.67 So, the price per front foot of the property is approximately $1335.67.
  1. Knowing that the area of a rectangle is width multiplied by length, you can rearrange the formula to find the width: �����ℎ=��������ℎLength=WidthArea​����ℎ=���������ℎWidth=LengthArea​
  2. Since the length is the depth given (400 feet): ����ℎ=239,580 sq ft400 ft=598.95 ftWidth=400 ft239,580 sq ft​=598.95 ft

Now you have the total width (front footage) of the rectangular parcel.

Finally, to find the price per front foot, divide the total amount received by the width:

Price per front foot=$800,000598.95 ftPrice per front foot=598.95 ft$800,000​

Price per front foot≈$1335.67Price per front foot≈$1335.67

So, the price per front foot of the property is approximately $1335.67.

Online.net IPv6 Setup Script

Someone on LowEndTalk recently posted a great script to automatically configure IPv6 on Online.net’s dedicated servers.  Since I’ve recently been using one of their 2EUR Kidéchire specials as a Deluge & SABnzbd box I found this quite useful.

Script Usage:

This script is designed to be run on an Online.net Dedicated Server, it has been tested on:

  • Debian 7
  • Ubuntu 14.04
  • CentOS 7
  • Proxmox VE w/ OVZ (see Issue #1)

Updated 01-23-2017

wget www.sonicboxes.com/scripts/online_net_ipv6_dhclient_Jan17.tar.gz
tar -xf online_net_ipv6_dhclient_Jan17.tar.gz
cd ipv6-dhclient-script
chmod 755 ipv6_dhclient_online_net.sh
./ipv6-dhclient-script.sh <interface> <address block> <subnet> <duid>

Example:

All of the required information can be found on your Online.net Network configuration page (console.online.net >> Server >> Network configuration).  It should look like this:

Online.net IPv6 Example Settings

In this example, we’ll be adding the subnet 2001:0bc7:5555:101::/64 to our dedicated server via the following command:

./ipv6-dhclient-script.sh eth0 2001:0bc7:5555:101:: 64 00:04:01:07:c7:b8:2f:13:d5:a8

Next we’ll want to add some addresses from the /64 block to the server:

/sbin/ifconfig eth0 inet6 add 2001:0bc7:5555:101::1
/sbin/ifconfig eth0 inet6 add 2001:0bc7:5555:101::2

Your server should now have outgoing IPv6 connectivity and you should be able to ping the assigned address, in this example – 2001:0bc7:5555:101::1, from an outside network.

Source: GitHub – LowEndTalk Thread

BitTorrent – Deluge WebUI Install Script

Deluge is a BitTorrent client written in python based on libtorrent. Deluge is my favorite  BitTorrent client because it’s got some great features like:

09/08/16 – Updated for Deluge 1.3.13 – Tested on  Debian 8/Ubuntu 16.04

  • It’s Fast!
  • Full Encryption Support
  • Cross-Platform Support
  • Thin Client Mode
  • Great Web-UI
  • Plugin System

Not only have I found Deluge to be faster than many of the other BitTorrent clients that I have tried but, it’s also simple to setup and reasonably lightweight in terms of resources. Packaged versions of Deluge can be a bit old and not up to snuff, so I’ve written a  simple bash script that will automatically install the latest version of Deluge from it’s source.  The entire process, on a freshly installed VPS, takes approximately 5 minutes.

Read More

Observium Client Setup Script

Observium is a neat PHP based system monitoring platform that I’ve been using lately, it’s fairly easy to install (Observium + Nginx/PHP-FPM install guide Coming Soon!) and provides a large variety of easy to read graphs of system information.

Observium is an autodiscovering SNMP based network monitoring platform written in PHP which includes support for a wide range of network hardware and operating systems including Cisco, Windows, Linux, HP, Dell, FreeBSD, Juniper, Brocade, Netscaler, NetApp and many more.

From the Official Observium Wiki

After the initial task of Observium host installation and configuration, you need install and configure SNMP daemon on all of your client servers, aka all the servers that you want to monitor.  This can be quite annoying if you’re monitoring more then a handful of servers, thus I have taken the time to write bash script for installation of the SNMP daemon on a client server.

Read More

LXDE + NoMachine Low Memory Auto-Install Script

This is a little script I’ve been tinkering with for a bit now, it installs LXDE + NoMachine for remote desktop access.  It’s a minimalist script based around low ram usage (perfect for LEBs!), it just installs a bare desktop, a web browser(iceweasel) and a means to access it, any other programs i.e. VPN, torrent client, etc.. must be installed by the user.

Update 1/05/15: An Android/iOS client is now available for NoMachine, please see the links below for the APK/iOS store link.  I’ll be adding a configuration guide for the Android client shortly.

Update 3/24/14: Fixed an issue with package and client URLs not resolving, also fixed a bug in the libcairo section of the script.  Please continue to report your feedback.

Usage:

wget http://www.sonicboxes.com/nx/autolxde.sh
chmod 755 autolxde.sh
./autolxde.sh

At the end of the script you will be asked if you want to create a user,

You cannot login to NoMachine as root
If you already have a non-root user, you don’t have to add another.

Add a new user? (y/n)

If you have already created a user enter n, if you have not created a user and only have the root then you should enter y and create a user at this time.  You will be prompted you the username and desired password. Read More