Commit Graph

5025 Commits (2021.2)
 

Author SHA1 Message Date
pedro 60412a0807 Merge branch 'arm-master' into arm-sdk7 5 years ago
M_ars 8f5d913a0b MULTIWAN: rc: dhcp.c : call function mwan_load_balance() for dual WAN and multi WAN setups
Note: fix dual WAN feature/setup; mwan_load_balance() is dual WAN and multiwan aware

Further Note: only cosmetic for ARM branch (99,9% multiwan builds)
5 years ago
M_ars 3ce9d4aff2 MULTIWAN: rc: dhcp.c : call function mwan_table_del(prefix) for dual WAN and multi WAN setups
Note: fix dual WAN feature/setup; without calling mwan_table_del() nothing will be deleted on release and only added on renew

Tested with RT-N16 / RT-N15U

Further Note: only cosmetic for ARM branch (99,9% multiwan builds)
5 years ago
M_ars 51ffcf0681 rc: mwan.c: - adjust function mwan_table_del() and remove only active and valid DNS
Note: the for-loop tried to execute the same command three times for each wan
(because we could have had 1x DNS AUTO + 2x DNS MANUAL; now we can have only 1x DNS AUTO OR 2x DNS MANUAL (not both DNS settings at same time)
--> see fix 92c50d31ca)

Example for WAN with AUTO DNS:
ip rule del table 1 pref 111 // success / 0 for i = 0
ip rule del table 1 pref 111 // non 0 for i = 1
ip rule del table 1 pref 111 // non 0 for i = 2

...

Tested with Multiwan DHCP (3 WANs), working correct
5 years ago
Michał Obrembski 5cc093b535 Removed warning during compilation of router/config.
Makefile generated a default main() in lxtemp.c without return code
5 years ago
Michał Obrembski f82b779a4c Fix building router/conf on GCC 10 compiler on host
GCC 10 has no-common turned on, meaning that only one variable declaration is possible,
rest need to be extern'ed.

in mconf.c nad zconf.tab.c we had such a situation, which blocks building project on GCC-10
5 years ago
Michał Obrembski 4fdeca2518 Remove libuuid checking in miniupnpd build.
This stops miniupnpd building when libuuid-dev was installed on system
5 years ago
Michał Obrembski a7ab78c051 router: fix build of libFLAC in some cases
Sometimes libflac failed to build due to incorrect version of libgcc_s.so.1.
This is mostly for 64-bit systems. Problem was in fact that OGG_LIBS variable in m4/ogg
has hardcoded library path set to -L/lib by default, which is outside build root.
Forcing ogg library path by adding --with-ogg helps
5 years ago
Michał Obrembski 37d6a07c6c Merged pedro311/freshtomato-arm into arm-master 5 years ago
pedro c446cea557 openvpn: update to 2.5_beta3
- fix compilation
- cosmetic in patches
5 years ago
pedro dd7077a730 sqlite: update to 3.33.0 5 years ago
pedro 94b0083a0c php: update to 7.2.33 5 years ago
pedro c78a2120ec nginx: update to 1.19.2 5 years ago
pedro 8ba9f3b453 nano: update to 5.2 5 years ago
pedro 6eb61afee0 libjson: udpdate to 0.15 (20200726) 5 years ago
pedro bdd0f8ce76 libcurl: update to 7.72.0 5 years ago
pedro dfd85c586b libcurl: update CA certificate bundle as of 2020-07-22 5 years ago
pedro 13bb5561c2 Merge branch 'arm-master' into arm-sdk7 5 years ago
pedro 21f15dc6df GUI: include AdvancedTomato font into the css stylesheet 5 years ago
M_ars 5619e519e3 rc: wan.c: - do not restart wireless at function start_wan()
Note: At power-on/boot/reboot/restart we just started wireless interfaces at init_main() (function start_wl()) for example.
(restart wireless twice not needed; restart introduced with multiwan feature);

last change/improvement see also 2c95d1d011

