1 |
> On May 30, 2016, at 16:38, Mick <michaelkintzios@×××××.com> wrote: |
2 |
> |
3 |
> On Monday 30 May 2016 14:09:27 Jackson Darule wrote: |
4 |
>> Hello. I’ve newly installed gentoo, and my wireless hasn’t been working. |
5 |
>> I’ve tried to google and use the wiki to find the answer, but was unable |
6 |
>> to. If people require more information from my system, feel free to ask. |
7 |
>> I’ve been trying to manually configure the file for it to work. I’m using |
8 |
>> WPA2 personal security on my wifi. ------- |
9 |
>> /etc/wpa_supplicant/wpa_supplicant.conf |
10 |
>> |
11 |
>> update_config=1 |
12 |
>> ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel |
13 |
>> |
14 |
>> network={ |
15 |
>> ssid=“myssid” |
16 |
>> #psk=“mypsk” |
17 |
>> psk=(the longer form of the psk generated by the terminal command to find |
18 |
>> this) proto=WPA |
19 |
> |
20 |
> Change this to: |
21 |
> |
22 |
> proto=RSN |
23 |
> |
24 |
>> key_mgmt=WPA-PSK |
25 |
>> group=CCMP TKIP |
26 |
>> pairwise=CCMP TKIP |
27 |
> |
28 |
> You probably do not need TKIP |
29 |
> |
30 |
>> } |
31 |
>> -------- |
32 |
>> running the command “wpa_supplicant -B -Dnl80211 -iwlp3s0 |
33 |
>> -c/etc/wpa_supplicant/wpa_supplicant.conf" gives the output |
34 |
>> |
35 |
>> Successfully initialized wpa_supplicant |
36 |
>> ctrl_iface exists and seems to be in use - cannot override it |
37 |
>> Delete ‘/var/run/wpa_supplicant/wlp3s0’ manually if it is not used anymore |
38 |
>> Failed to initialize control interface ‘DIR=/var/run/wpa_supplicant |
39 |
>> GROUP=wheel’. You may have another wpa_supplicant process already running |
40 |
>> or the file was left by an unclean termination of wpa_supplicant in which |
41 |
>> case you will need to manually remove this file before starting |
42 |
>> wpa_supplicant again. |
43 |
>> |
44 |
>> nl80211: deinst ifname=wlp3s0 disabled_11b_rates=0 |
45 |
>> |
46 |
>> |
47 |
>> I wanted to ask before manually deleting /var/run/wpa_supplicant/wlp3s0 in |
48 |
>> case this could do anything to damage my new system. Is the next step to |
49 |
>> delete /var/run/wpa_supplicant/wlp3s0, or is there another step which I |
50 |
>> should take in order to connect with my wifi. |
51 |
>> |
52 |
>> Thanks. |
53 |
> |
54 |
> Do you have a /etc/init.d/net.wlp3s0 symlink to /etc/init.d/net and have you |
55 |
> configured /etc/conf.d/net to include the necessary for your wireless |
56 |
> interface? |
57 |
> |
58 |
> What do you get when you run '/etc/init.d/net.wlp3s0 start'? |
59 |
> |
60 |
> -- |
61 |
> Regards, |
62 |
> Mick |
63 |
|
64 |
I changed the listed options, getting rid of TKIP, and switching to RSN. I have /etc/init.d/net.wlp3s0 symlinked to /etc/init.d/net. Below is the configuration of /etc/conf.d/net. |
65 |
|
66 |
—— |
67 |
modules_wlp3s0=“wpa_supplicant” |
68 |
wpa_supplicant_wlp3s0=“-Dnl80211” |
69 |
config_wlp3s0=“dhcp” |
70 |
—— |
71 |
|
72 |
Below is the output of the command /etc/init.d/net.wlp3s0 start |
73 |
— |
74 |
net.wlp3s0 |bringing up interface wlp3s0 |
75 |
net.wlp3s0 |starting wpa_supplicant on wlp3s0 … |
76 |
net.wlp3s0 |successfully initialized wpa_supplicant |
77 |
net.wlp3s0 |ctrl_iface exists and seems to be in use - cannot override it |
78 |
net.wlp3s0 |Delete ‘/var/run/wpa_supplicant/wlp3s0’ manually if it is not used anymore |
79 |
net.wlp3s0 |Failed to initialize control interface ‘DIR=/var/run/wpa_supplicant GROUP=wheel’. |
80 |
net.wlp3s0 |You may have another spa_supplicant process already running or the file was left by an unclean termination of spa_supplicant in which case you will need to manually remove this file before starting spa_supplicant again. |
81 |
net.wlp3s0 |nl80211: deinst ifname=wlp3s0 disabled_11b_rates=0 |
82 |
net.wlp3s0 | start-stop-daemon: failed to start ‘/usr/sbin/wpa_supplicant’ |
83 |
net.wlp3s0 | ERROR: net.wlp3s0 failed to start |
84 |
— |
85 |
|
86 |
Let me know if any more information is needed, and what else I should try. |
87 |
|
88 |
Thanks. |