You are not logged in.

#1 2013-08-24 02:05:35

bbm21
Member
Registered: 2012-12-24
Posts: 27

[solved] Wifi issues

I have Arch installed on my samsung series 9 ultrabook, one of the older models if that matters. I am having a few problems with wifi that I haven't been able to fix. First, I cannot connect to my family's password protected wpa2 network. I used to be be able to inconsistently, now I cannot connect to it at all. when I run 'sudo wifi-menu' and connect to the network I get this output:

"job for netctl@wlp1s0\x2dMynetworkl.service failed. See 'systemctl status netctl@wlp1s0\x2dMynetwork.service' and 'journalctl -xn' for details."

wlp1s0 is my wifi interface (like wlan0 for most people).

when I try to connect with wpa_gui it says:

"Could not get status from wpa_supplicant"


and also, I have been connecting to my neighbor's open network and it does not automatically connect on each boot, I have to manually connect with wifi-menu every time I turn on my computer

any ideas?

Last edited by bbm21 (2013-09-07 14:52:51)

Offline

#2 2013-08-24 02:11:36

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [solved] Wifi issues

\x2d is an escape character representing a '-'.

It tells you to to use 'journalctl -xn' for more details… did you do that?  I surely hope you have your neighbor's permission to be using his/her network.  Open or not, if you don't have permission, what you are doing is likely illegal.

Offline

#3 2013-08-24 02:28:10

bbm21
Member
Registered: 2012-12-24
Posts: 27

Re: [solved] Wifi issues

I did not know that about /x2d, I just updated the op. Also I do have permission to use her network, but obviously, I would rather use my own. I did run journalctl -xn and it didn't hep me much but here is the output if someone better than me wants help:

-- Logs begin at Thu 2013-05-30 16:30:07 PDT, end at Fri 2013-08-23 19:23:40 PDT. --
Aug 23 19:23:09 arch dhcpcd[9036]: exited
Aug 23 19:23:09 arch network[8905]: DHCP IP lease attempt failed on interface 'wlp1s0'
Aug 23 19:23:09 arch kernel: wlp1s0: deauthenticating from a0:21:b7:73:3e:22 by local choice (reason=3)
Aug 23 19:23:09 arch kernel: cfg80211: Calling CRDA to update world regulatory domain
Aug 23 19:23:09 arch network[8905]: Failed to bring the network up for profile 'wlp1s0-Mynetwork'
Aug 23 19:23:09 arch systemd[1]: netctl@wlp1s0\x2dMynetwork.service: main process exited, code=exited, status=1/FAILURE
Aug 23 19:23:09 arch systemd[1]: Failed to start Networking for netctl profile wlp1s0-Mynetwork.
-- Subject: Unit netctl@wlp1s0\x2dMynetwork.service has failed
-- Defined-By: systemd
-- Support: [url]http://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
-- Documentation: [url]http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d[/url]
-- 
-- Unit netctl@wlp1s0\x2dMynetworkl.service has failed.
-- 
-- The result is failed.
Aug 23 19:23:09 arch systemd[1]: Unit netctl@wlp1s0\x2dMynetwork.service entered failed state.
Aug 23 19:23:15 arch /etc/gdm/Xsession[415]: NOTE: child process received `Goodbye', closing down
Aug 23 19:23:40 arch /etc/gdm/Xsession[415]: anonymox: Warning [overlay.progressListener.onStateChange] Detected possible Proxy-Problem.(NS_ERROR_PROXY_CONNECTION_REFUSED)

Last edited by bbm21 (2013-09-07 14:45:16)

Offline

#4 2013-08-24 03:53:26

cris9288
Member
Registered: 2013-01-07
Posts: 348

Re: [solved] Wifi issues

Aug 23 19:23:09 arch network[8905]: DHCP IP lease attempt failed on interface 'wlp1s0'

try increasing the DHCP timeout in your networks profile.

check out man netctl.profile if you are unsure of how to do that.

Offline

#5 2013-08-24 04:11:45

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: [solved] Wifi issues

@bbm21

Make sure your stop network before you start another one. For example to disable wlp3s0.

ip link set wlp3s0 down
WonderWoofy wrote:

\x2d is an escape character representing a '-'.

Is that intentional? Why not just use '-'?

Offline

#6 2013-08-24 04:16:47

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [solved] Wifi issues

@donniezazen, systemd considers a '-' in a unit name a representation of a '/'.  So you can probably see that things from your fstab are translated to these specially named mount units.  For example, the rootfs is the -.mount file (which BTW, kind of sucks since the CLI thinks you are trying to issue a flag/switch… so you have to use ./-.mount instead).  So you should also have some sys filesystems that are moutned automatically by systemd.  So if you do systemctl --type=mount then you will see that there is the sys-kernel-config.mount unit, which translates to /sys/kernel/config.

Offline

#7 2013-08-24 04:25:28

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: [solved] Wifi issues

@WonderWoofy Thanks. I did notice that.

Offline

#8 2013-08-24 18:37:29

bbm21
Member
Registered: 2012-12-24
Posts: 27

Re: [solved] Wifi issues

cris9288 wrote:

Aug 23 19:23:09 arch network[8905]: DHCP IP lease attempt failed on interface 'wlp1s0'

try increasing the DHCP timeout in your networks profile.

check out man netctl.profile if you are unsure of how to do that.


Sweet, that worked. Thanks for the help. Now all I need is to be able to connect on boot if that is possible.

Offline

#9 2013-08-24 18:50:02

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [solved] Wifi issues

So I assume that you are still using netctl… if that is the case, then enable the profile.

Offline

#10 2013-08-24 19:10:57

bbm21
Member
Registered: 2012-12-24
Posts: 27

Re: [solved] Wifi issues

cool that worked too. Thank you to all of you for the help!

Offline

#11 2013-09-07 03:59:08

bbm21
Member
Registered: 2012-12-24
Posts: 27

Re: [solved] Wifi issues

ok so it worked for a while, not its not again, I tried increaseing my dhcp timeout even more and that didn't work, here is my output of journal -xn this time

-- Logs begin at Thu 2013-05-30 16:30:07 PDT, end at Fri 2013-09-06 20:54:59 PDT. --
Sep 06 20:54:54 arch kernel: wlp1s0: waiting for beacon from a0:21:b7:73:3e:22
Sep 06 20:54:58 arch kernel: wlp1s0: authenticate with a0:21:b7:73:3e:22
Sep 06 20:54:58 arch kernel: wlp1s0: send auth to a0:21:b7:73:3e:22 (try 1/3)
Sep 06 20:54:58 arch kernel: wlp1s0: authenticated
Sep 06 20:54:58 arch kernel: wlp1s0: waiting for beacon from a0:21:b7:73:3e:22
Sep 06 20:54:59 arch network[3517]: WPA association/authentication failed for interface 'wlp1s0'
Sep 06 20:54:59 arch network[3517]: Failed to bring the network up for profile 'wlp1s0-Mynetwork'
Sep 06 20:54:59 arch systemd[1]: netctl@wlp1s0\x2dMynetworkwell.service: main process exited, code=exited, status=1/FAILURE
Sep 06 20:54:59 arch systemd[1]: Failed to start Automatically generated profile by wifi-menu.
-- Subject: Unit netctl@wlp1s0\x2dMynetwork.service has failed
-- Defined-By: systemd
-- Support: [url]http://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
-- Documentation: [url]http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d[/url]
-- 
-- Unit netctl@wlp1s0\x2dMynetwork.service has failed.
-- 
-- The result is failed.
Sep 06 20:54:59 arch systemd[1]: Unit netctl@wlp1s0\x2dMynetwork.service entered failed state.

thanks in advance

Last edited by bbm21 (2013-09-07 14:44:47)

Offline

#12 2013-09-07 04:38:38

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [solved] Wifi issues

Try renaming the config file to something without the '-'.  I know it was autogenerated this way, but systemd treats a '-' in a special way, as you can see from that journalctl output.  So often times this can lead to problems… or so I have read from reports of other users.

When systemd creates the mount units, from your fstab, it replaces the path's '/' with '-'.  So mounting something at /var/lib/whatever would result in var-lib-whatever.mount.  That is why the unit that is trying to be started has a \x2d in place of the '-'.


Also, please learn how to use code tags and go back and fix that post above.

Offline

#13 2013-09-07 14:52:33

bbm21
Member
Registered: 2012-12-24
Posts: 27

Re: [solved] Wifi issues

ok well that seems to have worked. I'll update this post again if I have further problems, thanks!

Offline

Board footer

Powered by FluxBB