help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: service 'dhcpv4-daemon' requires 'networking', which is not provided


From: znavko
Subject: Re: service 'dhcpv4-daemon' requires 'networking', which is not provided by any service
Date: Fri, 5 Apr 2019 20:34:28 +0200 (CEST)

Hello, Ricardo Wurmus!

I have rewrote my config, including all modifications into the one (modify-services) function, I've added dhcp-client-service-type to (services) section.

But networking is not running after reconfigure.

# guix system reconfigure /etc/config.scm
...console-font-tty3 console-font-tty4 console-font-tty5 console-font-tty6 virtual-terminal dbus-system elogind upower-daemon wpa-supplicant xorg-server networking...
To complete the upgrade, run 'herd restart SERVICE' to stop,
upgrade, and restart each service that was not automatically restarted.
shepherd: Evaluating user _expression_ (let* ((services (map primitive-load (?))) # ?) ?).
shepherd: Service user-homes could not be started.
shepherd: Service term-auto could not be started.
shepherd: Service networking could not be started.
bootloader successfully installed on '/dev/sda'

# tail -n150 /var/log/messages
...
Apr  5 21:17:18 localhost nscd: 335 monitored file `/etc/hosts` was deleted, removing watch
Apr  5 21:17:18 localhost nscd: 335 monitored file `/etc/hosts` was created, adding watch
Apr  5 21:17:18 localhost nscd: 335 monitored file `/etc/services` was deleted, removing watch
Apr  5 21:17:18 localhost nscd: 335 monitored file `/etc/services` was created, adding watch
Apr  5 21:17:18 localhost shepherd[1]: Evaluating user _expression_ (let* ((services (map primitive-load (?))) # ?) ?).
Apr  5 21:17:19 localhost shepherd[1]: Service user-homes could not be started.
Apr  5 21:17:19 localhost shepherd[1]: Service term-auto could not be started.
Apr  5 21:17:19 localhost vmunix: [ 1821.593856] 0000:03:00.0: Missing Free firmware (non-Free firmware loading is disabled)
Apr  5 21:17:19 localhost vmunix: [ 1821.593895] r8169 0000:03:00.0 enp3s0: unable to load firmware patch /*(DEBLOBBED)*/ (-2)
Apr  5 21:17:19 localhost vmunix: [ 1821.594150] Generic PHY r8169-300:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=r8169-300:00, irq=IGNORE)
Apr  5 21:17:19 localhost vmunix: [ 1821.694129] r8169 0000:03:00.0 enp3s0: Link is Down
Apr  5 21:17:19 localhost dhclient: Unsupported device type 65534 for "tun0"
Apr  5 21:17:19 localhost dhclient:
Apr  5 21:17:19 localhost dhclient: If you think you have received this message due to a bug rather
Apr  5 21:17:19 localhost dhclient: than a configuration issue please read the section on submitting
Apr  5 21:17:19 localhost dhclient: bugs on either our web page at www.isc.org or in the README file
Apr  5 21:17:19 localhost dhclient: before submitting a bug.  These pages explain the proper
Apr  5 21:17:19 localhost dhclient: process and the information we find helpful for debugging.
Apr  5 21:17:19 localhost dhclient:
Apr  5 21:17:19 localhost dhclient: exiting.
Apr  5 21:17:19 localhost shepherd[1]: Service networking could not be started.

During boot I saw: rfkill: WLAN soft blocked, and after start up I've made sure of it:
# rfkill list
0: ideapad_wlan: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
2: ideapad_bluetooth: Bluetooth
    Soft blocked: yes
    Hard blocked: no

I do not know how to overcome this soft blocking of wlan. In other distribution I added to blacklist ideapad_laptop and it worked, but here when I add ideapad_laptop to modprobe blacklist, ifconfig does not see any interface but only phy0. I think this soft blocking happens because I have bluetooth and wifi and may be they conflicts using one driver? I want to disable bluetooth at all, but lines in my config do not help:
(remove (lambda (service) (eq? (service-kind service) bluetooth-service))

Let me know if there is any way to solve all these troubles?

Apr 5, 2019, 4:43 PM by address@hidden:

address@hidden writes:
I am an anti-fan of NetworkManager. I need wpa_supplicant with dhcp, I
try this config with dhcpcd. But it needs networking service. Please,
how to add networking service without adding
network-manager-service-type?

Don’t setup a dhcp daemon then, but use dhcp-client-service-type. Quoth
the manual:

-- Scheme Variable: dhcp-client-service-type
This is the type of services that run DHCP, a Dynamic Host
Configuration Protocol (DHCP) client, on all the non-loopback
network interfaces. Its value is the DHCP client package to use,
‘isc-dhcp’ by default.

--
Ricardo

Attachment: config-wpa-dhclient.conf
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]