Ошибка 101 ubuntu

My ubuntu browsing this normally can not access any site, more apt-get update and even upgrade this giving error as shown below, what could it be?

sudo apt-get update
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [94,5 kB]
Hit:2 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease
Err:3 http://br.archive.ubuntu.com/ubuntu xenial InRelease                     
  Cannot initiate the connection to br.archive.ubuntu.com:80 (2801:82:80ff:8000::5). - connect (101: Network is unreachable) [IP: 2801:82:80ff:8000::5 80]
Err:4 http://br.archive.ubuntu.com/ubuntu xenial-updates InRelease
  Cannot initiate the connection to br.archive.ubuntu.com:80 (2801:82:80ff:8000::5). - connect (101: Network is unreachable) [IP: 2801:82:80ff:8000::5 80]
Err:5 http://br.archive.ubuntu.com/ubuntu xenial-backports InRelease
  Cannot initiate the connection to br.archive.ubuntu.com:80 (2801:82:80ff:8000::5). - connect (101: Network is unreachable) [IP: 2801:82:80ff:8000::5 80]
Downloading 94,5 kB in 2min 0s (786 B/s)
Reading package lists ... Done
W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/xenial/InRelease  Cannot initiate the connection to br.archive.ubuntu.com:80 (2801:82:80ff:8000::5). - connect (101: Network is unreachable) [IP: 2801:82:80ff:8000::5 80]
W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease  Cannot initiate the connection to br.archive.ubuntu.com:80 (2801:82:80ff:8000::5). - connect (101: Network is unreachable) [IP: 2801:82:80ff:8000::5 80]
W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease  Cannot initiate the connection to br.archive.ubuntu.com:80 (2801:82:80ff:8000::5). - connect (101: Network is unreachable) [IP: 2801:82:80ff:8000::5 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.

Ubuntu:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"

karel's user avatar

karel

109k100 gold badges266 silver badges296 bronze badges

asked Nov 2, 2016 at 4:09

Otácio Barbosa's user avatar

1

Have you tried changing the repository to the ‘Main server’?

You can change it by opening ‘Software & Updates’ and selecting a different mirror.

From time to time the local repository mirrors go down so its always a good idea to check other ones ;)

I have also noticed that it is trying to connect via IPv6 which your router or ISP may not support. Have you tried this?

Community's user avatar

answered Nov 2, 2016 at 5:18

Aedazan's user avatar

AedazanAedazan

2921 silver badge13 bronze badges

0

From the logs it seems that your machine is using IPv6 to connect to the internet. It could be that your internet service provider does not support IPv6. You can try disabling IPv6.

To do this system-wide, edit the file /etc/default/grub (for instance using sudo nano /etc/default/grub), and adding ipv6.disable=1 to the value of GRUB_CMDLINE_LINUX_DEFAULT.

In a default Ubuntu installation that line reads

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

so you change it to

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash ipv6.disable"

Afterwards, first run sudo update-grub, then reboot.

answered Nov 2, 2016 at 5:28

zwets's user avatar

zwetszwets

11.7k2 gold badges32 silver badges44 bronze badges

3

Looking forward to resolve apt-get connect (101 network is unreachable)? We can help you in fixing it. 

The error usually occurs while accessing the network for updating or installing.

At Bobcares, we often get requests from our customers to fix the error network is unreachable as part of our Server Management Services.

Today, let’s get into the details on how our Support Engineers fix this problem.

What causes apt-get connect (101 network is unreachable)?

The error mainly occurs due to problems in network connections.

This error indicates that either the IPv6 connection is unstable, or the servers are dead, or the file is not found.

For instance, the error appears as follows.

apt-get connect (101 network is unreachable)

Let’s see how our Support Engineers help the customer to fix this.

Easy way to fix the error

At Bobcares, where we have more than a decade of expertise in managing servers, we see many customers face error apt-get connect (101 network is unreachable).

Now, let’s see the major reasons and how our Support Engineers fix this error.

Disabling ipv6

Recently one of the customers was getting Update information outdated alert then he applied sudo apt-get update command. Unfortunately, the user got stuck with this error.

On further analysis, we could trace from the logs that the user’s machine was using IPv6 to connect to the internet.

Hence, the reason behind the error was user’s internet service provider does not support IPv6. So we tried disabling IPv6.

To do this system-wide, we edited the file /etc/default/grub by running the below command

sudo nano /etc/default/grub

And added the following.

ipv6.disable=1

To the value of GRUB_CMDLINE_LINUX_DEFAULT.

In a default Ubuntu installation, that line reads

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

so we changed it to

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash ipv6.disable=1"

Then, we ran the following command.

sudo update-grub

Finally, we rebooted the server.

Finally, the connection problem was then resolved.

Enabling secure port

In addition, in certain cases this error results due to closed port 443.

We then open the secure port and the error get disappeared.

[Having trouble with this error? We’ll fix it for you.]

Conclusion

In short, apt-get connect (101 network is unreachable) occurs due to problems in network connection. Today, we saw how our Support Engineers helped the customer in fixing the error.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = «owonCMyG5nEQ0aD71QM»;

Этот вопрос уже имеет ответ здесь: Почему я получаю ошибку 101? Как работает мой DNS? 3 ответа

Мой ubuntu просматривает это, как правило, не может получить доступ к любому сайту, больше apt-get update и даже upgrade это дает ошибку, как показано ниже, что это может быть?

sudo apt-get update
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [94,5 kB]
Hit:2 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease
Err:3 http://br.archive.ubuntu.com/ubuntu xenial InRelease                     
  Cannot initiate the connection to br.archive.ubuntu.com:80 (2801:82:80ff:8000::5). - connect (101: Network is unreachable) [IP: 2801:82:80ff:8000::5 80]
Err:4 http://br.archive.ubuntu.com/ubuntu xenial-updates InRelease
  Cannot initiate the connection to br.archive.ubuntu.com:80 (2801:82:80ff:8000::5). - connect (101: Network is unreachable) [IP: 2801:82:80ff:8000::5 80]
Err:5 http://br.archive.ubuntu.com/ubuntu xenial-backports InRelease
  Cannot initiate the connection to br.archive.ubuntu.com:80 (2801:82:80ff:8000::5). - connect (101: Network is unreachable) [IP: 2801:82:80ff:8000::5 80]
