<lassulus>
does journalctl -u wpa_supplicant show any errors? association attempts?
<ottidmes>
never used wpa_supplicant myself, I always sticked with networkmanager since it never failed to work for me
<longanonname>
so no idea why wpa_supplicant aint working?
2019-01-31
<ingenieroariel>
I was able to look at the generated config by doing systemctl cat wpa_supplicant (pointed me to the conf in the nix store)
<ingenieroariel>
immae: I am not sure I follow - my goal is to set up a wifi hotspot by reusing wpa_supplicant conf files found elsewhere - so I do want to have at least one network
2019-01-27
<MichaelRaskin>
I wonder if NixOS mainline disables wpa_supplicant control socket. Maybe journalctl will tellsomething?
<i-net>
wpa?supplicant is running
<wedens>
`sudo systemctl status wpa_supplicant`
<i-net>
MichaelRaskin: It sazs: Could not connect to wpa_supplicant: (nil) - reßtrzing
<i-net>
Does someone uses wpa_supplicant here or netctl?
<i-net>
how can I view the error log after I did wpa_supplicant -B -i wlps30 -c /etc/wpa_supplicant.conf ??
<i-net>
My Wifi is up but I cannot connect to my network. How I do this? wpa_supplicant works in other distros
<symphorien>
Right. I don't really know wpa_supplicant but journalctl -u wpa_supllicant could help
<symphorien>
Have you provided the passwords to wpa_supplicant ?
<symphorien>
i-net: the option network.wireless.enable uses wpa_supplicant
2019-01-11
<gchristensen>
with networking.wireless.networks.<name> will wpa_supplicant automatically join these networks?
2018-12-23
<Myrl-saki>
Yaniel: Seems like a minor oversight, but you can't use a custom path for the wpa_supplicant NixOS module.
<Myrl-saki>
ZaraChimera: by default, wpa_supplicant will check /etc/nixos/wpa_supplicant.conf.
2018-12-12
<fresheyeball>
wpa_supplicant -B -i interface -c <(wpa_passphrase x y)
<sphalerite>
djahandarie: note however that there's already networking.supplicant for multiple wpa_supplicant instances
2018-11-09
<{^_^}>
[nixpkgs] @lheckemann opened pull request #50038 → wpa_supplicant: copy sample config into output → https://git.io/fpLTT
<exarkun22>
Yay. I got sshd and wpa_supplicant into multi-user.target.wants with mkForce. It looks like they were removed with `mkOverride 50` which seems like it should have produced a conflict but didn't.
2018-11-03
<emily>
since messing with wpa_supplicant every install sucks a bit
2018-10-24
<sphalerit>
Yeah you're still in the new system generation, just that WPA_supplicant isn't running
2018-10-21
<grokkingStuff>
Can't seem to get wpa_supplicant to not fail after 10 seconds
2018-10-15
<zduch4c>
hello, how can I make dhcpcd or whatever controls iPhone ethernet tethering connect automatically if an iPhone is detected? under NetworkManager it works as intended, plugging it in makes it instantly work, but when I use wpa_supplicant & dhcpcd it doesn't
<sphalerite>
I just use wpa_supplicant and configure it statefully by editing /etc/wpa_supplicant.conf myself
2018-10-12
<clever>
Church-: you can still connect to open and wep networks without wpa_supplicant
<globin>
wpcarro: wpa_gui from wpa_supplicant_gui or networking.wireless.networks in order to configure it declaratively
2018-10-03
<clever>
symphorien: so you could put wpa_supplicant and some wifi drivers onto a usb, and smuggle them into a laptop with broken wifi
<sphalerite>
meanwhile wpa_supplicant is fine on the same network
<sphalerite>
emily: re your suggestion about wpa_supplicant, networkmanager is pretty huge and I'm not sure we want to pull that into the installer. There's always the graphical installer if you want networkmanager
2018-10-01
<wpcarro>
samueldr: after consulting the config I don't think I enabled wpa supplicant. Ugh back to the beginning
<samueldr>
because if you don't have wpa_supplicant and friends, it's going to be hard connecting
2018-09-28
<sphalerite>
Myrl-saki: that's odd, I can understand why it would do that when wpa_supplicant isn't up, but when it is..?
2018-09-27
<sphalerite>
Myrl-saki: because requires doesn't actually create an ordering relationship, only that if wpaHook runs wpa_supplicant must also run
<Myrl-saki>
wpa_cli starts before wpa_supplicant is alive
<Myrl-saki>
sphalerite: If I sleep, then wpa_cli is too late because wpa_supplicant has already connected.
<Myrl-saki>
sphalerite: Another problem I have is that wpa_supplicant is too fast lol
<sphalerite>
ah, it dies when wpa_supplicant dies though
2018-09-25
<emily>
has there been any thought given to shipping a network manager of some description on the minimal install image so that installation on laptops doesn't involve a bunch of wpa_supplicant fiddling?
2018-09-24
<_d0t>
Though wpa_supplicant is a weird thing, so one can't be sure.
<zduch4c>
_d0t: wpa supplicant says it’s trying to authenticate
<camsbury>
wpa_supplicant -B -i wlp2s0 -c /etc/wpa_supplicant/wpa_supplicant.conf -> is the command suggested by the arch wiki
<camsbury>
I use wpa_supplicant
<samueldr>
`systemctl status wpa_supplicant` there's probably log entries at the bottom
<fyber>
but only wlp2s0 when wpa supplicant is stopped
<fyber>
when I start wpa supplicant it says wlp2s0 and unnamed netdev
<samueldr>
and iw dev doesn't show the SSID after starting wpa_supplicant?
<samueldr>
(I'm not sure, it's been years since I last used wpa_supplicant, and not with a systemd service)
<fyber>
I just have to write the config and restart wpa_supplicant, right?
<fyber>
Does wpa_supplicant work for anyone?
<fyber>
and then started wpa supplicant
<fyber>
or maybe someone can help me figure out why wpa-supplicant doesn't work
<fyber>
wpa-supplicant never works for me, is there a way to use networkmanager in the install ISO?
2018-08-22
<clever>
and i believe networkmanager configures wpa_supplicant automatically
<fzer0>
thats what I figured. do i need to stop wpa_supplicant?
<clever>
fzer0: is wpa_supplicant running?
<fzer0>
clever: i am back to wpa_supplicant not working
2018-08-21
<clever>
the config has been written to a file in /etc/ and systemd has ran wpa_supplicant for you
<fzer0>
clever: so should i issue the command "wpa_supplicant -B -i interface -c <(wpa_passphrase 'MYSSID' 'key)" or am i done with that step?
<clever>
fzer0: `systemctl start wpa_supplicant` and then status again, is it running now?
<clever>
fzer0: `systemctl status wpa_supplicant`
<clever>
fzer0: `ps aux | grep wpa`, is supplicant running?
2018-08-14
<inquisitiv3>
clever: I enabled wpa_supplicant (uncommented the default line).
<clever>
inquisitiv3: and did you enable wpa_supplicant or network manager?
2018-08-12
<Dedalo>
I guess I didn't copy the wpa_supplicant, that's why
<clever>
i was thinking of wpa_supplicant when i answered
2018-08-11
<Dedalo>
first time I heard about wpa_supplicant guys
<shapr>
I did that a few times, did not enjoy manual wpa_supplicant use
<clever>
ive had the fun of using wpa_supplicant for the first time, with no wifi access to look up how the heck it works :P
<MichaelRaskin>
I don't always use wpa_cli. Sometimes just a raw wpa_supplicant invocation
<clever>
Dedalo: wpa_supplicant uses all wifi cards by default
<Dedalo>
so I guess I need to change the wpa_supplicant and tell him to use the right card
<Dedalo>
clever I get: Could not connect to wpa_supplicant: wlan0
<clever>
Dedalo: run `wpa_passphrase name password > /etc/wpa_supplicant.conf` and then `systemctl restart wpa_supplicant`
2018-08-09
<p_l>
Any suggestions on how to setup wireless without either Network Manager *or* rebuilding every time I change something in wpa_supplicant?
2018-08-08
<{^_^}>
[nixpkgs] @fpletz pushed to release-18.03 « wpa_supplicant: add patch to fix CVE-2018-14526 »: https://git.io/fN9q1
<{^_^}>
[nixpkgs] @fpletz pushed to master « wpa_supplicant: add patch to fix CVE-2018-14526 »: https://git.io/fN9q4
2018-08-07
<techieAgnostic>
hey friends. I cant seem to rebuild switch without it killing wpa_supplicant and failing to restart it
2018-08-03
<clever>
dhess: once wpa_supplicant is installed, its trivial to have multiple networks and priorities
<clever>
ive had the fun of trying to connect to wpa for the first time with zero warning and not having wpa_supplicant installed :P
<nikki93>
(i don't want to do 'all' the installation steps, just install wpa_supplicant in)
<nikki93>
can i install wpa_supplicant to there and reboot -- i don't have internet without it
<nikki93>
hey all so i accidentally forgot to enable wpa_supplicant while installing new system
2018-07-25
<clever>
abueide_: i just use bare wpa_supplicant
2018-07-21
<zduch4c>
networkmanager, wpa_supplicant
<samueldr>
wpa_supplicant, as with most distros, will work
2018-07-14
<emily>
(fwiw, the X to the Y here is "I want to use connman with iwd instead of wpa_supplicant")
2018-07-01
<Turion>
Installing a new system is always when the funniest stuff happens. Episode 23: I started wpa_cli just for fun and now it hangs trying to connect to wpa_supplicant. I can't kill it because apparently Ctrl + Alt + F2 etc. doesn't give you a different terminal on a MacBook keyboard
2018-06-01
<truthadjustr>
clever: could not connect to wpa_supplicant
<truthadjustr>
clever: so far, the only way for me to change network is to edit /etc/wpa_supplicant.conf and `systemctl restart wpa_supplicant`
<clever>
truthadjustr: what does the journal for wpa_supplicant say?
2018-05-10
<clever>
jD91mZM2: does /etc/resolv.conf update when you connect with wpa_supplicant?
2018-05-06
<clever>
ambro718: you could potentially access the wpa_supplicant unix socket between namespaces
2018-05-01
<clever>
[Leary]: what does `systemctl status wpa_supplicant` say?
<[Leary]>
tilpner: Whatever's default on my desktop; I don't have any networking options set other than a few firewall things. On my laptop I just have networking.wireless.enable = true and set names/keys under wireless.networks. I don't think that uses nm, just wpa_supplicant or whatever.
2018-04-15
<eldad>
I created a wpa_supplicant config file and when I run wpa_supplicant -B -i interface -c <(wpa_passphrase MYSSID passphrase) it says successful but i have no network
<eldad>
hi there, I have installed nixos and configured it to start with gnome. I have 2 major problems and I wonder if someone can help:1- wpa_supplicant fails to start (service) i tried to stop and start again and it just fails
2018-04-12
<maurer>
I just use wpa_supplicant directly
2018-04-05
<fusion809>
Ah good, clever you know that nix file you wrote so I can connect to the WiFi using my Broadcom chip from a NixOS ISO? It didn't work. I even ran `modprobe -a wl` but no networks were detected by NetworkManager. I even tried using wpa-passphrase ESSID PSK > /etc/wpa_supplicant.conf and restarting wpa_supplicant service.
2018-03-28
<infinisil>
ruhatch: restarting wpa_supplicant makes it work again?
<ruhatch>
wpa_supplicant appears to be connected to the network but I cannot connect to anything
2018-03-26
<clever>
ive written my own VPN and have brought wifi up without wpa_supplicant before
2018-03-12
<hlolli>
I'm getting unable to open display ":0.0" after connecting with networkmanager via wpa_supplicant and dhclient. I wonder if this is connected to my /etc/hosts but I have networking.hostname="localhost"; in my config.nix, am I missing something?
<boomshroom>
This time I did actually have a wpa_supplicant available offline from the previous NixOS installation, but I'm using USB tethering anyways because its still easier.
<boomshroom>
clever: That assumes you have a wpa_supplicant premade and available without internet.
2018-03-10
<__monty__>
Does wpa_supplicant deal with roaming?
<obadz>
MichaelRaskin: maybe you know something others don't, but when I saw globin using wpa_supplicant, I felt it required a lot of knowledge that one only ever uses very infrequently… that seems hard as knowledge fades away if not used frequently. nmtui however…
<MichaelRaskin>
We-ell. Step one. Instead of GUI you look into the wpa_supplicant.conf.example shipped with wpa_supplicant, step two, replace the values with something that matches the local network
<MichaelRaskin>
Even back when I was using NixOS mainline, I was still running wpa_supplicant via scripts when desired
2018-03-04
<sphalerite>
if you use network-manager you shouldn't touch wpa_supplicant yourself
<mfiano>
I assume I can still use wpa_supplicant with it so that I can roam to different networks automatically?
<sphalerite>
well that's the thing, DHCP isn't wpa_supplicant's responsibility
<mfiano>
I'll just figure out the wpa_supplicant incantation to use static instead of dhcp
<sphalerite>
yeah I don't think that's possible with declarative config and plain wpa_supplicant, or at least you'd need to write quite a lot of stuff
<sphalerite>
specific network config per AP? Not sure that's possible with plain wpa_supplicant
<mfiano>
Could not connect to wpa_supplicant: (nil) - re-trying
<mfiano>
also how do i interactively connect to other ap's? i thought that was wpa_cli but it cant connect to supplicant
<mfiano>
everytime i restart wpa supplicant theres like a 50% chance i get 169 or 192 actually
<mfiano>
anyone familiar with wpa supplicant? trying to run wpa_cli and it says it cant connect to wpa supplicant
<mfiano>
sphalerite: well i don't even try to pull in wpa_supplicant. afaik it's due to network-manager
<mfiano>
Ok, so I rebuilt unstable with boot mounted this time...and i have a lot of text about wpa_supplicant erroring
2018-03-03
<polytux>
have you enabled wpa_supplicant or are you going to use network-manager?
<sphalerite>
mfiano: depending on how adventurous you're feeling you could copy wpa_supplicant from the installer USB :p
2018-03-02
<sphalerite>
mfiano: 1) wpa_supplicant configured statically through networking.wireless.networks; 2) wpa_supplicant configured statefully by manually editing /etc/wpa_supplicant.conf (I use this one for my laptop where I don't really want my uni login, used for eduroam, exposed in the nix store); 3) network-manager
2018-02-28
<gillmanash>
wpa_supplicant works for me, but the network occasinally report positive dB strength, and the connection freezes
<clever>
gillmanash: ah, i was trying to help somebody install nixos on a macbook today, but wpa_supplicant cant find any wifi networks in range
2018-02-20
<infinisil>
but then i can't use wpa_supplicant..
2018-02-15
<sphalerite_>
I've set networking.wireless.userControlled.enable = true; but it doesn't seem to have had any effect on the wpa_supplicant unit and I still can't use wpa_cli. Why might this be?
<infinisil>
Ah it's in the wpa_supplicant_gui package
<tester123>
`systemctl stop wpa_supplicant` disable ethernet, or just wifi?
<infinisil>
tester123: depends on what you're using for network management, if you're using wpa_supplicant, then you can use `systemctl restart wpa_supplicant`
<sphalerite_>
tester123: depends on how it's set up. If you're using network-manager, systemctl restart network-manager; if you're using plain wpa_supplicant for wifi, systemctl restart wpa_supplicant
2018-01-19
<cransom>
`_ it may need to be repointed at the socket that wpa_supplicant is using (or wpa_supplicant needs to be supplied with one), or perms.
<`_>
cransom: It's saying it can't get the status from wpa_supplicant. I'm going to keep playing around to see what I can figure out.
<`_>
cransom: There is a wpa_supplicant GUI?
<cransom>
did you look at what was happening in the wpa_supplicant gui?
2018-01-18
<MichaelRaskin>
wpa_supplicant doesn't call dhclient on its own
<bind>
samueldr: but ... why didn't wpa_supplicant?
<bind>
so .. I found a link on the internet where they wrote about systemctl stop wpa_supplicant ... and creating a /etc/wpa_supplicant.conf with the output of wpa_passphrase
2018-01-14
<deltasquared>
sphalerite: returning to topic a bit, what actually happens if you tell wpa_supplicant (or whatever you may have controlling it) to use 5Ghz mode only?
2018-01-13
<deltasquared>
hmm, if I see wpa_supplicant-2.6 appear in nix-env -qa, is it sufficient to write pkgs.wpa_supplicant in the array to select them?
<noobly>
After stopping systemctl, following up wpa_supplicant -B -i 'my_interface' -c <(wpa_passphrase 'my_SSID' 'my_key'), I get the errors "Failed to open config file /dev/fd/63, no such file or directory AND failed to read or parse configuration "/dev/fd/63"
2018-01-10
<plakband>
I run into driver issues with my wifi after installation, and there is no network selection box. In the graphical installer however, I can connect straight from KDE. When I try manually running wpa_supplicant, I run into driver issues. How can I copy the networking settings from the installer?
2018-01-02
<makefu>
if i would use the nixos service for declarative wpa_supplicant then this file would be overwritten
<marc__>
wpa_supplicant loaded failed on minimal live CD :(
<srhb>
then systemctl start wpa_supplicant
<srk>
for WPA you need to configura wpa_supplicant
2017-12-13
<sphalerite>
networking.wireless is very badly named, it's actually only for when you want to use wpa_supplicant directly
2017-11-26
<petersjt014[m]>
somewhere in there is the reason wpa_supplicant doesn't work on my main install
2017-11-18
<hyper_ch>
taaperotassu: once you have it running, you could create your custom installer iso... with your preferred keyboard layout, with wpa_supplicant etc.....
<danbst[m]>
personally, I'd prefer nmtui over wpa_supplicant in live USB, or a note in manual on how to use wpa_supplicant
<sphalerite>
taaperotassu: you can configure wifi using wpa_supplicant on the minimal iso
2017-11-17
<adisbladis>
fusion809: Yes. Actually networkmanager is also using wpa-supplicant.
<samae>
fusion809: you have to choose whether you use networkmanager or wpa_supplicant
<goibhniu>
ah, I see, networking.wireless.enable seems to enable wpa_supplicant instead
<fearlessKim[m]>
adamt_: this might be a good idea, along with a sentence how to configure wifi via wpz_supplicant; I installed on a laptop with just wifi, had not enabled network manager so on reboot I had neither wpa or nm and that could have been annoying
<adamt>
I was considering making a PR for adding a comment about network-manager in the generated configuration.nix file, since it's kinda weird that it mentions wpa_supplicant today, but not NM. Thoughts?
2017-11-08
<kuznero>
clever: wpa_supplicant is not installed. and this configuration worked before
<clever>
kuznero: then check the status of wpa_supplicant
<sphalerite>
Aaaaaaaarrrrggghhhh. Was having WiFi difficulties all of yesterday and the day before. Tried fiddling with the kernel config, disabling Bluetooth, all manner of things... And just now I realised it's because I was running two copies of wpa_supplicant on the same interface.
2017-11-07
<tanonym>
Maybe it's my personality. Connman likes me better than wpa_supplicant and it's cli or networkmanager...
<cransom>
i must be a phenomenon that i've only ever just used plain old wpa_supplicant and i haven't had any issues
2017-11-06
<rmrfroot-work>
downloaded a fresh NixOS 17.09 install from nixos.org this morning, does that mean "wpa_supplicant: patch for KRACKAttack" is included?
2017-11-05
<neonfuz>
my wireless is unstable (that's another issue), but whenever my internet goes out and comes back (after I manually restart the wpa_supplicant daemon), firefox won't load pages
<infinisil>
Have been using wpa_supplicant manually for all the time
<lars_>
i tried wpa supplicant but didnt understand what it does
<adisbladis>
lars_: networking.wireless.enable sets up wpa supplicant (this is not required if you have networkmanager)
<tilpner>
deech - Easiest is probably using the graphical ISO to connect to wifi, then install networkmanager during nixos-install, so you never have to touch wpa_supplicant
<deech>
Hi all, can anyone offer advice on installing NixOS using only WiFi? I followed the instructions here (https://chris-martin.org/2015/installing-nixos) for getting wpa_supplicant to work but it's not connecting.
2017-11-04
<tilpner>
lars_ - Yes, you can do that. If you want to fix the installation without it, either find a cable or use wpa_supplicant to connect manually
2017-10-30
<NixOS_GitHub>
nixpkgs/r/backports a671564 Graham Christensen: wpa_supplicant: patch for KRACKAttack...
2017-10-29
<Harekiet>
and boom it failed to switch with complaints about wpa_supplicant
2017-10-27
<MichaelRaskin>
infinisil: yeah, I think more in terms of wpa_supplicant.conf, I use only parts of NixOS. For wpa_supplicant it is just easier to write the file by hand.
<MichaelRaskin>
infinisil: wpa_supplicant needs to be running, and needs to have the control socket enabled.
<infinisil>
MichaelRaskin: wpa_cli gives me "could not connect to wpa_supplicant"
<infinisil>
Ohhh, there's wpa_supplicant nixos options now :O
<infinisil>
wpa_supplicant still needs the ssid, and i need to enter the password and login somehow when it connects
<Dezgeg>
I suppose wpa_supplicant isn't needed since it's an unprotected network
<infinisil>
Dezgeg: Do you happen to know how to get the wlan to work with wpa_supplicant 😅
2017-10-25
<ahstro>
I do not. Sorry, should've mentioned that. I just found wpa_supplicant is installed, so I'm getting somewhere
2017-10-24
<MichaelRaskin>
Why do people even bother with something on top of wpa_supplicant?
<disasm>
if you don't need wpa2 enterprise, just configure your networks via configuration.nix (uses wpa_supplicant for wifi), otherwise your stuck with network manager
<MichaelRaskin>
It may be a bit faster in choosing the network than raw wpa_supplicant, I guess.
<gchristensen>
you should probably just use wpa_supplicant
<MichaelRaskin>
wpa_supplicant, because you _have_ to run it, and it can replace the rest.
<NixOS_GitHub>
nixpkgs/release-17.03 a644b28 Graham Christensen: wpa_supplicant: patch for KRACKAttack...
<maurer>
btw, we should get wpa_supplicant update on the fast track if we haven't already
<NixOS_GitHub>
nixpkgs/release-17.09 83388e7 Graham Christensen: wpa_supplicant: patch for KRACKAttack...
<NixOS_GitHub>
nixpkgs/master ea50efc Graham Christensen: wpa_supplicant: patch for KRACKAttack...
<NixOS_GitHub>
[nixpkgs] ArdaXi opened pull request #30468: wpa_supplicant: fixes for KRACK (master...krack_supplicant) https://git.io/vdDq5
2017-10-15
<srhb>
rosa_: Which is true, networking.wireless is the wpa_supplicant driven wifi.
<srhb>
rosa_: You might want wpa supplicant, or connman, or (...)
2017-10-06
<Piece_Maker>
ixxie: the only part about making the wifi work is just the wpa_supplicant commands - but my wifi card doesnt even *show up* in ifconfig hehe
2017-10-05
<sphalerite>
Does anyone know why I might be consistently losing my wifi connection, and at that point the journal says Oct 05 19:48:58 sudoku wpa_supplicant[3286]: wlp2s0: WPA: Group rekeying completed with e8:de:27:6d:45:b4 [GTK=CCMP]
2017-10-03
<fearlessKim[m]>
srhb: I would have done it but still a pain since it also required rerunning the wpa_supplicant
<fearlessKim[m]>
nixos correctly installed and reboot but now I have no wpa_supplicant available or networkmqnqger available ?!!
<fearlessKim[m]>
key was good but I had a background wpa_supplicant that fucked up the whole thing. It's good now \o/
<fearlessKim[m]>
wpa_supplicant adds a p2p-dev- prefix in front of my interface
* etu
haven't used wpa_supplicant manually ever since networkmanager implemented nmtui
<sphalerite>
iqubic: fwiw it would have just been `wpa_passphrase ssid psk | wpa_supplicant -i interface -c /dev/stdin`
<sphalerite>
The option for WPA supplicant shouldn't be called networking.wireless.enable
<iqubic>
How can I tell nix to use networkmanager instead of wpa_supplicant?
2017-09-27
<NixOS_GitHub>
nixpkgs/release-17.09 2ae16ef Franz Pletz: wpa_supplicant service: restart instead of stop & start...
<NixOS_GitHub>
nixpkgs/master 725dee2 Franz Pletz: wpa_supplicant service: restart instead of stop & start...
2017-09-21
<Mic92>
wpa_supplicant has way too much options
<Mic92>
swflint: networking.supplicant allows raw wpa_supplicant configuration
2017-09-18
<neonfuz>
whenever I bump my usb wifi card, it disconnects for a bit, and I need to manually restart wpa_supplicant
2017-09-14
<Infinisil>
how do you set up wifi without wpa_supplicant?
<clever>
ive brought the wifi up before, with no networkmanager or wpa_supplicant
2017-09-09
<clever>
one does it via wpa_supplicant, the other does it via network manager
<taaperotassu>
thought now that I read it.. its for wpa_supplicant? I have normally used network manager.. so I have no clue how to set this up
2017-09-05
<sphalerite>
symphorien wrote: You can also have wpa-supplicant depend on <your wifi card>.device
<symphorien>
You can also have wpa-supplicant depend on <your wifi card>.device
<sphalerite>
neonfuz: so something like systemd.services.fix-wifi-after-suspend = {script = "systemctl restart wpa_supplicant"; wantedBy = ["suspend.target"]; after = ["suspend.target"]; serviceConfig.Type = "oneshot"};
<neonfuz>
upon sleeping my computer, or unpluggind and plugging the card, I have to restart the wpa_supplicant service
2017-08-28
<fresheyeball>
systemctl resart wpa_supplicant seemed to work
<clever>
fresheyeball: and then restart wpa_supplicant
<clever>
fresheyeball: id just use wpa_supplicant directly
<clever>
fresheyeball: just configure it with wpa_supplicant or network manager
2017-08-26
<clever>
only after wpa_supplicant has connected
<freeman42x[m]>
I added enable redistributable and network manager and commented out the wpa_supplicant
<Mic92>
freeman42x: do you want to use wpa_supplicant or networkmanager in the end?
<freeman42x>
can I add what you mentioned without disabling the wpa_supplicant one?
<freeman42x>
Mic92, I have these 2 lines in the configuration.nix: networking.hostName = "nixos"; # Define your hostname. / networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
<Mic92>
wpa_supplicant just uses a generic kernel interface
<freeman42x>
Mic92, I thought it was something "wpa_supplicant" related
2017-08-25
<nwuensche>
Hi! I want to work with wpa_gui, but it just tells me: "Could not get status from wpa_supplicant". What am I doing wrong?
<disasm>
for example, in this one you'll see systemd.services.wpa_supplicant. That'll generate a systemd service (which is thrown in the store), and then symlinked to where systemd can find the service. That service will then have hard-coded paths to the store for the wpa_supplicant package.
2017-08-20
<joepie91>
construct: this is your actual error: The option `wpa_supplicant' defined in `/etc/nixos/configuration.nix' does not exist.
2017-08-09
<Infinisil>
deltasquared: I have my wpa_supplicant config in /etc, manually written, but I guess I could move this to a non-default location by passing some option to wpa_supplicant
2017-08-05
<makefu>
can you run: systemctl status wpa_supplicant
<LinArcX>
Hi. I am installing nixos. After set: networking.wirelss.enable = true I only can ping 127.0.0.1. I can't access Internet. The WPA_supplicant service is up and running too. Any advice?
2017-08-04
<NixOS_GitHub>
nixpkgs/master 6b62b56 Carl Sverre: wpa_supplicant: Enable BGSCAN module...
<NixOS_GitHub>
[nixpkgs] carlsverre opened pull request #27924: Enable BGSCAN for wpa_supplicant (master...wpa_supplicant_bgscan) https://git.io/v7aVS
2017-08-01
<lassulus>
Taneb: edit /etc/wpa_supplicant.conf and add the wifi, afterwards just run `systemctl restart wpa_supplicant`
<spacefrogg>
wpa_supplicant, I figure
2017-07-31
<noobly>
clever: interestingly, wpa_cli tells me it can't connect to wpa_supplicant
<noobly>
wpa_supplicant is successfully initialiezed
<clever>
noobly: journalctl -f -u wpa_supplicant
2017-07-29
<oborot>
Aftter running wpa_supplicant directly I can see that it was failing the handshake due to an incorrrect passphrase
<oborot>
Yeah so it would seem, must be an issue with wpa_supplicant
<oborot>
wpa_supplicant doesn't seem to work with my wireless usb and after a bit a research it seems to require that firmware
2017-07-15
<clever>
and if wireless.enable = false;, it wont even install wpa_supplicant, so you have no way to manualy start it
2017-07-11
<bennofs>
mpcsh: for the current install, I created a /etc/local directory where I put passwordFile, wpa_supplicant config etc
2017-07-07
<celph>
Infinisil: I put it there, because I didn't realize that wpa_supplicant expected it to be in a certain place
<celph>
I think it's wpa_supplicant not providing a default config file in the expected place, but requiring a config file to launch and expecting one in the launch script provided for systemd
<celph>
Infinisil: I'm not sure if this is the packagers' fault or the writers of wpa_supplicant
<celph>
Infinisil: so wpa_supplicant-start is a script that calls wpa_supplicant with /etc/wpa_supplicant.conf, I was using a file at /etc/wpa_supplicant/exapmle.conf, a simlink fixed the problem
<celph>
Infinisil: I tried a couple things - if I kill wpa_supplicant I can start it again manually as before, but systemctl can't start it, and starting it via wpa_supplicant-start doesn't do anything and doesn't output any error messages
<Infinisil>
celph: Well if you can run wpa_supplicant manually and you have working internet then systemd should be able to do it as well
<Infinisil>
Also have a look at `man wpa_supplicant`, maybe there's some debug option
<Infinisil>
For me, the contents of the file at execstart contain a small script that calls wpa_supplicant with some options, you could try calling that with these options directly
<Infinisil>
systemctl cat wpa_supplicant shows you the service file
<Infinisil>
celph-alt: Have a look at `journalctl -u wpa_supplicant`
<celph>
wpa_supplicant is still breaking rebuild T__T
<Infinisil>
Then `systemctl restart wpa_supplicant
<Infinisil>
celph-alt: Running wpa_cli on my machine gives me the error `Could not connect to wpa_supplicant: (nil) - re-trying`
<Infinisil>
celph-alt: How have you tried to set up wpa_supplicant? Via /etc/wpa_supplicant?
<celph>
for some reason systemctl can't start wpa_supplicant
<celph>
buh I'm trying to switch back to wpa_supplicant but it keeps failing to build when systemctl tries to start it
2017-07-02
<clever>
tilpner: nixos-rebuild wanted to restart the dhcpcd and wpa_supplicant services, so it shut the network off
2017-06-30
<lemmmy_>
hi everyone, I'm having an issue with networking. I'm under a strict firewall so can't connect via ethernet, and I'm trying to connect to an eap WiFi ssid with wpa supplicant
2017-06-28
<sphalerite>
why is there no systemd unit for wpa_supplicant even though I set networking.wireless.enable = true? :(
2017-06-21
<myklam[m]>
Hi I'm very new to NixOS, and I've just installed it on my machine. I'm having some troubles getting the wi-fi connected, and I'm hoping somebody can help me. When I try to connect to my network using wpa_supplicant, but I get the error that says: "wlp3s0: Failed to initialize driver interface"
2017-06-18
<Mic92>
well better then crap wpa_supplicant calls an api.
<MichaelRaskin>
On my not-exactly-NixOS system I use wpa_supplicant by manually editing config and restarting the daemon or using wpa_cli
<Mic92>
gchristensen: iwd will be faster then wpa_supplicant. Unfortunaly it is not ready yet
<MichaelRaskin>
For brief suspends I often succeed letting wpa_supplicant reaunthicate to the same network
<MichaelRaskin>
wpa_supplicant does an honest scan, chooses the AP according to policy, connects and report success
<MichaelRaskin>
For some networks this is how much time wpa_supplicant takes to connect