unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: <znavko@tutanota.com>
To: Help Guix <help-guix@gnu.org>
Subject: service 'dhcpv4-daemon' requires 'networking', which is not provided by any service
Date: Fri, 5 Apr 2019 13:27:39 +0200 (CEST)	[thread overview]
Message-ID: <LbhFFga--3-1@tutanota.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 4008 bytes --]

Hello! Today I had a time to configure guix. I've deleted network-manager-service-type for to use wpa_supplicant + dhcp, but guix gives the error:

# guix system reconfigure /etc/config.scm
guix system: error: service 'dhcpv4-daemon' requires 'networking', which is not provided by any service

# cat /etc/config.scm
...
  (services (cons*  
                    ;;(service postgresql-service-type)
                    (service xfce-desktop-service-type)

                    (service dhcpd-service-type
                      (dhcpd-configuration
                        (config-file (local-file "/etc/dhcpcd.conf"))
                        (interfaces '("wlp2s0"))))


                    (modify-services      
                      (remove (lambda (service)
                        (eq? (service-kind service) ntp-service-type))
                        (remove (lambda (service)
                          (eq? (service-kind service) avahi-service-type))

                          (remove (lambda (service)
                            (eq? (service-kind service) network-manager-service-type))

                            ;;(modify-services  
                              (modify-services  
                                (modify-services %desktop-services
                                  (slim-service-type config =>
                                    (slim-configuration
                                      (xorg-configuration
                                        (xorg-configuration
                                          (extra-config
                                                    
'("Section \"InputClass\"
        Identifier \"touchpad\"
        Driver \"libinput\"
        MatchIsTouchpad \"on\"
        Option \"Tapping\" \"on\"
EndSection")
                                          )))))
                                )  ;end of modify-services 4th

                                (wpa-supplicant-service-type config =>
                                  (wpa-supplicant-configuration
                                    (interface "wlp2s0")
                                    (config-file "/etc/wpa_supplicant/wpa_supplicant.conf")))

                              )  ;end of modify-services 3rd

                            ;;)  ;end of modify-services 2nd

                          )  ;end of removenetwork-manager-configuration
                        )  ;end of remove avahi
                      )  ;end of remove2 ntp
                      (elogind-service-type
                        c => (elogind-configuration (handle-lid-switch 'ignore)))
                    );;end of modify-services 1st desktop-services
  ));;end of services
...

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?

[-- Attachment #2: Type: text/html, Size: 8929 bytes --]

             reply	other threads:[~2019-04-05 11:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-05 11:27 znavko [this message]
2019-04-05 16:43 ` service 'dhcpv4-daemon' requires 'networking', which is not provided by any service Ricardo Wurmus
2019-04-05 18:34   ` znavko
2019-04-05 18:42     ` znavko
2019-04-05 18:45     ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=LbhFFga--3-1@tutanota.com \
    --to=znavko@tutanota.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).