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-openssl 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

Capturing network traffic to/from virtual machine running on VMware ESXi host

Published on Author admin

How to capture network traffic from/to virtual machine running on VMware ESXi host. This method uses pktcap-uw tool which is available in ESXi 5.5 and later. First enable SSH on your VMware ESXi host. Connect to ESXi host via SSH. List running virtual machines and check World-ID: esxcli network vm list Assuming that our VM… Continue reading Capturing network traffic to/from virtual machine running on VMware ESXi host