You are not logged in.

#1 2013-07-24 15:10:12

Hurricane
Member
Registered: 2012-10-18
Posts: 77

netctl enabled, wifi still not working

I have netctl-auto@wlp2s0.service enabled, and when I turn on my computer and ask for the status it says it is active. However, my wifi still doesn't work.

When I check the status of the interface using ip link, it tells me that the interface is down, even though the netctl service is active. When I set it up using ip link set wlp2s0 up, I start to see network activity in conky, and after running tcpdump listening on that interface it confirms that there is network activity, but it still can't connect to the internet.

My dad moved the modem and the router last night to another room from mine, and so I had to switch from an ethernet connection to a wifi connection. I successfully set up the new profile and connected to the internet last night, even after a restart of the computer, but all of a sudden this morning it isn't working.

I'm stumped.

EDIT: I tried using wifi-menu to connect and it works perfectly. I ran systemctl status netctl-auto@wlp2s0.service and it said that the process failed.

So the problem seems to be that for some reason netctl isn't managing the network connection. I tried looking at the file for the network profile and everything is perfect.

Last edited by Hurricane (2013-07-24 21:29:59)


Computers are extra dumb, which is why it takes extra smart people to make them work.

Offline

#2 2013-07-25 05:45:13

bazmonkey
Member
Registered: 2010-11-03
Posts: 21

Re: netctl enabled, wifi still not working

Did you run "wifi-menu -o" to generate a config for wlp2s0?  It sounds like netctl doesn't know what to do with the interface.

Check out https://wiki.archlinux.org/index.php/Netctl

Offline

#3 2013-07-25 06:00:42

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,355

Re: netctl enabled, wifi still not working

You did not mention anything about the profile that defines your access point.   You should have a file in /etc/netctl that defines it.  Wiki describes it here

Here is mine (Key is obfuscated):

ewaller$@$odin ~/devel/C 1199 %cat /etc/netctl/woodlyn 
Description='Home Network WPA encrypted wireless connection'
Interface=wlan0
Connection=wireless
Security=wpa

IP=dhcp

ESSID='Woodlyn'
# Prepend hexadecimal keys with \"
# If your key starts with ", write it as '""<key>"'
# See also: the section on special quoting rules in netctl.profile(5)
Key='<<<REDACTED>>>>'
# Uncomment this if your ssid is hidden
#Hidden=yes
ewaller$@$odin ~/devel/C 1200 %

 


Have you such a file, and is it set up correctly?

edit:  I  have not tried bazmonkey's approach, but there are examples under /etc/netctl you can use as well.

Last edited by ewaller (2013-07-25 06:02:27)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2013-07-25 16:13:42

Hurricane
Member
Registered: 2012-10-18
Posts: 77

Re: netctl enabled, wifi still not working

I had a profile that I had copied from /etc/netctl/examples and edited. It worked on the night that I set up my wifi, but all of a sudden the next day it didn't work. Eventually I just deleted the profile and disabled netctl-auto@wlp2s0.service, so I could connect manually with wifi-menu (that's when I edited my original post). That's currently what I'm doing every time I start my computer.

EDIT: I tried the wifi-menu -o suggestion and it worked, but the update for netctl was just released so I don't know if maybe that also had something to do with it. Thank you guys for your help.

Last edited by Hurricane (2013-07-25 16:22:19)


Computers are extra dumb, which is why it takes extra smart people to make them work.

Offline

Board footer

Powered by FluxBB