Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wpa_supplcant: Failed to connect to non-global ctrl_ifname
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
umka69
Tux's lil' helper
Tux's lil' helper


Joined: 31 Mar 2013
Posts: 124

PostPosted: Fri Feb 07, 2014 1:43 pm    Post subject: wpa_supplcant: Failed to connect to non-global ctrl_ifname Reply with quote

Hi. I am useing wpa_supplicant for wireless networking.
Actually it works good when I am starting /etc/init.d/wpa_supplicant.
So I tried to follow a gentoo network manual (It is useful for KVM)
After starting a symbolic link /etc/init.d/net.wlp3s0 an error heppend.
Some help please... guys...

What I did:

Code:
# cd /etc/init.d
# ln -s net.lo net.wlp3s0
# reboot


Nessesery logs and configs:

Code:
# cat /etc/conf.d/net
modules_wlp3s0="wpa_supplicant"
wpa_supplicant_wlp3s0="-Dwext"
config_wlp3s0="dhcp"


Code:
~ # cat /usr/src/linux/.config | grep WEXT
CONFIG_WEXT_CORE=y
CONFIG_WEXT_PROC=y
CONFIG_CFG80211_WEXT=y


Code:
~ # cat /usr/src/linux/.config | grep ATH9K
CONFIG_ATH9K_HW=y
CONFIG_ATH9K_COMMON=y
CONFIG_ATH9K_BTCOEX_SUPPORT=y
CONFIG_ATH9K=y
CONFIG_ATH9K_PCI=y
CONFIG_ATH9K_AHB=y
CONFIG_ATH9K_DEBUGFS=y
CONFIG_ATH9K_MAC_DEBUG=y
CONFIG_ATH9K_LEGACY_RATE_CONTROL=y
# CONFIG_ATH9K_HTC is not set


Code:
~ # dmesg | grep wlp3s0
[    7.903664] systemd-udevd[2712]: renamed network interface wlan0 to wlp3s0
[   13.854453] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready


Code:
~ # tail -n20 /var/log/rc.log
 [ ok ]
 * Starting syslog-ng ...
 [ ok ]
 * Starting cronie ...
 [ ok ]
 * Bringing up interface wlp3s0
 *   Starting wpa_supplicant on wlp3s0 ...
Successfully initialized wpa_supplicant
 [ ok ]
 *   Starting wpa_cli on wlp3s0 ...
Failed to connect to non-global ctrl_ifname: wlp3s0  error: No such file or directory
 *   start-stop-daemon: failed to start `/usr/bin/wpa_cli'
 [ !! ]
 * ERROR: net.wlp3s0 failed to start
 * ERROR: cannot start netmount as net.wlp3s0 would not start
 * Starting local
 [ ok ]

rc default logging stopped at Fri Feb  7 13:37:46 2014


Code:
~ # ifconfig wlp3s0
wlp3s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 9c:b7:0d:41:63:b1  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


Code:
~ # /etc/init.d/net.wlp3s0 start
 * Bringing up interface wlp3s0
 *   Starting wpa_supplicant on wlp3s0 ... [ ok ]
 *   Starting wpa_cli on wlp3s0 ... [ !! ]
Back to top
View user's profile Send private message
spike88
n00b
n00b


Joined: 16 Oct 2012
Posts: 17

PostPosted: Mon Feb 17, 2014 11:01 pm    Post subject: Reply with quote

are you using Ipv6?
_________________
Gentoo Rocks thanks!
Back to top
View user's profile Send private message
umka69
Tux's lil' helper
Tux's lil' helper


Joined: 31 Mar 2013
Posts: 124

PostPosted: Tue Feb 18, 2014 3:08 pm    Post subject: Reply with quote

I actually don't even config it. Is it necessary?
There is sit0 interface.

Code:
~ # ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

sit0: flags=193<UP,RUNNING,NOARP>  mtu 1480
        inet6 ::127.0.0.1  prefixlen 96  scopeid 0x90<compat,host>
        sit  txqueuelen 0  (IPv6-in-IPv4)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.7  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::9eb7:dff:fe41:63b1  prefixlen 64  scopeid 0x20<link>
        ether 9c:b7:0d:41:63:b1  txqueuelen 1000  (Ethernet)
        RX packets 20  bytes 2046 (1.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 18  bytes 1962 (1.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
[/code]
_________________
Make a wish, this text is magic. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum