Network.service failed starting: No suitable device found
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Network.service failed starting: No suitable device found
I recently installed Centos 7 minimal version on my Raspberry PI 3B+. Network seems to be working ( i am able to ssh to it), but network.service is failing to start. Below journalctl output:
Code:
-- Unit network.service has begun starting up.
Sep 14 14:46:44 rpicent1 network[1253]: Bringing up loopback interface: [ OK ]
Sep 14 14:46:45 rpicent1 NetworkManager[244]: <info> [1536929205.2079]
audit: op="connection-activate" uuid="85810e29-e837-1d48-f5e7-9cd60d5a0ee4"
name="System link" result="fail" reason="No suitable device found for this
Sep 14 14:46:45 rpicent1 network[1253]: Bringing up interface link: Error:
Connection activation failed: No suitable device found for this connection
connection."
Sep 14 14:46:45 rpicent1 network[1253]: [FAILED]
Sep 14 14:46:45 rpicent1 network[1253]: Bringing up interface wlan0:
RTNETLINK answers: File exists
Sep 14 14:46:46 rpicent1 network[1253]: [ OK ]
Sep 14 14:46:46 rpicent1 network[1253]: Bringing up interface 3Bredband-4FB2-
2.4GHz: [ OK ]
Sep 14 14:46:47 rpicent1 network[1253]: RTNETLINK answers: File exists
Sep 14 14:46:47 rpicent1 network[1253]: RTNETLINK answers: File exists
Sep 14 14:46:47 rpicent1 network[1253]: RTNETLINK answers: File exists
Sep 14 14:46:47 rpicent1 network[1253]: RTNETLINK answers: File exists
Sep 14 14:46:47 rpicent1 network[1253]: RTNETLINK answers: File exists
Sep 14 14:46:47 rpicent1 network[1253]: RTNETLINK answers: File exists
Sep 14 14:46:47 rpicent1 network[1253]: RTNETLINK answers: File exists
Sep 14 14:46:47 rpicent1 network[1253]: RTNETLINK answers: File exists
Sep 14 14:46:47 rpicent1 network[1253]: RTNETLINK answers: File exists
Sep 14 14:46:47 rpicent1 systemd[1]: network.service: control process exited,
code=exited status=1
Sep 14 14:46:47 rpicent1 systemd[1]: Failed to start LSB: Bring up/down
networking.
-- Subject: Unit network.service has failed
-- Defined-By: systemd
-- Subject: Unit network.service has failed
-- Defined-By: systemd
-- Unit network.service has failed
-- The result is failed.
Sep 14 14:46:47 rpicent1 systemd[1]: Unit network.service entered failed
state.
Sep 14 14:46:47 rpicent1 systemd[1]: network.service failed.
Sep 14 14:46:47 rpicent1 polkitd[316]: Unregistered Authentication Agent for
unix-process:1247:56939 (system bus name :1.70, object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
(disconnected from bus)
My #ip a output:
Code:
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 pfifo_fast state DOWN group default qlen 1000
link/ether b8:27:eb:e9:65:e0 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether b8:27:eb:bc:30:b5 brd ff:ff:ff:ff:ff:ff
inet 192.168.8.102/24 brd 192.168.8.255 scope global noprefixroute dynamic wlan0
valid_lft 84766sec preferred_lft 84766sec
inet 192.168.8.210/24 brd 192.168.8.255 scope global secondary wlan0
valid_lft forever preferred_lft forever
inet6 fe80::159:6aa3:3794:9a87/64 scope link noprefixroute
valid_lft forever preferred_lft forever
aaand below my /etc/sysconfig/network-scripts/ifcfg-wlan0 file:
Another issue is that i have double IP, despite having static IP configured in ifcfg-wlan0 file, as you can see above. First that is dynamically populated by my router's dhcp server and second which i specified in ifcfg-wlan0 file as static IP. Any idea what should i do different to have just one static ip?
FYI, after OS installation, there was no ifcfg files, so i had to create ifcfg-wlan0.
I have not tried installing CentOS 7 on a Pi so I am not sure how it is different then a regular PC. Typically NetworkManager controls all networking functions by default and therefore no need for the ifcfg- files.
You can either use NetworkManager and configure wlan0 with a static IP address using its applet in the desktop or command line utility or disable it completely and do everything manually.
What michaelk said. I've not yet decoded the CentOS 7 differences re: NetworkManager and using network-scripts, tho, so I'm watching with interest.
I do note, however, that yes, your wlan appears to be working. The error you're getting appears to be related to the loopback configuration. Maybe you need to create ifcfg-lo?
Thanks for replies.
I found what was wrong with network.service and why it wasn't starting.
I turned out, that there was file ifcfg-link, in which below lines were written:
Code:
DEVICE=link
BOOTPROTO=dhcp
ONBOOT=on
After renaming this file with orig, so the system won't find it, network.service starts up.
However, when i then disable NetworkManager to operate just on network-scripts, it turns out link is needed after all, as network service fails to start with following output:
Code:
-- Unit network.service has begun starting up.
Jan 01 01:04:01 rpicent1 network[1113]: Bringing up loopback interface: [ OK ]
Jan 01 01:04:02 rpicent1 network[1113]: Bringing up interface wlan0: RTNETLINK answers: File exists
Jan 01 01:04:02 rpicent1 network[1113]: [ OK ]
Jan 01 01:04:03 rpicent1 network[1113]: Bringing up interface 3Bredband-4FB2-2.4GHz:
Jan 01 01:04:08 rpicent1 network[1113]: Determining IP information for wlan0... failed; no link present. Check cable?
Jan 01 01:04:08 rpicent1 network[1113]: [FAILED]
Jan 01 01:04:08 rpicent1 network[1113]: RTNETLINK answers: File exists
Jan 01 01:04:08 rpicent1 network[1113]: RTNETLINK answers: File exists
Jan 01 01:04:08 rpicent1 network[1113]: RTNETLINK answers: File exists
Jan 01 01:04:08 rpicent1 network[1113]: RTNETLINK answers: File exists
Jan 01 01:04:08 rpicent1 network[1113]: RTNETLINK answers: File exists
Jan 01 01:04:09 rpicent1 network[1113]: RTNETLINK answers: File exists
Jan 01 01:04:09 rpicent1 network[1113]: RTNETLINK answers: File exists
Jan 01 01:04:09 rpicent1 network[1113]: RTNETLINK answers: File exists
Jan 01 01:04:09 rpicent1 network[1113]: RTNETLINK answers: File exists
Jan 01 01:04:09 rpicent1 systemd[1]: network.service: control process exited, code=exited status=1
Jan 01 01:04:09 rpicent1 systemd[1]: Failed to start LSB: Bring up/down networking.
-- Subject: Unit network.service has failed
Any idea what should i write into it, so this would work with just static IP from ifcfg-wlan0?
Also, i still can't get rid off the double IP problem, when NetworkManager is running.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.