анализ проблемы
Вызов интерфейса eth0: Ошибка: активация соединения не удалась: соединение не для этого устройства.Ошибка появляется, когда Linux перезапускает сетевую службу.

Поскольку виртуальная машина клонирована, при перезапуске сети используется несколько сетевых карт, сначала проверьте информацию о сетевой карте.
cat /etc/udev/rules.d/70-persistent-net.rules

Здесь вы найдете три сетевые карты, а затем найдете ATTR-сравнение сетевых карт через ifconfig

Очевидно, что здесь используется сетевая карта eth2 вместо сетевой карты eth0
Затем проверьте файл конфигурации сети.
cat /etc/sysconfig/network-scripts/ifcfg-eth0

Следовательно, при запуске сети будет сообщена указанная выше ошибка.
Решение
Есть два решения:
Способ 1. Измените сетевую карту
Измените сетевую карту eth0 на eth2
Сначала откройте файл конфигурации сети и замените DEVICE и HWADDR на eth2.
vi /etc/sysconfig/network-scripts/ifcfg-eth0

Затем измените имя ifcfg-eth0 на ifcfg-eth2
cp ifcfg-eth0 ifcfg-eth2
rm -rf ifcfg-eth0

Наконец, перезапустите сетевую службу.
service network restart

Метод 2: удалить eth2
Используйте сетевую карту eth0, удалите сетевую карту eth2
Сначала откройте файл информации о сетевой карте.
vi /etc/udev/rules.d/70-persistent-net.rules
Измените адрес eth0 на адрес eth2, а затем заблокируйте eth2

Затем измените файл конфигурации сети.
vi /etc/sysconfig/network-scripts/ifcfg-eth0
Также замените значение HWADDR на адрес eth2

