Skip to content

Commit

Permalink
2021.01.16
Browse files Browse the repository at this point in the history
  • Loading branch information
seud0nym committed Jan 16, 2021
1 parent db77119 commit 8a5caa8
Show file tree
Hide file tree
Showing 10 changed files with 1,230 additions and 419 deletions.
27 changes: 26 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,49 @@
{
"cSpell.words": [
"ADSL",
"ALG's",
"ALGs",
"Ansuel",
"BOOTP",
"Chex",
"Customise",
"DECT",
"DLNA",
"Modernises",
"Optimiser",
"PPTP",
"RTFD",
"RTSP",
"SLAAC",
"SNMP",
"SSID's",
"SSIDs",
"airiq",
"autogreeen",
"bulkdata",
"contentsharing",
"coredump",
"customisation",
"customised",
"cwmp",
"dumaos",
"excludable",
"favicon",
"ifname",
"includable",
"iperf",
"lotagent",
"minidlna",
"mmpbx",
"multiap",
"mwan",
"opkg",
"proto",
"rsyncd",
"ssid",
"unhide",
"xtra"
"unhiding",
"xtra",
"xzvf"
]
}
21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Skip any of these steps that you have already done.
1. Root your device (see https://hack-technicolor.rtfd.io) and ensure it is running a supported firmware version.
2. [Download](https://github.com/seud0nym/tch-gui-unhide/releases/latest) the latest release for your firmware.
3. Copy the downloaded file(s) into the /root or /tmp directory of your device, or onto your USB stick (I normally use a USB stick so that the scripts are not lost if the device is reset, otherwise I use /root so the scripts are in the root user home directory).
4. Change to the directory containing the release, aand extract the files using the command: `tar -xzvf <filename>`
4. Change to the directory containing the release, and extract the files using the command: `tar -xzvf <filename>`
5. Set the optimal bank plan. Run `./show-bank-plan` to see if your bank plan is optimal,and if not, execute: `./set-optimal-bank-plan` (*WARNING: This will reboot your device*)
6. Harden root access and disable un-needed services with the [`de-telstra`](https://github.com/seud0nym/tch-gui-unhide/tree/master/utilities#de-telstra) script. Run `./de-telstra -?` to see available options, or for some sensible settings, just execute: `./de-telstra -A`
7. Change the root password by executing: `passwd`
Expand Down Expand Up @@ -88,24 +88,28 @@ Some hidden screens included on the device are not enabled, mainly because they
- **Gateway** card now has current device status for CPU usage, free RAM and temperature
- **Broadband** card shows current upload/download volume, and average per day
- **Internet Access** and **LAN** cards now show IPv6 information
- **Internet Access** screen allows you to specify a static IPv6 address (in static connection mode)
- **Internet Access** screen allows you to specify the WAN Supervision mode, both IPv4 and IPv6 custom DNS Servers, and to set a static IPv6 address (in static connection mode)
- **Local Network** allows enabling/disabling of DHCPv6 and SLAAC
- **WiFi** card auto-updates to reflect SSID status (e.g. when Time of Day Wireless Access Controls rules enable or disable SSIDs)
- **WiFi Boosters** card (only for devices with multiap installed - i.e. DJA0230 and DJA0231)
- **Devices** card auto-refreshes, and also shows separately the count of WiFi devices connected via a WiFi Booster (only for devices with multiap installed - i.e. DJA0230 and DJA0231)
- **Traffic monitor** tab in Diagnostics
- **Time of Day** card shows the Wireless Control rule count, and correctly applies changes so that they work reliably
- **System Extras** now allows:
- Configure WAN SSH access
- Change the web GUI theme
- **Management** screen allows the theme to be changed from within the GUI, and viewing of running processes
- **Firewall** cards shows whether IPv4 and IPv6 pings are allowed, and the screen allows you to specify src and/or dest zone for user defined rules, and therefore create incoming, outgoing and forwarding rules in either direction (stock GUI only creates lan->wan forwarding rules)
- **Telephony** screen now has a Dial Plans tab to edit the dial plans
- **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

## What else does it do?
- Properly enables SSH LAN access (because if you don't and then disable it through the GUI, you can lose SSH access).
- Modernises the GUI a little bit with a choice of light, dark (night) or Telstra (Classic or Modern) theme. See Themes below.
- Optionally enables or disables default user access (i.e. no login required to access the Web interface)
- Optionally enables or disables default user access (i.e. no login required to access the Web interface).
- Allows you to change the sequence of the cards and their visibility. See Cards below.
- Optionally uses a decrypted text field (instead of masked password field) for SIP Profile passwords.

### 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.
Expand Down Expand Up @@ -154,7 +158,7 @@ The above command will only work if run from a supported firmware version, with

Alternatively, you can download the release for your firmware version to your computer and then upload it up to your device using WinSCP or equivalent. Run the `tar -xzvf <filename>` command to extract the release files.

The best location for the scripts on your device is on a USB stick, so that if you need to reset or re-apply the firmware, the scripts will still be available without needing to uplpad them to the device again. Otherwise, I normally put them in the /root directory (the root user home directory) so they are available as soon as you log in without changing to another directory. /tmp is also suitable.
The best location for the scripts on your device is on a USB stick, so that if you need to reset or re-apply the firmware, the scripts will still be available without needing to upload them to the device again. Otherwise, I normally put them in the /root directory (the root user home directory) so they are available as soon as you log in without changing to another directory. /tmp is also suitable.

#### Harden your root access
It is recommended that you apply whatever hardening (such as the [`de-telstra`](https://github.com/seud0nym/tch-gui-unhide/tree/master/utilities#de-telstra) script) and other configuration changes you want to make *before* executing the script, as some features are enabled or disabled depending on the current configuration of the target device.
Expand Down Expand Up @@ -189,6 +193,9 @@ The script accepts the following options:
- -l y|n
- Keep the Telstra landing page (y) or de-brand the landing page (n)
- The default is current setting, or (n) if no theme has been applied
- -p y|n
- Use decrypted text field (y) or masked password field (n) for SIP Profile passwords
- The default is current setting (i.e. (n) by default)
- -T
- Apply the theme settings *ONLY*. All other processing is bypassed.
- -y
Expand All @@ -206,7 +213,7 @@ NOTE: The theme options (-t, -c and -i) do not need to be re-specified when re-r

The `tch-gui-unhide` script is a short-cut to the actual script for your firmware, which is named `tch-gui-unhide-<version>` (e.g. `tch-gui-unhide-18.1.c.0462`). If you get a "Platform script not found" error running this script, download the correct release for your firmware configuration.

The firmware version will be checked during execution. If it does not match the target version, you will be prompted to exit or force execution. This is **YOUR** decision to proceeed.
The firmware version will be checked during execution. If it does not match the target version, you will be prompted to exit or force execution. This is **YOUR** decision to proceed.

The script will restart and reload services for which it has modified configuration. Subsequent executions will not re-apply configuration already set correctly, and therefore will not restart services unnecessarily.

Expand All @@ -217,7 +224,7 @@ To see the updated logo and icons and to correctly apply the updated style sheet
- The script changes will not persist a reset or restore. If you factory reset your device, or restore to it a state before you applied the script, or upgrade/install firmware, you will need to run the script again!

# Cards
The `tch-gui-unhide-cards` is an iteractive script that allows you to re-order and change the visibility of the cards. When you execute it, it will display the current card configuration. Follow the on-screen prompts to re-order and hide/show cards.
The `tch-gui-unhide-cards` is an interactive script that allows you to re-order and change the visibility of the cards. When you execute it, it will display the current card configuration. Follow the on-screen prompts to re-order and hide/show cards.

**NOTE:** You must execute `tch-gui-unhide` *BEFORE* running `tch-gui-unhide-cards`!

Expand Down
38 changes: 28 additions & 10 deletions VERSION.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
2021.01.16
==========
* tch-gui-unhide: Added Network Operators to Mobile tabs to add/edit MCC/MNC values
* tch-gui-unhide: Added auto refresh to Telephony card
* tch-gui-unhide: Stop all auto-refreshes when any modal opened
* tch-gui-unhide: Fixed icon display issue on Telstra Classic theme [#19]
* tch-gui-unhide: Allowed add/delete of dial plan entries
* tch-gui-unhide: Clarified PoS on Telephony Codecs tab
* tch-gui-unhide: Allow entry of SIP Domain Name and Realm
* tch-gui-unhide: Optionally use a decrypted text field (instead of masked password field) for SIP Profile passwords
* tch-gui-unhide: Allow assignment of IPv6 address to router via DHCP without LAN prefix
* tch-gui-unhide: Show individual helper status on NAT Helpers card
* tch-gui-unhide: Moved WAN Sensing L3 status from Internet Access card to Broadband card with L2 status
* tch-gui-unhide: Added DNS Server IPs to Internet card [#20]
* tch-gui-unhide: Standardised IPv4 and IPv6 DNS settings across DHCP/PPPoE/Static Internet Access modal snippets, plus added ability to enable/disable auto-discovery of ISP IPv6 DNS servers
* tch-gui-unhide-xtra.minidlna: Correctly restore /lib/functions/contentsharing.sh after minidlna opkg removed
* tch-gui-unhide-xtra.samba36-server: Correctly restore /lib/functions/contentsharing.sh after samba36-server opkg removed

2021.01.06
==========
* tch-gui-unhide: Added auto refresh to Broadband card
Expand All @@ -21,13 +39,13 @@
* ALL: Fixed "Illegal option -?" message when using -? to determine script optional parameters
* tch-gui-unhide: Fixed bug where Internet access modal was not displaying IP, Gateway and DNS addresses for PPPoE [#17]
* tch-gui-unhide: Fixed bug that displayed NAT ALG helpers as disabled when they were enabled
* tch-gui-unhide: Fixed bug that occassionally prevented theme changes from GUI (permission denied error)
* tch-gui-unhide: Fixed bug that occasionally prevented theme changes from GUI (permission denied error)
* tch-gui-unhide: Fixed static IPv6 address assignment - requires CIDR notation but input field did not allow it
* tch-gui-unhide: Ensure wan6 auto, proto and ifname settings match wan
* tch-gui-unhide: Enabled direct tab links from Management and Telephony cards
* tch-gui-unhide: Device card now correctly counts booster-attached WiFi devices in wireless count, not ethernet count
* tch-gui-unhide: Device modal shows booster-attached WiFi device interface correctly
* tch-gui-unhide: Device modal now does case-insenstive device name sort, and added sorting by IPv4 and IPv6
* tch-gui-unhide: Device modal now does case-insensitive device name sort, and added sorting by IPv4 and IPv6
* tch-gui-unhide: Device modal can now toggle between Active Only and All connected devices by clicking Status heading
* tch-gui-unhide: Disable refresh whilst editing device name
* tch-gui-unhide: Squish IP addresses to fit IPv6 addresses on Internet Access and Local Network cards
Expand All @@ -42,7 +60,7 @@
==========
* tch-gui-unhide: Added modified firewall modal so that you can specify src and/or dest zone for user defined rules, and therefore create incoming, outgoing and forwarding rules in either direction (stock GUI only creates lan->wan forwarding rules)
* tch-gui-unhide: Added new tab to telephony to edit dial plans
* tch-gui-unhide: Added autorefresh to device list and process viewer
* tch-gui-unhide: Added auto-refresh to device list and process viewer
* tch-gui-unhide: Added background update of upload/download volumes on Broadband card
* tch-gui-unhide: Added background update of SSID status on Wireless card
* tch-gui-unhide: Added WAN Supervision to Internet Static Routed Mode snippet
Expand Down Expand Up @@ -74,12 +92,12 @@
* tch-gui-unhide: Fixed Init Management - did not refresh when init scripts added or removed
* tch-gui-unhide: Fixed Process viewer - did not update and refresh button not working
* tch-gui-unhide: Fixed tab highlighting after sorting on Devices and Management screens
* tch-gui-unhide: Fixed inconsistent enabling/disabling of backhaul SSID
* tch-gui-unhide: Fixed inconsistent enabling/disabling of back-haul SSID
* tch-gui-unhide: Fixed Local Network card so that DHCPv6 server not shown as enabled when IPv6 disabled
* tch-gui-unhide: Added ability to enable/disable cron tasks
* tch-gui-unhide: Added ability to enable/disable SLAAC
* tch-gui-unhide: Backported Local Network modal from 17.2.0468 into 17.2.0284
* de-telstra: Inconsistent enabling/disabling of backhaul SSID
* tch-gui-unhide: Back-ported Local Network modal from 17.2.0468 into 17.2.0284
* de-telstra: Inconsistent enabling/disabling of back-haul SSID

2020.11.16
==========
Expand Down Expand Up @@ -127,8 +145,8 @@
* de-telstra: Remove band steering configuration added by Telstra Air script
* de-telstra: Remove Telstra Air firewall rules
* de-telstra: No longer disables SSH WAN access (because it is not on by default, and user may have configured it manually)
* de-telstra: Disable or enable WPS on non-Guest and non-Backhaul SSIDs
* de-telstra: Set SAMBA and DLNA hostnames to hostname (replacing Telstra-Gateway or Telstra-Modem)
* de-telstra: Disable or enable WPS on non-Guest and non-Back-haul SSIDs
* de-telstra: Set SAMBA and DLNA host names to hostname (replacing Telstra-Gateway or Telstra-Modem)
* de-telstra: Removed TLS on DJA0230
* tch-gui-unhide: Added sensor temperatures to gateway card
* tch-gui-unhide: Sort SSIDs on Wireless card with Guests last
Expand Down Expand Up @@ -195,11 +213,11 @@
* tch-gui-unhide: Only show xDSL Config card if WAN interface is DSL
* tch-gui-unhide: Hide Mobile card if no devices found
* tch-gui-unhide: Only show WAN Services card if WAN interface defined
* tch-gui-unhide: Adding favicon accidently replaced the <head> tag
* tch-gui-unhide: Adding favicon accidentally replaced the <head> tag
* tch-gui-unhide: Added Telephony Codecs tab from https://github.com/Ansuel/tch-nginx-gui/tree/master/decompressed/gui_file/www
* de-telstra: Disable bulkdata (Telstra data collection)
* de-telstra: Disable or enable DECT Emission Mode and fixed some display message bugs
* de-telstra: Set SAMBA and DLNA hostnames to hostname (replacing Telstra-Modem)
* de-telstra: Set SAMBA and DLNA host names to hostname (replacing Telstra-Modem)
* de-telstra: Power settings for Ethernet eee and autogreeen were not persisted between reboots

2020.09.17
Expand Down
Loading

0 comments on commit 8a5caa8

Please sign in to comment.