Быстрое переподключение к WLAN

После потери соединения WLAN я хочу восстановить соединение. Поэтому я хочу выключить и снова включить WLAN. Как я могу сделать это быстро в 18.04?

До 14.04 я делал это, нажимая на знак WLAN в верхней панели и нажимая w , чтобы выключить, и снова, чтобы включите его.

Однако в 18.04 году это гораздо более трудоемко. Есть ли простой способ сделать это в 18.04?

0
задан 13 April 2019 в 00:28

1 ответ

Я написал сценарий bash для решения именно этой проблемы. Вы можете получить net-o-matic из https://github.com/waltinator/net-o-matic.git - следить за выходом из строя (WiFi) сети, а затем выполнять действия, указанные пользователем, чтобы исправить это. ,

walt@bat:~(0)$ net-o-matic --help
net-o-matic [-h|--help] [-v|--verbose] <config.file> 

Monitor the wireless network, and when it goes down, Do The
Next Thing (as specified by the <config.file>), to bring
the wireless net up.

The <config.file> contains #comments, blank lines, AND
single line commands, of your choice, to correct the
wireless network down condition. The first command in the
<config.file> will be executed the first time the net goes
down (or if the net is down when net-o-matic begins), the second
command will be executed the next time the net goes down,
and so forth, wrapping around at the end. The number of
single line commands in the <config.file> is unlimited.
walt@bat:~(2)$ 
0
ответ дан 13 April 2019 в 00:28

Другие вопросы по тегам:

Похожие вопросы: