First, read the manual.
man ifconfig
Then, afterwards, you’ll understand what ifconfig does. also, ifconfig is considered to be a deprecated tool (i still use it however, it’s handy because it’s familiar and easy to use).
ifconfig -a
Will display all interfaces.
ip address # will also display similar information.
You might want to do some googling on some basic networking commands and how they work. TLPD has a quick synopsis on some of the most common commands in linux for networking.
My arch system is configured to give older interface names, but the newer names (automatically configured by ubuntu) give newer (more complicated, harder to remember, and type) information.
$ ip addr
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
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
inet 192.168.254.3/24 brd 192.168.254.255 scope global dynamic wlan0
valid_lft 82688sec preferred_lft 82688sec
inet6 f::f:f:f:f/64 scope link
valid_lft forever preferred_lft forever
You can see I have 3 interfaces, lo
(for loopback), eth0
(for ethernet), and wlan0
(for wireless). If you don’t use the correct interface name, then it won’t work.
The following command will bring the interface up if it was down. The Ubuntu Server Guide has some detailed information on how to accomplish configuration, bringing the interface down, and back up.
sudo ip link set eth0 up
Содержание
- eth0 ОШИБКА при получении флагов интерфейса: такого устройства нет
- 2 ответа
- Linux Mint Forums
- wlan0: ERROR while getting interface flags: No such device
- wlan0: ERROR while getting interface flags: No such device
- Missing eth0 Ethernet interface in Ubuntu — can’t connect to router
- 8 Answers 8
- Arch и virtualbox а с ними гребаное подключение к интернету.
- Enp0s8 error while getting interface flags no such device
- Re: wlano: ERROR while getting interface flags: No such devi
- Re: wlano: ERROR while getting interface flags: No such devi
eth0 ОШИБКА при получении флагов интерфейса: такого устройства нет
Я открыл терминал для установки macchanger с помощью sudo apt-get install -y macchanger , а затем ввел мой пароль. Он заявил, что macchanger была уже самая новая версия, поэтому я набрал clear а затем побежал:
когда это сообщение об ошибке появилось:
Это ноутбук, и я подключен через кабель Ethernet.
Как я могу решить это, чтобы я мог запустить macchanger ?
Так что я использовал ifconfig -a и я смотрю, но не вижу упоминания о eth0
Интерфейсы, которые показывают сверху вниз:
Единственная ссылка на Ethernet это MAC, а также txqueuelen
Помогает ли это понять, что мне нужно сделать, чтобы разобраться?
2 ответа
В соответствии с вашими ifconfig -a выход, enp58s0f1 ваш Ethernet, а не eth0 ,
Когда Ubuntu переключился на systemd (в Ubuntu 15.04), он переключился со старой системы с eth0 и так далее к так называемым предсказуемым именам сетевых интерфейсов. Интерфейсы Ethernet начинаются с en (так твое enp58s0f1 ). Беспроводные интерфейсы начинаются с wl ,
Сначала прочитайте руководство.
затем вы поймете, что делает ifconfig. Кроме того, ifconfig считается устаревшим инструментом (тем не менее, я все еще использую его, он удобен, потому что знаком и прост в использовании).
отобразит все интерфейсы.
$ ip address также будет отображать аналогичную информацию.
Возможно, вы захотите поискать некоторые основные сетевые команды и узнать, как они работают. TLPD имеет краткий обзор некоторых наиболее распространенных команд в Linux для работы в сети.
Моя система архивации настроена так, чтобы давать более старые имена интерфейсов, но более новые имена (автоматически настраиваемые ubuntu) дают более новую (более сложную, сложную для запоминания и ввода) информацию.
Вы можете видеть, что у меня есть 3 интерфейса, lo (для обратной связи), eth0 (для ethernet) и wlan0 (для беспроводной). Если вы не используете правильное имя интерфейса, оно не будет работать.
$ sudo ip link set eth0 up выведет интерфейс вверх, если он не работает. Руководство по Ubuntu Server содержит некоторую подробную информацию о том, как выполнить настройку, отключить интерфейс и выполнить резервное копирование.
Источник
Linux Mint Forums
Welcome to the Linux Mint forums!
wlan0: ERROR while getting interface flags: No such device
wlan0: ERROR while getting interface flags: No such device
Post by Hairyloon » Sat Oct 21, 2017 8:46 am
I had troubles running Mint 18 so I decided to try 17: it seems to run significantly faster, but I have no Wifi.
I’ve installed the recommended drivers using the driver manager, which has always worked before, but I’ve got nothing.
‘lshw -C network’ gives me:
enp0s25 Link encap:Ethernet HWaddr 00:24:e8:d3:f9:0e
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fddc:d916:dfe2:bd00:224:e8ff:fed3:f90e/64 Scope:Global
inet6 addr: fe80::224:e8ff:fed3:f90e/64 Scope:Link
inet6 addr: fddc:d916:dfe2:bd00:f840:b760:faff:e512/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:246660 errors:0 dropped:0 overruns:0 frame:0
TX packets:158062 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:295998721 (295.9 MB) TX bytes:18274832 (18.2 MB)
Interrupt:22 Memory:f6ae0000-f6b00000
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:65536 Metric:1
RX packets:3608 errors:0 dropped:0 overruns:0 frame:0
TX packets:3608 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:391105 (391.1 KB) TX bytes:391105 (391.1 KB)
Источник
Missing eth0 Ethernet interface in Ubuntu — can’t connect to router
I’m having trouble getting my Ubuntu 10.04 machine (Sony Vaio VGN-SR490) to connect to the Internet by way of an Ethernet cable connected directly to my router.
I’m able to connect to the Internet using this same cable using a Windows machine, so there’s something wrong with the way Linux is configured.
How do I got about figuring out what the problem is and solving it?
Here are my network settings on Linux:
Here are my network settings on Windows (Vista):
I censored my IP address from these results. If that information is needed, just let me know.
Here is the content of /etc/network/interfaces :
After adding auto eth0 , here are the latest results:
Here are the results of running a modprobe:
I removed Linux from my computer and installed Windows XP, at the request of some of the people commenting on this question. I installed an ran a program to find out details about the network card. Here is that information:
It looks like the network adapters list is empty. I will now install both Windows XP and Ubuntu Linux dual-boot. I’m still not able to access the internet, even through Windows. I’m wonder if this could be a hardware problem with the computer or a problem with the router itself. Other computers can connect to this same router, and work fine. (That’s how I’m posting this after all!)
8 Answers 8
First of all, your ethernet isn’t being managed by Ubuntu. Try ifconfig -a instead of just ifconfig , so you can see all your networking devices, managed or not. If you do see ethX in the ifconfig -a list, the solution should be straightforward, and you seemed to have gotten half of it. The following needs to go into your /etc/network/interfaces file:
The first line «activates» management of the interface and the second line sets it to DHCP and IP.
However, if you don’t even see any ethX interfaces when you do ifconfig -a , it’s a driver issue (Ubuntu isn’t even seeing the interface). To solve this, either check from Windows’ device manager for the PCI Vendor ID and Device ID of your ethernet card, which you can cross-reference here and see if you can find a driver for that (Vendor ID is the manufacturer, Device ID is the acutal model of the ethernet card). An alternative in-linux way to do this is via lspci .
In Windows 7, getting the Vendor/Device IDs is through the Device Manager — open up the Network Interfaces node, double click on your network card, click on ‘detail’, and select «Hardware IDs» from the drop-down list. The Vendor ID are the 4 hexadecimal digits after the VEN_ prefix, and the device id is the 4 hex digits after the &DEV_ immediately following the vendor.
Источник
Arch и virtualbox а с ними гребаное подключение к интернету.
Sup lor, такое дело, решил поставить на виртуаль арчик но там интернет почему-то не подключаеться, без понятия почему, с теми же настройками на других дистрах все как по маслу.
LOL. У Вас сетевая карта «name»? Что за ip add? Может ip link?
Да я образно, сетевая карта другая. link, add, какая разница, зы add — addres
Я делал так:
ip link, и смотрел чего там выхлопнет
systemctl enable dhcpcd@name.service, где name, соответствено, имя интерфейса.
Хм.. Вроде команда работает но подключения по прежнему нет. dhcpcd — та же ошибка.
Может, не тот интерфейс подключаешь?
Выхлоп ip link запости.
Да то вроде. Такое не первый раз на арче в виртуалбоксе :c Может настройки виртуалбокса подкорректировать? http://i.imgur.com/BBFnekH.png
Странно, с enp0s3 должно всё работать. У меня, по крайней мере, так и было.
Да вот тоже не пойму почему так.
Тру виртулобоксоарчеры, я призываю вас в сей тред!
Эта та, что VMware workstation ? Там гемора и хлама много, не хотелось бы юзать, лучше уже на дебиан какой-то пойду, мне все равно поиграться с опенбоксом.
Проблема все еще актуальна, up!
Братиш, посмотри на список интерфейсов и что ты поднимаешь.
Не enable, а start.
ТС, попробуй. systemctl start dhcpcd@. . Но, вообще говоря, установочный лайв должен поднимать dhcpcd на всех интерфейсах. Разбирайся с настройками виртуалбокса.
ifconfig name up
dhcpcd name
или systemd-networkd
по примеру 80-dhpc.network из man systemd.neywork
ну сначала енабле, потом старт
Нахрена enable? У топикстартера установочный лайв!
Во-первых, ifconfig идейно deprecated. Во-вторых, вручную поднимать интерфейс перед запуском dhcpcd либо бессмысленно, либо нельзя (уже не помню). В-третьих, systemd-networkd не умеет в динамическую реконфигурацию сети. В-четвёртых, у тебя в двух командах две опечатки.
ах, не знаю
я когда рач ставил, сетка в лайве сама поднялачь
я только бутстрап + пользователи и загрузчик, включил и настроил networks и теперь не парюсь
Долго тупит и ничего.
enp3s0: ERROR while getting interface flags: No such device
Походу дело в настройках виртуалбокс, но я вообще не разбераюсь в них, гуру виртуалбокса, хелп!
Попробовал еще дебиан поставить — ужасно сложный и долгий дистрибутив, чего одна установка стоит, кучу времени ждал, потом посмотрел на сам дистр — ужас, лучше я останусь на школолоарче.
Значит, у тебя нет такого интерфейса. Приведи вывод ip link .
Источник
Enp0s8 error while getting interface flags no such device
I receive this error, while attempting to run:
sudo ifconfig wlan0 up.
I have been through a dozen or so, articels that all talk about how easy it is to set up wireless on the rpi, but none seem to address the issue of the rpi not recognizing the fact that it has a wireless adaptor attached.
My /etc/network/interfaces file looks like this (based on steps found online) :
Of interest (to me, if not to anyone else) is that wpa_supplicant does not exist in /var/run/. I’m not sure if this is an issue, or if it would be created automatically/progammatically at some point, but thought it was worth mentioning.
I am running raspbian from the NOOBS v1_3_2 image
My wifi adaptor is the bluetooth/wireless dongle bta7300 from cirago
It is as if the OS is not seeing the Wifi connected to the system at all, and yet the bluetooth works fine, other than the fact that I have to use a usb keyboard to log in, before the bluetooth will connect to my bluetooth keyboard/mouse.
I’d also like to note that both the wifi and the blluetooth were configured and working until I misplaced the SD card and had to go buy a new one and start over.
Re: wlano: ERROR while getting interface flags: No such devi
Re: wlano: ERROR while getting interface flags: No such devi
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 009: ID 0835:8502 Action Star Enterprise Co., Ltd
Bus 001 Device 010: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 0835:8500 Action Star Enterprise Co., Ltd
Bus 001 Device 005: ID 0835:8501 Action Star Enterprise Co., Ltd
Bus 001 Device 006: ID 0461:4d15 Primax Electronics, Ltd Dell Optical Mouse
Bus 001 Device 007: ID 045e:00dd Microsoft Corp. Comfort Curve Keyboard 2000 V1.0
Bus 001 Device 008: ID 0835:8500 Action Star Enterprise Co., Ltd
Bus 001 Device 015: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Источник
I’m having trouble getting my Ubuntu 10.04 machine (Sony Vaio VGN-SR490) to connect to the Internet by way of an Ethernet cable connected directly to my router.
I’m able to connect to the Internet using this same cable using a Windows machine, so there’s something wrong with the way Linux is configured.
How do I got about figuring out what the problem is and solving it?
Here are my network settings on Linux:
$ ifconfig
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
vmnet1 Link encap:Ethernet HWaddr 00:50:56:c0:00:01
inet addr:192.168.79.1 Bcast:192.168.79.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
vmnet8 Link encap:Ethernet HWaddr 00:50:56:c0:00:08
inet addr:192.168.192.1 Bcast:192.168.192.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Here are my network settings on Windows (Vista):
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : [removed by me].
Link-local IPv6 Address . . . . . : [removed by me]
IPv4 Address. . . . . . . . . . . : 192.168.1.103
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
I censored my IP address from these results. If that information is needed, just let me know.
Here is the content of /etc/network/interfaces
:
auto lo
iface lo inet loopback
After adding auto eth0
, here are the latest results:
$ sudo ifup eth0
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth0.
Here are the results of running a modprobe:
$ sudo modprobe msk
FATAL: Module msk not found.
$ dmesg | grep eth
I removed Linux from my computer and installed Windows XP, at the request of some of the people commenting on this question. I installed an ran a program to find out details about the network card. Here is that information:
Network
You are not connected to the internet
Computer Name
NetBIOS Name JOE-LAPTOP
DNS Name joe-laptop
Domain Name joe-laptop
Remote Desktop
Console
State Active
Domain joe-laptop
RDP-Tcp
State Listen
WinInet Info
An internal error occurred.
Wi-Fi Info
Wi-Fi not enabled
WinHTTPInfo
WinHTTPSessionProxyType No proxy
Session Proxy
Session Proxy Bypass
Connect Retries 5
Connect Timeout 60000
HTTP Version HTTP 1.1
Max Connects Per 1.0 Servers INFINITE
Max Connects Per Servers INFINITE
Max HTTP automatic redirects 10
Max HTTP status continue 10
Send Timeout 30000
IEProxy Auto Detect No
IEProxy Auto Config
IEProxy
IEProxy Bypass
Default Proxy Config Access Type No proxy
Default Config Proxy
Default Config Proxy Bypass
Adapters List
Network Shares
No network shares
It looks like the network adapters list is empty. I will now install both Windows XP and Ubuntu Linux dual-boot. I’m still not able to access the internet, even through Windows. I’m wonder if this could be a hardware problem with the computer or a problem with the router itself. Other computers can connect to this same router, and work fine. (That’s how I’m posting this after all!)
- Печать
Страницы: [1] 2 Все Вниз
Тема: Не видет устройства eth0 (Прочитано 8536 раз)
0 Пользователей и 1 Гость просматривают эту тему.

