Commit Graph

5380 Commits (2021.5)
 

Author SHA1 Message Date
pedro fcdd0db047 router: Makefile: libcurl: fix build break
- add --disable-threaded-resolver to fix build break
- enable IPv6 only if IPv6 is really enabled
- remove old option --disable-thread
6 years ago
pedro 4a81f4b6d9 router: Makefile: php: remove deprecated option - --without-mcrypt 6 years ago
pedro ffd8306d6a OpenVPN: some improvements
- updown-client.sh: remove unneeded dnsmasq restart
- vpnrouting.sh: add a FW restart instead of a simple local script call - when kill switch will be ready, it can be change back
6 years ago
Not Sure 39f584c12c Merged in notsure2/freshtomato-arm/multiwan-ppp-restart-race (pull request #22)
Fix race condition between ppp watchdog and redial (for keepalive mode).

Approved-by: pedro <pedro311@gmail.com>
Approved-by: kille72 <mail@exotic.se>
6 years ago
notsure2 0d4bb547a2 Fix race condition between ppp watchdog and redial (for keepalive mode).
Note: For demand mode there still exists an issue where start_wan_done
and the WAN UP script may be called concurrently due to being called
from start_tmp_ppp and again by ip-up if pppd is dialed by an outgoing
packet before start_tmp_ppp finished execution.

It is up to the WAN UP scripts to guard against this condition by
avoiding using demand mode, or by using an temp nvram variable or
PID file as a mutex and also checking the output of wanuptime for
the wan interface of interest.
6 years ago
notsure2 4750a8c45e Fix race condition between ppp watchdog and redial (for keepalive mode).
Note: For demand mode there still exists an issue where start_wan_done
and the WAN UP script may be called concurrently due to being called
from start_tmp_ppp and again by ip-up if pppd is dialed by an outgoing
packet before start_tmp_ppp finished execution.

It is up to the WAN UP scripts to guard against this condition by
avoiding using demand mode, or by using an temp nvram variable or
PID file as a mutex and also checking the output of wanuptime for
the wan interface of interest.
6 years ago
pedro c474d57f0a OpenVPN: some improvements
- updown-client.sh: remove unneeded dnsmasq restart
- vpnrouting.sh: add a FW restart instead of a simple local script call - when kill switch will be ready, it can be change back
6 years ago
M_ars ed7c2e44ad WZR-1750DHP: change LED table (Part 2) - assign GPIO 0 with color blue for LED_USB / USB LED (active HIGH)
==> So 8 LEDs (GPIO 0 to 7, all active HIGH) in total connected via SPI shift register

Note / Hint: right now NO LED for that router should work, because we have no shift register support yet at arm branch. (MIPS branch does have support --> tbd.)

SPI shift register connected to the GPIOs:

gpio-sck = GPIO 7;
gpio-mosi = GPIO 4;
cs-gpio = GPIO 6;
fairchild 74hc595

Reference:
9faa5960ee/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
6 years ago
M_ars f2947364b5 GUI: admin-buttons.asp - remove brau mask (not needed/used at ARM branch) - add note section for Startup LED 6 years ago
M_ars 36ffca1402 rc: button.c - turn on Power LED again (LED_AOSS) after WPS- OR WLAN- Button has been pressed (small fix/special case for Asus Router, because LED_AOSS is not inverted anymore after latest LED changes)
tested with RT-N18U, working correct now :-)
(RT-N18U does not have a wlan button like RT-AC56U, RT-AC68U ...)

Hint: RT-AC3200 at sdk7 with extra commit
6 years ago
M_ars 8b98cd579a rc: button.c - turn on Power LED again (LED_AOSS) after WPS- OR WLAN- Button has been pressed (small fix/special case for Asus Router, because LED_AOSS is not inverted anymore after latest LED changes)
Hint: Prepare sdk7 (RT-AC3200) for merge with sdk6 and some cosmetic
6 years ago
pedro 4681d457a2 wwansignal: fix problems with signal level and LAC value on some modems (ie. Huawei E8372)
- Ref: https://www.linksysinfo.org/index.php?threads/fork-freshtomato-arm.74117/page-26#post-305675
6 years ago
kille72 4ffa4895ff Revert "libcurl: Updated to 7.65.1"
This reverts commit 822e189a29.

- something wrong with this release (error 48 with no additional info)
6 years ago
M_ars 0f59b93e8f WZR-1750DHP: change LED table (Part 2) - assign GPIO 0 with color blue for LED_USB / USB LED (active HIGH)
==> So 8 LEDs (GPIO 0 to 7, all active HIGH) in total connected via SPI shift register

