Looks like I may have spoken too soon.  I wasn't even in the room when the 
connection died this time, after having run OK for hours.  This with my 
ZD1211 dongle.  I think I'm going to give up on this thing unless anyone 
has any ideas. 

*root@beaglebone:~# ping www.google.com*
ping: unknown host www.google.com

*root@beaglebone:~# iw wlan1 link*
Not connected.

*root@beaglebone:~# systemctl status NetworkManager -l*
● NetworkManager.service - Network Manager
   Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled)
   Active: active (running) since Mon 2014-12-29 16:35:58 UTC; 9h ago
 Main PID: 269 (NetworkManager)
   CGroup: /system.slice/NetworkManager.service
           ├─  269 /usr/sbin/NetworkManager --no-daemon
           └─14165 /sbin/dhclient -d -q -sf 
/usr/lib/NetworkManager/nm-dhcp-helper -pf /var/run/dhclient-wlan1.pid -lf 
/var/lib/NetworkManager/dhclient-5db23428-d56d-4342-95e4-41a1380e4424-wlan1.lease
 
-cf /var/lib/NetworkManager/dhclient-wlan1.conf wlan1

Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 5 of 5 (IPv4 Commit) started...
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> (wlan1): device 
state change: ip-config -> ip-check (reason 'none') [70 80 0]
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 5 of 5 (IPv4 Commit) complete.
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> (wlan1): device 
state change: ip-check -> secondaries (reason 'none') [80 90 0]
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> (wlan1): device 
state change: secondaries -> activated (reason 'none') [90 100 0]
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> NetworkManager state 
is now CONNECTED_LOCAL
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> NetworkManager state 
is now CONNECTED_GLOBAL
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> Policy set 'Wi-Fi 
connection Abby' (wlan1) as default for IPv4 routing and DNS.
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
successful, device activated.
Dec 30 01:35:16 beaglebone NetworkManager[269]: <info> (wlan1): roamed from 
BSSID 10:C3:7B:DF:9C:68 (Abby_Slow) to (none) ((none))

