1 |
I want to do this manually, before automating it; "ifconfig -a" shows |
2 |
eth0, and lo, and... |
3 |
|
4 |
wlan0: flags=4098<BROADCAST,MULTICAST> mtu 1500 |
5 |
ether 00:26:c6:4a:b4:92 txqueuelen 1000 (Ethernet) |
6 |
RX packets 0 bytes 0 (0.0 B) |
7 |
RX errors 0 dropped 0 overruns 0 frame 0 |
8 |
TX packets 0 bytes 0 (0.0 B) |
9 |
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 |
10 |
|
11 |
Next steps are to start wpa_supplicant and wpa_cli |
12 |
|
13 |
=================================================================== |
14 |
|
15 |
[thimk][root][~] /etc/init.d/wpa_supplicant start |
16 |
* Starting WPA Supplicant Daemon ... |
17 |
Successfully initialized wpa_supplicant [ ok ] |
18 |
|
19 |
[thimk][root][~] wpa_cli |
20 |
wpa_cli v2.9 |
21 |
Copyright (c) 2004-2019, Jouni Malinen <j@××.fi> and contributors |
22 |
|
23 |
This software may be distributed under the terms of the BSD license. |
24 |
See README for more details. |
25 |
|
26 |
|
27 |
|
28 |
Interactive mode |
29 |
|
30 |
Could not connect to wpa_supplicant: (nil) - re-trying |
31 |
|
32 |
=================================================================== |
33 |
|
34 |
Even specifying "wpa_cli -i wlan0" fails. The config files... |
35 |
|
36 |
|
37 |
# /etc/conf.d/net |
38 |
================= |
39 |
config_eth0="dhcp" |
40 |
|
41 |
modules="wpa_supplicant" |
42 |
config_wlan0="dhcp" |
43 |
|
44 |
# /etc/wpa_supplicant |
45 |
===================== |
46 |
# The below line not be changed otherwise wpa_supplicant refuses to work |
47 |
ctrl_interface=/var/run/wpa_supplicant |
48 |
|
49 |
# Ensure that only root can read the WPA configuration |
50 |
ctrl_interface_group=0 |
51 |
|
52 |
# Let wpa_supplicant take care of scanning and AP selection |
53 |
ap_scan=1 |
54 |
|
55 |
-- |
56 |
Walter Dnes <waltdnes@××××××××.org> |
57 |
I don't run "desktop environments"; I run useful applications |