Note / Hint: right now NO LED for that router should work, because we have no shift register support yet at arm branch. (MIPS branch does have support --> tbd.)

SPI shift register connected to the GPIOs:

gpio-sck = GPIO 7;
gpio-mosi = GPIO 4;
cs-gpio = GPIO 6;
fairchild 74hc595

Reference:
9faa5960ee/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
6 years ago
M_ars 127fe1691f GUI: admin-buttons.asp - remove brau mask (not needed/used at ARM branch) - add note section for Startup LED 6 years ago
M_ars 889f05b37c rc: button.c - turn on Power LED again (LED_AOSS) after WPS- OR WLAN- Button has been pressed (small fix/special case for Asus Router, because LED_AOSS is not inverted anymore after latest LED changes)
tested with RT-N18U, working correct now :-)
(RT-N18U does not have a wlan button like RT-AC56U, RT-AC68U ...)

Hint: RT-AC3200 at sdk7 with extra commit
6 years ago
kille72 91ab517735 Merge branch 'shibby-arm' into shibby-arm7 6 years ago
M_ars 41db834b1f shared: led.c - adjust LED table LED_AOSS (used for Power LED, active LOW) for Asus Router RT-AC3200
Because of the new LED startup code, no need to invert LED_AOSS anymore. Also adjust rc/led.c (again) and remove the workaround,
see commit 19f61e7909

Hint: Prepare sdk7 for merge with sdk6
6 years ago
M_ars 1cd87448db shared: led.c: - adjust LED table LED_AOSS (used for Power LED, active LOW) for Asus Router RT-N18U, RT-AC56U, RT-AC68U
Because of the new LED startup code, no need to invert LED_AOSS anymore. Also adjust rc/led.c (again) and remove the workaround,
see commit 19f61e7909

tested with RT-N18U, working

Hint: RT-AC3200 at sdk7 with extra commit
6 years ago
M_ars 62644cb315 GUI: admin-buttons.asp - add/show Startup LED
- enable LED_AOSS by default (for Asus Router Power LED, for Netgear Router Wifi summary)
- enable LED_BRIDGE by default (LEDs for WAN/LAN Port X)
- small corrections at function led_setup() (remove code to turn on wan & lan leds --> not needed anymore, with latest led commits/changes)
6 years ago
M_ars a77d9b5b5f WZR-1750DHP: add to stealth mode 6 years ago
M_ars 33bff86a5c WZR-1750DHP: change LED table
- assign GPIO 1 with color red for LED_DIAG / Power LED (active HIGH)
- assign GPIO 2 with color white for LED_DIAG / Power LED (active HIGH)
- assign GPIO 3 with color blue for LED_AOSS / Router0 LED (active HIGH)
- assign GPIO 4 with color amber for LED_AOSS / Router1 LED (active HIGH)
- assign GPIO 5 with color blue for LED_WHITE / WAN LED (active HIGH)
- assign GPIO 6 with color blue for LED_WLAN / 2.4 GHz WLAN LED (active HIGH)
- assign GPIO 7 with color blue for LED_5G / 5.0 GHz WLAN LED (active HIGH)

Hint: LED_DIAG and LED AOSS will toogle color if turned on/off (same like for Netgear Router)

Reference (for example):
ad563be80c/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
6 years ago
M_ars aeba412b9a WZR-1750DHP: - add reset button and use LED_DIAG for feedback (was missing so far)
Reference (for example):
ad563be80c/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
6 years ago
M_ars 41f8049799 rc: blink.c: - prevent the start of blink for non GPIO leds and/or unknown LEDs 6 years ago
M_ars 4e6e9e743f rc: blink.c: - add checks for rate and threshold command line parameters 6 years ago
M_ars 1b66c77806 rc: blink.c: - remove/clean-up unused variables - some cosmetic - adjust sleep time between checks (it is enough to wait 500 ms for an update as /proc/net/dev is only updated once per second) - adjust sleep time if radio is disabled (10 seconds are enough) 6 years ago
M_ars f913ca85dc rc: button.c - remove/clean-up MIPS Router (--> not needed at ARM branch) and remove brau mask (not needed/used at ARM branch) 6 years ago
pedro 3a064867f1 router: rc: optimizing code, cosmetics
- mainly for openvpn part
- based on @RMerlin - thanks!
6 years ago
M_ars 00cdc92317 Merge branch 'arm-master' of https://bitbucket.org/pedro311/freshtomato-arm into arm-master 6 years ago
pedro 135ca13b4c wwansignal: fix problems with signal level and LAC value on some modems (ie. Huawei E8372)
- Ref: https://www.linksysinfo.org/index.php?threads/fork-freshtomato-arm.74117/page-26#post-305675
6 years ago
pedro 49aa7e23a6 Revert "libcurl: Updated to 7.65.1"
This reverts commit efdb5ed55c.