Downloading 94,5 kB in 2min 0s (786 B/s)
Reading package lists ... Done
W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/xenial/InRelease  Cannot initiate the connection to br.archive.ubuntu.com:80 (2801:82:80ff:8000::5). - connect (101: Network is unreachable) [IP: 2801:82:80ff:8000::5 80]
W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease  Cannot initiate the connection to br.archive.ubuntu.com:80 (2801:82:80ff:8000::5). - connect (101: Network is unreachable) [IP: 2801:82:80ff:8000::5 80]
W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease  Cannot initiate the connection to br.archive.ubuntu.com:80 (2801:82:80ff:8000::5). - connect (101: Network is unreachable) [IP: 2801:82:80ff:8000::5 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.

[d7 ] Ubuntu:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"

задан
2 November 2016 в 09:29

поделиться

1 ответ

Из журналов кажется, что ваша машина использует IPv6 для подключения к Интернету. Возможно, ваш провайдер интернет-услуг не поддерживает IPv6. Вы можете попробовать отключить IPv6.

Чтобы сделать это в общесистемной, отредактируйте файл /etc/default/grub (например, используя sudo nano /etc/default/grub) и добавив ipv6.disable=1 к значению GRUB_CMDLINE_LINUX_DEFAULT.

В установке Ubuntu по умолчанию эта строка читает

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

, поэтому вы меняете ее на

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash ipv6.disable"

. Затем сначала запустите sudo update-grub, затем перезагрузитесь. [ ! d4]

ответ дан zwets
23 May 2018 в 04:36

поделиться

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

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

Solution 1

Have you tried changing the repository to the ‘Main server’?

You can change it by opening ‘Software & Updates’ and selecting a different mirror.

From time to time the local repository mirrors go down so its always a good idea to check other ones ;)

I have also noticed that it is trying to connect via IPv6 which your router or ISP may not support. Have you tried this?

Solution 2

From the logs it seems that your machine is using IPv6 to connect to the internet. It could be that your internet service provider does not support IPv6. You can try disabling IPv6.

To do this system-wide, edit the file /etc/default/grub (for instance using sudo nano /etc/default/grub), and adding ipv6.disable=1 to the value of GRUB_CMDLINE_LINUX_DEFAULT.

In a default Ubuntu installation that line reads

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

so you change it to

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash ipv6.disable"

Afterwards, first run sudo update-grub, then reboot.

Related videos on Youtube

Ubuntu: OSError: [Errno 101] Network is unreachable

01 : 39

Ubuntu: OSError: [Errno 101] Network is unreachable

Fix Error Code: 0x80070035 The network path was not found

07 : 37

Fix Error Code: 0x80070035 The network path was not found

Ubuntu: Error 101: Network is unreachable when trying to update

01 : 43

Ubuntu: Error 101: Network is unreachable when trying to update

How to fix this message in Minecraft (Java.netSocketException:Network is unreachable)

02 : 36

How to fix this message in Minecraft (Java.netSocketException:Network is unreachable)

network is unreachable Linux on VirtualBox

02 : 19

network is unreachable Linux on VirtualBox

[Errno 101] Network is unreachable when trying to send email using Django - Django

01 : 03

[Errno 101] Network is unreachable when trying to send email using Django — Django

How to fix network is unreachable Linux on VirtualBox | Unable to ping VM in vmware workstation

08 : 19

How to fix network is unreachable Linux on VirtualBox | Unable to ping VM in vmware workstation

Comments

  • My ubuntu browsing this normally can not access any site, more apt-get update and even upgrade this giving error as shown below, what could it be?

    sudo apt-get update
    Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [94,5 kB]
    Hit:2 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease
    Err:3 http://br.archive.ubuntu.com/ubuntu xenial InRelease                     
      Cannot initiate the connection to br.archive.ubuntu.com:80 (2801:82:80ff:8000::5). - connect (101: Network is unreachable) [IP: 2801:82:80ff:8000::5 80]
    Err:4 http://br.archive.ubuntu.com/ubuntu xenial-updates InRelease
      Cannot initiate the connection to br.archive.ubuntu.com:80 (2801:82:80ff:8000::5). - connect (101: Network is unreachable) [IP: 2801:82:80ff:8000::5 80]
    Err:5 http://br.archive.ubuntu.com/ubuntu xenial-backports InRelease
      Cannot initiate the connection to br.archive.ubuntu.com:80 (2801:82:80ff:8000::5). - connect (101: Network is unreachable) [IP: 2801:82:80ff:8000::5 80]
    Downloading 94,5 kB in 2min 0s (786 B/s)
    Reading package lists ... Done
    W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/xenial/InRelease  Cannot initiate the connection to br.archive.ubuntu.com:80 (2801:82:80ff:8000::5). - connect (101: Network is unreachable) [IP: 2801:82:80ff:8000::5 80]
    W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease  Cannot initiate the connection to br.archive.ubuntu.com:80 (2801:82:80ff:8000::5). - connect (101: Network is unreachable) [IP: 2801:82:80ff:8000::5 80]
    W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease  Cannot initiate the connection to br.archive.ubuntu.com:80 (2801:82:80ff:8000::5). - connect (101: Network is unreachable) [IP: 2801:82:80ff:8000::5 80]
    W: Some index files failed to download. They have been ignored, or old ones used instead.
    

    Ubuntu:

    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=16.04
    DISTRIB_CODENAME=xenial
    DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"
    

    • Just in case someone has similar problem — in my case, there was a problem with my network. I did have internet access, but the adapter was not configured properly. Once I switched to wifi adapter, the apt update ran smoothly.

  • Disabling IPv6 because of a single networking issue seems a little overkill.

  • @DavidFoerster agree, but since poster wasn’t able to browse the web either, I reckoned that only forcing APT on IPv4 wouldn’t cut it.

  • Good point I originally understood the part about browsing to mean the opposite since it’s stated so weirdly.

Recents

Related

