Commit graph

55 commits

Author SHA1 Message Date
Sukru Senli
e12cf6ffa2 netmode: do not rely on mode folder 2022-02-08 15:08:35 +01:00
Sukru Senli
a169a13b47 netmode: do nothing if mode is not set 2022-02-07 21:17:04 +01:00
Sukru Senli
e3eb968b05 netmode: remove default netmodes 2022-02-06 14:16:18 +01:00
Sukru Senli
f67eca787f netmode: strip netmoded out of netmode package 2022-02-06 13:33:50 +01:00
Sukru Senli
c108347db8 netmode: move internet led handling from testnet to ruleng 2021-02-22 22:44:47 +01:00
Sukru Senli
29d72d64d6 remove reference to deprecated rpcd acl config option 2020-05-03 15:18:00 +02:00
Sukru Senli
c92d47953e testnet: control broadband led if wan led is not available
WAN and Broadband LED will be handled by ruleng rules when ubus switch events are ready
2020-05-01 15:09:00 +02:00
Sukru Senli
e4221b84f0 netmode: temporary testnet object to query online status 2020-04-29 13:52:43 +02:00
Jakob Olsson
57e2a69575 netmode: remove status method, depend on 'enabled' option 2020-04-23 12:25:18 +02:00
Sukru Senli
df93ed2d3c netmode: deprecate config based mode switching 2020-04-23 09:59:21 +02:00
Sukru Senli
332b6ce7b6 netmode: testnet: use pgrep to check if tesnet is running 2020-03-21 19:42:53 +01:00
Sukru Senli
6aa3467f29 netmode: remove bcm netmodes 2020-03-21 13:07:50 +01:00
Oussama Ghorbel
871a3c3907 clean up db and use new variables names 2020-01-23 14:39:32 +01:00
Ronny Nilsson
34343d4824 netmode: remove variables from templates which is automatically set on first boot.
In Iopsys 5 each subsystem has to take care of its own data. If netmode modifies
the hostname, SSID etc. It by it self has to generate fully valid UCI data. If
netmode needs help with that it may use the scripts in /rom/etc/uci-defaults
2020-01-07 14:18:47 +01:00
Jakob Olsson
ebb112f264 netmode: on revert write backup cfgs prior to commiting and restart network 2019-12-10 16:19:12 +01:00
Jakob Olsson
d40d5139b3 netmode: prevent path traversal in pre and post from netmode.sh #1010 2019-08-09 09:24:00 +02:00
Sukru Senli
e882dd0320 netmode: reload macoffset when changing mode 2019-07-08 12:14:24 +02:00
Sukru Senli
0822323784 netmode: remove unused omcproxy config 2019-07-08 10:18:56 +02:00
Sukru Senli
5776cee5f6 netmode: disable ubusproxy in repeater mode 2019-07-08 10:18:37 +02:00
Sukru Senli
01ddeaf4d7 netmode: more logs during mode switch 2019-06-27 10:47:26 +02:00
Sukru Senli
7271ea30d6 netmode: wps_enroll and wps_stop methods for repeater object 2019-06-27 10:22:52 +02:00
Jakob Olsson
80dafc80ea netmode: init.d: add ignore option macaddr argument 2019-06-26 10:34:14 +02:00
Sukru Senli
f3cf9cd7e1 netmode: update wireless configs 2019-06-25 11:37:35 +02:00
Sukru Senli
c3363f01ab netmode: use generic name for uci-default script 2019-06-24 19:17:07 +02:00
Sukru Senli
a9b3b78a13 netmode: support for supported_boards array 2019-06-15 12:53:03 +02:00
Sukru Senli
ef0f38499a netmode: exclude norrland from existing modes 2019-05-23 10:04:24 +02:00
Sukru Senli
3642db5f04 netmdode: repeater connect and forget_network methods 2019-05-21 15:17:21 +02:00
Jakob Olsson
c0637c052f netmodes: replace wps_pushbutton with wps 2019-05-20 15:13:31 +02:00
Sukru Senli
4787082fa2 netmode: add revert_netmdoe function 2019-05-18 11:41:17 +02:00
Jakob Olsson
74259b0f9b netmodes: update default config values for macfilter 2019-05-07 08:59:55 +02:00
Jakob Olsson
3f7e6e8112 netmode: wps_pbc to wps_pushbutton 2019-05-06 16:15:13 +02:00
Jakob Olsson
0e2e9bd7e0 netmode: bss_max to maxassoc 2019-05-06 16:15:13 +02:00
Sukru Senli
8756e51e1f netmode: fix acl for netmodes 2019-04-02 12:06:26 +02:00
Sukru Senli
93b80cf4e9 netmode: enable arp_discovery tool by default 2019-03-21 11:28:31 +01:00
Sukru Senli
0085626e8e netmode: disable wificontrol and arp_discovery tools by default 2019-03-21 11:27:35 +01:00
Jakob Olsson
19f41d4896 netmode: run save/apply _wet_cfg through pre and post scripts #16601 2019-03-12 09:58:47 +01:00
Sukru Senli
a450ee83c5 netmode: if automode set to 0, do not change mode depending on ipaddr type 2019-03-11 15:20:25 +01:00
Jakob Olsson
ba336baf46 netmode: do ubus call commit owsd after writing to owsd config #16739
Daemons such as wifilife are dependent on owsd configuration. Wifilife
was started with the controller running and it was never being stopped,
despite owsd config being changed.
2019-02-25 13:07:56 +01:00
Anjan Chanda
c3e18ae04c netmode: wireless config - set 'scantimer' to 60 minutes 2019-01-15 14:41:56 +01:00
Jakob Olsson
253865d22f netmode: save wet config when entering repeater mode #16601 2019-01-09 14:43:47 +01:00
Jakob Olsson
4d143d5ef4 netmodes: network: add macaddr option for wan section #16389 2018-12-04 14:13:18 +01:00
Sukru Senli
82ce3554fc netmode: testnet: re-enable iptv connection test 2018-11-29 15:08:12 +01:00
Jonas Höglund
8f98094d15 netmode: Stop igmpproxy in bridged mode 2018-11-28 14:31:08 +01:00
Anjan Chanda
c3acd8cc63 netmode: bring down wet interface in extender mode 2018-11-15 16:43:54 +01:00
Jakob Olsson
5260f1ecfb security fixes: change _access_r to _access_w
ice-client: perform del_list prior to add_list _access_w
2018-11-02 14:41:11 +01:00
ke hu
db075d462e refs #15368
do not set led when led disable
2018-10-18 16:04:27 +02:00
Robin Stjerndorff
4d0dd5634b fix ubus representation for EX400 topology in cloud refs: #15754 2018-10-17 18:20:10 +02:00
Sukru Senli
66da522ebb netmode: add support for disabling legacy netmode tools 2018-10-16 19:11:56 +02:00
Sukru Senli
7ba08eb358 netmode: do not copy DETAILS file and scripts folder 2018-10-16 18:59:16 +02:00
Sukru Senli
be85d93ba5 netmode: support running pre and post netmode scripts 2018-10-16 18:49:32 +02:00