This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
управление_ядром_и_модулями_в_linux [2020/06/23 11:04] val [Сборка ядра в Gentoo] |
управление_ядром_и_модулями_в_linux [2025/01/13 15:24] (current) val [Модули ядра] |
||
---|---|---|---|
Line 16: | Line 16: | ||
# modinfo e1000 | # modinfo e1000 | ||
- | # modprobe ip_gre | + | # modprobe br_netfilter |
- | # modprobe -r ip_gre | + | # ###modprobe -r br_netfilter |
- | + | ||
- | # iptables -L | + | |
- | + | ||
- | # lsmod | grep ip | + | |
# cat /etc/modules | # cat /etc/modules | ||
+ | или | ||
+ | # cat /etc/modules-load.d/my.conf | ||
+ | </code><code> | ||
+ | ... | ||
+ | br_netfilter | ||
</code> | </code> | ||
+ | ===== Сообщения ядра ===== | ||
+ | <code> | ||
+ | $ dmesg -T | ||
+ | </code> | ||
===== Переменные ядра ===== | ===== Переменные ядра ===== | ||
+ | |||
+ | * [[https://coderoad.ru/8290046/ICMP-%D1%81%D0%BE%D0%BA%D0%B5%D1%82%D1%8B-linux|ICMP-сокеты (linux)]] | ||
+ | |||
<code> | <code> | ||
# sysctl -a | # sysctl -a | ||
# sysctl net.ipv4.ip_default_ttl=2 | # sysctl net.ipv4.ip_default_ttl=2 | ||
+ | |||
+ | # ###sysctl -w net.ipv4.ping_group_range="1 65535" | ||
# cat /etc/sysctl.conf | # cat /etc/sysctl.conf | ||
Line 61: | Line 71: | ||
<code> | <code> | ||
- | # emerge -av sys-kernel/gentoo-sources | + | # time emerge -av sys-kernel/gentoo-sources |
+ | |||
+ | real 8m44.821s | ||
+ | user 5m37.132s | ||
+ | sys 1m56.026s | ||
/usr/src/linux # make defconfig | /usr/src/linux # make defconfig |