On Mon, 30 May 2016 17:34:14 -0500
Jackson Darule <ethfree...@gmail.com> wrote:

> > On May 30, 2016, at 16:38, Mick <michaelkintz...@gmail.com> wrote:
> > 
> > On Monday 30 May 2016 14:09:27 Jackson Darule wrote:  
> >> Hello. I’ve newly installed gentoo, and my wireless hasn’t been
> >> working. I’ve tried to google and use the wiki to find the answer,
> >> but was unable to. If people require more information from my
> >> system, feel free to ask. I’ve been trying to manually configure
> >> the file for it to work. I’m using WPA2 personal security on my
> >> wifi. ------- /etc/wpa_supplicant/wpa_supplicant.conf
> >> 
> >> update_config=1
> >> ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
> >> 
> >> network={
> >>    ssid=“myssid”
> >>    #psk=“mypsk”
> >>    psk=(the longer form of the psk generated by the terminal
> >> command to find this) proto=WPA  
> > 
> > Change this to:
> > 
> >     proto=RSN
> >   
> >>    key_mgmt=WPA-PSK
> >>    group=CCMP TKIP
> >>    pairwise=CCMP TKIP  
> > 
> > You probably do not need TKIP
> >   
> >> }
> >> --------
> >> running the command “wpa_supplicant -B -Dnl80211 -iwlp3s0
> >> -c/etc/wpa_supplicant/wpa_supplicant.conf" gives the output
> >> 
> >> Successfully initialized wpa_supplicant
> >> ctrl_iface exists and seems to be in use - cannot override it
> >> Delete ‘/var/run/wpa_supplicant/wlp3s0’ manually if it is not used
> >> anymore Failed to initialize control interface
> >> ‘DIR=/var/run/wpa_supplicant GROUP=wheel’. You may have another
> >> wpa_supplicant process already running or the file was left by an
> >> unclean termination of wpa_supplicant in which case you will need
> >> to manually remove this file before starting wpa_supplicant again.
> >> 
> >> nl80211: deinst ifname=wlp3s0 disabled_11b_rates=0
> >> 
> >> 
> >> I wanted to ask before manually
> >> deleting /var/run/wpa_supplicant/wlp3s0 in case this could do
> >> anything to damage my new system. Is the next step to
> >> delete /var/run/wpa_supplicant/wlp3s0, or is there another step
> >> which I should take in order to connect with my wifi.
> >> 
> >> Thanks.  
> > 
> > Do you have a /etc/init.d/net.wlp3s0 symlink to /etc/init.d/net and
> > have you configured /etc/conf.d/net to include the necessary for
> > your wireless interface?
> > 
> > What do you get when you run '/etc/init.d/net.wlp3s0 start'?
> > 
> > -- 
> > Regards,
> > Mick  
> 
> 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.
> 
> ——
> modules_wlp3s0=“wpa_supplicant”
> wpa_supplicant_wlp3s0=“-Dnl80211”
> config_wlp3s0=“dhcp”
> ——
> 
> Below is the output of the command /etc/init.d/net.wlp3s0 start
> —
> net.wlp3s0    |bringing up interface wlp3s0
> net.wlp3s0    |starting wpa_supplicant on wlp3s0 …
> net.wlp3s0    |successfully initialized wpa_supplicant
> net.wlp3s0    |ctrl_iface exists and seems to be in use - cannot
> override it net.wlp3s0        |Delete
> ‘/var/run/wpa_supplicant/wlp3s0’ manually if it is not used anymore

I'd say delete that file.  It should be recreated every time you start
your network.

IIRC I created my /etc/wpa_supplicant/wpa_supplicant.conf by
running /usr/bin/wpa_gui, which is part of the wpa_supplicant package.

My .conf file is simpler than yours:

ctrl_interface=DIR=/run/wpa_supplicant GROUP=wheel

network={
        ssid="foo"
        scan_ssid=1
        key_mgmt=WPA-PSK
        psk="bar"
}



Reply via email to