1 |
> On May 30, 2016, at 18:24, walt <w41ter@×××××.com> wrote: |
2 |
> |
3 |
> On Mon, 30 May 2016 17:34:14 -0500 |
4 |
> Jackson Darule <ethfreebsd@×××××.com <mailto:ethfreebsd@×××××.com>> wrote: |
5 |
> |
6 |
>>> On May 30, 2016, at 16:38, Mick <michaelkintzios@×××××.com> wrote: |
7 |
>>> |
8 |
>>> On Monday 30 May 2016 14:09:27 Jackson Darule wrote: |
9 |
>>>> Hello. I’ve newly installed gentoo, and my wireless hasn’t been |
10 |
>>>> working. I’ve tried to google and use the wiki to find the answer, |
11 |
>>>> but was unable to. If people require more information from my |
12 |
>>>> system, feel free to ask. I’ve been trying to manually configure |
13 |
>>>> the file for it to work. I’m using WPA2 personal security on my |
14 |
>>>> wifi. ------- /etc/wpa_supplicant/wpa_supplicant.conf |
15 |
>>>> |
16 |
>>>> update_config=1 |
17 |
>>>> ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel |
18 |
>>>> |
19 |
>>>> network={ |
20 |
>>>> ssid=“myssid” |
21 |
>>>> #psk=“mypsk” |
22 |
>>>> psk=(the longer form of the psk generated by the terminal |
23 |
>>>> command to find this) proto=WPA |
24 |
>>> |
25 |
>>> Change this to: |
26 |
>>> |
27 |
>>> proto=RSN |
28 |
>>> |
29 |
>>>> key_mgmt=WPA-PSK |
30 |
>>>> group=CCMP TKIP |
31 |
>>>> pairwise=CCMP TKIP |
32 |
>>> |
33 |
>>> You probably do not need TKIP |
34 |
>>> |
35 |
>>>> } |
36 |
>>>> -------- |
37 |
>>>> running the command “wpa_supplicant -B -Dnl80211 -iwlp3s0 |
38 |
>>>> -c/etc/wpa_supplicant/wpa_supplicant.conf" gives the output |
39 |
>>>> |
40 |
>>>> Successfully initialized wpa_supplicant |
41 |
>>>> ctrl_iface exists and seems to be in use - cannot override it |
42 |
>>>> Delete ‘/var/run/wpa_supplicant/wlp3s0’ manually if it is not used |
43 |
>>>> anymore Failed to initialize control interface |
44 |
>>>> ‘DIR=/var/run/wpa_supplicant GROUP=wheel’. You may have another |
45 |
>>>> wpa_supplicant process already running or the file was left by an |
46 |
>>>> unclean termination of wpa_supplicant in which case you will need |
47 |
>>>> to manually remove this file before starting wpa_supplicant again. |
48 |
>>>> |
49 |
>>>> nl80211: deinst ifname=wlp3s0 disabled_11b_rates=0 |
50 |
>>>> |
51 |
>>>> |
52 |
>>>> I wanted to ask before manually |
53 |
>>>> deleting /var/run/wpa_supplicant/wlp3s0 in case this could do |
54 |
>>>> anything to damage my new system. Is the next step to |
55 |
>>>> delete /var/run/wpa_supplicant/wlp3s0, or is there another step |
56 |
>>>> which I should take in order to connect with my wifi. |
57 |
>>>> |
58 |
>>>> Thanks. |
59 |
>>> |
60 |
>>> Do you have a /etc/init.d/net.wlp3s0 symlink to /etc/init.d/net and |
61 |
>>> have you configured /etc/conf.d/net to include the necessary for |
62 |
>>> your wireless interface? |
63 |
>>> |
64 |
>>> What do you get when you run '/etc/init.d/net.wlp3s0 start'? |
65 |
>>> |
66 |
>>> -- |
67 |
>>> Regards, |
68 |
>>> Mick |
69 |
>> |
70 |
>> I changed the listed options, getting rid of TKIP, and switching to |
71 |
>> RSN. I have /etc/init.d/net.wlp3s0 symlinked to /etc/init.d/net. |
72 |
>> Below is the configuration of /etc/conf.d/net. |
73 |
>> |
74 |
>> —— |
75 |
>> modules_wlp3s0=“wpa_supplicant” |
76 |
>> wpa_supplicant_wlp3s0=“-Dnl80211” |
77 |
>> config_wlp3s0=“dhcp” |
78 |
>> —— |
79 |
>> |
80 |
>> Below is the output of the command /etc/init.d/net.wlp3s0 start |
81 |
>> — |
82 |
>> net.wlp3s0 |bringing up interface wlp3s0 |
83 |
>> net.wlp3s0 |starting wpa_supplicant on wlp3s0 … |
84 |
>> net.wlp3s0 |successfully initialized wpa_supplicant |
85 |
>> net.wlp3s0 |ctrl_iface exists and seems to be in use - cannot |
86 |
>> override it net.wlp3s0 |Delete |
87 |
>> ‘/var/run/wpa_supplicant/wlp3s0’ manually if it is not used anymore |
88 |
> |
89 |
> I'd say delete that file. It should be recreated every time you start |
90 |
> your network. |
91 |
> |
92 |
> IIRC I created my /etc/wpa_supplicant/wpa_supplicant.conf by |
93 |
> running /usr/bin/wpa_gui, which is part of the wpa_supplicant package. |
94 |
> |
95 |
> My .conf file is simpler than yours: |
96 |
> |
97 |
> ctrl_interface=DIR=/run/wpa_supplicant GROUP=wheel |
98 |
> |
99 |
> network={ |
100 |
> ssid="foo" |
101 |
> scan_ssid=1 |
102 |
> key_mgmt=WPA-PSK |
103 |
> psk=“bar” |
104 |
> } |
105 |
|
106 |
I’m unable to use wpa_gui as I don’t have Xorg installed on my computer. I’ve removed /var/run/wpa_supplicant/wlp3s0 and ran /etc/init.d/net.wlp3s0 start. This gave the feedback |
107 |
net.wlp3s0 | * WARNING: net.wlp3s0 has already started, but is inactive |
108 |
|
109 |
Is there any further information which could fix this, or is it best to try installing it again later, but install Xorg before rebooting into the new system so I can use wpa_gui. |
110 |
|
111 |
Thanks. |