Наконец, перезапустите сетевую службу.
service network restart
-
#1
Добрый день, после обновления снова эта ошибка, пока помогает понижение прошивки до версии где все работало 0.6-214 с ssl, как её решить?
DNS over HTTPS resolve failed — switching to standard resolve
Connected to eth-eu2.nanopool.org(213.32.74.157):9433 (TLS enabled)
TLS Handshake success
Set Ethash stratum mode: Ethereum Proxy
Lost connection to stratum server eth-eu2.nanopool.org:9433 or server not reachable.
Trying to connect in 5 second(s)
Al8
Свой человек
-
#2
Ищи другой сервер, у меня аналогичная фигня была на Фениск майнер, местные провайдеры начали чудить, подменять сертификаты или блочить по IP. Я тоже голову ломал, потом начали перебирать каждый сервак из списка, получилось на US законектится.
Попробуй последовательно каждый сервер из списка:
| eth-eu1.nanopool.org eth-eu2.nanopool.org |
eth-us-east1.nanopool.org eth-us-west1.nanopool.org |
eth-asia1.nanopool.org eth-jp1.nanopool.org eth-au1.nanopool.org |
-
#3
Ищи другой сервер, у меня аналогичная фигня была на Фениск майнер, местные провайдеры начали чудить, подменять сертификаты или блочить по IP. Я тоже голову ломал, потом начали перебирать каждый сервак из списка, получилось на US законектится.
Попробуй последовательно каждый сервер из списка:
eth-eu1.nanopool.org
eth-eu2.nanopool.orgeth-us-east1.nanopool.org
eth-us-west1.nanopool.orgeth-asia1.nanopool.org
eth-jp1.nanopool.org
eth-au1.nanopool.org
а разве не хуже будет подключаться к Американским серверам? там же задержка безумная будет …
Al8
Свой человек
-
#4
Мне нормально, лучше так, чем трафик свой святить без SSL. Плюс пролетали сообщения, где админы провайдеров воровали шары у тех кто сидит без SSL. Вообщем сам думай.
-
#5
может кому пригодиться в итоге воспользовался советом AI8, обновился выбрал в списке все сервера кроме японии и австралии, так и работает уже неделю без отвалов
# ifconfig
br0 Link encap:Ethernet HWaddr 54:xx:xx:xx:92:60
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::5604:a6ff:fec8:9260/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:907414 errors:0 dropped:0 overruns:0 frame:0
TX packets:582108 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:670927649 (639.8 MiB) TX bytes:185891420 (177.2 MiB)
eth2 Link encap:Ethernet HWaddr 54:xx:xx:xx:92:60
inet6 addr: fe80::5604:a6ff:fec8:9260/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:1640359 errors:0 dropped:0 overruns:0 frame:0
TX packets:1655038 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:887069850 (845.9 MiB) TX bytes:886775608 (845.6 MiB)
Interrupt:3
eth2.1 Link encap:Ethernet HWaddr 54:xx:xx:xx:92:60
inet6 addr: fe80::5604:a6ff:fec8:9260/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:907416 errors:0 dropped:0 overruns:0 frame:0
TX packets:598887 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:674554519 (643.3 MiB) TX bytes:189159568 (180.3 MiB)
eth2.2 Link encap:Ethernet HWaddr 50:xx:xx:xx:63:5D
inet addr:46.yyy.yyy.130 Bcast:46.yyy.yyy.255 Mask:255.255.224.0
inet6 addr: fe80::52e5:49ff:fe5c:635d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:732609 errors:0 dropped:0 overruns:0 frame:0
TX packets:1056149 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:189517171 (180.7 MiB) TX bytes:696797032 (664.5 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MULTICAST MTU:16436 Metric:1
RX packets:130 errors:0 dropped:0 overruns:0 frame:0
TX packets:130 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:69382 (67.7 KiB) TX bytes:69382 (67.7 KiB)
ra0 Link encap:Ethernet HWaddr 54:xx:xx:xx:92:60
inet6 addr: fe80::5604:a6ff:fec8:9260/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:648 (648.0 B) TX bytes:0 (0.0 B)
Interrupt:4
[свернуть]
Доброго времени суток, друзья.
При установке и настройке Ubuntu 8.10 server столкнулся со следующей проблемой. Поставив систему, принялся настраивать второй интерфейс — eth1 (первый настроил при установке — eth0),
/etc/network/interfaces:
Код: Выделить всё
auto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameserver xx.xxx.xx.x
auto eth1
iface eth1 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.0
/etc/init.d/networking restart:
Код: Выделить всё
* Reconfiguring network interfaces...
* if-up.d/mountnfs[eth0]: waiting for interface eth1 before doing NFS mounts
[ OK ]
ifconfig:
Код: Выделить всё
eth0 Link encap:Ethernet HWaddr 00:1a:4d:4f:f3:ba
inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21a:4dff:fe4f:f3ba/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:501 (501.0 B) TX bytes:936 (936 B)
Interrupt:219 Base address:0x4000
eth1 Link encap:Ethernet HWaddr 00:13:8F:8A:9D:87
inet addr:192.168.0.149 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:19 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2368 (2.3 KB) TX bytes:2368 (2.3 KB)
Как видно, поднимаются оба интерфейса, но пингуется и пингует только eth0, eth1 выдет при пинге Destination Host Unreachable. Гуглю второй день, пока ничего подходящего не нашел, другие сетевые карты пробовал ставить фирмы/модели, кучу раз переустанавливал системы при этом, но ничего. Главное, какую сетевую карту главной укажу при установке системы (задам IP и тд), та и будет работать, если не настраивать сеть вообще при установке, будет работать встроенная в мать карта.
Направте ход мыслей пожалуйста, или подкинте идеи какие-нибудь, а то уже ничего на ум не приходит.
Спасибо
ps: ещё забыл сказать, настраивал неделю назад другой сервер с такой же конфигурацией, там всё нормально прошло, с него снимал сетевую карту и ставил сюда — та же самая ошибка.
I have a CentOS server that is currently using eth1 network interface. I am trying to change it to eth0 and have configured it but when I try ifup eth0 I get this error message:
Error: Connection activation failed: Device not managed by NetworkManager or unavailable
The contents of /etc/sysconfig/network-scripts/ifcfg-eth0 are as follows:
DEVICE=eth0
TYPE=Ethernet
UUID=6519f5da-294a-45e3-b9dc-b8aa12c5fda3
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
HWADDR=00:19:99:D5:56:95
PEERDNS=yes
PEERROUTES=yes
LAST_CONNECT=1509619482
Please can someone help in getting eth0 up?
asked Nov 6, 2017 at 18:24
system-config-network
select the eth0 device and hit the Edit button
and uncheck the «Controlled by network manager» check box and check the box for Activating the port when the computer starts up. Save and quit in there.
Now run system-config-services and stop/disable NetworkManager and start/enabled network service.
This works for me
answered Mar 30, 2018 at 5:42
![]()
If you run ifconfig -a or ip link show as root, does the eth0 interface appear in the output? Does it have the MAC address that ís specified in the /etc/sysconfig/network-scripts/ifcfg-eth0 file on the HWADDR= line?
If it is not there at all, then the driver for the NIC has probably not been loaded yet, or has a problem that prevents it from loading.
If it has an unexpected name, you may have a problem with NIC naming.
If the NIC is there with the expected name, but refuses to activate, it might be a firmware loading problem: some NICs require firmware to work, and if the necessary firmware file is not available, the driver cannot activate the NIC. If this is the problem, then the dmesg | less listing will usually contain one or more messages indicating that the system cannot load a specific firmware file. Once you know the name of the firmware file, you can search for it. Make sure the linux-firmware-<YYYYMMDD>-<version number> RPM package is installed: it includes a large collection of firmware files for various hardware.
answered May 31, 2018 at 11:16
telcoMtelcoM
77.4k3 gold badges101 silver badges195 bronze badges
4
I have a CentOS server that is currently using eth1 network interface. I am trying to change it to eth0 and have configured it but when I try ifup eth0 I get this error message:
Error: Connection activation failed: Device not managed by NetworkManager or unavailable
The contents of /etc/sysconfig/network-scripts/ifcfg-eth0 are as follows:
DEVICE=eth0
TYPE=Ethernet
UUID=6519f5da-294a-45e3-b9dc-b8aa12c5fda3
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
HWADDR=00:19:99:D5:56:95
PEERDNS=yes
PEERROUTES=yes
LAST_CONNECT=1509619482
Please can someone help in getting eth0 up?
asked Nov 6, 2017 at 18:24
system-config-network
select the eth0 device and hit the Edit button
and uncheck the «Controlled by network manager» check box and check the box for Activating the port when the computer starts up. Save and quit in there.
Now run system-config-services and stop/disable NetworkManager and start/enabled network service.
This works for me
answered Mar 30, 2018 at 5:42
![]()
If you run ifconfig -a or ip link show as root, does the eth0 interface appear in the output? Does it have the MAC address that ís specified in the /etc/sysconfig/network-scripts/ifcfg-eth0 file on the HWADDR= line?
If it is not there at all, then the driver for the NIC has probably not been loaded yet, or has a problem that prevents it from loading.
If it has an unexpected name, you may have a problem with NIC naming.
If the NIC is there with the expected name, but refuses to activate, it might be a firmware loading problem: some NICs require firmware to work, and if the necessary firmware file is not available, the driver cannot activate the NIC. If this is the problem, then the dmesg | less listing will usually contain one or more messages indicating that the system cannot load a specific firmware file. Once you know the name of the firmware file, you can search for it. Make sure the linux-firmware-<YYYYMMDD>-<version number> RPM package is installed: it includes a large collection of firmware files for various hardware.
answered May 31, 2018 at 11:16
telcoMtelcoM
77.4k3 gold badges101 silver badges195 bronze badges
4