You are not logged in.

#1 2010-01-21 07:00:03

zhuk_av
Member
Registered: 2009-11-02
Posts: 36

[SOLVED] NetworkManager is unable to make working connection

Hi to all.
I had used netcfg and wifi-select to manage my wireless connections for a long enough time. But since new kernel 2.6.32 was released I had got an interesting problem - wifi-select succeeded in connection on my home LAN (wifi with wep, no DHCP) only from second attempt. So, I had decided to wait until netcfg upgrade and to try out some other utility for a while. NetworkManager is able to connect from first attempt after a proper profile configuration, but it's connection only looks normal - no packages can't be sent or received. I've looked into "ifconfig" and "route" output - it seems to be the same as for netcfg's connection. So does anyone have any suggestions on why such a bug can appear and how can it be removed?

P.S. When executing "route" for NetworkManager's connection, there's significant delay before results appear in comparison to netcfg's connection.

Last edited by zhuk_av (2010-09-01 10:51:01)

Offline

#2 2010-01-21 18:14:17

senkil
Member
From: Norway
Registered: 2009-01-10
Posts: 21

Re: [SOLVED] NetworkManager is unable to make working connection

Not sure if you've already done this, but you need to disable network interfaces and the network daemon, hal must start before networkmanager. If dhcpcd is running before you start networkmanager try killing it.

/etc/rc.conf:

INTERFACES=(!eth0 !wlan0)
DAEMONS=(... !network hal networkmanager ...)

http://wiki.archlinux.org/index.php/Net … figuration


- stianlik

Offline

#3 2010-01-22 10:09:27

zhuk_av
Member
Registered: 2009-11-02
Posts: 36

Re: [SOLVED] NetworkManager is unable to make working connection

Yes, I've read that wiki before installing NetworkManager. So, all configuration needed was done.

Offline

#4 2010-07-13 16:31:53

zhuk_av
Member
Registered: 2009-11-02
Posts: 36

Re: [SOLVED] NetworkManager is unable to make working connection

So, i'd continued experiments with different network managers for some time. Some interesting results were achieved with wicd. And, as I've wrote in the last post here http://bbs.archlinux.org/viewtopic.php?id=89676, wicd is able to make working Wi-Fi connections with WEP encryption without any additional movements. Thus, it looks like solution is only a matter of correct wpa_supplicant configuration.

Does anyone is unable to use networkmanager because of similar bugs? Did you found any solutions with it?

My Wi-Fi card is Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01).

Offline

#5 2010-07-13 19:25:08

omerglr
Member
From: istanbul
Registered: 2010-07-13
Posts: 4

Re: [SOLVED] NetworkManager is unable to make working connection

Hi, i just switched from kubuntu last week.on my laptop there was no working wpa or wep connection with standart networkmanager on arch. So i found my solution like this, installed networkmanager-dhclient from aur and removed dhcpd from rc.conf. Now it works as fast as i've never seen before. like whole os on arch smile I love it.I hope it works for you.

Offline

#6 2010-07-14 10:56:51

zhuk_av
Member
Registered: 2009-11-02
Posts: 36

Re: [SOLVED] NetworkManager is unable to make working connection

2 omerglr: Thank you for advise. I'll try it, though I don't use DHCP in my home network and do not have dhcpd in rc.conf.

Offline

#7 2010-07-14 21:51:54

zhuk_av
Member
Registered: 2009-11-02
Posts: 36

Re: [SOLVED] NetworkManager is unable to make working connection

So, I had installed networkmanager-dhclient. And I had removed dhcpcd to be sure in results. As for me, all is the same. So, as I thought, the problem is in the way networkmanager uses wpa_supplicant.

There's wicd also installed at my system. If I connect with wicd, then stop wicd-daemon without connection closing (I do not press any buttons in wicd-gtk) and then start networkmanager-daemon, it connects. Moreover, it's possible to reconnect any number of times. All this time wpa_supplicant process left by wicd resides in a memory. But if I'll restart system, networkmanager will not be able to connect (though it's own copy of wpa_supplicant is up).

Can other owners of AAO 150 or similar device test this? I think there is no difference between networkmanager and networkmanager-dhclient packages for this particular case.

Last edited by zhuk_av (2010-07-14 21:55:07)

Offline

#8 2010-07-19 00:23:37

zhuk_av
Member
Registered: 2009-11-02
Posts: 36

Re: [SOLVED] NetworkManager is unable to make working connection

I had tried different driver (madwifi-hal instead of ath5k). There were still no effect for NetworkManager. Also, I had allowed DHCP on my home network. The results were as poor as earlier.

And one more observation: my home router usually blinks green when there's traffic (or connection attempts). When NM tries to connect no activity can be observed on the router. But NM somehow "thinks" he is authorized.

Offline

#9 2010-07-24 18:13:09

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

Re: [SOLVED] NetworkManager is unable to make working connection

Hmmm, yeah I'm having problems with wireless too. I'm going to try wicd and see if I get the same results you did zhuk_av


joe@trusktr.io - joe at true skater dot io.

Offline

#10 2010-09-01 10:50:34

zhuk_av
Member
Registered: 2009-11-02
Posts: 36

Re: [SOLVED] NetworkManager is unable to make working connection

As for described issues, they had gone after kernel update to 2.6.35. All things are working smoothly now via NetworkManager with ath5k kernel module.

Offline

#11 2010-09-02 06:36:07

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

Re: [SOLVED] NetworkManager is unable to make working connection

Also, as a side note, for me adding my user to the networkmanager group, and also in the "edit connections" dialogue setting the desired connection to "connect automatically" and "enable for all users" made everything work fine for me!


joe@trusktr.io - joe at true skater dot io.

Offline

Board footer

Powered by FluxBB