aboutsummaryrefslogtreecommitdiff
path: root/docs/posts/WPA_woes
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-02-09 04:54:03 +0000
committerAkshay <[email protected]>2020-02-09 04:54:03 +0000
commit359a92f770e621828e628f319290bb5736b1f67b (patch)
treec4c4e5168c22ac13cd62c2ee03ef1a4334aa10fc /docs/posts/WPA_woes
parent75c5c6044170bd6cc23502a6f40f15378269b3d1 (diff)
new styles, new post!
Diffstat (limited to 'docs/posts/WPA_woes')
-rw-r--r--docs/posts/WPA_woes/index.html21
1 files changed, 11 insertions, 10 deletions
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 @@
10 <meta property="og:type" content="website"> 10 <meta property="og:type" content="website">
11 <meta property="og:description" content="a static site {for, by, about} me "> 11 <meta property="og:description" content="a static site {for, by, about} me ">
12 <meta property="og:url" content="https://peppe.rs"> 12 <meta property="og:url" content="https://peppe.rs">
13 <link rel="icon" type="image/x-icon" href="/favicon.png">
13 <title>WPA Woes - peppe.rs</title> 14 <title>WPA Woes - peppe.rs</title>
14 <body> 15 <body>
15 <div class="posts"> 16 <div class="posts">
@@ -36,16 +37,16 @@
36 WPA Woes 37 WPA Woes
37 </span> 38 </span>
38 <div class="post-text"> 39 <div class="post-text">
39 <p>I finally got around to installing Void GNU/Linux on my main 40 <p>I finally got around to installing Void GNU&#47;Linux on my main
40computer. Rolling release, non-systemd, need I say more?</p> 41computer. Rolling release, non-systemd, need I say more?</p>
41 42
42<p>As with all GNU/Linux distributions, wireless networks had 43<p>As with all GNU&#47;Linux distributions, wireless networks had
43me in a fix. If you can see this post, it means I&#8217;ve managed 44me in a fix. If you can see this post, it means I&#39;ve managed
44to get online. It turns out, <code>wpa_supplicant</code> was detecting the 45to get online. It turns out, <code>wpa_supplicant</code> was detecting the
45wrong interface by default (does it ever select the right 46wrong interface by default (does it ever select the right
46one?). Let us fix that:</p> 47one?). Let us fix that:</p>
47 48
48<pre><code>$ sudo rm -r /var/service/wpa_supplicant 49<pre><code>$ sudo rm -r &#47;var&#47;service&#47;wpa_supplicant
49$ sudo killall dhcpcd 50$ sudo killall dhcpcd
50</code></pre> 51</code></pre>
51 52
@@ -60,7 +61,7 @@ $ sudo killall dhcpcd
60<p>Aha! Let us run <code>wpa_supplicant</code> on that interface, as a 61<p>Aha! Let us run <code>wpa_supplicant</code> on that interface, as a
61background process:</p> 62background process:</p>
62 63
63<pre><code>$ sudo wpa_supplicant -B -i wlp2s0 -c /etc/wpa_supplicant/wpa_supplicant.conf 64<pre><code>$ sudo wpa_supplicant -B -i wlp2s0 -c &#47;etc&#47;wpa_supplicant&#47;wpa_supplicant.conf
64$ sudo dhcpcd -B wlp2s0 65$ sudo dhcpcd -B wlp2s0
65$ ping google.com 66$ ping google.com
66PING ... 67PING ...
@@ -69,12 +70,12 @@ PING ...
69<p>Yay! Make those changes perpetual by enabling the service:</p> 70<p>Yay! Make those changes perpetual by enabling the service:</p>
70 71
71<pre><code>------------------------------------------------------ 72<pre><code>------------------------------------------------------
72# Add these to /etc/wpa_supplicant/wpa_supplicant.conf 73# Add these to &#47;etc&#47;wpa_supplicant&#47;wpa_supplicant.conf
73OPTS=&quot;-B&quot; 74OPTS=&#34;-B&#34;
74WPA_INTERFACE=&quot;wlp2s0&quot; 75WPA_INTERFACE=&#34;wlp2s0&#34;
75------------------------------------------------------ 76------------------------------------------------------
76$ sudo ln -s /etc/sv/wpa_supplicant /var/service/ 77$ sudo ln -s &#47;etc&#47;sv&#47;wpa_supplicant &#47;var&#47;service&#47;
77$ sudo ln -s /etc/sv/dhcpcd /var/service/ 78$ sudo ln -s &#47;etc&#47;sv&#47;dhcpcd &#47;var&#47;service&#47;
78$ sudo sv restart wpa_supplicant 79$ sudo sv restart wpa_supplicant
79$ sudo sv restart dhcpcd 80$ sudo sv restart dhcpcd
80</code></pre> 81</code></pre>