Я получал Update information is outdated предупреждение. Я попытался sudo apt-get update и получил эти ошибки:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/Release.gpg  Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::13). - connect (101: Network is unreachable) [IP: 2001:67c:1562::13 80]
W: Failed to fetch http://repository.spotify.com/dists/stable/Release.gpg  Something wicked happened resolving 'repository.spotify.com:http' (-11 - System error)
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/main/i18n/Translation-en_IN  Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::13). - connect (101: Network is unreachable) [IP: 2001:67c:1562::13 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/main/i18n/Translation-en  Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::13). - connect (101: Network is unreachable) [IP: 2001:67c:1562::13 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/multiverse/i18n/Translation-en_IN  Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::13). - connect (101: Network is unreachable) [IP: 2001:67c:1562::13 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/multiverse/i18n/Translation-en  Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::13). - connect (101: Network is unreachable) [IP: 2001:67c:1562::13 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/restricted/i18n/Translation-en_IN  Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::13). - connect (101: Network is unreachable) [IP: 2001:67c:1562::13 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/restricted/i18n/Translation-en  Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::13). - connect (101: Network is unreachable) [IP: 2001:67c:1562::13 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/universe/i18n/Translation-en_IN  Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::13). - connect (101: Network is unreachable) [IP: 2001:67c:1562::13 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/universe/i18n/Translation-en  Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::13). - connect (101: Network is unreachable) [IP: 2001:67c:1562::13 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/universe/source/Sources  Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::13). - connect (101: Network is unreachable) [IP: 2001:67c:1562::13 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/main/source/Sources  Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::13). - connect (101: Network is unreachable) [IP: 2001:67c:1562::13 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/multiverse/source/Sources  Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::13). - connect (101: Network is unreachable) [IP: 2001:67c:1562::13 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/restricted/source/Sources  Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::13). - connect (101: Network is unreachable) [IP: 2001:67c:1562::13 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/main/binary-i386/Packages  Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::13). - connect (101: Network is unreachable) [IP: 2001:67c:1562::13 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/restricted/binary-i386/Packages  Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::13). - connect (101: Network is unreachable) [IP: 2001:67c:1562::13 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/universe/binary-i386/Packages  Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::13). - connect (101: Network is unreachable) [IP: 2001:67c:1562::13 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/multiverse/binary-i386/Packages  Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::13). - connect (101: Network is unreachable) [IP: 2001:67c:1562::13 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.

Я следовал за верхний ответ этого потока, и это устранило проблему.

Но кто-то, пожалуйста, объясните, в чем была проблема и как она была устранена?

Ссылка

3 ответа

Если вы получаете такие ошибки, это означает, что либо ваше IPv6-соединение было нестабильным, либо серверы были мертвы, либо файл не был найден. Прямо сейчас прорабатывается:

http://[2001:67c:1562::13]/ubuntu/dists/raring-security/multiverse/binary-i386/

ответ дан Dima
10.10.2019, 13:29

Ссылка

Измените настройки сетевого прокси-сервера синхронно с тем, который вы используете для доступа к этой веб-странице (короче говоря, прокси вашего браузера)

Ссылка

То, что вы видите в выходных данных, — это то, что ваша машина пытается подключиться с использованием адресов IPV6 (например, 2001: 67c: 1562 :: 13), которые отличаются от адресов IPv4 (например, 192.168.0.1). Вы могли бы иметь два подхода здесь. Один — отключите IPv6, выполнив эти шаги:

  1. Откройте /etc/sysctl.conf в любом текстовом редакторе (для этого вам понадобится sudo). Лично я бы сделал что-то вроде sudo nano /etc/sysctl.conf (nano проще всего) или sudo vi /etc/sysctl.conf.
  2. добавить эти строки

    net.ipv6.conf.all.disable_ipv6 = 1
    net.ipv6.conf.default.disable_ipv6 = 1
    net.ipv6.conf.lo.disable_ipv6 = 1
    
  3. Выполнить sudo sysctl --load, чтобы применить изменения

Вторым способом будет использовать IPv6 DNS. Например, нажмите на индикатор сети на верхней панели, выберите Edit Connections, и для вашего конкретного соединения Wi-Fi или Ethernet используйте 2620:0:ccc::2 DNS, который OpenDNS IPv6-сервер . Убедитесь, что вы выбрали опцию «Только адрес»

enter image description here

Ссылка

Теги

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

  • Печать

Страницы: [1] 2  Все   Вниз

Тема: Не открываются страницы по http  (Прочитано 3027 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
garmayev

Установил новую систему Ubuntu 20.04 Focal

При попытке выполнить получаю:

$ sudo apt update

Ошб:1 http://archive.ubuntu.com/ubuntu focal InRelease                                             
  Невозможно инициализировать соединение с archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Сеть недоступна) Невозможно инициализировать соединение с archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Сеть недоступна) Не удалось соединиться с archive.ubuntu.com:80 (91.189.88.152): время ожидания для соединения истекло Не удалось соединиться с archive.ubuntu.com:80 (91.189.88.142): время ожидания для соединения истекло
Ошб:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease                                     
  Невозможно инициализировать соединение с archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Сеть недоступна) Невозможно инициализировать соединение с archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Сеть недоступна)
Ошб:3 http://archive.ubuntu.com/ubuntu focal-security InRelease                                     
  Невозможно инициализировать соединение с archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Сеть недоступна) Невозможно инициализировать соединение с archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Сеть недоступна)
Ошб:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease                                   
  Невозможно инициализировать соединение с archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Сеть недоступна) Невозможно инициализировать соединение с archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Сеть недоступна)
Ошб:5 http://archive.canonical.com/ubuntu focal InRelease                                           
  Невозможно инициализировать соединение с archive.canonical.com:80 (2001:67c:1360:8c01::16). - connect (101: Сеть недоступна) Невозможно инициализировать соединение с archive.canonical.com:80 (2001:67c:1360:8c01::1b). - connect (101: Сеть недоступна) Невозможно инициализировать соединение с archive.canonical.com:80 (2001:67c:1562::1c). - connect (101: Сеть недоступна) Не удалось соединиться с archive.canonical.com:80 (91.189.92.150): время ожидания для соединения истекло Не удалось соединиться с archive.canonical.com:80 (91.189.91.15): время ожидания для соединения истекло Не удалось соединиться с archive.canonical.com:80 (91.189.92.191): время ожидания для соединения истекло
Ошб:6 http://dl.google.com/linux/chrome/deb stable InRelease                                       
  Невозможно инициализировать соединение с dl.google.com:80 (2a00:1450:4010:c05::be). - connect (101: Сеть недоступна) Невозможно инициализировать соединение с dl.google.com:80 (2a00:1450:4010:c05::5b). - connect (101: Сеть недоступна) Невозможно инициализировать соединение с dl.google.com:80 (2a00:1450:4010:c05::88). - connect (101: Сеть недоступна) Невозможно инициализировать соединение с dl.google.com:80 (2a00:1450:4010:c05::5d). - connect (101: Сеть недоступна) Не удалось соединиться с dl.google.com:80 (64.233.162.136): время ожидания для соединения истекло Не удалось соединиться с dl.google.com:80 (64.233.162.93): время ожидания для соединения истекло Не удалось соединиться с dl.google.com:80 (64.233.162.91): время ожидания для соединения истекло Не удалось соединиться с dl.google.com:80 (64.233.162.190): время ожидания для соединения истекло
