Reliable USB 5GHz WiFi with power_save off

I’ve spent a huge amount of time battling WiFi issues with my beagleboard. Due to a system crash, I’ve had to start again from scratch, pulling together what has worked in the past from my notes.

I started this latest build with the image http://downloads.angstrom-distribution.org/demo/beaglebone/archive/Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.12-beaglebone-2013.08.21.img.xz and found that it includes firmware that works with my wifi adapter, so I didn’t have to search for that firmware.

root@beaglebone:~# lsusb
Bus 001 Device 003: ID 0409:005a NEC Corp. HighSpeed 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 001 Device 004: ID 13b1:002f Linksys AE1000 v1 802.11n [Ralink RT3572]

I created a /var/lib/connman/wifi.config file with the correct information for my local WiFi network:

[service_WimsWorld-5G]
Type = wifi
Name = WimsWorld-5G
Security = wpa2-psk
Passphrase = MyPasswordInPlainText

I created /etc/udev/rules.d/70-wifi-powersave.rules following the information in https://wiki.archlinux.org/index.php/Power_saving#Network_interfaces , paying explicit attention to the fact that naming the file matters!

In this case, the name of the configuration file is important. Due to the introduction of persistent device names via 80-net-name-slot.rules in systemd v197, it is important that the network powersave rules are named lexicographically before 80-net-name-slot.rules, so that they are applied before the devices are named e.g. enp2s0.

ACTION==“add”, SUBSYSTEM==“net”, KERNEL==“wlan*”, RUN+="/usr/sbin/iw dev %k set power_save off"

I’ve also modified /etc/default/ntpdate to include pool ntp servers for my region and now the clock gets automatically set soon after the network comes up. http://www.pool.ntp.org/en/use.html has information on ntp servers to use, I’m set to NTPSERVERS=“0.north-america.pool.ntp.org 1.north-america.pool.ntp.org 2.north-america.pool.ntp.org 3.north-america.pool.ntp.org

I hope this information is helpful to other people on the list.

hello…i am a beginner in bbb… can u guide me the steps through which i can set up wifi in beagle bone black…

i am using net gear wna 1100 wifi device with atheros97_htc driver…
please help me out

Regards
Sneha