You are not logged in.
Usually, using sudo wifi-menu works, but now I keep getting the following error :
Job for netctl@wlp7s0\x2dlinksys.service failed. See 'systemctl status netctl@wlp7s0\x2dlinksys.service' and 'journalctl -xn' for details.
Here is the output when I run netctl@wlp7s0\x2dlinksys.service :
netctl@wlp7s0x2dlinksys.service - Networking for netctl profile wlp7s0x2dlinksys
Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static)
Active: inactive (dead)
Docs: man:netctl.profile(5)
Output when I run sudo systemctl status netctl@wlp7s0\x2dlinksys.service :
- Logs begin at Sat 2013-04-06 22:18:17 UTC, end at Tue 2013-06-04 01:02:15 UTC. --
Jun 04 01:01:04 arch network[962]: DHCP IP lease attempt failed on interface 'wlp7s0'
Jun 04 01:01:04 arch kernel: wlp7s0: deauthenticating from <my mac address> by local choice (reason=3)
Jun 04 01:01:04 arch kernel: cfg80211: Calling CRDA to update world regulatory domain
Jun 04 01:01:04 arch network[962]: Failed to bring the network up for profile 'wlp7s0-linksys'
Jun 04 01:01:04 arch systemd[1]: netctl@wlp7s0\x2dlinksys.service: main process exited, code=exited, status=1/FAILURE
Jun 04 01:01:04 arch systemd[1]: Failed to start Networking for netctl profile wlp7s0-linksys.
It might be related to the installation of the dhcp package.
Also, doing sudo ip link set wlp7s0 up doesn't seem to work as it stays down.
Last edited by Gradient (2013-06-04 05:34:58)
Offline
I am going to venture ot guess that you have other network management services running. Stop them and try again.
Please also use code blocks when posting output like that. If you don't know what the hell I'm talking about, ti is what makes those nice scrollable boxes arond stuff like... code. You can clock on the BBCode link below for help on how to do this.
Edit: It has nothing to do with the installation of the dhcp package. You have to understand what it is you are using here. In order to connect, you need to get an ip address. This is given to you from the dhcp server, but it is the dhcp server that is running on your router that issues them. On your local machine, you are using dhcpcd, which stands for dhcp client daemon. If you wanted to run a dhcp server off of your computer, you could use a number of thigs, but one of them is the dhcp package that provides dhcpd.
Last edited by WonderWoofy (2013-06-04 05:15:52)
Offline
Still, I installed dhcp package and shortly after (less than a day), I could not connect to the internet. I suspect it might interfere somehow. Else I don't know what could cause my problem.
Last edited by Gradient (2013-06-04 05:20:23)
Offline
I told you... you probably have more than once service running that is trying to configure the network for you. You need to check your running services to make sure that nothing else is running that might interfere with network configuration.
Offline
How can I do that?
Offline
There are a number of ways you can find this information. You can search these very forums in which you have posted, as it has been covered numerous times in the pas few days. You can read the systemd arch wiki page, which is a wealth of information that yu should probably read anyway, or you could start perusing man pages.
I'm not trying to be mean here. But you need to understand that there is a higher level of expectation in these forums than in those of other distributions. You are expected to do your own research and work. This is not a forum in which you can expect to get your hand held. If you learn that now, you will be better off in the future.
So do a bit of research, and if you get stuck, come back here, and tell us about what you did and ask any specific questions.
Offline
My problem seems to have disappeared by itself. I just played around with netctl's command (stop-all, list, disable, enable, ...). I deleted profile files in /etc/netctl. I switched to an unsecured wireless connection and it worked. I switched back to my wpa network and it worked. It might have been related to wpa.
Anyway, my problem is solved now, even though I don't know what happened and my research didn't lead to anything.
Last edited by Gradient (2013-06-04 09:20:15)
Offline