CyberTramp
sudo ifup eth0
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
eth0: ERROR while getting interface flags: No such device
Failed to bring up eth0.
sudo ifconfig eth0 up
eth0: ОШИБКА при получении флагов интерфейса: Нет такого устройства

fisher74

CyberTramp

fisher74

CyberTramp
lspci
И если загрузится с флешки все работает !!
« Последнее редактирование: 12 Ноября 2010, 13:08:25 от CyberTramp »

fisher74
Всё-таки это «железный» вопрос. У Вас система не видит саму жедезяку.

CyberTramp
Всё-таки это «железный» вопрос. У Вас система не видит саму жедезяку.
09:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5754M Gigabit Ethernet PCI Express (rev 02)
разве не железяка ?

Дмитрий Бо
А если так:
sudo modprobe tg3 && ifconfig -a

easy2002
Tempora mutantur et nos mutantur in illis

CyberTramp
А если так:
sudo modprobe tg3 && ifconfig -a
ifconfig -a без изменений

dieselist
Думаю, Дмитрий Бо прав. Для этой сетевухи используется модуль tg3
покажи вывод lsmod
чтоб проверить, собран ли нужный модуль для твоего ядра можешь сделать как-то так:
grep CONFIG_TIGON3 /boot/config-$(uname -r)
Ubuntu, Gentoo, RHEL, AIX