Чтение списков пакетов… Готово                                     
Построение дерева зависимостей       
Чтение информации о состоянии… Готово
Все пакеты имеют последние версии.
W: Не удалось получить http://archive.ubuntu.com/ubuntu/dists/focal/InRelease  Невозможно инициализировать соединение с archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Сеть недоступна) Невозможно инициализировать соединение с archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Сеть недоступна) Не удалось соединиться с archive.ubuntu.com:80 (91.189.88.152): время ожидания для соединения истекло Не удалось соединиться с archive.ubuntu.com:80 (91.189.88.142): время ожидания для соединения истекло
W: Не удалось получить http://archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease  Невозможно инициализировать соединение с archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Сеть недоступна) Невозможно инициализировать соединение с archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Сеть недоступна)
W: Не удалось получить http://archive.ubuntu.com/ubuntu/dists/focal-security/InRelease  Невозможно инициализировать соединение с archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Сеть недоступна) Невозможно инициализировать соединение с archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Сеть недоступна)
W: Не удалось получить http://archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease  Невозможно инициализировать соединение с archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Сеть недоступна) Невозможно инициализировать соединение с archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Сеть недоступна)
W: Не удалось получить http://archive.canonical.com/ubuntu/dists/focal/InRelease  Невозможно инициализировать соединение с archive.canonical.com:80 (2001:67c:1360:8c01::16). - connect (101: Сеть недоступна) Невозможно инициализировать соединение с archive.canonical.com:80 (2001:67c:1360:8c01::1b). - connect (101: Сеть недоступна) Невозможно инициализировать соединение с archive.canonical.com:80 (2001:67c:1562::1c). - connect (101: Сеть недоступна) Не удалось соединиться с archive.canonical.com:80 (91.189.92.150): время ожидания для соединения истекло Не удалось соединиться с archive.canonical.com:80 (91.189.91.15): время ожидания для соединения истекло Не удалось соединиться с archive.canonical.com:80 (91.189.92.191): время ожидания для соединения истекло
W: Не удалось получить http://dl.google.com/linux/chrome/deb/dists/stable/InRelease  Невозможно инициализировать соединение с dl.google.com:80 (2a00:1450:4010:c05::be). - connect (101: Сеть недоступна) Невозможно инициализировать соединение с dl.google.com:80 (2a00:1450:4010:c05::5b). - connect (101: Сеть недоступна) Невозможно инициализировать соединение с dl.google.com:80 (2a00:1450:4010:c05::88). - connect (101: Сеть недоступна) Невозможно инициализировать соединение с dl.google.com:80 (2a00:1450:4010:c05::5d). - connect (101: Сеть недоступна) Не удалось соединиться с dl.google.com:80 (64.233.162.136): время ожидания для соединения истекло Не удалось соединиться с dl.google.com:80 (64.233.162.93): время ожидания для соединения истекло Не удалось соединиться с dl.google.com:80 (64.233.162.91): время ожидания для соединения истекло Не удалось соединиться с dl.google.com:80 (64.233.162.190): время ожидания для соединения истекло
W: Некоторые индексные файлы скачать не удалось. Они были проигнорированы, или вместо них были использованы старые версии.

$ wget http://yandex.ru
--2021-04-11 20:27:32--  http://yandex.ru/
Распознаётся yandex.ru (yandex.ru)… 77.88.55.50, 5.255.255.5, 5.255.255.50, ...
Подключение к yandex.ru (yandex.ru)|77.88.55.50|:80... ошибка: Время ожидания соединения истекло.
Подключение к yandex.ru (yandex.ru)|5.255.255.5|:80...

$ wget https://yandex.ru
--2021-04-11 20:31:17--  https://yandex.ru/
Распознаётся yandex.ru (yandex.ru)… 77.88.55.55, 5.255.255.50, 5.255.255.5, ...
Подключение к yandex.ru (yandex.ru)|77.88.55.55|:443... соединение установлено.
HTTP-запрос отправлен. Ожидание ответа… 200 Ok
Длина: нет данных [text/html]
Сохранение в: «index.html.2»

index.html.2                  [  <=>                              ] 196,99K   697KB/s    за 0,3s   

2021-04-11 20:31:18 (697 KB/s) - «index.html.2» сохранён [201717]


Т.е. запросы по http не проходят.
Сеть получаю по wifi

$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: enp1s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether c0:3e:ba:04:0b:ab brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 8c:c8:4b:21:65:33 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.4/24 brd 192.168.0.255 scope global dynamic noprefixroute wlp2s0
       valid_lft 12781sec preferred_lft 12781sec
    inet6 fe80::77ee:dff7:5054:6e2f/64 scope link noprefixroute
       valid_lft forever preferred_lft forever

$ iwconfig
lo        no wireless extensions.

enp1s0    no wireless extensions.

wlp2s0    IEEE 802.11  ESSID:"RT-5GPON-50B4" 
          Mode:Managed  Frequency:5.26 GHz  Access Point: 74:9D:79:6F:50:B4   
          Bit Rate=6 Mb/s   Tx-Power=30 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=70/70  Signal level=-30 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:137   Missed beacon:0


Подскажите в чем может быть проблема?

Ничего не происходит просто так…


Оффлайн
c47

А как себя ведёт браузер: HTTPS сайты открываются, а HTTP нет? А с 2,4 гигигерцовой сети проблема наблюдается?
Тот же http://archive.ubuntu.com к примеру. И как ведут себя устройства, подключенные к этой же ТД (если не ошибаюсь — онушка от ростелекома?)


Оффлайн
garmayev

А как себя ведёт браузер: HTTPS сайты открываются, а HTTP нет?

Именно так, сайты http — сервер не отвечает, https — нормально работают

И как ведут себя устройства, подключенные к этой же ТД (если не ошибаюсь — онушка от ростелекома?)

Да, Ростелеком.

Другие устртойства в сетиведут себя адекватно — т.е. штатно открывают и http, и https, поэтому я предполагаю, что это что-то у меня в бубунте

Ничего не происходит просто так…


Оффлайн
c47

Ну тогда я даже не знаю, что предложить. Кроме одного: попробуйте подключить инет системк другим путём: хоть с телефона 3/4g раздать по usb или по wifi, чтобы уже точно исключить ТД из списка подозреваемых. Если и так не получится — «ну в этой ситуации мы просто наше это самое мы уже здесь наши полномочия всё, окончены»


Оффлайн
garmayev

Мдяаа, вот совсем забыл, что сеть еще можно с помощью проводов проевти…

Через провод соединение идет нормально, что по https, что по http.

Делаю вывод, что виновник этой пор**графии — все-таки вафля.

Как по-вашему, в чем беда, я уже половину мозга высушил, вторая боится такой же участи, а третья половина думать вообще не хочет…

