История изменений
Исправление ZenitharChampion, (текущая версия) :
-- Logs begin at Ср 2019-01-23 21:10:13 +07, end at Ср 2019-01-23 21:12:11 +07. --
янв 23 21:10:18 raspberrypi systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
янв 23 21:10:19 raspberrypi dnsmasq[621]: dnsmasq: syntax check OK.
янв 23 21:10:19 raspberrypi dnsmasq[697]: dnsmasq: junk found in command line
янв 23 21:10:19 raspberrypi systemd[1]: dnsmasq.service: control process exited, code=exited status=1
янв 23 21:10:19 raspberrypi systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
янв 23 21:10:19 raspberrypi systemd[1]: Unit dnsmasq.service entered failed state.
Надпись Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
- красными буквами (вот скрин)
Я не понимаю, как тогда получается подключиться к точке доступа? Обычно, когда dnsmasq выключен, то на стадии «Получение IP-адреса» идёт бесконечное ожидание.
Исправление ZenitharChampion, :
pi@raspberrypi:~ $ sudo ping ya.ru
^C
pi@raspberrypi:~ $ sudo ping 87.250.250.242
PING 87.250.250.242 (87.250.250.242) 56(84) bytes of data.
64 bytes from 87.250.250.242: icmp_seq=1 ttl=53 time=58.2 ms
^C
--- 87.250.250.242 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 58.216/58.216/58.216/0.000 ms
pi@raspberrypi:~ $ ssh -X -l pi 192.168.11.1
pi@192.168.11.1's password:
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Jan 23 20:41:23 2019 from 192.168.11.2
pi@raspberrypi:~ $ sudo journalctl -u dnsmasq
-- Logs begin at Ср 2019-01-23 21:10:13 +07, end at Ср 2019-01-23 21:12:11 +07. --
янв 23 21:10:18 raspberrypi systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
янв 23 21:10:19 raspberrypi dnsmasq[621]: dnsmasq: syntax check OK.
янв 23 21:10:19 raspberrypi dnsmasq[697]: dnsmasq: junk found in command line
янв 23 21:10:19 raspberrypi systemd[1]: dnsmasq.service: control process exited, code=exited status=1
янв 23 21:10:19 raspberrypi systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
янв 23 21:10:19 raspberrypi systemd[1]: Unit dnsmasq.service entered failed state.
pi@raspberrypi:~ $ sudo dpkg -i dns-root-data_2017072601~deb8u1_all.deb
dpkg: предупреждение: снижение версии dns-root-data с 2017072601~deb8u2 до 2017072601~deb8u1
(Чтение базы данных … на данный момент установлено 130427 файлов и каталогов.)
Подготовка к распаковке dns-root-data_2017072601~deb8u1_all.deb …
Распаковывается dns-root-data (2017072601~deb8u1) на замену (2017072601~deb8u2) …
Настраивается пакет dns-root-data (2017072601~deb8u1) …
Надпись Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
- красными буквами (вот скрин)
Я не понимаю, как тогда получается подключиться к точке доступа? Обычно, когда dnsmasq выключен, то на стадии «Получение IP-адреса» идёт бесконечное ожидание.
Исходная версия ZenitharChampion, :
pi@raspberrypi:~ $ sudo ping ya.ru
^C
pi@raspberrypi:~ $ sudo ping 87.250.250.242
PING 87.250.250.242 (87.250.250.242) 56(84) bytes of data.
64 bytes from 87.250.250.242: icmp_seq=1 ttl=53 time=58.2 ms
^C
--- 87.250.250.242 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 58.216/58.216/58.216/0.000 ms
pi@raspberrypi:~ $ ssh -X -l pi 192.168.11.1
pi@192.168.11.1's password:
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Jan 23 20:41:23 2019 from 192.168.11.2
pi@raspberrypi:~ $ sudo journalctl -u dnsmasq
-- Logs begin at Ср 2019-01-23 21:10:13 +07, end at Ср 2019-01-23 21:12:11 +07. --
янв 23 21:10:18 raspberrypi systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
янв 23 21:10:19 raspberrypi dnsmasq[621]: dnsmasq: syntax check OK.
янв 23 21:10:19 raspberrypi dnsmasq[697]: dnsmasq: junk found in command line
янв 23 21:10:19 raspberrypi systemd[1]: dnsmasq.service: control process exited, code=exited status=1
янв 23 21:10:19 raspberrypi systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
янв 23 21:10:19 raspberrypi systemd[1]: Unit dnsmasq.service entered failed state.
pi@raspberrypi:~ $ sudo dpkg -i dns-root-data_2017072601~deb8u1_all.deb
dpkg: предупреждение: снижение версии dns-root-data с 2017072601~deb8u2 до 2017072601~deb8u1
(Чтение базы данных … на данный момент установлено 130427 файлов и каталогов.)
Подготовка к распаковке dns-root-data_2017072601~deb8u1_all.deb …
Распаковывается dns-root-data (2017072601~deb8u1) на замену (2017072601~deb8u2) …
Настраивается пакет dns-root-data (2017072601~deb8u1) …
Надпись Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
- красными буквами
Я не понимаю, как тогда получается подключиться к точке доступа? Обычно, когда dnsmasq выключен, то на стадии «Получение IP-адреса» идёт бесконечное ожидание.