You are not logged in.

#1 2014-02-14 05:14:49

Unknown27
Member
Registered: 2014-02-14
Posts: 6

Problem with connection managers

Hi,

First time poster here, and first time linux user for a few weeks
I've been looking for a solution to this problem for a past few days, but google and wiki pages aren't getting me anywhere. I'll start from the top:

I'm looking for a good connection manager for my wifi-only laptop, which has an internal network adapter, and a usb network adapter that I occasionally use.
Out of many connection managers I've tried, either netctl with net gui, or NetworkManager work best/have the least problems. However,

With netctl:
1) The connection speeds I get are 1/2 to 2/3 of the speeds I get with NetworkManager, and very erratic
2) There are occasional drop-outs

With NetworkManager:
1) It takes a good 10-15 seconds to connect, every single time I wake the laptop up or reboot it
2) I can't tell it to use a particular interface, I have to manually set one of the network interfaces as down, since trying to turn off a network adapter in the networkmanagerapplet's menu just turns them both off

I've tried a handful of things I cannot fully remember now, disabling ipv6 to speed up connection time, adding to /etc/hostname, etc, but I've been getting nowhere
Personally I do prefer NetworkManager, but those 2 issues are just a huge dealbreaker.

Can anyone point me in the right direction for figuring what's wrong with netctl, or how to configure networkmanager, or show me a new connection manager? Aside from those, I've also tried connman, wicd and wifi-radar.

I'm running arch linux, 3.12.9 x86_64, with Gnome 3.10.2 Please forgive any errors, I've only been using linux for a few weeks

Now, another user replied and suggested that the problem may lie in the management daemons, or in my bad hardware, and that I should try to use wpa_supplicant directly.

Here is my attempt (I'm using the internal network adapter): http://i.imgur.com/FWJ1fjC.png

That worked for a while, but after rebooting and trying again, wpa_gui just reports the connection disconnecting... then reconnecting... then disconnecting... etc
I'm now using the usb adapter and wpa_supplicant, and the speed is great.

However, it's really going to be a hassle to manually set up every wireless network I come across, but if I started using NetworkManager or netctl, I'm just gonna have those problems again, right?

Is there anything I can do, or am I stuck in an impossible to solve situation?

Thanks

Offline

#2 2014-02-14 05:51:48

HungGarTiger
Member
From: nz/auckland/
Registered: 2012-06-27
Posts: 187

Re: Problem with connection managers

Nothing is an "impossible to solve situation", but it wouldbe nice to have a few more details to go on.

For example, are you using WPA/2 or WEP? What were the steps you used in setting up your wireless?

It's always a good idea to set things up manually first, that way you know what you did and can trouble shoot each stage to find the problem. That is the beauty of Arch over other more 'automatic' distros. Did you go through the Wiki manual set up and set with wpa_supplicant  before moving onto netctl and Network Manager?


I only use netctl and the terminal for my wireless networking needs and it is no more than adding the SSID and password into a new profile, then connecting with a simple command. Very easy.

Hope this gives you an idea of where to start, and anwsering those questions will give us a little more to go on in terms of helping you to find your problem


"No sympathy for the devil. If you buy the ticket, take the ride."
- Hunter S. Thompson

Offline

#3 2014-02-14 06:03:06

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

Re: Problem with connection managers

Welcome to Arch Linux

Also, are you connecting on the same band with netctl and with NetworkManager? 
Are you sure that you only have one program at a time trying to control your network?
Anything interesting or enlightening in your journalctl output?

BTW, in the end, netctl is using wpa_supplicant and dhcpcd as the back end tools -- you should not see any difference in performance flying by hand or by using netctl.

Last edited by ewaller (2014-02-14 06:06:31)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2014-02-14 06:44:02

Unknown27
Member
Registered: 2014-02-14
Posts: 6

Re: Problem with connection managers

The network I'm on is wpa2.

I started by using systemctl to stop and disable NetworkManager/connman/netctl, whichever one I used last, then rebooted.
Then I just followed this [https://wiki.archlinux.org/index.php/WP … figuration]
I used the wpa_passphrase tool to generate a configuration, then I added it to the end of /etc/wpa_supplicant/wpa_supplicant.conf
However, when I tried to start wpa_supplicant, I got a list of errors.
I then made a new config file and added the configuration to it, then started wpa_supplicant fine
Then just "dhcpcd wlp1s0" and I had an internet connection.

I actually didn't, I was using netctl from the cli when I first installed arch, then I used NetworkManager for a while until the delays got to me before I went and tried manually setting up the wifi.

Offline

#5 2014-02-14 06:49:22

Unknown27
Member
Registered: 2014-02-14
Posts: 6

Re: Problem with connection managers

Thanks for the welcome,

I'm quite sure I used only one program at a time to control the network- I stopped and disabled the others using systemd and rebooted before trying something new.

Actually, being so new to linux I'm not sure what to make of the journalctl output

I'm certain I'm just not imagining this,
I can get a solid connection at 500 KB/s  if manually set up the network,
but if I try to use netctl to set everything up automatically, the speed averages at about 300KB/s jumping between 100 and 500, and occasionally drops out.

Offline

#6 2014-02-14 08:00:15

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: Problem with connection managers

How are you measuring speed? Speedtest.net?

Offline

#7 2014-02-14 08:11:29

Unknown27
Member
Registered: 2014-02-14
Posts: 6

Re: Problem with connection managers

I watch the graphs in gnome's system monitor, the speedgraphs in conky, and the download speed when I'm updating with pacman.
So it's purely anecodotal, but it's quite noticeable- being able to stream 1080p on youtube vs not being able to stream 1080p

Speedtest.net always just returns 4Mbps down

Last edited by Unknown27 (2014-02-14 08:12:55)

Offline

#8 2014-02-14 18:34:24

Unknown27
Member
Registered: 2014-02-14
Posts: 6

Re: Problem with connection managers

Here is the output from journalctl -xn shortly after booting (wlp0s20u1 is the usb network adapter that I occasionally use- there isn't a netctl profile set up for it]

Feb 15 02:27:54 UnknownArch gnome-session[533]: Device "wlp0s20u1" does not exist.
Feb 15 02:27:57 UnknownArch kernel: wlp1s0: authenticate with 94:44:52:4c:c4:b4
Feb 15 02:27:57 UnknownArch kernel: wlp1s0: send auth to 94:44:52:4c:c4:b4 (try 1/3)
Feb 15 02:27:57 UnknownArch kernel: wlp1s0: authenticated
Feb 15 02:27:57 UnknownArch kernel: wlp1s0: associate with 94:44:52:4c:c4:b4 (try 1/3)
Feb 15 02:27:57 UnknownArch kernel: wlp1s0: RX AssocResp from 94:44:52:4c:c4:b4 (capab=0x411 status=0 aid=1)
Feb 15 02:27:57 UnknownArch kernel: wlp1s0: associated
Feb 15 02:27:57 UnknownArch wpa_actiond[379]: Interface 'wlp1s0' reestablished connection to network 'Wi Fi'
Feb 15 02:27:58 UnknownArch wpa_actiond[379]: Interface 'wlp1s0' lost connection to network 'Wi Fi'
Feb 15 02:27:58 UnknownArch kernel: cfg80211: Calling CRDA to update world regulatory domain

From looking at systemctl, netctl-auto@wlp1s0.service and netctl.service start up fine, but

Offline

Board footer

Powered by FluxBB