Welcome to the new Linux Foundation Forum!

Kernel Parameters

sadamahansadamahan Posts: 11
edited March 2017 in LFS201 Class Forum

Hello Team

According to training material section 6.4 in LFS201, all run-time kernel parameters are supposed to be at /usr/share/doc/linux-doc/kernel-parameters.txt

I'm on Ubuntu 16.04 and can't seem to find "net.ipv4.icmp_echo_ignore_all" in the above kernel-parameters.txt documentation.

Questions:

1. When on the exam, how do I go about looking for a specific kernel parameter? 

2. When on the exam, where can I find a listing of all kernel parameters? 

Thanks in advance!

SMK

Comments

  • earlpearlearlpearl Posts: 7
    edited March 2017

    Hi

    On my Ubuntu 16.04 VM, I also was not able to find "net.ipv4.icmp_echo_ignore_all" in kernel-parameters.txt, which I copied, and decompressed, from /usr/share/doc/linux-doc/.

    But, if you type:

    a. sudo sysctl net.ipv4.icmp_echo_ignore_all

    OR

    b. sudo sysctl -a | grep "net.ipv4.icmp_echo_ignore_all"

    you will see it's current value.

    Refer to 6.5 for more details. And, I expect you'll receive more info from others in the course.

  • zoomm10zoomm10 Posts: 5
    edited March 2017
  • coopcoop Posts: 339
    edited March 2017

    This is not a "kernel parameter" as such; it is something in /proc/sys/net as properly pointed out above.  Kernel parameters are those you specify on the kernel command line.  Some may have sysctl setting as well, but conceptually it is different.

  • Hi,

    Also consider that for the exam you will be working with Ubuntu 14.04, until further advise.

    Regards,

    Luis.

Sign In or Register to comment.