- something wrong with this release (error 48 with no additional info)
6 years ago
M_ars 70004a76f2 shared: led.c: - adjust LED table LED_AOSS (used for Power LED, active LOW) for Asus Router RT-N18U, RT-AC56U, RT-AC68U
Because of the new LED startup code, no need to invert LED_AOSS anymore. Also adjust rc/led.c (again) and remove the workaround,
see commit 19f61e7909

tested with RT-N18U, working

Hint: RT-AC3200 at sdk7 with extra commit
6 years ago
M_ars f4c270ab87 GUI: admin-buttons.asp - add/show Startup LED
- enable LED_AOSS by default (for Asus Router Power LED, for Netgear Router Wifi summary)
- enable LED_BRIDGE by default (LEDs for WAN/LAN Port X)
- small corrections at function led_setup() (remove code to turn on wan & lan leds --> not needed anymore, with latest led commits/changes)
6 years ago
M_ars 808a5b12d0 WZR-1750DHP: add to stealth mode 6 years ago
M_ars 1a165ed6f9 WZR-1750DHP: change LED table
- assign GPIO 1 with color red for LED_DIAG / Power LED (active HIGH)
- assign GPIO 2 with color white for LED_DIAG / Power LED (active HIGH)
- assign GPIO 3 with color blue for LED_AOSS / Router0 LED (active HIGH)
- assign GPIO 4 with color amber for LED_AOSS / Router1 LED (active HIGH)
- assign GPIO 5 with color blue for LED_WHITE / WAN LED (active HIGH)
- assign GPIO 6 with color blue for LED_WLAN / 2.4 GHz WLAN LED (active HIGH)
- assign GPIO 7 with color blue for LED_5G / 5.0 GHz WLAN LED (active HIGH)

Hint: LED_DIAG and LED AOSS will toogle color if turned on/off (same like for Netgear Router)

Reference (for example):
ad563be80c/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
6 years ago
M_ars 86455d21a2 WZR-1750DHP: - add reset button and use LED_DIAG for feedback (was missing so far)
Reference (for example):
ad563be80c/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
6 years ago
M_ars 606667e4ec rc: blink.c: - prevent the start of blink for non GPIO leds and/or unknown LEDs 6 years ago
M_ars bed7b20b75 Merge branch 'arm-master' of https://bitbucket.org/pedro311/freshtomato-arm into arm-master 6 years ago
kille72 c8284707af php: updated to 7.2.19
- cosmetics in patch
6 years ago
kille72 efdb5ed55c libcurl: Updated to 7.65.1 6 years ago
kille72 7ee52b2e45 e2fsprogs: update to 1.45.2 6 years ago
kille72 a63982957e libcurl: Updated CA certificate bundle as of 2019-05-15 6 years ago
M_ars 486a73b5a0 rc: blink.c: - add checks for rate and threshold command line parameters 6 years ago
M_ars 616ec81342 rc: blink.c: - remove/clean-up unused variables - some cosmetic - adjust sleep time between checks (it is enough to wait 500 ms for an update as /proc/net/dev is only updated once per second) - adjust sleep time if radio is disabled (10 seconds are enough) 6 years ago
M_ars 076d7410b6 rc: button.c - remove/clean-up MIPS Router (--> not needed at ARM branch) and remove brau mask (not needed/used at ARM branch) 6 years ago
pedro ff12e685b2 router: rc: optimizing code, cosmetics
- mainly for openvpn part
- based on @RMerlin - thanks!
6 years ago
M_ars fcbdb44f2d Merge branch 'arm-master' of https://bitbucket.org/pedro311/freshtomato-arm into arm-master 6 years ago
kille72 6bccb41c3f php: updated to 7.2.19
- cosmetics in patch
6 years ago
kille72 822e189a29 libcurl: Updated to 7.65.1 6 years ago
kille72 bd57e1b288 e2fsprogs: update to 1.45.2 6 years ago