Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Re: wpa_supplicant troubles with newly installed gentoo Jackson Darule <ethfreebsd@×××××.com>