30 lines
517 B
Markdown
30 lines
517 B
Markdown
---
|
|
title: NetworkManager
|
|
description:
|
|
published: true
|
|
date: 2025-09-27T13:22:07.043Z
|
|
tags:
|
|
editor: markdown
|
|
dateCreated: 2025-09-27T13:11:25.852Z
|
|
---
|
|
|
|
# NetworkManager
|
|
|
|
Show available network connections
|
|
```
|
|
nmcli con show
|
|
```
|
|
|
|
## DNS
|
|
|
|
Change the DNS server for specific connection
|
|
```
|
|
nmcli con mod "Lukarin Remote Wifi" ipv4.dns "192.168.1.1"
|
|
nmcli con mod "Lukarin Remote Wifi" ipv4.ignore-auto-dns yes
|
|
nmcli con up "Lukarin Remote Wifi"
|
|
```
|
|
|
|
Check which DNS server is in use
|
|
```
|
|
systemd-resolve --status
|
|
``` |