From 359a92f770e621828e628f319290bb5736b1f67b Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 9 Feb 2020 10:24:03 +0530 Subject: new styles, new post! --- docs/posts/WPA_woes/index.html | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'docs/posts/WPA_woes') diff --git a/docs/posts/WPA_woes/index.html b/docs/posts/WPA_woes/index.html index a4ef973..a676210 100644 --- a/docs/posts/WPA_woes/index.html +++ b/docs/posts/WPA_woes/index.html @@ -10,6 +10,7 @@ + WPA Woes - peppe.rs
@@ -36,16 +37,16 @@ WPA Woes
-

I finally got around to installing Void GNU/Linux on my main +

I finally got around to installing Void GNU/Linux on my main computer. Rolling release, non-systemd, need I say more?

-

As with all GNU/Linux distributions, wireless networks had -me in a fix. If you can see this post, it means I’ve managed +

As with all GNU/Linux distributions, wireless networks had +me in a fix. If you can see this post, it means I've managed to get online. It turns out, wpa_supplicant was detecting the wrong interface by default (does it ever select the right one?). Let us fix that:

-
$ sudo rm -r /var/service/wpa_supplicant
+
$ sudo rm -r /var/service/wpa_supplicant
 $ sudo killall dhcpcd
 
@@ -60,7 +61,7 @@ $ sudo killall dhcpcd

Aha! Let us run wpa_supplicant on that interface, as a background process:

-
$ sudo wpa_supplicant -B -i wlp2s0 -c /etc/wpa_supplicant/wpa_supplicant.conf
+
$ sudo wpa_supplicant -B -i wlp2s0 -c /etc/wpa_supplicant/wpa_supplicant.conf
 $ sudo dhcpcd -B wlp2s0
 $ ping google.com
 PING ...
@@ -69,12 +70,12 @@ PING ...
 

Yay! Make those changes perpetual by enabling the service:

------------------------------------------------------
-# Add these to /etc/wpa_supplicant/wpa_supplicant.conf
-OPTS="-B"
-WPA_INTERFACE="wlp2s0"
+# Add these to /etc/wpa_supplicant/wpa_supplicant.conf
+OPTS="-B"
+WPA_INTERFACE="wlp2s0"
 ------------------------------------------------------
-$ sudo ln -s /etc/sv/wpa_supplicant /var/service/
-$ sudo ln -s /etc/sv/dhcpcd /var/service/
+$ sudo ln -s /etc/sv/wpa_supplicant /var/service/
+$ sudo ln -s /etc/sv/dhcpcd /var/service/
 $ sudo sv restart wpa_supplicant
 $ sudo sv restart dhcpcd
 
-- cgit v1.2.3