*root@beaglebone:~# journalctl -u NetworkManager --no-pager | less*
<snip>
Dec 29 20:46:29 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
successful, device activated.
Dec 30 01:33:22 beaglebone NetworkManager[269]: <warn> Connection 
disconnected (reason -4)
Dec 30 01:33:22 beaglebone NetworkManager[269]: <info> (wlan1): supplicant 
interface state: completed -> disconnected
Dec 30 01:33:22 beaglebone NetworkManager[269]: <info> (wlan1): supplicant 
interface state: disconnected -> scanning
Dec 30 01:33:23 beaglebone NetworkManager[269]: <info> (wlan1): supplicant 
interface state: scanning -> authenticating
Dec 30 01:33:23 beaglebone NetworkManager[269]: <info> (wlan1): roamed from 
BSSID 10:C3:7B:DF:9C:68 (Abby_Slow) to (none) ((none))
Dec 30 01:33:23 beaglebone NetworkManager[269]: <info> (wlan1): supplicant 
interface state: authenticating -> disconnected
Dec 30 01:33:25 beaglebone NetworkManager[269]: <info> (wlan1): supplicant 
interface state: disconnected -> scanning
Dec 30 01:33:37 beaglebone NetworkManager[269]: <warn> (wlan1): link timed 
out.
Dec 30 01:33:37 beaglebone NetworkManager[269]: <info> (wlan1): device 
state change: activated -> failed (reason 'ssid-not-found') [100 120 53]
Dec 30 01:33:37 beaglebone NetworkManager[269]: <info> NetworkManager state 
is now CONNECTED_LOCAL
Dec 30 01:33:37 beaglebone NetworkManager[269]: <info> NetworkManager state 
is now DISCONNECTED
Dec 30 01:33:37 beaglebone NetworkManager[269]: <warn> Activation (wlan1) 
failed for connection 'Wi-Fi connection Abby'
Dec 30 01:33:37 beaglebone NetworkManager[269]: <info> (wlan1): supplicant 
interface state: scanning -> authenticating
Dec 30 01:33:37 beaglebone NetworkManager[269]: <info> (wlan1): supplicant 
interface state: authenticating -> associating
Dec 30 01:33:37 beaglebone NetworkManager[269]: <info> (wlan1): device 
state change: failed -> disconnected (reason 'none') [120 30 0]
Dec 30 01:33:37 beaglebone NetworkManager[269]: <info> (wlan1): 
deactivating device (reason 'none') [0]
Dec 30 01:33:37 beaglebone NetworkManager[269]: <info> (wlan1): canceled 
DHCP transaction, DHCP client pid 14272
Dec 30 01:33:38 beaglebone NetworkManager[269]: <warn> Connection 
disconnected (reason -3)
Dec 30 01:33:38 beaglebone NetworkManager[269]: <info> (wlan1): supplicant 
interface state: associating -> disconnected
Dec 30 01:33:38 beaglebone NetworkManager[269]: <info> Auto-activating 
connection 'Wi-Fi connection Abby'.
Dec 30 01:33:38 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
starting connection 'Wi-Fi connection Abby'
Dec 30 01:33:38 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 1 of 5 (Device Prepare) scheduled...
Dec 30 01:33:38 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 1 of 5 (Device Prepare) started...
Dec 30 01:33:38 beaglebone NetworkManager[269]: <info> (wlan1): device 
state change: disconnected -> prepare (reason 'none') [30 40 0]
Dec 30 01:33:38 beaglebone NetworkManager[269]: <info> NetworkManager state 
is now CONNECTING
Dec 30 01:33:38 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 2 of 5 (Device Configure) scheduled...
Dec 30 01:33:38 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage :2 of 5 (Device Configure) scheduled...
1 of 5 (Device Prepare) complete.
Dec 30 01:33:38 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 2 of 5 (Device Configure) starting...
Dec 30 01:33:38 beaglebone NetworkManager[269]: <info> (wlan1): device 
state change: prepare -> config (reason 'none') [40 50 0]
Dec 30 01:33:38 beaglebone NetworkManager[269]: <info> Activation 
(wlan1/wireless): connection 'Wi-Fi connection Abby' requires no security.  
No secrets needed.
Dec 30 01:33:38 beaglebone NetworkManager[269]: <info> Config: added 'ssid' 
value 'Abby_Slow'
Dec 30 01:33:38 beaglebone NetworkManager[269]: <info> Config: added 
'scan_ssid' value '1'
Dec 30 01:33:38 beaglebone NetworkManager[269]: <info> Config: added 
'key_mgmt' value 'NONE'
Dec 30 01:33:38 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 2 of 5 (Device Configure) complete.
Dec 30 01:33:38 beaglebone NetworkManager[269]: <info> Config: set 
interface ap_scan to 1
Dec 30 01:33:39 beaglebone NetworkManager[269]: <info> (wlan1): supplicant 
interface state: disconnected -> scanning
Dec 30 01:33:52 beaglebone NetworkManager[269]: <info> (wlan1): supplicant 
interface state: scanning -> authenticating
Dec 30 01:33:53 beaglebone NetworkManager[269]: <info> (wlan1): supplicant 
interface state: authenticating -> disconnected
Dec 30 01:33:58 beaglebone NetworkManager[269]: <info> (wlan1): supplicant 
interface state: disconnected -> scanning
Dec 30 01:34:03 beaglebone NetworkManager[269]: <warn> Activation 
(wlan1/wireless): association took too long, failing activation.
Dec 30 01:34:03 beaglebone NetworkManager[269]: <info> (wlan1): device 
state change: config -> failed (reason 'ssid-not-found') [50 120 53]
Dec 30 01:34:03 beaglebone NetworkManager[269]: <info> NetworkManager state 
is now DISCONNECTED
Dec 30 01:34:03 beaglebone NetworkManager[269]: <warn> Activation (wlan1) 
failed for connection 'Wi-Fi connection Abby'
Dec 30 01:34:03 beaglebone NetworkManager[269]: <info> (wlan1): device 
state change: failed -> disconnected (reason 'none') [120 30 0]
Dec 30 01:34:03 beaglebone NetworkManager[269]: <info> (wlan1): 
deactivating device (reason 'none') [0]
Dec 30 01:34:03 beaglebone NetworkManager[269]: <warn> Couldn't disconnect 
supplicant interface: This interface is not connected.
Dec 30 01:34:03 beaglebone NetworkManager[269]: <warn> Couldn't disconnect 
supplicant interface: This interface is not connected.
Dec 30 01:34:03 beaglebone NetworkManager[269]: <info> Auto-activating 
connection 'Wi-Fi connection Abby'.
Dec 30 01:34:03 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
starting connection 'Wi-Fi connection Abby'
Dec 30 01:34:03 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage :of 5 (Device Prepare) started...
Dec 30 01:34:03 beaglebone NetworkManager[269]: <info> (wlan1): device 
state change: disconnected -> prepare (reason 'none') [30 40 0]
Dec 30 01:34:03 beaglebone NetworkManager[269]: <info> NetworkManager state 
is now CONNECTING
Dec 30 01:34:03 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 2 of 5 (Device Configure) scheduled...
Dec 30 01:34:03 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 1 of 5 (Device Prepare) complete.
Dec 30 01:34:03 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 2 of 5 (Device Configure) starting...
Dec 30 01:34:03 beaglebone NetworkManager[269]: <info> (wlan1): device 
state change: prepare -> config (reason 'none') [40 50 0]
Dec 30 01:34:03 beaglebone NetworkManager[269]: <info> Activation 
(wlan1/wireless): connection 'Wi-Fi connection Abby' requires no security.  
No secrets needed.
Dec 30 01:34:03 beaglebone NetworkManager[269]: <info> Config: added 'ssid' 
value 'Abby_Slow'
Dec 30 01:34:03 beaglebone NetworkManager[269]: <info> Config: added 
'scan_ssid' value '1'
Dec 30 01:34:03 beaglebone NetworkManager[269]: <info> Config: added 
'key_mgmt' value 'NONE'
Dec 30 01:34:03 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 2 of 5 (Device Configure) complete.
Dec 30 01:34:03 beaglebone NetworkManager[269]: <warn> Couldn't disconnect 
supplicant interface: This interface is not connected.
Dec 30 01:34:03 beaglebone NetworkManager[269]: <info> Config: set 
interface ap_scan to 1
Dec 30 01:34:28 beaglebone NetworkManager[269]: <warn> Activation 
(wlan1/wireless): association took too long, failing activation.
Dec 30 01:34:28 beaglebone NetworkManager[269]: <info> (wlan1): device 
state change: config -> failed (reason 'ssid-not-found') [50 120 53]
Dec 30 01:34:28 beaglebone NetworkManager[269]: <info> NetworkManager state 
is now DISCONNECTED
Dec 30 01:34:28 beaglebone NetworkManager[269]: <warn> Activation (wlan1) 
failed for connection 'Wi-Fi connection Abby'
Dec 30 01:34:28 beaglebone NetworkManager[269]: <info> (wlan1): supplicant 
interface state: scanning -> disconnected
Dec 30 01:34:28 beaglebone NetworkManager[269]: <info> (wlan1): device 
state change: failed -> disconnected (reason 'none') [120 30 0]
Dec 30 01:34:28 beaglebone NetworkManager[269]: <info> (wlan1): 
deactivating device (reason 'none') [0]
Dec 30 01:34:28 beaglebone NetworkManager[269]: <warn> Could not get scan 
request result: Scan request rejected
Dec 30 01:34:28 beaglebone NetworkManager[269]: <info> Auto-activating 
connectio:
Dec 30 01:34:28 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
starting connection 'Wi-Fi connection Abby'
Dec 30 01:34:28 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 1 of 5 (Device Prepare) scheduled...
Dec 30 01:34:28 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 1 of 5 (Device Prepare) started...
Dec 30 01:34:28 beaglebone NetworkManager[269]: <info> (wlan1): device 
state change: disconnected -> prepare (reason 'none') [30 40 0]
Dec 30 01:34:28 beaglebone NetworkManager[269]: <info> NetworkManager state 
is now CONNECTING
Dec 30 01:34:28 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 2 of 5 (Device Configure) scheduled...
Dec 30 01:34:28 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 1 of 5 (Device Prepare) complete.
Dec 30 01:34:28 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 2 of 5 (Device Configure) starting...
Dec 30 01:34:28 beaglebone NetworkManager[269]: <info> (wlan1): device 
state change: prepare -> config (reason 'none') [40 50 0]
Dec 30 01:34:28 beaglebone NetworkManager[269]: <info> Activation 
(wlan1/wireless): connection 'Wi-Fi connection Abby' requires no security.  
No secrets needed.
Dec 30 01:34:28 beaglebone NetworkManager[269]: <info> Config: added 'ssid' 
value 'Abby_Slow'
Dec 30 01:34:28 beaglebone NetworkManager[269]: <info> Config: added 
'scan_ssid' value '1'
Dec 30 01:34:28 beaglebone NetworkManager[269]: <info> Config: added 
'key_mgmt' value 'NONE'
Dec 30 01:34:28 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 2 of 5 (Device Configure) complete.
Dec 30 01:34:28 beaglebone NetworkManager[269]: <info> Config: set 
interface ap_scan to 1
Dec 30 01:34:29 beaglebone NetworkManager[269]: <info> (wlan1): supplicant 
interface state: disconnected -> scanning
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> (wlan1): supplicant 
interface state: scanning -> authenticating
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> (wlan1): supplicant 
interface state: authenticating -> associating
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> (wlan1): supplicant 
interface state: associating -> completed
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> Activation 
(wlan1/wireless) Stage 2 of 5 (Device Configure) successful.  Connected to 
wireless network 'Abby_Slow'.
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 3 of 5 (IP Configure Start) scheduled.
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 3 of 5 (IP Configure Start) started...
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> (wlan1): device 
state change: config -> ip-config (reason 'none') [50 70 0]
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Beginning DHCPv4 transaction (timeout in 45 seconds)
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> dhclient started 
with pid 14165
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 3 of 5 (IP Configure Start) complete.
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> (wlan1): DHCPv4 
state changed nbi -> preinit
Dec 30 01:34:42 beaglebone dhclient[14165]: DHCPREQUEST on wlan1 to 
255.255.255.255 port 67
Dec 30 01:34:42 beaglebone dhclient[14165]: DHCPACK from 192.168.1.1
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> (wlan1): DHCPv4 
state changed preinit -> reboot
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info>   address 
192.168.1.244
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info>   plen 24 
(255.255.255.0)
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info>   gateway 192.168.1.1
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info>   server identifier 
192.168.1.1
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info>   lease time 86400
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info>   hostname 
'beaglebone'
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info>   nameserver 
'192.168.1.1:
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info>   lease time 86400
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info>   hostname 
'beaglebone'
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 5 of 5 (IPv4 Configure Commit) scheduled...
Dec 30 01:34:42 beaglebone dhclient[14165]: bound to 192.168.1.244 -- 
renewal in 35908 seconds.
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 5 of 5 (IPv4 Commit) started...
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> (wlan1): device 
state change: ip-config -> ip-check (reason 'none') [70 80 0]
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
Stage 5 of 5 (IPv4 Commit) complete.
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> (wlan1): device 
state change: ip-check -> secondaries (reason 'none') [80 90 0]
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> (wlan1): device 
state change: secondaries -> activated (reason 'none') [90 100 0]
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> NetworkManager state 
is now CONNECTED_LOCAL
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> NetworkManager state 
is now CONNECTED_GLOBAL
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> Policy set 'Wi-Fi 
connection Abby' (wlan1) as default for IPv4 routing and DNS.
Dec 30 01:34:42 beaglebone NetworkManager[269]: <info> Activation (wlan1) 
successful, device activated.
Dec 30 01:35:16 beaglebone NetworkManager[269]: <info> (wlan1): roamed from 
BSSID 10:C3:7B:DF:9C:68 (Abby_Slow) to (none) ((none))


