Making an *open* wireless access point?

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
geordonv
 
Posts: 18
Joined: Wed Dec 18, 2013 11:13 pm

Making an *open* wireless access point?

Post by geordonv »

Yes, I'm back again. :lol: This time, though, I'm trying to configure my hosted to act as an open access point. I have it set to use WPA as follows:

Code: Select all

interface=wlan0
driver=rtl871xdrv
ssid=Pi_AP
hw_mode=g
channel=6
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
What I want to do, though, is turn off encryption to my AP and allow anyone to use the Tor router on the Pi.

My research suggests that all I should need to do is change wpa=2 to wpa=0 but that doesn't seem to be working for me.

Any suggestions?

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: Making an *open* wireless access point?

Post by adafruit_support_mike »

You're still telling it there's a shared key and a password:

Code: Select all

wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
All you need for an open network is:

Code: Select all

interface=wlan0
ssid=My_AP
hw_mode=g
channel=6
auth_algs=1
wmm_enabled=0

geordonv
 
Posts: 18
Joined: Wed Dec 18, 2013 11:13 pm

Re: Making an *open* wireless access point?

Post by geordonv »

So I *don't* need to include

Code: Select all

wpa=0
at all?

This is what I currently have, but I'm having a case of gremlins again:

Code: Select all

interface=wlan0
driver=rtl871xdrv
ssid=FBI SURVEILLANCE 387
hw_mode=g
channel=6
auth_algs=1
ignore_broadcast_ssid=0

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: Making an *open* wireless access point?

Post by adafruit_support_mike »

The config I posted was from one of the RasPi references on setting up an open WAP. Give that a try and see if it works.

geordonv
 
Posts: 18
Joined: Wed Dec 18, 2013 11:13 pm

Re: Making an *open* wireless access point?

Post by geordonv »

Just gave it a shot. "Unable to join network "My_AP"

hostapd.conf:

Code: Select all

interface=wlan0
ssid=My_AP
hw_mode=g
channel=6
auth_algs=1
wmm_enabled=0
Restarted hostapd and it kicked out the following:

Code: Select all

i@onion-pi /etc/hostapd $ sudo service hostapd start
[....] Starting advanced IEEE 802.11 management: hostapdioctl[RTL_IOCTL_HOSTAPD]: Invalid argument
. ok
isc-dhcp-server is running fine, and wlan0 is up. I can see the AP on the network choices, and it shows no encryption, but I can't connect to it.

geordonv
 
Posts: 18
Joined: Wed Dec 18, 2013 11:13 pm

Re: Making an *open* wireless access point?

Post by geordonv »

Any ideas, Mike?

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: Making an *open* wireless access point?

Post by adafruit_support_mike »

Those settings work for my RasPi, so it probably isn't a configuration issue..

Realtek has its own version of `hostapd`, and while the tutorial links to a precompiled version of the binary, the OS is a moving target. Try compiling a fresh version according to the instructions here: http://learn.adafruit.com/setting-up-a- ... ng-hostapd

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”