OpenWRT¶
lm-sensors in OpenWRT¶
sensors(установить:opkg install lm-sensors) – вывод датчиков температуры.sensors-detect– запуск определение датчиковcollectd-mod-thermal(установить:opkg install collectd-mod-thermal) – сбор данных температур.opkg install luci-app-statistics- установка пакета визуализации температуры в веб панели.- После установки можно настроить сбор данных через пакет
luci-app-statistics
6in4 for OpenWRT¶
OpenConnect for OpenWRT¶
Here: https://github.com/openwrt/packages/tree/master/net/openconnect:
The openconnect client expects to be configured using the uci interface.
To setup a VPN connection, add the following to /etc/config/network:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | |
The additional files are also used:
/etc/openconnect/user-cert-vpn-MYVPN.pem: The user certificate/etc/openconnect/user-key-vpn-MYVPN.pem: The user private key/etc/openconnect/ca-vpn-MYVPN.pem: The CA certificate (instead of serverhash)
After these are setup you can initiate the VPN using ifup MYVPN, and
deinitialize it using ifdown. You may also use the luci web interface
(Network ⇒ Interfaces ⇒ MYVPN Connect).
Note that you need to configure the firewall to allow communication between the MYVPN interface and lan.
There is a luci plugin to allow configuring an openconnect interface from
the web environment; see the luci-proto-openconnect package.