Tested with AP-Mode and Multiwan DHCP (3 WANs), working correct
5 years ago
M_ars 585269cb24 GUI: advanced-wireless.asp - hide option Turbo QAM for 5 GHz wireless interfaces
Note: only for 2.4 GHz needed
5 years ago
M_ars 0bead04dd3 GUI: advanced-wireless.asp - hide option Bluetooth Coexistence for 5 GHz wireless interfaces
Note: only for 2.4 GHz needed
5 years ago
pedro a54026093e kernel sdk7: drivers: usb: host: xhci-hub.c: fix compiler warnings 5 years ago
pedro 4d9edccddb kernel sdk7: drivers: usb: class: usblp.c: fix compiler warnings 5 years ago
pedro 62b0cc6bb7 kernel sdk7: include: linux: rndis.h: fix compiler warnings 5 years ago
pedro 4a11ed3357 kernel sdk7: drivers: net: ppp_generic.c: fix compiler warnings 5 years ago
pedro c2215296d1 kernel sdk7: net: core: dev.c: updates from upstream; fix compiler warnings
- fix rollback handler in register_netdevice_notifier
8f89148986

- in unregister_netdevice_notifier unregister the netdevices
7d3d43dab4
5 years ago
pedro 668555de9a kernel sdk6: drivers: usb: host: xhci-hub.c: fix compiler warnings 5 years ago
pedro 4085e1df8f kernel sdk6: drivers: usb: class: usblp.c: fix compiler warnings 5 years ago
pedro e3adb7856a kernel sdk6: include: linux: rndis.h: fix compiler warnings 5 years ago
pedro a11192fda9 kernel sdk6: drivers: net: ppp_generic.c: fix compiler warnings 5 years ago
pedro ae1dda5bfd kernel sdk6: net: core: dev.c: updates from upstream; fix compiler warnings
- fix rollback handler in register_netdevice_notifier
8f89148986

- in unregister_netdevice_notifier unregister the netdevices
7d3d43dab4
5 years ago
pedro 193bb7ab8d kernel sdk7: drivers: net: usb: updates from upstream
- usbnet: export usbnet_set_rx_mode()
1ea2b748b5

- cdc_ether: add new products ids

- cdc_ether: use dev->intf to get interface information
0226009ce0

- cdc_ether: export usbnet_cdc_update_filter
e506addeff

- cdc_ncm: add .ndo_set_rx_mode to cdc_ncm_netdev_ops
37a2ebdd9e

- cdc_ncm: hook into set_rx_mode to admit multicast traffic
e10dcb1b6b
5 years ago
pedro dab7acc7d0 kernel sdk6: drivers: net: usb: updates from upstream
- usbnet: export usbnet_set_rx_mode()
1ea2b748b5

- cdc_ether: add new products ids

- cdc_ether: use dev->intf to get interface information
0226009ce0

- cdc_ether: export usbnet_cdc_update_filter
e506addeff

- cdc_ncm: add .ndo_set_rx_mode to cdc_ncm_netdev_ops
37a2ebdd9e

- cdc_ncm: hook into set_rx_mode to admit multicast traffic
e10dcb1b6b
5 years ago
pedro b36d5c5fc7 Merge branch 'arm-master' into arm-sdk7 5 years ago
pedro 75b9974e42 router: rc: Makefile: stay as close as possible to MIPS branch 5 years ago
M_ars 5d4dbba460 kernel sdk6: include: dst.h: disable WARN_ON_ONCE()
Note: follow/sync with sdk7 (only cosmetic for sdk6)
see b3999570b3
5 years ago
pedro eab5e47cfe Merge branch 'arm-master' into arm-sdk7 5 years ago
pedro 806f968353 router: rc: listen.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro e382f96dd8 router: rc: misc.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro 17864899cc router: rc: Makefile: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro 31c6d97211 router: rc: ddns.c: code optimization and clean-up; fix compiler warning. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro 34781705ec rc: additional fixes thanks to @M_ars 5 years ago
Michał Obrembski 678f797e4c Merged pedro311/freshtomato-arm into arm-master 5 years ago
pedro 592db826a7 router: rc: snmp.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro 23bd459c14 router: rc: tinc.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro 817ab21695 router: rc: tomatoanon.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro b6f785525a router: rc: tor.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro 5a613599a5 router: rc: transmission.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro 6fadc25f84 router: rc: ups.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago