all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jbranso@dismail.de
To: help-guix@gnu.org
Subject: Re: wpa-supplicant service configuration. Guile is hard
Date: Fri, 05 Apr 2019 13:49:37 +0000	[thread overview]
Message-ID: <958b60e20ee16bba595c5ca3050b4476@dismail.de> (raw)
In-Reply-To: <LbgfmQE--3-1@tutanota.com>

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

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 (mailto: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 (mailto: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 (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 (mailto: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?

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

  parent reply	other threads:[~2019-04-05 13:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <LbdoDpd--3-1@tutanota.com-LbdrIe9----1>
2019-04-04 20:36 ` wpa-supplicant service configuration. Guile is hard znavko
     [not found] ` <Lbe0PNU--3-1@tutanota.com-Lbe3LhE----1>
2019-04-05  9:41   ` znavko
2019-04-05 16:38     ` Ricardo Wurmus
2019-04-06  8:54     ` znavko
2019-04-06  8:57     ` znavko
2019-04-06 17:55     ` znavko
2019-04-05 13:49   ` jbranso [this message]
2019-04-05 14:34     ` znavko
2019-04-04 19:26 znavko
2019-04-04 20:01 ` Quiliro Ordonez
2019-04-05 16:47 ` 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

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

  git send-email \
    --in-reply-to=958b60e20ee16bba595c5ca3050b4476@dismail.de \
    --to=jbranso@dismail.de \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.