On Monday, 29 December 2014 19:30:06 UTC-6, DeKay wrote:
>
> Hi All
>
> Back in September I posted about some problems I had getting wifi going on 
> the BBB.  I've taken another shot at it and I (think I) have something 
> working now.  This post also rolls in a few other assorted tidbits 
> scattered around in other posts.  Hope somebody finds this useful.
>
> Read it here on my blog: Wifi On The Beaglebone Black With Systemd 
> <http://madscientistlabs.blogspot.ca/2014/12/wifi-on-beaglebone-black-with-systemd.html>
>
> This is on the Jessie snapshot.  I first tried it on my TP-Link TL-WN722N 
> dongle but was getting kernel crashes again like I was in September.  Bad 
> hardware or ???  Things seem to work OK with a ZD1211 based dongle (any 
> chance of getting zd1211-firmware in the image snapshot?), though I do see 
> a few DUP! pings sometimes when the network has been idle for a while e.g.
>
> PING www.google.com (216.58.216.228) 56(84) bytes of data.
> 64 bytes from ord31s22-in-f4.1e100.net (216.58.216.228): icmp_seq=1 
> ttl=50 time=74.8 ms
> 64 bytes from ord31s22-in-f4.1e100.net (216.58.216.228): icmp_seq=2 
> ttl=50 time=68.3 ms
> 64 bytes from ord31s22-in-f4.1e100.net (216.58.216.228): icmp_seq=3 
> ttl=50 time=71.4 ms
> 64 bytes from ord31s22-in-f4.1e100.net (216.58.216.228): icmp_seq=4 
> ttl=50 time=70.5 ms
> 64 bytes from ord31s22-in-f4.1e100.net (216.58.216.228): icmp_seq=4 
> ttl=50 time=75.6 ms (DUP!)
> 64 bytes from ord31s22-in-f4.1e100.net (216.58.216.228): icmp_seq=4 
> ttl=50 time=76.2 ms (DUP!)
> 64 bytes from ord31s22-in-f4.1e100.net (216.58.216.228): icmp_seq=4 
> ttl=50 time=76.2 ms (DUP!)
> 64 bytes from ord31s22-in-f4.1e100.net (216.58.216.228): icmp_seq=4 
> ttl=50 time=76.5 ms (DUP!)
> 64 bytes from ord31s22-in-f4.1e100.net (216.58.216.228): icmp_seq=4 
> ttl=50 time=82.6 ms (DUP!)
>
> Thoughts?  Comments?  Questions?
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to