Hello,


I don't believe that network manager is the default tool that guix uses... I think I use whatever is the default and it works for me...

Does the normal guix not provide you with a working Internet connection?

April 5, 2019 5:41 AM, znavko@tutanota.com wrote:
Hello! I have several questions about wpa-supplicant + dhcpcd services.
First of all I do not want to use networkmanager and I usually get Internet working manually with this:
# cat startnet
#!/bin/sh
#connect to wi-fi through wpa_supplicant
herd stop wpa-supplicant
rfkill unblock wifi
wpa_supplicant -B -i wlp2s0 -c /etc/wpa_supplicant/wpa_supplicant.conf
sleep 2
dhclient -v wlp2s0
#./startnet
I configured services wpa-supplicant and dhcpcd in my config.scm (in attach). Guix reconfigures my system normally, start services wpa-supplicant, networking, dhcpv4-daemon. But these services do not give me Internet. `ping gnu.org` says unknow host.
The wpa_supplicant.conf is the same as I use. But dhcpcd.conf is that from one forum.
I really do not know what to write there. ip of my router is 192.168.1.1 but the other lines are from forum.
Please, let me see how configure dhcpcd if usually I used `dhclient -v wlp2s0`.
What to type there?
Also is it ok my wpa-supplicant-service-type config?
And why I have NetworkManager in my /var/log/messages, is networkmanager living in my system? How to push it out?
Apr 4, 2019, 8:36 PM by znavko@tutanota.com:
Hi! There actually were wpa-supplicant config twice. The necessary one is in the (modify-services) section. I rest only that one. And it works. But the network is not working, cause dhcpd is not configured. I really want to get around
"dhcpcd@.service causes slow startup" https://wiki.archlinux.org/index.php/Dhcpcd
Would you give some advises how to prevent slow booting? How to set timeout on wpa-supplicant service and dhcpcd that they'll start after slim shows me auth form?
My actual manual network start is this:
# cat startnet
#!/bin/sh
#connect to wi-fi through wpa_supplicant
herd stop wpa-supplicant
rfkill unblock wifi
wpa_supplicant -B -i wlp2s0 -c /etc/wpa_supplicant/wpa_supplicant.conf
sleep 2
dhclient -v wlp2s0
May be I can use dhclient service or something like that instead of dhcpcd?
I attached my current workable config, but dhcpcd is commented there. Also I do not know how to write dhcpd.conf for my case?
Apr 4, 2019, 7:26 PM by znavko@tutanota.com:
Hello! I am so novice in Guile.
I have trouble trying to add wpa-supplicant configuration to my config. I get this error:
# guix system reconfigure /etc/config.scm
guix system: error: service 'wpa-supplicant' provided more than once
Please, let me know where to place my wpa-config lines?