OpenWRT - various useful commands

Published on Author admin

Various useful commands for OpenWRT/LEDE devices: Show ethernet switch information: swconfig list swconfig dev switch0 show Updating packages: opkg update opkg list-upgradable opkg list-upgradable | awk '{ print $1 }' | xargs opkg upgrade Installing OpenVPN (with Easy-RSA) software: opkg install openvpn opkg install openvpn-easy-rsa Installing DynamicDNS client (with HTTPS nad LuCI support): opkg install… Continue reading OpenWRT - various useful commands

CentOS 8 and Fedora 32 - make DNS working for Docker containers

Published on Author admin

In CentOS 8 and Fedora 32, by default DNS requests from Docker containers are being blocked by Firewalld. To make DNS working for Docker containers use below command (assuming that containers are using docker0 interface for networking): sudo firewall-cmd --zone=trusted --add-interface=docker0 --permanent sudo firewall-cmd --zone=trusted --add-interface=docker0

Install OpenSSH under Windows 10 and set Powershell as default shell

Published on Author admin

Follow below steps for installation of OpenSSH server under Windows 10 OS. List available OpenSSH software for installation: Get-WindowsCapability -Online | ? Name -like 'OpenSSH*' Install OpenSSH client: Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0 Install OpenSSH server: Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0 Start OpenSSH service: Start-Service sshd Enable autostart for OpenSSH service: Set-Service -Name sshd -StartupType 'Automatic' Check… Continue reading Install OpenSSH under Windows 10 and set Powershell as default shell