Beaglebone black, Debian, Setting up Wifi access point.

1,903 views
Skip to first unread message

Colin Bester

unread,
Apr 30, 2014, 11:10:20 PM4/30/14
to beagl...@googlegroups.com
Has anyone managed to get an access point up and running using latest debian image on beaglebone black?

I have installed latest debian image and have run apt-get update and apt-get upgrade. I have installed iw and hostapd.

My USB Wifi dongle (uwn100, which supports access point mode) is working and reliably connects to my external access point, but I am unable to configure the BBB to run as an access point.

Error seems to be related to missing NL80211 driver. Also running 'iw list' gives error stating that nl80211 can not be found.

I would appreciate input from anyone who has managed to get this working.

There are a ton of posts out there but non really address the issue or are pretty out of date.

Much appreciated,
Colin

jim.bl...@gmail.com

unread,
May 6, 2014, 6:53:08 AM5/6/14
to beagl...@googlegroups.com
Hi Colin,

I too have had some real bad experiences, but I now have an AP running reliably. First thing to do is to get a USB Wireless dongle that uses the  RT5370 Chipset, its the easiest one to work with, and the most reliable, I've found.

I'm away from my office at the moment, otherwise I would post up the hostapd.conf file I'm using....if you decide to use the 5370 chipset, respond to this message and I'll give you the file.

Aside from that, my deployment is a basic apt-get-driven job, on standard Arm Wheezy...nothing clever

Hope this helps

Jim

Colin Bester

unread,
May 6, 2014, 9:10:41 AM5/6/14
to beagl...@googlegroups.com
Hi Jim, appreciate your feedback. After many devices I have also ended up using RT5370 chipset with no messing around - amazing how much time one can spend on this.

Thanks again
Colin

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/Nx9kimlSoWE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Internet Disclaimer
_________________

This message (including any attachments) contains confidential information intended for a specific individual and purpose, and may be protected by law. 
If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
_________________



chrich...@gmail.com

unread,
Jul 7, 2014, 3:18:37 AM7/7/14
to beagl...@googlegroups.com
I got the same Problems.

Could you please tell me which dongle you bought and send me the conf-file?

Thx, Heiko

Message has been deleted

you...@reliablereef.com

unread,
Sep 11, 2014, 3:11:31 AM9/11/14
to beagl...@googlegroups.com, chrich...@gmail.com
Hi Colin,

Have you figured out whether it is a config or dongle issue?

Thanks!

On Tuesday, July 8, 2014 3:21:34 PM UTC-7, Colin Bester wrote:
i purchased Ralink5370 USB dongle and it is working as access point. I am having issues connecting with a windows client but am not yet sure on cause - whether its a config issue or USB wifi dongle issue.

My hostapd.conf file

```
### Default hostapd settings ###
### Wireless network name ###
interface=wlan0
#
### Set your bridge name ###
#bridge=br0

#driver
driver=nl80211

country_code=US

ssid=biocharger_default

channel=7

hw_mode=g

# # Static WPA2 key configuration
# #1=wpa1, 2=wpa2, 3=both
wpa=3

wpa_passphrase=apassword

## Key management algorithms ##
wpa_key_mgmt=WPA-PSK
#
## Set cipher suites (encryption algorithms) ##
## TKIP = Temporal Key Integrity Protocol
## CCMP = AES in Counter mode with CBC-MAC
wpa_pairwise=TKIP
#rsn_pairwise=CCMP
#
## Shared Key Authentication ##
auth_algs=1
## Accept all MAC address ###
macaddr_acl=0
#enables/disables broadcasting the ssid
ignore_broadcast_ssid=0
# Needed for Windows clients
eapol_key_index_workaround=0
```
My udhcpd.conf file:

```
### default udhcpd configuration file ###
start      192.168.4.2
end        192.168.4.9
interface  wlan0
max_leases 8
option subnet 255.255.255.248
```
My /etc/network/interfaces file (pretty much everything commented out:

```
###Default network interfaces, supporting eth0 and wlan0 configured as Access Point
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

# WiFi
allow-hotplug wlan0
#iface wlan0 inet static
#	address 192.168.4.1
#    network 192.168.4.0
#    netmask 255.255.255.0
#    broadcast 192.168.4.255
#    hostapd /etc/hostapd/hostapd.conf
```

Colin Bester

unread,
Sep 12, 2014, 9:43:53 AM9/12/14
to beagl...@googlegroups.com, chrich...@gmail.com, you...@reliablereef.com
Windows wifi access is working fine using device IP address. Issue I was having was with bonjour lookup.
Reply all
Reply to author
Forward
0 new messages