Skip to content

networkctl: add page and Polish translation #10091

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions pages.pl/linux/networkctl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# networkctl

> Zapytaj o stan łączy sieciowych.
> Zarządzaj konfiguracją sieci za pomocą `systemd-networkd`.
> Więcej informacji: <https://www.freedesktop.org/software/systemd/man/networkctl.html>.

- Wyświetl listę istniejących łączy i ich status:

`networkctl list`

- Wyświetl ogólny status sieci:

`networkctl status`

- Włącz urządzenia sieciowe:

`networkctl up {{interfejs1 interfejs2 ...}}`

- Wyłącz urządzenia sieciowe:

`networkctl down {{interfejs1 interfejs2 ...}}`

- Odnów konfiguracje dynamiczne (np. adresy IP przydzielone przez serwer DHCP):

`networkctl renew {{interfejs1 interfejs2 ...}}`

- Przeładuj pliki konfiguracyjne (.netdev i .network):

`networkctl reload`

- Rekonfiguruj interfejsy sieciowe (jeżeli pliki konfiguracyjne były edytowane, najpierw uruchom `networkctl reload`):

`networkctl reconfigure {{interfejs1 interfejs2 ...}}`
33 changes: 33 additions & 0 deletions pages/linux/networkctl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# networkctl

> Query the status of network links.
> Manage the network configuration using `systemd-networkd`.
> More information: <https://www.freedesktop.org/software/systemd/man/networkctl.html>.

- Show a list of existing links and their status:

`networkctl list`

- Show an overall network status:

`networkctl status`

- Bring network devices up:

`networkctl up {{interface1 interface2 ...}}`

- Bring network devices down:

`networkctl down {{interface1 interface2 ...}}`

- Renew dynamic configurations (e.g. IP addresses received from a DHCP server):

`networkctl renew {{interface1 interface2 ...}}`

- Reload configuration files (.netdev and .network):

`networkctl reload`

- Reconfigure network interfaces (if you edited the config, you need to call `networkctl reload` first):

`networkctl reconfigure {{interface1 interface2 ...}}`