- 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
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.
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.
- 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
==> 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
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
==> 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
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
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
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
- 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)
- 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
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
- 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)
- 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