-
-
Save wgentine/b7da6bd80c0a29122ab08e4d6f88af43 to your computer and use it in GitHub Desktop.
Revisions
-
francoism90 revised this gist
Dec 30, 2018 . 2 changed files with 2 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,6 +8,4 @@ nvram set 1:maxp2ga2=0x72 nvram set wl_txpower=500 nvram set wl0_txpower=500 nvram set wl1_txpower=500 nvram commit This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -30,7 +30,7 @@ nvram commit service restart_wireless # To increase TX-power # init-script may be needed to force changes nvram set 0:maxp2ga0=114 nvram set 0:maxp2ga1=114 nvram set 0:maxp2ga2=114 -
francoism90 revised this gist
Dec 30, 2018 . 2 changed files with 13 additions and 21 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ #!/bin/sh nvram set 0:maxp2ga0=114 nvram set 0:maxp2ga1=114 nvram set 0:maxp2ga2=114 nvram set 1:maxp2ga0=0x72 nvram set 1:maxp2ga1=0x72 nvram set 1:maxp2ga2=0x72 nvram set wl_txpower=500 nvram set wl0_txpower=500 nvram set wl1_txpower=500 nvram commit logger -st "($(basename $0))" $$ "***SUCCESS Increased TX-power!" This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,21 +0,0 @@ -
francoism90 renamed this gist
Oct 29, 2018 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ #!/bin/sh # chmod a+x /jffs/scripts/services-start # Called after all other system services have been started at boot if [ "$(nvram get wlready)" == "1" ]; then # Only start if WLAN is ready @@ -13,6 +13,8 @@ then # Only start if WLAN is ready nvram set wl_txpower=500 nvram set wl0_txpower=500 nvram set wl1_txpower=500 nvram commit service restart_wireless logger -st "($(basename $0))" $$ "***SUCCESS Increased TX-power!" else logger -st "($(basename $0))" $$ "***ERROR Router cannot set TX-power!" -
francoism90 revised this gist
Oct 29, 2018 . 2 changed files with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ # Login into router using SSH and execute listed commands (AT OWN RISK!). # See: http://whatsyourrouter.com/mybb/showthread.php?tid=387 nvram set asuscfe0:ccode=US nvram set asuscfe1:ccode=US nvram set asuscfe0:regrev=0 @@ -29,6 +30,7 @@ nvram commit service restart_wireless # To increase TX-power # post-mount script may be needed nvram set 0:maxp2ga0=114 nvram set 0:maxp2ga1=114 nvram set 0:maxp2ga2=114 This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ #!/bin/sh # chmod a+x /jffs/scripts/post-mount # Called just after a partition got mounted -
francoism90 revised this gist
Oct 29, 2018 . 1 changed file with 18 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ # chmod a+x /jffs/scripts/post-mount # Called just after a partition got mounted if [ "$(nvram get wlready)" == "1" ]; then # Only start if WLAN is ready nvram set 0:maxp2ga0=114 nvram set 0:maxp2ga1=114 nvram set 0:maxp2ga2=114 nvram set 1:maxp2ga0=0x72 nvram set 1:maxp2ga1=0x72 nvram set 1:maxp2ga2=0x72 nvram set wl_txpower=500 nvram set wl0_txpower=500 nvram set wl1_txpower=500 logger -st "($(basename $0))" $$ "***SUCCESS Increased TX-power!" else logger -st "($(basename $0))" $$ "***ERROR Router cannot set TX-power!" fi -
francoism90 revised this gist
Oct 29, 2018 . 1 changed file with 11 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -27,3 +27,14 @@ nvram commit nvram set "wl1_chanspec=149/80" nvram commit service restart_wireless # To increase TX-power nvram set 0:maxp2ga0=114 nvram set 0:maxp2ga1=114 nvram set 0:maxp2ga2=114 nvram set 1:maxp2ga0=0x72 nvram set 1:maxp2ga1=0x72 nvram set 1:maxp2ga2=0x72 nvram set wl_txpower=500 nvram set wl0_txpower=500 nvram set wl1_txpower=500 -
francoism90 revised this gist
Oct 29, 2018 . No changes.There are no files selected for viewing
-
francoism90 revised this gist
Oct 29, 2018 . No changes.There are no files selected for viewing
-
francoism90 revised this gist
Oct 28, 2018 . 1 changed file with 16 additions and 19 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,29 +1,26 @@ # http://whatsyourrouter.com/mybb/showthread.php?tid=387 nvram set asuscfe0:ccode=US nvram set asuscfe1:ccode=US nvram set asuscfe0:regrev=0 nvram set asuscfe1:regrev=0 nvram set asuscfecommit=1 nvram set 0:ccode=US nvram set 1:ccode=US nvram set 0:regrev=0 nvram set 1:regrev=0 nvram set wl0_country_code=US nvram set wl1_country_code=US nvram set wl0_country_rev=0 nvram set wl1_country_rev=0 nvram set wl0_reg_mode=off nvram set wl1_reg_mode=off nvram set regulation_domain=US nvram set regulation_domain_5G=US nvram set pci/1/1/ccode=US nvram set pci/2/1/ccode=US nvram set wl0_country=US nvram set wl1_country=US nvram commit # If changing 5G in the interface doesn't work: # https://www.snbforums.com/threads/changing-channel-width-from-terminal.12432/ -
francoism90 created this gist
Oct 28, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ # http://whatsyourrouter.com/mybb/showthread.php?tid=387 nvram set 0:regrev=0 nvram set 1:regrev=0 nvram set 0:ccode=#a nvram set 1:ccode=#a nvram set pci/1/1/ccode=#a nvram set pci/1/1/regrev=0 nvram set pci/2/1/ccode=#a nvram set pci/2/1/regrev=0 nvram set regulation_domain=#a nvram set regulation_domain_5G=#a nvram set wl_country_code=#a nvram set wl_country_rev=0 nvram set wl0_country=#a nvram set wl0_country_code=#a nvram set wl0_country_rev=0 nvram set wl0_reg_mode=off nvram set wl1_country=#a nvram set wl1_country_code=#a nvram set wl1_country_rev=0 nvram set wl1_reg_mode=off nvram unset asuscfeterritory_code nvram set asuscfecommit=1 nvram unset territory_code nvram commit reboot # If changing 5G in the interface doesn't work: # https://www.snbforums.com/threads/changing-channel-width-from-terminal.12432/ nvram set "wl1_chanspec=149/80" nvram commit service restart_wireless