From bbe0b1e942b7610fb168fbc9edd333b3f4bc4b27 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Tue, 6 Jul 2021 15:44:11 +0000 Subject: docs/linux: recommend setting net.ifnames to 0 When net.ifnames is set to 1, syzkaller might not be able to connect to the virtual machines. Add the corresponding recommendations to the documentation as well as a note to the troubleshooting guide. --- docs/linux/kernel_configs.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/linux/kernel_configs.md') diff --git a/docs/linux/kernel_configs.md b/docs/linux/kernel_configs.md index ebd907955..b6dc311c2 100644 --- a/docs/linux/kernel_configs.md +++ b/docs/linux/kernel_configs.md @@ -65,6 +65,13 @@ It is recommended to disable the following config (and required if your kernel d # CONFIG_RANDOMIZE_BASE is not set ``` +It is also recommended to disable the Predictable Network Interface Names mechanism. This can be done +either via syzkaller configuration (see details [here](troubleshooting.md)) or by adjusting the following configs: +``` +CONFIG_CMDLINE_BOOL=y +CONFIG_CMDLINE="net.ifnames=0" +``` + ## Bug detection configs Syzkaller is meant to be used with -- cgit mrf-deployment