aboutsummaryrefslogtreecommitdiff
path: root/docs/posts/WPA_woes
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-01-25 17:44:36 +0000
committerAkshay <[email protected]>2020-01-25 17:44:36 +0000
commit5924e263893ac8c47a22a78c88b46c585fc9e82b (patch)
tree2455e8aab84e053d424eeb05f06dbcf079f7c7a6 /docs/posts/WPA_woes
parent313fb789bbc0bf1dcbdff4b258818ec6d895b5a6 (diff)
update styles, minify links
Diffstat (limited to 'docs/posts/WPA_woes')
-rw-r--r--docs/posts/WPA_woes/index.html78
1 files changed, 78 insertions, 0 deletions
diff --git a/docs/posts/WPA_woes/index.html b/docs/posts/WPA_woes/index.html
new file mode 100644
index 0000000..ab92cab
--- /dev/null
+++ b/docs/posts/WPA_woes/index.html
@@ -0,0 +1,78 @@
1<!DOCTYPE html>
2<html lang="en">
3 <head>
4 <link rel="stylesheet" href="/style.css">
5 <meta charset="UTF-8">
6 <meta name="viewport" content="initial-scale=1">
7 <meta content="#ffffff" name="theme-color">
8 <meta name="HandheldFriendly" content="true">
9 <meta property="og:title" content="nerdypepper">
10 <meta property="og:type" content="website">
11 <meta property="og:description" content="a static site {for, by, about} me ">
12 <meta property="og:url" content="https://nerdypepper.tech">
13 <body>
14 <div class="posts">
15 <div class="post">
16 <div class="date">
17 12/10 2019
18 <span class="commit-hash">
19 <a href="https://github.com/nerdypepper/site/blob/master/posts/WPA_woes.md
20" style="text-decoration: none">
21 9367110
22 </a>
23 </span>
24 </div>
25 <span class="post-title">
26 WPA Woes
27 </span>
28 <div class="post-text">
29 <p>I finally got around to installing Void GNU/Linux on my main
30computer. Rolling release, non-systemd, need I say more?</p>
31
32<p>As with all GNU/Linux distributions, wireless networks had
33me in a fix. If you can see this post, it means I&#8217;ve managed
34to get online. It turns out, <code>wpa_supplicant</code> was detecting the
35wrong interface by default (does it ever select the right
36one?). Let us fix that:</p>
37
38<pre><code>$ sudo rm -r /var/service/wpa_supplicant
39$ sudo killall dhcpcd
40</code></pre>
41
42<p>What is the right interface though?</p>
43
44<pre><code>$ iw dev
45 ...
46 Interface wlp2s0
47 ...
48</code></pre>
49
50<p>Aha! Let us run <code>wpa_supplicant</code> on that interface, as a
51background process:</p>
52
53<pre><code>$ sudo wpa_supplicant -B -i wlp2s0 -c /etc/wpa_supplicant/wpa_supplicant.conf
54$ sudo dhcpcd -B wlp2s0
55$ ping google.com
56PING ...
57</code></pre>
58
59<p>Yay! Make those changes perpetual by enabling the service:</p>
60
61<pre><code>------------------------------------------------------
62# Add these to /etc/wpa_supplicant/wpa_supplicant.conf
63OPTS=&quot;-B&quot;
64WPA_INTERFACE=&quot;wlp2s0&quot;
65------------------------------------------------------
66$ sudo ln -s /etc/sv/wpa_supplicant /var/service/
67$ sudo ln -s /etc/sv/dhcpcd /var/service/
68$ sudo sv restart wpa_supplicant
69$ sudo sv restart dhcpcd
70</code></pre>
71
72 </div>
73 <a href="/" class="post-end-link">⟵ Back</a>
74 <div class="separator"></div>
75 </div>
76 </div>
77 </body>
78</html>