Ничего не происходит просто так…


Оффлайн
c47

мне онушки с подозрениями на разные баги приносят регулярно (я о операторе одном работаю, мы gpon/gepon в т.ч. предоставляем).
Баги у них в основном хардовые: битые порты, окисленные платы, вздутые кондёры, искарёженные адаптеры или слетела прошивка. но подобных проблем даже не припомню.

Через провод соединение идет нормально, что по https, что по http.

надо сначала максимально сузить число подозреваемых — напишите как всё-таки инет получили?
с другого устройства
или к этой же онушке по eth подключили?

если по eth от ONU проблема есть — то виноват либо оператор, либо сама онушка, попросите рт сбросить её в дефолт, а то мало ли, я не знаю как у них где сети работают, может нет в вашем регионе acs-сервера, и придётся её настраивать самому потом

если по eth проблемы нет, то из списка подозреваемых уходит рт, но подтягивается wifi ноута либо 5ггц wifi онушки (файервол я практически исключаю, в свежеустановленной системе по дефолту всё открыто, но всё же гляньте правила, чем черт не шутит)

и попробуйте всё-таки подключиться к 2,4ггц диапазону этой же онушки и если проблемы в 2.4 не повторится, то попробовать другую 5ггц точку доступа найти и с неё проверить


Оффлайн
garmayev

Подозреваемые:
1. Точка Доступа (aka Роутер)
2. Адаптер Wifi (На уровне железа)
3. Настройки Wifi (На программном уровне)
4. Файрволл
5. Драйвер Wifi

Расследование:
1.1. Роутер раздает 2 сети вайвай: 2.4G и 5G
1.2. Подключаю мобильник к ЛЮБОЙ сети — все сайты открываются
1.3. Подключил ноутбук к сети через провод к роутеру — все работает (и http, и https)

Отсюда: Подозреваемый «Роутер» из списка исключен

2. На уровне железа как может рубиться соединение ТОЛЬКО на 80 порт? Тут, как говориться, «Меня терзают смутные сомнения»

4. Файрвол

$ sudo ufw status verbose
[sudo] пароль для garmayev: [s]Никто не знает мой пароль[/s]
Состояние: неактивен

Отсюда: Подозреваемый «Файрвол» из списка исключен

5. Драйвер я переустановил (качнул с github по этой инструкции https://askubuntu.com/questions/994555/qualcomm-atheros-device-168c0042-rev-31-wi-fi-driver-installation)

Отсюда: Подозреваемый «Драйвер» из списка исключен

Итого, как я понимаю, у меня что-то с конфигами сети не так, а вот что и где — ХБЗ

P.S. Для модераторов — ХБЗ = Хто Бы Знал (не мат, на всякий случай)

Ничего не происходит просто так…


Оффлайн
c47


Оффлайн
garmayev

Интересно девки пляшут…

Такая шутка юмора:
1. Раздал вафлю с телефона (Сам телефон раздает интернет мобильного оператора)
2. Запросы пошли нормально

$ wget http://ya.ru
--2021-04-12 12:33:46--  http://ya.ru/
Распознаётся ya.ru (ya.ru)… 87.250.250.242, 2a02:6b8::2:242
Подключение к ya.ru (ya.ru)|87.250.250.242|:80... соединение установлено.
HTTP-запрос отправлен. Ожидание ответа… 302 Found
Адрес: https://ya.ru/ [переход]
--2021-04-12 12:33:48--  https://ya.ru/
Подключение к ya.ru (ya.ru)|87.250.250.242|:443... соединение установлено.
HTTP-запрос отправлен. Ожидание ответа… 200 Ok
Длина: 60000 (59K) [text/html]
Сохранение в: «index.html»

index.html          100%[===================>]  58,59K  2,58KB/s    за 23s     

2021-04-12 12:34:17 (2,58 KB/s) - «index.html» сохранён [60000/60000]


Т.е. я рано вычеркнул Роутер из списка подозреваемых, но адаптер можно вычеркнуть?

Что за mtr? Что это такое и с чем его едят?

 ;D


Пользователь добавил сообщение 12 Апреля 2021, 07:42:36:


Всё-таки попробуйте обозвать 2.4 и 5ггцовые вафли разными ssid-ами и подключиться именно к 2.4, разные чудеса бывают на белом свете))

В том-то и весь юмор — они УЖЕ обзываются по разному (2.4G обзывается RT-GPON-50B0, а 5G — RT-GPON50B4)
На обеих не работает http

Updated: Посмотрел что за зверь такой mtr. Могу приложить traceroute и ping:

$ traceroute archive.ubuntu.com
traceroute to archive.ubuntu.com (91.189.88.142), 30 hops max, 60 byte packets
 1  _gateway (192.168.0.1)  1.600 ms  1.659 ms  2.057 ms
 2  ulnd-bras4.sib.ip.rostelecom.ru (213.228.116.207)  7.413 ms  7.533 ms  7.508 ms
 3  xe-7-1-3.ulnd-rgr6.sib.ip.rostelecom.ru (213.228.114.24)  12.702 ms  13.030 ms  13.007 ms
 4  ae40.stkm-cr4.intl.ip.rostelecom.ru (217.107.67.31)  105.605 ms  113.745 ms  109.109 ms
 5  10gigabitethernet1-2.core1.sto1.he.net (194.68.123.187)  109.188 ms  104.910 ms  111.122 ms
 6  100ge8-2.core1.ams1.he.net (184.105.65.125)  134.337 ms  119.778 ms  124.676 ms
 7  100ge16-1.core1.lon2.he.net (72.52.92.213)  140.824 ms  137.546 ms  141.237 ms
 8  100ge0-36.core1.lon7.he.net (184.104.196.6)  156.049 ms  156.178 ms  156.159 ms
 9  canonical-group-limited.e0-53.switch1.lon7.he.net (184.104.203.50)  134.557 ms  130.284 ms  124.547 ms
10  aerodent.canonical.com (91.189.88.142)  121.111 ms  124.509 ms  128.489 ms

$ ping archive.ubuntu.com
PING archive.ubuntu.com (91.189.88.142) 56(84) bytes of data.
64 bytes from aerodent.canonical.com (91.189.88.142): icmp_seq=1 ttl=56 time=223 ms
64 bytes from aerodent.canonical.com (91.189.88.142): icmp_seq=2 ttl=56 time=143 ms
64 bytes from aerodent.canonical.com (91.189.88.142): icmp_seq=3 ttl=56 time=167 ms
64 bytes from aerodent.canonical.com (91.189.88.142): icmp_seq=4 ttl=56 time=188 ms
^C
--- archive.ubuntu.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 142.714/180.192/222.684/29.308 ms

