Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Help with networking- Systemd, wpa_supplicant, etc.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dspahn
Guru
Guru


Joined: 22 Jun 2006
Posts: 358

PostPosted: Sun Oct 21, 2018 11:46 am    Post subject: [Solved] Help with networking- Systemd, wpa_supplicant, etc. Reply with quote

I have a working Gentoo system- it works with X, and boots properly, but I am new to systemd and am hving trouble getting the networking to work right. On boot, it hangs while it counts down a full minute 30 seconds. The line from systemctl says:
Quote:

[TIME] Timed out waiting for device sys-subsystem-net-devices-multi-user.device
[DEPEND]Dependency failed for WPA supplicant daemon (interface-specific version)


and my wpa_supplicant.service is at:
https://paste.pound-python.org/show/GjiezvaZkSEGXqAN3PBH/

For my wired network, it seems to take a few minutes before it comes up even after X has loaded, but I can make it come up immediately with dhcpcd enp0s25.

Here is my ifconfig -a:
Code:
enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.10.236  netmask 255.255.255.0  broadcast 192.168.10.255
        inet6 fe80::658b:9571:8572:e8a5  prefixlen 64  scopeid 0x20<link>
        ether 34:64:a9:c8:3d:be  txqueuelen 1000  (Ethernet)
        RX packets 13308828  bytes 18818581780 (17.5 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 14557014  bytes 12480514675 (11.6 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xcca00000-cca20000 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 6772  bytes 627439 (612.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6772  bytes 627439 (612.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

sit0: flags=128<NOARP>  mtu 1480
        sit  txqueuelen 1000  (IPv6-in-IPv4)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlo1: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 80:00:0b:44:4a:9e  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


and here is lspci -k:
Quote:
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
Subsystem: Hewlett-Packard Company ZBook 15
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
Kernel driver in use: pcieport
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
Subsystem: Hewlett-Packard Company 4th Gen Core Processor Integrated Graphics Controller
Kernel driver in use: i915
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04)
Subsystem: Hewlett-Packard Company ZBook 15
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: Hewlett-Packard Company ZBook 15
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 04)
Subsystem: Hewlett-Packard Company ZBook 15
Kernel driver in use: e1000e
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04)
Subsystem: Hewlett-Packard Company ZBook 15
Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
Subsystem: Hewlett-Packard Company ZBook 15
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d4)
Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d4)
Kernel driver in use: pcieport
00:1c.6 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #7 (rev d4)
Kernel driver in use: pcieport
00:1c.7 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #8 (rev d4)
Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 04)
Subsystem: Hewlett-Packard Company ZBook 15
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation QM87 Express LPC Controller (rev 04)
Subsystem: Hewlett-Packard Company ZBook 15
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 04)
Subsystem: Hewlett-Packard Company ZBook 15
Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 04)
Subsystem: Hewlett-Packard Company ZBook 15
Kernel driver in use: i801_smbus
01:00.0 VGA compatible controller: NVIDIA Corporation GK208GLM [Quadro K610M] (rev a1)
Subsystem: Hewlett-Packard Company GK208GLM [Quadro K610M]
Kernel driver in use: nvidia
Kernel modules: nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1)
Subsystem: Hewlett-Packard Company GK208 HDMI/DP Audio Controller
Kernel driver in use: snd_hda_intel
5c:00.0 Network controller: Intel Corporation Centrino Advanced-N 6235 (rev 24)
Subsystem: Intel Corporation Centrino Advanced-N 6235 AGN
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
5d:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5249 PCI Express Card Reader (rev 01)
Subsystem: Hewlett-Packard Company ZBook 15


My wireless is using iwlwifi, which is correct, but I noticed that the WPA supplicant line does not mention it in the service file. Any idea what the problem is?
_________________
---

Since there is no admin beer, I stick to root beer.


Last edited by dspahn on Tue Oct 23, 2018 10:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
V10lator
Apprentice
Apprentice


Joined: 11 Jul 2004
Posts: 199

PostPosted: Tue Oct 23, 2018 5:17 pm    Post subject: Reply with quote

Hey there,

So you're using systemd-networkd + wpa_supplicant to manage your connections?

Let's start with the wired connection:
what's the output of
Code:
systemctl status -l systemd-networkd.service
and
Code:
systemctl status -l systemd-resolved.service
(execute both commands as root) right after X started? Is it different after the network is running? Is the /etc/resolv.conf linked correctly? It should look like this:
Code:
# ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 32  6. Sep 23:06 /etc/resolv.conf -> /run/systemd/resolve/resolv.conf

Also please show all files you created at /etc/systemd/network/

For wireless: What's
Code:
systemctl status -l wpa_supplicant@wlo1.service
telling?
Code:
[TIME] Timed out waiting for device sys-subsystem-net-devices-multi-user.device
sounds wrong, from your ifconfig output it should be sys-subsystem-net-devices-wlo1.device (did you enable wpa_supplicant@user.service instead of wpa_supplicant@wlo1.service? That might be your issue).
Back to top
View user's profile Send private message
dspahn
Guru
Guru


Joined: 22 Jun 2006
Posts: 358

PostPosted: Tue Oct 23, 2018 10:29 pm    Post subject: Here’s what I did.... Reply with quote

I didn’t get any replies to my post right away and further web searches didn’t help- so as with many things Linux, I looked for a better way- I started this computer thinking it would be a gnome3 because compiz used to have more native gnome support- but it looks like KDE picked up that mantle, and once I was using systemd with UEFI, I liked it so much more than the old Rc unit system so I kept all that and ditched Gnome for KDE. NetworkManager is a much better fit for what I am doing. I appreciate the reply, but at this point I am just using NetworkManager and it really does it’s job well for my case.
_________________
---

Since there is no admin beer, I stick to root beer.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum