Перейти к содержанию

Навигация

Wi-Fi Old/en: различия между версиями

Новая страница: «For example, the controller is connected to a router with the ''192.168.0.1'' address via the ''wlan1'' interface. Then: # in <code>/root</code> folder create scr…»
(Новая страница: «For example, the controller is connected to a router with the ''192.168.0.1'' address via the ''wlan1'' interface. Then: # in <code>/root</code> folder create scr…»)
Строка 168: Строка 168:
The method is borrowed from here(ru): [http://alexba.in/blog/2015/01/14/automatically-reconnecting-wifi-on-a-raspberrypi/]
The method is borrowed from here(ru): [http://alexba.in/blog/2015/01/14/automatically-reconnecting-wifi-on-a-raspberrypi/]


Допустим, контроллер подключён к роутеру с адресом ''192.168.0.1'' через интерфейс ''wlan1''. Тогда:
For example, the controller is connected to a router with the ''192.168.0.1'' address via the ''wlan1'' interface. Then:
# Создайте в папке <code>/root</code> скрипт <code>wifi_autoconnect.sh</code> с содержанием: <syntaxhighlight lang="bash">
# in <code>/root</code> folder create script <code>wifi_autoconnect.sh</code> as in the example below: <syntaxhighlight lang="bash">
#!/bin/bash
#!/bin/bash


12 063

правки