On Wed, 2013-05-22 at 11:49 +1000, Sparhawk wrote:
> NetworkManager --no-daemon --log-level=debug 2> nm_debug.txt
> 
> 
> 
> On 22/05/13 01:47, Dan Williams wrote:
> > On Tue, 2013-05-21 at 16:18 +1000, Sparhawk wrote:
> >> Hi,
> >>
> >> Somewhere around the upgrade from Kubuntu 12.10 to 13.04, NetworkManager
> >> has started taking ages to connect automatically to my preferred wifi
> >> network.
> >>
> >> In the past, after waking from suspend, I would connect within a few
> >> seconds. Now it takes minutes. The exact time is erratic. Mostly it is
> >> around the two minute mark, but very rarely it takes ~10 seconds.
> > Can you grab some logs from wherever your distro puts syslog 'daemon'
> > output?  That's
> > probably /var/log/daemon.log, /var/log/NetworkManager.log,
> > or /var/log/syslog.
> In Ubuntu, it's just in the system/kernel log (/var/log/kern.log)
> http://pastebin.com/HyeP2die
> 
> I've actually asked on the kde forum [1], but I suspect there is nothing
> useful there. FWIW they mentioned putting NetworkManager in debug mode,
> but I couldn't work out how to kill it without it automatically
> restarting. (They also suggested I ask on this mailing list.)

mv /usr/sbin/NetworkManager /
killall -TERM NetworkManager
/NetworkManager --no-daemon --log-level=debug 2> nm_debug.txt

and then when you're done, move it back.  You might also be able to ask
upstart to stop & disable the NM service, then run it yourself manually.
Not sure about that.

Dan

> [1]
> http://forum.kde.org/viewtopic.php?f=225&t=110886&sid=391e2fbb71aa32f4d4ef6befb1ad8e0b#p264521
> 
> > If it's taking ages to find the network, I suspect that the network
> > simply isn't found in a wifi scan.  What wifi hardware do you have and
> > what driver are you using?  If you can provide the output of "lspci" and
> > "lsusb" that would point us in the right direction.
> I can see my network in the KDE network plasmoid minutes before it
> automatically connect, so I suspect it's not purely the fact that the
> network cannot be found. One other thing I noticed is the network name
> appears at slightly variable times in the plasmoid. Sometimes it's
> within two seconds. Sometimes it can take more like 15–20 seconds. In
> addition, occasionally (perhaps 20% of the time) the network
> automatically connects as expected within a few seconds.
> 
> I wonder if the problem is that the time it takes to find the network is
> variable. If it find is at (say) < 3 seconds, then it can connect
> automatically immediately. If it takes longer than this, the polling
> time to re-attempt the connection is slow enough that it will take more
> like 2 minutes.
> 
> FWIW I have a different computer running Xubuntu 13.04 and it connect
> perfectly to the network everytime.
> 
> $ lspci
> 00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor
> Family DRAM Controller (rev 09)
> 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core
> Processor Family PCI Express Root Port (rev 09)
> 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core
> Processor Family Integrated Graphics Controller (rev 09)
> 00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series
> Chipset Family MEI Controller #1 (rev 04)
> 00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset
> Family USB Enhanced Host Controller #2 (rev 05)
> 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset
> Family High Definition Audio Controller (rev 05)
> 00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
> Family PCI Express Root Port 1 (rev b5)
> 00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
> Family PCI Express Root Port 2 (rev b5)
> 00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
> Family PCI Express Root Port 4 (rev b5)
> 00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
> Family PCI Express Root Port 5 (rev b5)
> 00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
> Family PCI Express Root Port 6 (rev b5)
> 00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset
> Family USB Enhanced Host Controller #1 (rev 05)
> 00:1f.0 ISA bridge: Intel Corporation HM67 Express Chipset Family LPC
> Controller (rev 05)
> 00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset
> Family 6 port SATA AHCI Controller (rev 05)
> 00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family
> SMBus Controller (rev 05)
> 01:00.0 VGA compatible controller: NVIDIA Corporation GF116M [GeForce GT
> 555M/635M] (rev ff)
> 03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6230
> [Rainbow Peak] (rev 34)
> 04:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host
> Controller (rev 04)
> 0a:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 06)
> $ lsusb
> Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
> Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
> Bus 003 Device 005: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub /
> D-Link DUB-H4 USB 2.0 Hub
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 003: ID 0408:2fb1 Quanta Computer, Inc.
> Bus 002 Device 003: ID 8086:0189 Intel Corp.
> Bus 003 Device 008: ID 0e6a:030c Megawin Technology Co., Ltd
> Bus 003 Device 009: ID 15d9:0a4d Trust International B.V. Optical Mouse
> 
> Thank you!
> 
> > Thanks!
> > Dan
> >
> >> However, if I click on the (KDE) network plasmoid and manually select my
> >> wifi network, I connect within a couple of seconds. It looks like a
> >> regression to me, but I'm happy to provide more information if necessary.
> >>
> >> Cheers.
> >> _______________________________________________
> >> networkmanager-list mailing list
> >> [email protected]
> >> https://mail.gnome.org/mailman/listinfo/networkmanager-list
> >
> 


_______________________________________________
networkmanager-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to