Skip to content

Commit

Permalink
Release 2021.11.07
Browse files Browse the repository at this point in the history
  • Loading branch information
seud0nym committed Nov 7, 2021
1 parent 8b0b8cd commit ed15d5a
Show file tree
Hide file tree
Showing 6 changed files with 8,030 additions and 7,870 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
2021.11.07
==========
* tch-gui-unhide: Added "Voice on Failover" switch to Telephony Global tab and Mobile Auto-Failover tab to allow SIP Network interface to switch automatically between WAN and WWAN on failover/failback
* tch-gui-unhide: Disabled changing of SIP Network interface when WAN Sensing enabled (because WAN Sensing maintains the SIP Network interface)
* tch-gui-unhide: Moved DNS Servers from Internet Access to new card, and migrated custom DNS servers configured on network interfaces to dnsmasq, so that custom DNS servers are applied consistently across connection modes (including mobile connections #47)
* tch-gui-unhide: WoL over Internet fix for FW 20.3.c not applied to new card helper introduced in v2021.09.27
* tch-gui-unhide: Fixed SMS transformer mapping in FW 17.2
* tch-gui-unhide: Fixed DDNS error detection in FW 17.2
* tch-gui-unhide: Handled invalid SMS unread message count
* de-telstra: -n option now sets custom DNS servers via dnsmasq rather than on WAN network interface

2021.10.24
==========
* tch-gui-unhide: Allow hostname to be changed via GUI
Expand Down
30 changes: 20 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ Skip any of these steps that you have already done.
2. Execute: `./tch-gui-unhide -U`
- You do not need to re-specify the parameters you initially used when installing, as they are persisted with the installation (but you can apply any new or changed options as you need).

Read on for the long version...
Alternatively, you can upgrade from within the GUI when a new upgrade becomes available.

*Read on for the long version...*

## Why not just use https://github.com/Ansuel/tch-nginx-gui?
When I first acquired root access to my DJA0231, I applied tch-nginx-gui because I had used it for some time on my Technicolor TG800vac, and found it very good. However, on the DJA0231, I encountered various problems after reboots, such as loss of customised SSID's and IP addresses, loss of root in one instance, the admin password got reset to Telstra default, and so on.

So, I set out to enable whatever hidden features were included with the firmware by default, without making significant changes to the GUI code so as to maintain stability, and to try and make it almost as pretty as the tch-nginx-gui. Since then, it has been expanded to incorporate some features of the Ansuel GUI, but the original goal of stability is unchanged. No features are enabled if stability is compromised. The aim of this script is to make as few changes as possible to be as stable as possible, but also to unlock as many features as is practicable. Each download also only targets a specific firmware version, to try and ensure that the feature set matches the firmware capabilities and variations.
So, I set out to enable whatever hidden features were included with the firmware by default, without making significant changes to the GUI code so as to maintain stability, and to try and make it almost as pretty as the tch-nginx-gui. Since then, it has been expanded to incorporate some features of the Ansuel GUI, and some additional custom features, but the original goal of stability is unchanged. No features are enabled if stability is compromised. The aim of this script is to make as few changes as possible to be as stable as possible, but also to unlock as many features as is practicable. Each download also only targets a specific firmware version, to try and ensure that the feature set matches the firmware capabilities and variations.

## What GUI features are unlocked?
- Configuration export/import, and the export file name is changed from *config.bin* to *[email protected]* (i.e. it includes the hardware type, serial number, firmware version and the current date)
Expand Down Expand Up @@ -74,10 +76,7 @@ Some hidden screens included on the device are not enabled, mainly because they
- Allow VLAN ID tagging
- **Internet** allows:
- Set connection parameters
- Specify DNS servers used by the device
- Additional tabs and features on the **IP Extras** (now IP Routing) card/screen:
- Customise DNS by network interface
- Policy routing for mwan
- Bridge grouping
- DoS protection
- Modified **System Extras** card to show:
Expand All @@ -96,6 +95,7 @@ Some hidden screens included on the device are not enabled, mainly because they

### Additional (new) GUI Features
- **Chart Cards** showing CPU utilization, RAM, and WAN Download/Upload Mb/s over the last minute
- **DNS** card to manage custom DNS servers
- **Gateway** card now has current device status for CPU usage, free RAM and temperature
- **Broadband** card auto-updates and shows todays upload/download volume
- **Broadband** screen has a new tab to show daily and monthly usage history
Expand Down Expand Up @@ -135,10 +135,12 @@ Some hidden screens included on the device are not enabled, mainly because they
- Port forwarding rules (moved from WAN Services)
- All Packet Filter, NAT, Mangle and Raw rules
- If NAT Helpers card is hidden, then an extra tab is added to the firewall GUI
- DNS Interception configuration
- **Telephony** card shows call statistics (number of calls in, missed and out)
- **Telephony** screen now has a Dial Plans tab to edit the dial plans, and you can optionally show the decrypted SIP passwords on the Profiles tab
- **Mobile** screen now has a Network Operators tab to modify the allowed Mobile Country Code (MCC) and Mobile Network Code (MNC) combinations, plus shows the device capabilities
- **Mobile** SMS tab now has the ability to send an SMS (not applicable if using the Telstra Backup SIM)
- **Mobile** new Auto-Failover tab to configure global settings and failover timeouts
- **Packages** card to manage opkg packages
- **QoS** screen now has support for upload shapers (FW 18+ only) and shows classify/reclassify rules
- **IP Routing** screen allows you to define custom DNS entries
Expand All @@ -153,11 +155,19 @@ Some hidden screens included on the device are not enabled, mainly because they
- Protects against loss of root when doing a factory reset via the GUI, by preserving the password files and dropbear (SSH) configuration

### Custom DNS Servers
- If a file called *ipv4-DNS-Servers* and/or *ipv6-DNS-Servers* is found in the directory from which the script is invoked, the contents will be added to the list of DNS Servers on the **Local Network** screen.
There are 2 different sets of custom DNS Servers: those used by the device itself, and those sent to LAN clients via DHCP.

#### Device DNS Servers
Device custom DNS Servers can be configured on the the DNS card. The DNS servers will be used whenever the device handles a DNS request. For example, by default these devices are configured to send the device IP address to LAN clients with the DHCP request. LAN clients DNS requests are then sent to the DNS servers shows on the DNS card.

#### LAN Client DNS Servers
By default, these devices are configured to send their own IP address to LAN clients via DHCP for DNS resolution by the LAN client. You can also select alternate public DNS servers sent via DHCP from lists on the **Local Network** screen.

The contents of these file are simply the hostname and IP address, which are separated by a space. Multiple servers may be added, each on its own line.
If a file called *ipv4-DNS-Servers* and/or *ipv6-DNS-Servers* is found in the directory from which the `tch-gui-unhide` script is invoked, the contents will be added to the lists of DNS Servers on the **Local Network** screen.

For example, my *ipv4-DNS-Servers* and *ipv6-DNS-Servers* files consists of my main and backup [Pi-hole](https://pi-hole.net/) servers:
The contents of these file are simply the hostname and IP address, which are separated by a space. Multiple servers may be added, each on its own line.

For example, my *ipv4-DNS-Servers* and *ipv6-DNS-Servers* files consists of my main and backup [Pi-hole](https://pi-hole.net/) servers:
```
Pi-hole 192.168.0.168
Pi-hole-VM 192.168.0.192
Expand All @@ -167,6 +177,8 @@ Some hidden screens included on the device are not enabled, mainly because they
Pi-hole-VM fe80::1:22:3300:444
```

Once the `tch-gui-unhide` script has been run, these servers will appear in the lists on the **Local Network** screen.

### Firmware Versions 0468 and Later
*PLEASE NOTE: Since release 2020.11.20, Custom DNS Servers (above) can now be specified for all supported releases, including FW 17.2.0284.*

Expand All @@ -178,8 +190,6 @@ All configuration changes are applied using the *uci* command interface to updat

GUI changes are implemented by making edits on the existing files, or adding new/replacement files.

No new executables are added to the system outside of the GUI changes.

## How do I run it?
Basically, the steps are:

Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2021.10.24
2021.11.07
Loading

0 comments on commit ed15d5a

Please sign in to comment.