« Последнее редактирование: 12 Апреля 2021, 07:58:31 от garmayev »

Ничего не происходит просто так…


Оффлайн
c47

Т.е. я рано вычеркнул Роутер из списка подозреваемых, но адаптер можно вычеркнуть?

нет, возможно несовместимость знаков зодиака конкретных радиомодулей роутера и ноутбука, я слышал о таком где-то, не вспомню уже…
sudo apt install mtr-tiny ### консольная, удобная штука, не путать с гуёвым аналогом — mtr, в нём функционала 0 (или я дурак)
mtr-tiny — плод любви ping и traceroute, обладает основным функционалом мамы и папы, мне по работе он особо не нужен, но иногда пригождается, поэтому о его возможностях я сужу лишь по странице man, впечатляет


Оффлайн
garmayev

Не могу залить скрин, в файл программулина не выплевывает, попробую описать словами…

нашел 10 узлов, Процент потерь (Loss) = 0% на всех узлах,

1. _gateway
2. ulnd-bras4.sib.ip.rostelecom.ru
3. xe-7-1-3.ulnd-rgr6.sib.ip.rostelecom.ru
4. ae23.stkm-cr4.intl.ip.rostelecom.ru
5. 10gigabitethernet1-3.core1.sto1.he.net
6. 100ge8-2.core1.ams.he.net
7. 100ge16-1.core1.lon2.he.net
8. 100ge0-36.core1.lon7.he.net
9. canonical-group-limited.e0-53.switch1.lon7.he.net
10. aerodent.canonical.com

Как-то так


Пользователь добавил сообщение 12 Апреля 2021, 08:16:15:


возможно несовместимость знаков зодиака конкретных радиомодулей роутера и ноутбука

На прошлой неделе интернет на этом ноутбуке работал полностью. Правда, это было под виндой (Не виноватый я, он — ноутбук — сам такой пришел). Сейчас решил перейти на знакомую бубну — а тут такой… «Большой пушистый северный зверь по имени Песец»

« Последнее редактирование: 12 Апреля 2021, 08:16:15 от garmayev »

Ничего не происходит просто так…


Оффлайн
c47

нашел 10 узлов, Процент потерь (Loss) = 0% на всех узлах,

ага, значит до тех же ipv4 адресов связь по icmp есть, а по 80 порту нет? да, девки пляшут всё интереснее и выкрутаснее.
Можно чисто в качестве эксперимента накатить на ноут 10ку свеженькую, (если есть пара часов свободного времени) если и на ней проблема повторится — то звёзды так сошлись хардварная несовметимость, других вариантов у меня нет, а если на винде всё будет работать — то значит линуксовые дрова на конкретный радио-модуль всё-таки неайс


Пользователь добавил сообщение 12 Апреля 2021, 08:46:32:


wlp2s0    IEEE 802.11  ESSID:»RT-5GPON-50B4″ 
          Mode:Managed  Frequency:5.26 GHz  Access Point: 74:9D:79:6F:50:B4   
          Bit Rate=6 Mb/s   Tx-Power=30 dBm

хмм, только сейчас увидел странные цифры в графе скорость. на ноуте в диспетчере драйверов нет проприетарных? а то ссылочка на дрова аж к 14й убунте относится, много воды с тех пор утекло

« Последнее редактирование: 12 Апреля 2021, 08:46:32 от c47 »


Оффлайн
AnrDaemon

sudo iptables-save

под спойлер.

Хотите получить помощь? Потрудитесь представить запрошенную информацию в полном объёме.

Прежде чем [Отправить], нажми [Просмотр] и прочти собственное сообщение. Сам-то понял, что написал?…


Оффлайн
garmayev

а то ссылочка на дрова аж к 14й убунте относится

А где и как их видите? Видать, у меня глаза неправильные и не знают куда глядеть…

на ноуте в диспетчере драйверов нет проприетарных

livepatch пишет, что проприетарных дров нет.

Сейчас пришлось менять сервер реп (с помощью того же livepatch) на другой (https://nl.mirror.clouvider.net), но что-то мне скорость у них не нравится

sudo iptables-save

$ sudo iptables-save
# Generated by iptables-save v1.8.4 on Mon Apr 12 14:23:31 2021
*mangle
:PREROUTING ACCEPT [1046171:4390694792]
:INPUT ACCEPT [1044695:4390359617]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [907809:2680049716]
:POSTROUTING ACCEPT [908347:2680110450]
-A POSTROUTING -o anbox0 -p udp -m udp --dport 68 -m comment --comment "managed by anbox-bridge" -j CHECKSUM --checksum-fill
COMMIT
# Completed on Mon Apr 12 14:23:31 2021
# Generated by iptables-save v1.8.4 on Mon Apr 12 14:23:31 2021
*nat
:PREROUTING ACCEPT [2032:465054]
:INPUT ACCEPT [578:132966]
:OUTPUT ACCEPT [4911:1196615]
:POSTROUTING ACCEPT [4736:1166158]
-A POSTROUTING -s 192.168.250.0/24 ! -d 192.168.250.0/24 -m comment --comment "managed by anbox-bridge" -j MASQUERADE
COMMIT
# Completed on Mon Apr 12 14:23:31 2021
# Generated by iptables-save v1.8.4 on Mon Apr 12 14:23:31 2021
*filter
:INPUT ACCEPT [1044695:4390359617]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [907809:2680049716]
-A INPUT -i anbox0 -p tcp -m tcp --dport 53 -m comment --comment "managed by anbox-bridge" -j ACCEPT
-A INPUT -i anbox0 -p udp -m udp --dport 53 -m comment --comment "managed by anbox-bridge" -j ACCEPT
-A INPUT -i anbox0 -p tcp -m tcp --dport 67 -m comment --comment "managed by anbox-bridge" -j ACCEPT
-A INPUT -i anbox0 -p udp -m udp --dport 67 -m comment --comment "managed by anbox-bridge" -j ACCEPT
-A FORWARD -o anbox0 -m comment --comment "managed by anbox-bridge" -j ACCEPT
-A FORWARD -i anbox0 -m comment --comment "managed by anbox-bridge" -j ACCEPT
COMMIT
# Completed on Mon Apr 12 14:23:31 2021

Не знаю, что это значат эти правила, но вот выхлоп iptables-save

Ничего не происходит просто так…


Оффлайн
c47

А где и как их видите?

В тэгах автор указал 14.04, в шапке вкладки тоже отображается, а по тексту да, нигде не фигурирует какой дистрибутив или хотя бы ядро

managed by anbox-bridge

ай-яй-яй, «установил Ubuntu, файервол отключен», а слона и не заметил который файервол включил и посуду в нём побил)

