Skip to content
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

добавила команду daemon-reload #501

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
5 changes: 5 additions & 0 deletions docs/en/network.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,12 @@ On our [RPi image](image.md) the Wi-Fi adapter is configured to use the [access
4. Restart the `dhcpcd` service.

```bash
sudo systemctl daemon-reload
sudo systemctl restart dhcpcd
```

> **Caution** Before restarting services, it is necessary to reload the configuration of daemons, without daemon-reload, because network services will not turn on and access to Raspberry Pi will break!

## Switching the adapter to the access point mode

1. Enable the static IP address in the wireless interface. Add the following lines to your `/etc/dhcpcd.conf` file:
Expand Down Expand Up @@ -110,6 +113,8 @@ On our [RPi image](image.md) the Wi-Fi adapter is configured to use the [access
sudo systemctl start dnsmasq
```

> **Caution** Before restarting services, it is necessary to reload the configuration of daemons, without daemon-reload, because network services will not turn on and access to Raspberry Pi will break!

4. Restart the `dhcpcd` service.

```bash
Expand Down
7 changes: 7 additions & 0 deletions docs/ru/network.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,12 @@ Wi-Fi адаптер на Raspberry Pi имеет два основных реж
4. Перезапустите службу `dhcpcd`.

```bash
sudo systemctl daemon-reload
sudo systemctl restart dhcpcd
```

> **Caution** Перед перезапуском службы необходимо обновлять конфигурацию сервисов, без daemon-reload сетевые службы не включатся и доступ к Raspberry Pi пропадёт!

## Переключение адаптера в режим точки доступа

1. Включите статический IP адрес на беспроводном интерфейсе. Для этого добавьте в файл `/etc/dhcpcd.conf` строки:
Expand Down Expand Up @@ -106,13 +109,17 @@ Wi-Fi адаптер на Raspberry Pi имеет два основных реж
3. Включите службу `dnsmasq`.

```bash
sudo systemctl daemon-reload
sudo systemctl enable dnsmasq
sudo systemctl start dnsmasq
```

> **Caution** Перед перезапуском службы необходимо обновлять конфигурацию сервисов, без daemon-reload сетевые службы не включатся и доступ к Raspberry Pi пропадёт!

4. Перезапустите службу `dhcpcd`.

```bash
sudo systemctl daemon-reload
sudo systemctl start dhcpcd
```

Expand Down
Loading