all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: <znavko@tutanota.com>
To: Joshua Branson <jbranso@dismail.de>
Cc: Help Guix <help-guix@gnu.org>
Subject: Re: wpa-supplicant service configuration. Guile is hard
Date: Fri, 5 Apr 2019 16:34:28 +0200 (CEST)	[thread overview]
Message-ID: <Lbhv0aY--3-1@tutanota.com> (raw)
In-Reply-To: <958b60e20ee16bba595c5ca3050b4476@dismail.de>

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

Joshua, thanks for your attention. Yes, networkmanager is using when your config contains %desktop-services variable described here https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n1039 <https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n1039>

When I do  not touch it GuixSD setup networkamanger and I can simply use it with no problems. But I do not want, cause nm is the ugliest thing I saw in Linux.

I use %desktop-services and I delete unnecessary stuff from there. And then I try to configure Internet with only wpa-supplicant and dhcpcd. But now rfkill is blocking wifi so wpa stops there. Ooh la la!


Apr 5, 2019, 1:49 PM by jbranso@dismail.de:

> 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: 6683 bytes --]

  reply	other threads:[~2019-04-05 14:43 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
2019-04-05 14:34     ` znavko [this message]
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=Lbhv0aY--3-1@tutanota.com \
    --to=znavko@tutanota.com \
    --cc=help-guix@gnu.org \
    --cc=jbranso@dismail.de \
    /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.