You are not logged in.

#1 2013-08-24 17:53:33

kahrkunne
Member
Registered: 2013-08-24
Posts: 88

netctl not working

netctl status my-network gives

netctl@my\x2dnetwork.service -A simple WPA encrypted wireles connection
     loaded: loaded (...)
    active: failed (result: exit-code) ....date.....
    Docs: ....
    [Main PID and CGroup are listed as well]

[..................]:starting network profile 'my-network'...
[..................]:version 6.0.5 startming
[..................]:wlp7s1: soliciting a DHCP lease
[..................]:wlp7s1:offered 192.168.178.12 from 192.168.178.1 //all of this seems correct
[..................]:timed out
[..................]:exited
[..................]:DHCP IP lease attempt failed on interface 'wlp7s1'
[..................]: [says it failed, status=1/FAILURE]
[..................]:unit .... entered failed state

(replaced some things with dots because I'm typing all of this)

most important things from the my-network file:

interface=wlp7s1
connection=wireless
security=wpa (tried wpa2 and wpa2-psk as well, more on that later)
IP=dhcp
ESSID=[my ESSID]
key=[my passphrase]

Uing a wpa2-psk connection, but I thought wpa should work. Tried other things as well, couldn't find anything about this on google

Anyone help?

Offline

#2 2013-08-24 18:37:10

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: netctl not working

Your error starts here:  netctl@my\x2dnetwork.service & "my-network file;" see url below for explanation about hyphens and systemd

https://bbs.archlinux.org/viewtopic.php … 7#p1268907

Offline

#3 2013-08-24 18:43:38

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: netctl not working

Welcome to Arch.  Please use code tags when posting shell output for example. See: https://bbs.archlinux.org/help.php#bbcode

Last edited by graysky (2013-08-24 18:44:15)

Offline

#4 2013-08-24 18:55:09

kahrkunne
Member
Registered: 2013-08-24
Posts: 88

Re: netctl not working

a reboot solved it

Offline

#5 2013-08-24 18:55:42

kahrkunne
Member
Registered: 2013-08-24
Posts: 88

Re: netctl not working

graysky wrote:

Welcome to Arch.  Please use code tags when posting shell output for example. See: https://bbs.archlinux.org/help.php#bbcode

I didnt know there where code tags, otherwise I would have used them. Sorry for this.

EDIT: Sometimes my internet works now, but most of the time it doesn't

Last edited by kahrkunne (2013-08-24 19:46:01)

Offline

#6 2013-08-24 22:26:07

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: netctl not working

If this thread is still unsolved perhaps you could give us more information?  Some logs and/or output from "journalctl -xn (or -xb)" and what you've tried to do to solve this issue?

Did you rename your profile (IE, de-hyphenate it?) or make a new one?  Tried to use "wifi-menu -o" to generate a new profile and see if it works?

Not to sound like a cow but if you want help we need more info please!

Offline

#7 2013-08-25 08:39:36

jrussell
Member
From: Cape Town, South Africa
Registered: 2012-08-16
Posts: 510

Re: netctl not working

to get internet right now I suggest running

sudo dhcpcd

if you use a LAN port


or just use wicd for now, should sort you out assuming you can configure wicd through its gui


bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U

Offline

Board footer

Powered by FluxBB