Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:configure_networking_and_hostname_resolution_statically_or_dynamically [2018/03/18 16:13] billdozor [Hostname Configuration] |
linux_wiki:configure_networking_and_hostname_resolution_statically_or_dynamically [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 202: | Line 202: | ||
\\ | \\ | ||
**Add DNS** (not replace) for eth0 with nmcli or with config file | **Add DNS** (not replace) for eth0 with nmcli or with config file | ||
- | * Using nmcli< | + | * nmcli method<code bash> |
nmcli con show | nmcli con show | ||
(observe NAME field) | (observe NAME field) | ||
nmcli con mod " | nmcli con mod " | ||
- | * Edit files directly< | + | * Edit files directly |
vim / | vim / | ||
DNS1=8.8.8.8</ | DNS1=8.8.8.8</ | ||
- | * Apply changes: | + | * Apply changes: |
- | * nmcli method< | + | * nmcli method< |
- | * Service restart< | + | * Service restart< |
---- | ---- | ||