CyberTramp
dmesg | grep eth
dmesg | grep eth
[ 17.538258] wlan1: ethernet device 00:1d:09:4c:dd:d7 using NDIS driver: b57win32, version: 0xa0027, NDIS version: 0x501, vendor: 'Broadcom NetXtreme Gigabit Ethernet Driver', 14E4:1672.5.conf
Пользователь решил продолжить мысль 12 Ноября 2010, 13:29:09:
lsmod
grep CONFIG_TIGON3 /boot/config-$(uname -r)
grep: /boot/config-: Нет такого файла или каталога
« Последнее редактирование: 12 Ноября 2010, 13:29:09 от CyberTramp »

Дмитрий Бо
grep CONFIG_TIGON3 /boot/config-$(uname -r)
grep: /boot/config-: Нет такого файла или каталога
Не сработало.
Попробуй так поискать
modprobe -c | grep tg3
Но мне кажется, он уже подключен…
lsmod | grep tg3
« Последнее редактирование: 12 Ноября 2010, 13:36:06 от Дмитрий Бо »

CyberTramp

Дмитрий Бо
Да, модуль загружен. Должно работать, предположений нет
- Печать
Страницы: [1] 2 Все Вверх
Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
Hairyloon
- Level 3
- Posts: 152
- Joined: Thu Sep 22, 2011 8:15 am
wlan0: ERROR while getting interface flags: No such device
I had troubles running Mint 18 so I decided to try 17: it seems to run significantly faster, but I have no Wifi.
I’ve installed the recommended drivers using the driver manager, which has always worked before, but I’ve got nothing.
‘lshw -C network’ gives me:
*-network UNCLAIMED
description: Network controller
product: BCM4322 802.11a/b/g/n Wireless LAN Controller
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:0c:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:f69fc000-f69fffff
‘rfkill list’ gives nothing.
‘ifconfig ‘ gives:
enp0s25 Link encap:Ethernet HWaddr 00:24:e8:d3:f9:0e
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fddc:d916:dfe2:bd00:224:e8ff:fed3:f90e/64 Scope:Global
inet6 addr: fe80::224:e8ff:fed3:f90e/64 Scope:Link
inet6 addr: fddc:d916:dfe2:bd00:f840:b760:faff:e512/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:246660 errors:0 dropped:0 overruns:0 frame:0
TX packets:158062 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:295998721 (295.9 MB) TX bytes:18274832 (18.2 MB)
Interrupt:22 Memory:f6ae0000-f6b00000lo 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:65536 Metric:1
RX packets:3608 errors:0 dropped:0 overruns:0 frame:0
TX packets:3608 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:391105 (391.1 KB) TX bytes:391105 (391.1 KB)
I’m a bit stumped now…
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
-
Hairyloon
- Level 3
- Posts: 152
- Joined: Thu Sep 22, 2011 8:15 am
Re: wlan0: ERROR while getting interface flags: No such device
Post
by Hairyloon » Sat Oct 21, 2017 1:18 pm
~ $ lspci -nnk | grep -iA2 net; dkms status
00:19.0 Ethernet controller [0200]: Intel Corporation 82567LM Gigabit Network Connection [8086:10f5] (rev 03)
Subsystem: Dell Device [1028:024d]
Kernel driver in use: e1000e
—
0c:00.0 Network controller [0280]: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b] (rev 01)
Subsystem: Dell Wireless 1510 Wireless-N WLAN Mini-Card [1028:000d]
bcmwl, 6.30.223.248+bdcom: added
virtualbox-guest, 4.3.18, 3.13.0-37-generic, x86_64: installed (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!)
-
JeremyB
- Level 21
- Posts: 12628
- Joined: Fri Feb 21, 2014 8:17 am
-
Hairyloon
- Level 3
- Posts: 152
- Joined: Thu Sep 22, 2011 8:15 am
Re: wlan0: ERROR while getting interface flags: No such device
Post
by Hairyloon » Sat Oct 21, 2017 3:30 pm
Code: Select all
########## wireless info START ##########
Report from: 21 Oct 2017 20:24 BST +0100
Booted last: 21 Oct 2017 20:06 BST +0100
Script from: 25 Mar 2017 07:04 UTC +0000
##### release ###########################
Distributor ID: LinuxMint
Description: Linux Mint 17.1 Rebecca
Release: 17.1
Codename: rebecca
##### kernel ############################
Linux 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Parameters: ro, quiet, splash, vt.handoff=7
##### desktop ###########################
default
##### lspci #############################
00:19.0 Ethernet controller [0200]: Intel Corporation 82567LM Gigabit Network Connection [8086:10f5] (rev 03)
Subsystem: Dell Device [1028:024d]
Kernel driver in use: e1000e
0c:00.0 Network controller [0280]: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b] (rev 01)
Subsystem: Dell Wireless 1510 Wireless-N WLAN Mini-Card [1028:000d]
##### lsusb #############################
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 0a5c:5800 Broadcom Corp. BCM5880 Secure Applications Processor
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 005: ID 413c:8160 Dell Computer Corp. Wireless 365 Bluetooth
Bus 003 Device 004: ID 413c:8162 Dell Computer Corp. Integrated Touchpad [Synaptics]
Bus 003 Device 003: ID 413c:8161 Dell Computer Corp. Integrated Keyboard
Bus 003 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
##### PCMCIA card info ##################
##### rfkill ############################
##### lsmod #############################
wmi 20480 0
##### interfaces ########################
auto lo
iface lo inet loopback
##### ifconfig ##########################
enp0s25 Link encap:Ethernet HWaddr <MAC 'enp0s25' [IF1]>
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fddc:d916:dfe2:bd00:<IP6 'enp0s25' [IF1]>/64 Scope:Global
inet6 addr: fddc:d916:dfe2:bd00:b08a:2ee1:4de9:fd36/64 Scope:Global
inet6 addr: fe80::<IP6 'enp0s25' [IF1]>/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:80264 errors:0 dropped:0 overruns:0 frame:0
TX packets:55156 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:95221464 (95.2 MB) TX bytes:7070092 (7.0 MB)
Interrupt:22 Memory:f6ae0000-f6b00000
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:65536 Metric:1
RX packets:1560 errors:0 dropped:0 overruns:0 frame:0
TX packets:1560 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:174473 (174.4 KB) TX bytes:174473 (174.4 KB)
##### iwconfig ##########################
enp0s25 no wireless extensions.
lo no wireless extensions.
##### route #############################
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 enp0s25
192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 enp0s25
##### resolv.conf #######################
nameserver 127.0.1.1
search lan
##### network managers ##################
Installed:
NetworkManager
Running:
root 1036 1 0 20:06 ? 00:00:00 NetworkManager
##### NetworkManager info ###############
NetworkManager Tool
State: connected (global)
- Device: enp0s25 [Wired connection 1] ----------------------------------------
Type: Wired
Driver: e1000e
State: connected
Default: yes
HW Address: <MAC 'enp0s25' [IF1]>
Capabilities:
Carrier Detect: yes
Speed: 100 Mb/s
Wired Properties
Carrier: on
IPv4 Settings:
Address: 192.168.1.2
Prefix: 24 (255.255.255.0)
Gateway: 192.168.1.1
DNS: 192.168.1.1
IPv6 Settings:
Address: fddc:d916:dfe2:bd00:b08a:2ee1:4de9:fd36
Prefix: 64
Gateway: ::
Address: fddc:d916:dfe2:bd00:<IP6 'enp0s25' [IF1]>
Prefix: 64
Gateway: ::
Address: fe80::<IP6 'enp0s25' [IF1]>
Prefix: 64
Gateway: ::
DNS: fe80::1
##### NetworkManager.state ##############
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true
##### NetworkManager.conf ###############
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
[ifupdown]
managed=false
##### NetworkManager profiles ###########
[[/etc/NetworkManager/system-connections/thisnetwork]] (600 root)
[connection] id=thisnetwork | type=802-11-wireless
[802-11-wireless] ssid=thisnetwork | mac-address=<MAC address>
[ipv4] method=auto
[ipv6] method=auto
##### iw reg get ########################
nl80211 not found.
##### iwlist channels ###################
enp0s25 no frequency information.
lo no frequency information.
##### iwlist scan #######################
enp0s25 Interface doesn't support scanning.
lo Interface doesn't support scanning.
##### module infos ######################
##### module parameters #################
##### /etc/modules ######################
lp
rtc
##### modprobe options ##################
[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci
[/etc/modprobe.d/blacklist-bcm43.conf]
blacklist b43
blacklist b43legacy
blacklist ssb
blacklist bcm43xx
blacklist brcm80211
blacklist brcmfmac
blacklist brcmsmac
blacklist bcma
[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac
[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off
[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod)
&& /sbin/modprobe -r mac80211
[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en
##### rc.local ##########################
exit 0
##### pm-utils ##########################
##### udev rules ########################
[/etc/udev/rules.d/70-persistent-net.rules]
# PCI device 0x8086:0x10f5 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'enp0s25' [IF1]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x14e4:0x432b (wl)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC address>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
##### dmesg #############################
[ 21.554383] wl: module license 'MIXED/Proprietary' taints kernel.
[ 21.560546] wl: module verification failed: signature and/or required key missing - tainting kernel
[ 21.560694] wl: Unknown symbol wiphy_new_nm (err 0)
[ 21.560706] wl: Unknown symbol wiphy_register (err 0)
[ 21.560769] wl: Unknown symbol wiphy_unregister (err 0)
[ 21.560790] wl: Unknown symbol __ieee80211_get_channel (err 0)
[ 21.560812] wl: Unknown symbol ieee80211_channel_to_frequency (err 0)
[ 21.560837] wl: Unknown symbol ieee80211_frequency_to_channel (err 0)
[ 21.560847] wl: Unknown symbol wiphy_free (err 0)
[ 29.336561] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[ 32.112937] e1000e: enp0s25 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
[ 32.113049] e1000e 0000:00:19.0 enp0s25: 10/100 speed: disabling TSO
[ 32.113082] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s25: link becomes ready
########## wireless info END ############
-
Hairyloon
- Level 3
- Posts: 152
- Joined: Thu Sep 22, 2011 8:15 am
Re: wlan0: ERROR while getting interface flags: No such device
Post
by Hairyloon » Sat Oct 21, 2017 3:48 pm
Before I reboot, I’ll leave you with this:
wl:
Running module version sanity check.
— Original module
— No original module exists within this kernel
— Installation
— Installing to /lib/modules/4.4.0-21-generic/updates/
depmod….
DKMS: install completed.
modprobe: ERROR: could not insert ‘wl’: Unknown symbol in module, or unknown parameter (see dmesg)
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu4.9) …
update-initramfs: Generating /boot/initrd.img-3.13.0-37-generic
Warning: No support for locale: en_GB.utf8
Debian Squeeze, ядро 2.6.38 x86_64, карта D-link DFE-520TX
Раньше использовалась встроенная. Принёс D-link, встроенную отключил в биосе, и не знаю, как настроить eth0:
ifconfig:
Код: Выделить всё
root@debian:/home/noisee#
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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Код: Выделить всё
root@debian:/home/noisee# ifup eth0
Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth0.
lsmod:
Spoiler
Module Size Used by
nls_utf8 12456 1
nls_cp437 16553 1
vfat 17165 1
fat 45206 1 vfat
usb_storage 43639 1
uas 13151 0
powernow_k8 17321 0
mperf 12411 1 powernow_k8
cpufreq_stats 12713 0
cpufreq_powersave 12454 0
cpufreq_conservative 13878 0
cpufreq_userspace 12576 0
ppdev 12725 0
lp 17190 0
fuse 61520 1
loop 22515 0
snd_virtuoso 34711 0
snd_oxygen_lib 32541 1 snd_virtuoso
snd_pcm_oss 40662 0
snd_mixer_oss 17905 1 snd_pcm_oss
snd_pcm 67327 2 snd_oxygen_lib,snd_pcm_oss
nouveau 506417 2
ttm 52155 1 nouveau
drm_kms_helper 26893 1 nouveau
snd_page_alloc 12969 1 snd_pcm
snd_mpu401_uart 13507 1 snd_oxygen_lib
snd_seq_midi 12848 0
snd_rawmidi 22963 2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event 13316 1 snd_seq_midi
snd_seq 44678 2 snd_seq_midi,snd_seq_midi_event
drm 165567 4 nouveau,ttm,drm_kms_helper
snd_timer 22658 2 snd_pcm,snd_seq
snd_seq_device 13155 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 52280 10 snd_virtuoso,snd_oxygen_lib,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,sn
d_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 13014 1 snd
i2c_algo_bit 12834 1 nouveau
power_supply 13475 1 nouveau
video 17553 1 nouveau
tpm_tis 13125 0
tpm 17726 1 tpm_tis
edac_core 35344 0
tpm_bios 12903 1 tpm
shpchp 31221 0
k8temp 12531 0
edac_mce_amd 17103 0
pci_hotplug 26711 1 shpchp
joydev 17138 0
parport_pc 22191 1
pcspkr 12579 0
i2c_nforce2 12584 0
i2c_core 23725 5 nouveau,drm_kms_helper,drm,i2c_algo_bit,i2c_nforce2
parport 31650 3 ppdev,lp,parport_pc
evdev 17475 23
processor 27431 1 powernow_k8
button 12994 1 nouveau
ext4 285166 1
mbcache 12930 1 ext4
jbd2 65157 1 ext4
crc16 12343 1 ext4
sg 25769 0
sr_mod 21824 0
cdrom 35134 1 sr_mod
usbhid 39900 0
hid 72616 1 usbhid
sd_mod 35501 5
crc_t10dif 12348 1 sd_mod
ata_generic 12479 0
ohci_hcd 26400 0
sata_nv 26519 0
pata_amd 13276 2
libata 147240 3 ata_generic,pata_amd,sata_nv
ehci_hcd 39529 0
usbcore 122908 6 usb_storage,uas,usbhid,ohci_hcd,ehci_hcd
scsi_mod 161457 6 usb_storage,uas,sg,sr_mod,sd_mod,libata
via_rhine 22606 0
thermal 17330 0
fan 12674 0
thermal_sys 17939 4 video,processor,fan,thermal
mii 12634 1 via_rhine
nls_base 12753 5 nls_utf8,nls_cp437,vfat,fat,usbcore
floppy 56861 0
lspci
Spoiler
00:00.0 Host bridge: nVidia Corporation nForce3 250Gb Host Bridge (rev a1)
00:01.0 ISA bridge: nVidia Corporation nForce3 250Gb LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation nForce 250Gb PCI System Management (rev a1)
00:02.0 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
00:02.1 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
00:02.2 USB Controller: nVidia Corporation nForce3 EHCI USB 2.0 Controller (rev a2)
00:08.0 IDE interface: nVidia Corporation CK8S Parallel ATA Controller (v2.5) (rev a2)
00:0a.0 IDE interface: nVidia Corporation nForce3 Serial ATA Controller (rev a2)
00:0b.0 PCI bridge: nVidia Corporation nForce3 250Gb AGP Host to PCI Bridge (rev a2)
00:0e.0 PCI bridge: nVidia Corporation nForce3 250Gb PCI-to-PCI Bridge (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation NV36 [GeForce FX 5700LE] (rev a1)
02:08.0 Ethernet controller: VIA Technologies, Inc. VT6105/VT6106S [Rhine-III] (rev 8b)
02:09.0 Multimedia audio controller: C-Media Electronics Inc CMI8788 [Oxygen HD Audio]
/etc/network/interfaces:
Spoiler
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
l2tpserv tp.internet.beeline.ru
#
l2tpgw 10.xx.xx.1
Как видите, остался только loopback. И карта точно исправна — в оффтопике работает. Как запустить?
Skip to content
This article is step-by-step tutorial how to fix a problem which occured after I restored my virtual machines from backup to my ESXI server.
ifconfig
when I used lspci, result was
lspci
So network adapter is correctly available in my virtual machine. As next step I need to found out which alias is used for this adapter. I didn’t find any easily way than try et0,eth1,….
ifconfig eth0 eth0: error fetching interface information: Device not found ifconfig eth1 eth1: error fetching interface information: Device not found ifconfig eth2 eth2: Link encap: Ethernet HWaddr.....
So, I found my network adapter. Now as last step it’s necessary to update network interfaces to this adapter
sudo nano /etc/network/interfaces #and change all eth0 to eth1 values
As last step restart your machine and everything should work correctly.
External links:
- http://www.cyberciti.biz/faq/show-ethernet-adapter-ubuntu-linux/