On Wed, Jan 28, 2015 at 9:33 PM, <[email protected]> wrote:

> Frank,
> Thanks for providing some guidance.  I previously got the RTL8192cu
> working using instructions from here:
> http://wiesel.ece.utah.edu/redmine/projects/hacks/wiki/BeagleBone_Black_AP
>
> I am trying to follow your instructions now which on the surface seem much
> easier.  So, I did the following:
> Debian, Kernel 3.8.13-bone70
> /opt/scripts/tools/update_kernel.sh
> Download and build drivers from  https://github.com/jlucidar/
> FabMo-Platform/tree/master/Arch_linux_config/rtl8188CUS-driver-beaglebone
> make
> make install
> (do I need to blacklist anything?)
>
No, no need to blacklist any modules

Reboot shows wlan0 and wlan1.  I can edit /etc/network/interfaces for wlan0
> and connect to my home wifi network.
> apt-get install hostapd dnsmasq
> Edited interfaces, hostapd.conf, and dnsmasq.conf files to use wlan0 in
> static address.  Reboot.
>
> My iPhones (iOS 3 and 8) show that the network is coming up, and it asks
> for a password (tried wpa 1 and 2), but it won't accept the password I
> placed in hostapd.conf.
> wpa_passphrase=12345678
>
> I verified that /lib/modules/3.8.13-bone70/kernel/drivers/net/wireless has
> the built 8192cu.ko.
>
> Did you have to build hostapd as well?
>
With the stock hostapd and no security, hostapd worked well and I was able
to connect with my tablet and phone.  When I tried using a passphrase, I
had the same connection issue you described.  I then followed the
instructions from this webpage, "
https://ariandy1.wordpress.com/2013/04/18/wifi-access-point-with-tp-link-tl-wn722n-on-ubuntu-12-04/";,
to download, configure and compile hostapd.  The instructions are not
beaglebone specific, but they worked for me. The newly compiled hostapd ran
and allowed me to connect using a passphrase.


>  How are your hostapd.conf and /etc/network/interfaces configured?  Are
> you using dnsmasq or a different program for address assignment?
> Firmware?  Any other thoughts on why the password is not being accepted?
>
Nothing special in hostapd.conf or interfaces.  I am using dnsmasq to hand
out IP addresses.

Here is the contents of my hostapd.conf file:

interface=wlan1
country_code=US
ctrl_interface=wlan1
ctrl_interface_group=0
ssid=testSetup
hw_mode=g
channel=11
wpa=3
wpa_passphrase=BeagleBoneRocks
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
beacon_int=100
auth_algs=3
macaddr_acl=0
wmm_enabled=1
eap_reauth_period=360000000

Here is the section of the interfaces file for the AP interface:

iface wlan1 inet static
        address 172.55.1.5
        network 172.55.1.0
        netmask 255.255.255.0



> Jeff
>
>
> On Thursday, January 15, 2015 at 7:47:04 AM UTC-5, Frank Agius wrote:
>>
>>
>> On Wednesday, January 14, 2015 at 5:16:51 PM UTC-5, AK@hobbyist wrote:
>>>
>>> Hi
>>>
>>> I am new to Beagleboen black and am trying to set up a WiFi hotpspot on
>>> Beagleboe Black using the USB adapters with RTL8188CUS chipset. I am not
>>> able to create it. If somebody has done ti please let me know. Thanks!!!!
>>>
>>
>> I have successfully set up my beaglebone black as an access point using a
>> USB wifi adapter with the RTL8188CUS chipset. Here are the details:
>>
>> Hardware:
>> Beaglebone Black rev C
>> LB link wireless usb adapter (http://chicagodist.com/
>> products/long-range-wifi-usb-with-antenna-for-raspberry-pi
>> <http://www.google.com/url?q=http%3A%2F%2Fchicagodist.com%2Fproducts%2Flong-range-wifi-usb-with-antenna-for-raspberry-pi&sa=D&sntz=1&usg=AFQjCNFvIiNCdUXukKK4Bl5p0xtjiyG36A>
>> )
>>
>> Bone Software:
>> Debian GNU/Linux 7
>> Kernel - Linux beaglebone 3.8.13-bone69
>> manually built rtl8188CUS device driver, 8192cu.ko (from sources at
>> https://github.com/mcantarutti/ShopBot-API/tree/master/Arch_linux_config/
>> rtl8188CUS-driver-beaglebone)
>> hostapd
>>
>> Procedure:
>> The stock 8192cu driver worked as a client, but could not be setup as an
>> access point.  Apparently the stock 8192cu driver does not have nl80211
>> support, which I believe is needed for access point functionality.  I
>> obtained the driver source from https://github.com/jlucidar/
>> FabMo-Platform/tree/master/Arch_linux_config/rtl8188CUS-driver-beaglebone.
>> This source has nl80211 support.  I compiled the module from source and
>> then replaced the stock 8192cu.ko file.  At the next boot hostapd
>> successfully set up wlan0 as an access point.  As a bonus, the new version
>> of the driver has concurrence enabled.  With this function, the 8192cu
>> driver creates two wifi interfaces, wlan0 and wlan1.  I can use each of
>> these wifi interfaces independently.
>>
>> frank agius
>>
>>
>>
>>
>>  --
> 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/bMQTXi1Jt80/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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