Working with kernel network namespaces created by Docker

Published on Author admin

To work with kernel network namespaces created by Docker create necessary symbolic link: ln -s /var/run/docker/netns  /var/run/netns List network namespaces: ip netns list Result will be similar to: # ip netns list 644c14147ad2 (id: 2) bb230cf5f65f (id: 1) e2772d19bfd0 (id: 0) Execute command inside network namespace: ip netns exec <namespace> <command> Example - listing network… Continue reading Working with kernel network namespaces created by Docker

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

Linux - reload Intel wireless card kernel module

Published on Author admin

Use lspci for displaying information about PCI buses in the system and devices connected to them, to get information about kernel modules being used: # lspci -nnk 04:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)     Subsystem: Intel Corporation Device [8086:0130]     Kernel driver in use: iwlwifi     Kernel… Continue reading Linux - reload Intel wireless card kernel module

Configuring openfortivpn on Fedora

Published on Author admin

Configuring openfortivpn on Fedora Install required packages: yum install openfortivpn Create config file /etc/openfortivpn/my-config with following content: host = IPADDR port = TCPPORT username = USERNAME password = PASSWORD set-dns = 1 set-routes = 1 trusted-cert = CERTSHA256SUM To connect use following command: openfortivpn -c /etc/openfortivpn/my-config