Не силён в iptables, но вроде они у тебя сломали DNS, их перехватывает anbox, попробуй поменяй в source.list имена на ip — должно заработать, лучше дождусь ответа AnrDaemon


  • Печать

Страницы: [1] 2  Все   Вверх

  • Home
  • Forum
  • The Ubuntu Forum Community
  • Ubuntu Official Flavours Support
  • General Help
  • [all variants] mount error(101): Network is unreachable

  1. mount error(101): Network is unreachable

    I am running Lucid 64bit. I have noticed that when booting I get the following errors when mounting cifs volumes during the boot process.

    from boot.log:

    mount error(101): Network is unreachable
    Refer to the mount.cifs( 8 ) manual page (e.g. man mount.cifs)
    mount error(101): Network is unreachable
    Refer to the mount.cifs( 8 ) manual page (e.g. man mount.cifs)
    mount error(101): Network is unreachable
    Refer to the mount.cifs( 8 ) manual page (e.g. man mount.cifs)
    mountall: mount /media/misc [932] terminated with status 32
    mountall: mount /media/music [933] terminated with status 32
    mountall: mount /media/fs_files [934] terminated with status 32

    they do mount but this error pauses the boot process for 10 or 15 seconds.

    My assumption is that an attempt is made to mount the drives before the network is available.

    Here’s my fstab:

    Code:

    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' to print the universally unique identifier
    # for a device; this may be used with UUID= as a more robust way to name
    # devices that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    nodev,noexec,nosuid 0       0
    # / was on /dev/sdc1 during installation
    UUID=db3b4a6c-b264-409b-ba1a-46e540ae3697 /               ext3    errors=remount-ro 0       1
    # /home was on /dev/sda3 during installation
    UUID=88c8ed0c-43ee-4849-8fe3-a5603815c4d7 /home           ext3    defaults        0       2
    # swap was on /dev/sdc5 during installation
    UUID=32fb0558-2896-4532-86a2-480e33f08596 none            swap    sw              0       0
    
    //192.168.5.102/misc /media/misc  cifs  credentials=/root/.smbcredentials,noperm,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
    //192.168.5.102/music /media/music  cifs  credentials=/root/.smbcredentials,noperm,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
    //192.168.5.102/files /media/fs_files  cifs  credentials=/root/.smbcredentials,noperm,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

    Any idea how to resolve this?

    Thanks


  2. Re: mount error(101): Network is unreachable

    Quote Originally Posted by bowens44
    View Post

    I am running Lucid 64bit. I have noticed that when booting I get the following errors when mounting cifs volumes during the boot process.
    …….
    My assumption is that an attempt is made to mount the drives before the network is available.

    Here’s my fstab:

    Code:

    # /etc/fstab: static file system information.
    .........
    //192.168.5.102/misc /media/misc  cifs  credentials=/root/.smbcredentials,noperm,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
    //192.168.5.102/music /media/music  cifs  credentials=/root/.smbcredentials,noperm,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
    //192.168.5.102/files /media/fs_files  cifs  credentials=/root/.smbcredentials,noperm,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

    Any idea how to resolve this?

    Thanks

    Use the _netdev option:

    Code:

    //192.168.5.102/misc /media/misc  cifs  credentials=/root/.smbcredentials,noperm,iocharset=utf8,file_mode=0777,dir_mode=0777,_netdev 0 0
    //192.168.5.102/music /media/music  cifs  credentials=/root/.smbcredentials,noperm,iocharset=utf8,file_mode=0777,dir_mode=0777,_netdev 0 0
    //192.168.5.102/files /media/fs_files  cifs  credentials=/root/.smbcredentials,noperm,iocharset=utf8,file_mode=0777,dir_mode=0777,_netdev 0 0

  3. Re: mount error(101): Network is unreachable

    Quote Originally Posted by dcstar
    View Post

    Use the _netdev option:

    Unfortunately, this made no difference

    Last edited by bowens44; May 8th, 2010 at 01:26 PM.


  4. Re: mount error(101): Network is unreachable

    Worked for me. On my system, WICD is now started, the wireless connection is made, and the shares are mounted. Thank you for the help!


  5. Re: mount error(101): Network is unreachable

    I had this same problem after upgrading to Lucid and as I didn’t find a solution, I used the /etc/rc.local script as workaround:

    Code:

    #!/bin/sh 
    #
    # rc.local
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will "exit 0" on success or any other
    # value on error.
    #
    # In order to enable or disable this script just change the execution
    # bits.
    #
    # By default this script does nothing.
    mount -t cifs -o iocharset=utf8,user=myuser,password=mypwd,rw,uid=myuid,_netdev //server/share /mount/point
    
    exit 0

    Hope this helps


  6. Re: mount error(101): Network is unreachable

    Hi,

    I’d Like to revive this thread.

    I am getting the error described here even with the _netdev option under ubuntu 10.04

    As renardeau said you can add these to the rc.local file which stops the error.

    My issue is that one of my mounts in my case is used for configs for vairous applications like SABNZBD + Sickbeard and using the rc.local method means that I cant use these applications as services. However the error(101) causes issuses with these applications on boot, as the mount is not available when the services are starting.

    Does anyone have any more suggestions? I am thinking of trying a different version.


  7. Re: mount error(101): Network is unreachable

    Ok so i have tried this on a few different versions now, 11.10 server and desktop. Both with the same issue. Its really strange.

    For me it means that I have to directly mount a native drive in order to use it as a ‘Install disk’. Shame really

    does anyone have any other ideas?


Bookmarks

Bookmarks


Posting Permissions

Hi guys
Just been experimenting with OpenVPN for a small company network. I have been trying to establish a bridge connection so that users outside of the network can connect to machines in the network.

The OpenVPN server is a Linux machine with one NIC and my test client is a Windows 7 machine. I have been able to successfully establish a single connection directly to the server.

I have been following this http://openvpn.net/index.php/open-sourc … dging.html tutorial to create a bridge so I can connect to other machines on the network.

The IP of the server on the local network is 192.168.2.252, the networks DHCP server and internet gateway is 192.168.2.254.

When I try to connect the the OpenVPN server I eventually get this message repeatedly:
Tue Sep 13 16:40:37 2011 us=216236 212.183.128.38:6711 write UDPv4 []: Network is unreachable (code=101)

These are further details:

Code: Select all

Server Config
#########
port 1194

proto udp

