OpenWrtのいろいろ
luci-i18n-base-ja 日本語化
luci-i18n-nut-ja UPSのやつ
nut-upsc
nut-upscmd
nut-upslog
nut-upsmon
nut-upssched
nut-driver-usbhid-ups UPSをUSB認識させるのに必須
nut-driver-apcsmart UPSをUSB認識させるのに必須
nut-driver-dummy-ups SynologyUPSのエミュレート
kmod-usb-hid UPSをUSB認識させるのに必須
luci-i18n-nlbwmon-ja 帯域幅モニタ
luci-i18n-wol-ja WOL
luci-i18n-samba-ja samba
usbutils USBコマンド
kmod-usb2 kmod-usb3 kmod-usb-storage kmod-usb-storage-uas block-mount kmod-usb-storage-extras kmod-usb-ohci USBめもり
e2fsprogs f2fs-tools kmod-fs-f2fs kmod-fs-exfat kmod-fs-vfat kmod-fs-ext4 フォーマッタ
luci-i18n-openvpn-ja openvpn-easy-rsa openvpn-openssl bridge sysfsutils openvpn
openssh-client openssh-client-utils autossh ポートフォワード用
kmod-zd1211rw WLI-U2-KG54L用
wpad-mesh-openssl wpa3対応化 wpad-basic削除必要
luci-i18n-base-ja luci-i18n-nut-ja nut-upsc nut-upscmd nut-upslog nut-upssched nut-upsmonnut-driver-usbhid-ups nut-driver-apcsmart nut-driver-dummy-ups kmod-usb-hid luci-i18n-nlbwmon-ja luci-i18n-wol-ja usbutils kmod-usb2 kmod-usb3 kmod-usb-storage kmod-usb-storage-uas block-mount kmod-usb-storage-extras kmod-usb-ohci e2fsprogs f2fs-tools kmod-fs-f2fs kmod-fs-exfat kmod-fs-vfat kmod-fs-ext4 qrencode wpad-openssl openssh-client openssh-client-utils autossh luci-i18n-openvpn-ja openvpn-easy-rsa openvpn-openssl bridge sysfsutils kmod-zd1211rw wpad-mesh-openssl
cron
*/3 * * * * /usr/bin/etherwake -D “00:11:32:4A:0A:5F” NAS再起動wol
0 13 * * 1 opkg update && opkg list-upgradable | cut -f 1 -d ' ' | xargs opkg upgrade 自動アップデート日曜
0 */1 * * * ping -c 1 8.8.8.8 > /dev/null 2>&1 || (echo “no response” | reboot) 自動再起動
autosshでトンネルほる(ssh接続保持)
START=80
boot() {
return
}
start() {
/usr/sbin/autossh -M 0 -N -F /root/.ssh/config newind &
}
stop() {
service_stop /usr/sbin/autossh
}
コメント