unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Andreas Bauer <andreas.wolfgang.bauer@gmail.com>
To: help-guix@gnu.org
Subject: wifi - store credentials
Date: Fri, 3 Jun 2022 00:56:45 +0200	[thread overview]
Message-ID: <CADMsvoCKW28Z7Nqa=3NeY4YAKUKoEcvn-Ss+Qi6x7qs+rRJ5=w@mail.gmail.com> (raw)

I am using sway/wayland as my windowmanager and have managed to get my usb
wifi card
to work on guix with  rtl8812au-aircrack-ng-linux-module.

When I reboot my machine I now need to do the following steps to connect to
the wifi:
1. disconnect the usb cable of the wifi-card. reconnect the usb cable of
the wifi-card
2. run: sudo nmcli device wifi connect "my-wifi-name" password
my-wifi-password

I am very happy that I was able to get so far already (and it was not easy).
But now I would like to have a better way to auto-connect to wifis and
store the credentials.
Can someone explain me how this works? I am not really sure how
network-manager and wpa-supplicant work together,
and if saving of passwords is something that guix supports, or if I have to
add all the passworts to a wpa-supplicant config
into the guix config.

The second thing that I dont get is that when I have setup the wifi card
for the first time, it would not route the traffic throught it, until
I have executed this commands:

iw wlp0s20f0u4 link
ip link show wlp0s20f0u4
ip link set wlp0s20f0u4 up
sudo dhclient wlp0s20f0u4
ip addr show wlp0s20f0u4
ifconfig wlp0s20f0u4
ip route show
sudo ip route add default via 192.168.1.1 dev wlp0s20f0u4

I had to do this only once. Now it seems to be saved somewhere.

Thanks!!!

             reply	other threads:[~2022-06-02 23:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-02 22:56 Andreas Bauer [this message]
2022-06-03 12:52 ` wifi - store credentials raingloom

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='CADMsvoCKW28Z7Nqa=3NeY4YAKUKoEcvn-Ss+Qi6x7qs+rRJ5=w@mail.gmail.com' \
    --to=andreas.wolfgang.bauer@gmail.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).