ca   /home/rpettefar/openvpn-2.2.1/easy-rsa/2.0/keys/ca.crt
cert /home/rpettefar/openvpn-2.2.1/easy-rsa/2.0/keys/server.crt
key  /home/rpettefar/openvpn-2.2.1/easy-rsa/2.0/keys/server.key  # This file should be kept secret

dh /home/rpettefar/openvpn-2.2.1/easy-rsa/2.0/keys/dh1024.pem

ifconfig-pool-persist ipp.txt

server-bridge 192.168.2.252 255.255.255.0 192.168.2.180 192.168.2.199

client-to-client

keepalive 10 120

comp-lzo

user nobody
group nobody

persist-key
persist-tun

status openvpn-status.log

verb 3

Code: Select all

Client Config
########
client

dev tap0

proto udp

resolv-retry infinite

nobind

persist-key
persist-tun

ca ca.crt
cert client1.crt
key client1.key

comp-lzo

verb 3

Code: Select all

Console Log
########
Tue Sep 13 17:00:51 2011 OpenVPN 2.2.1 x86_64-unknown-linux-gnu [SSL] [LZO2] [EPOLL] [eurephia] built on Sep 13 2011
Tue Sep 13 17:00:51 2011 NOTE: when bridging your LAN adapter with the TAP adapter, note that the new bridge adapter will often take on its own IP address that is different from what the LAN adapter was previously set to
Tue Sep 13 17:00:51 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue Sep 13 17:00:51 2011 Diffie-Hellman initialized with 1024 bit key
Tue Sep 13 17:00:51 2011 TLS-Auth MTU parms [ L:1574 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue Sep 13 17:00:51 2011 Socket Buffers: R=[122880->131072] S=[122880->131072]
Tue Sep 13 17:00:51 2011 TUN/TAP device tap0 opened
Tue Sep 13 17:00:51 2011 TUN/TAP TX queue length set to 100
Tue Sep 13 17:00:51 2011 Data Channel MTU parms [ L:1574 D:1450 EF:42 EB:135 ET:32 EL:0 AF:3/1 ]
Tue Sep 13 17:00:51 2011 GID set to nobody
Tue Sep 13 17:00:51 2011 UID set to nobody
Tue Sep 13 17:00:51 2011 UDPv4 link local (bound): [undef]:1194
Tue Sep 13 17:00:51 2011 UDPv4 link remote: [undef]
Tue Sep 13 17:00:51 2011 MULTI: multi_init called, r=256 v=256
Tue Sep 13 17:00:51 2011 IFCONFIG POOL: base=192.168.2.180 size=20
Tue Sep 13 17:00:51 2011 IFCONFIG POOL LIST
Tue Sep 13 17:00:51 2011 Initialization Sequence Completed
Tue Sep 13 17:00:57 2011 MULTI: multi_create_instance called
Tue Sep 13 17:00:57 2011 212.183.128.38:31786 Re-using SSL/TLS context
Tue Sep 13 17:00:57 2011 212.183.128.38:31786 LZO compression initialized
Tue Sep 13 17:00:57 2011 212.183.128.38:31786 Control Channel MTU parms [ L:1574 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue Sep 13 17:00:57 2011 212.183.128.38:31786 Data Channel MTU parms [ L:1574 D:1450 EF:42 EB:135 ET:32 EL:0 AF:3/1 ]
Tue Sep 13 17:00:57 2011 212.183.128.38:31786 Local Options hash (VER=V4): 'f7df56b8'
Tue Sep 13 17:00:57 2011 212.183.128.38:31786 Expected Remote Options hash (VER=V4): 'd79ca330'
Tue Sep 13 17:00:57 2011 212.183.128.38:31786 TLS: Initial packet from 212.183.128.38:31786, sid=4290dab5 ad0f1198
Tue Sep 13 17:00:57 2011 212.183.128.38:31786 write UDPv4 []: Network is unreachable (code=101)
Tue Sep 13 17:00:59 2011 212.183.128.38:31786 write UDPv4 []: Network is unreachable (code=101)
Tue Sep 13 17:00:59 2011 212.183.128.38:31786 write UDPv4 []: Network is unreachable (code=101)
Tue Sep 13 17:01:03 2011 212.183.128.38:31786 write UDPv4 []: Network is unreachable (code=101)
Tue Sep 13 17:01:03 2011 212.183.128.38:31786 write UDPv4 []: Network is unreachable (code=101)

I hope I have provided enough information.
Thanks for any help you can supply.

For some reason I have an error while running this code:

with smtplib.SMTP_SSL('smtp.yandex.com.tr', 465) as server:
    server.login(email_from, password_from)
    server.sendmail(
        from_addr='mymail@yandex.ru',
        to_addrs='yourmail@yandex.ru',
        msg='Hello'
    )

The error is:

Traceback (most recent call last):
  File "report.py", line 86, in <module>
    send_report()
  File "report.py", line 82, in send_report
    notificate(*create_html_msg())
  File "report.py", line 69, in notificate
    with smtplib.SMTP_SSL('smtp.yandex.com.tr', 465, context=context) as server:
  File "/usr/lib/python3.8/smtplib.py", line 1034, in __init__
    SMTP.__init__(self, host, port, local_hostname, timeout,
  File "/usr/lib/python3.8/smtplib.py", line 253, in __init__
    (code, msg) = self.connect(host, port)
  File "/usr/lib/python3.8/smtplib.py", line 339, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/usr/lib/python3.8/smtplib.py", line 1040, in _get_socket
    new_socket = socket.create_connection((host, port), timeout,
  File "/usr/lib/python3.8/socket.py", line 808, in create_connection
    raise err
  File "/usr/lib/python3.8/socket.py", line 796, in create_connection
    sock.connect(sa)
OSError: [Errno 101] Network is unreachable

OS is Ubuntu 20.04. My code runs perfectly on the other machine, so the problem is obviously somewhere with the machine.

I’ve tried:

sudo ufw allow 465/tcp

Also I installed and run postfix mail server and added this to /etc/postfix/main.cf:

smtps     inet  n       -       y       -       -       smtpd
  -o syslog_name=postfix/smtps
  -o smtpd_tls_wrappermode=yes
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
  -o content_filter=smtp-amavis:[127.0.0.1]:10026

and then restarted postfix with

sudo systemctl restart postfix

But nothing solved the problem. Please help me with this error.

Понравилась статья? Поделить с друзьями:
  • Ошибка 101 smtp
  • Ошибка 101 plaxis
  • Ошибка 101 net err connection reset соединение
  • Ошибка 101 microsoft solitaire collection
  • Ошибка 101 initialization failed