This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
настройка_сети_в_linux [2025/10/01 08:41] val [Файлы конфигурации Gentoo] |
настройка_сети_в_linux [2025/10/24 08:50] (current) val [Файлы конфигурации ifupdown (Debian/Ubuntu<18)] |
||
|---|---|---|---|
| Line 191: | Line 191: | ||
| client1# dhclient eth0 | client1# dhclient eth0 | ||
| - | client1# cat /etc/hostname | + | client1# hostnamectl hostname client1 |
| - | </code><code> | + | |
| - | client1 | + | |
| - | </code><code> | + | |
| client1# :> /etc/resolv.conf | client1# :> /etc/resolv.conf | ||
| </code> | </code> | ||