Обновление apt-get не может подключиться к
Привет, пытаюсь получить обновление Ubuntu на плате Beaglebone Black и получить ошибки: я использовал BBB-eMMC-flasher-ubuntu-16.04.2-console-armhf-2017-06-08-2gb Установить нормально. Сеть в порядке. Ошибки обновления sudo apt-get:
ubuntu@arm:~$ sudo apt-get update
Err:1 http://ports.ubuntu.com/ubu... xenial InRelease
Could not connect to ports.ubuntu.com:80 (172.1.8.1), connection timed out
Err:2 .......
Reading package lists... Done
W: Failed to fetch http://ports.ubuntu.com/ubu... Could not connect to ports.ubuntu.com:80 (172.1.8.1), connection timed out
W: Failed to fetch ..., connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
Было больше ошибок со ссылками, где.... есть. Я должен был взять ссылки, потому что мог опубликовать иначе. ubuntu@arm:~$ Как решить?
1 ответ
Чтобы исправить эту проблему на моем BeagleBone:
менять etc/dnsmasq.d/SoftAp0
dhcp-option-force=option:dns-server,192.168.8.1
на ваш DNS, в моем случае 192.168.1.1
dhcp-option-force=option:dns-server,192.168.1.1
и удалить
address=/#/172.1.8.1
затем
sudo service dnsmasq restart