Steps for compile Kernel Linux 5.15.0
$ uname -a
Linux DESKTOP-ID 4.19.128-microsoft-standard #1 SMP Tue Jun 23 12:58:10 UTC 2020 x86_64 GNU/LinuxTcpdump is a CLI tool to capture raw network packets. This is useful for various forms of network troubleshooting. This cheat sheet covers all the basic and advanced options for tcpdump.
Tcpdump command is a famous network packet analyzing tool that is used to display TCP\IP & other network packets being transmitted over the network attached to the system on which tcpdump has been installed. Tcpdump uses libpcap library to capture the network packets & is available on almost all Linux/Unix flavors.
Internet connection and DNS routing are broken from WSL2 instances, when some VPNs are active.
The root cause seems to be that WSL2 and the VPN use the same IP address block, and the VPN routing clobbers WSL2's network routing.
This problem is tracked in multiple microsoft/WSL issues including, but not limited to:
| # ================================================================================================== | |
| # | |
| # NOTICE | |
| # | |
| # This gist is no longer maintained. It was moved to repo: | |
| # | |
| # https://github.com/maratori/golangci-lint-config | |
| # | |
| # Full history and all v2 releases are preserved in the repo. | |
| # |
WSL2 uses Hyper-V for networking. The WSL2 network settings are ephemeral and configured on demand when any WSL2 instance is first started in a Windows session. The configuration is reset on each Windows restart and the IP addresses change each time. The Windows host creates a hidden switch named "WSL" and a network adapter named "WSL" (appears as "vEthernet (WSL)" in the "Network Connections" panel). The Ubuntu instance creates a corresponding network interface named "eth0".
Assigning static IP addresses to the network interfaces on the Windows host or the WSL2 Ubuntu instance enables support for the following scenarios:
| ## Sample initialization file for GNU nano. | |
| ## | |
| ## For the options that take parameters, the default value is shown. | |
| ## Other options are unset by default. To make sure that an option | |
| ## is disabled, you can use "unset <option>". | |
| ## | |
| ## Characters that are special in a shell should not be escaped here. | |
| ## Inside string parameters, quotes should not be escaped -- the last | |
| ## double quote on the line will be seen as the closing quote. |
| { | |
| /** | |
| * Better Defaults | |
| **/ | |
| "editor.copyWithSyntaxHighlighting": false, | |
| "diffEditor.ignoreTrimWhitespace": false, | |
| "editor.emptySelectionClipboard": false, | |
| "workbench.editor.enablePreview": false, | |
| "workbench.settings.enableNaturalLanguageSearch": false, | |
| "window.newWindowDimensions": "inherit", |
If you would like to install extra packages on OpenWrt, but you have run out of space on your router’s internal flash memory, then this tutorial is for you.
The plan is to copy the OpenWrt’s root filesystem onto an external USB flash drive, and tell the router to switch to that when it boots up.