Naveen Kumar S
Posts: 41
Joined: Thu Feb 26, 2015 11:44 am

Edimax Access point

Thu Jun 04, 2015 10:14 am

I have gone through many post on how to enable access point in raspberry pi using edimax ew-7811un. Some were telling edimax supports access point and some tells it does not support access point. So can anyone give a clear point on whether the edimax supports access point or not.
I have tried to enable access point using the linkhttp://www.daveconroy.com/turn-your-ras ... s-chipset/
but i get error when i use the code

Code: Select all

 sudo hostapd -dd /etc/hostapd/hostapd.conf
configuration file: /etc/hostapd/hostapd.conf
unknown configuration item 'driver'
ctrl_interface_group=0
1 errors found in configuration file '/etc/hostapd/hostapd.conf'

In hostapd.conf file i have used driver=rtl871xdrv.

MrEngman
Posts: 3871
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Edimax Access point

Thu Jun 04, 2015 10:35 am

Naveen Kumar S wrote:I have gone through many post on how to enable access point in raspberry pi using edimax ew-7811un. Some were telling edimax supports access point and some tells it does not support access point. So can anyone give a clear point on whether the edimax supports access point or not.
I have tried to enable access point using the linkhttp://www.daveconroy.com/turn-your-ras ... s-chipset/
but i get error when i use the code

Code: Select all

 sudo hostapd -dd /etc/hostapd/hostapd.conf
configuration file: /etc/hostapd/hostapd.conf
unknown configuration item 'driver'
ctrl_interface_group=0
1 errors found in configuration file '/etc/hostapd/hostapd.conf'

In hostapd.conf file i have used driver=rtl871xdrv.
The EW-7811Un will work as an access point.

I have used the same link you have to set up my EW-7811Un wifi as an access point with no problems. What version of Pi are you using? What is the operating system, Raspian? Did you download the new hostapd for the EW-7811Un?

My /etc/hostapd/hostapd.conf looks like

Code: Select all

interface=wlan0
driver=rtl871xdrv
bridge=br0
ssid=access-point-name
channel=1
wmm_enabled=0
wpa=1
wpa_passphrase=access-point-password
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
auth_algs=1
macaddr_acl=0
MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

Naveen Kumar S
Posts: 41
Joined: Thu Feb 26, 2015 11:44 am

Re: Edimax Access point

Thu Jun 04, 2015 11:04 am

MrEngman wrote:
Naveen Kumar S wrote:I have gone through many post on how to enable access point in raspberry pi using edimax ew-7811un. Some were telling edimax supports access point and some tells it does not support access point. So can anyone give a clear point on whether the edimax supports access point or not.
I have tried to enable access point using the linkhttp://www.daveconroy.com/turn-your-ras ... s-chipset/
but i get error when i use the code

Code: Select all

 sudo hostapd -dd /etc/hostapd/hostapd.conf
configuration file: /etc/hostapd/hostapd.conf
unknown configuration item 'driver'
ctrl_interface_group=0
1 errors found in configuration file '/etc/hostapd/hostapd.conf'

In hostapd.conf file i have used driver=rtl871xdrv.
The EW-7811Un will work as an access point.

I have used the same link you have to set up my EW-7811Un wifi as an access point with no problems. What version of Pi are you using? What is the operating system, Raspian? Did you download the new hostapd for the EW-7811Un?

My /etc/hostapd/hostapd.conf looks like

Code: Select all

interface=wlan0
driver=rtl871xdrv
bridge=br0
ssid=access-point-name
channel=1
wmm_enabled=0
wpa=1
wpa_passphrase=access-point-password
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
auth_algs=1
macaddr_acl=0
MrEngman
I am using Raspberry pi 2 with raspbian as an operating system and also i downloaded the hostapd for edimax.

User avatar
allfox
Posts: 452
Joined: Sat Jun 22, 2013 1:36 pm
Location: Guang Dong, China

Re: Edimax Access point

Thu Jun 04, 2015 11:18 am

Could you try "sudo which hostapd" to make sure that you are runing the right hostapd from Realtek?

And if you could, please paste your hostapd.conf. (Remember to erase passwords in it)

Naveen Kumar S
Posts: 41
Joined: Thu Feb 26, 2015 11:44 am

Re: Edimax Access point

Thu Jun 04, 2015 1:01 pm

Thanks guys for your help access point is working.
I tried with wifi direct the raspberry pi detects but when i try to connect it tells connection failed.
viewtopic.php?t=31596&p=311902
I followed the above link for enabling can anyone suggest some idea.

User avatar
solar3000
Posts: 1051
Joined: Sat May 18, 2013 12:14 am

Re: Edimax Access point

Thu Jun 04, 2015 1:53 pm

I've done it with the EDImax. Shouldn't matter which adapter you use.

I may have gotten it from the pi mag.
I forget which one but an early one. probably 2013.
Antikythera

MrEngman
Posts: 3871
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Edimax Access point

Thu Jun 04, 2015 2:09 pm

Naveen Kumar S wrote:Thanks guys for your help access point is working.
I tried with wifi direct the raspberry pi detects but when i try to connect it tells connection failed.
viewtopic.php?t=31596&p=311902
I followed the above link for enabling can anyone suggest some idea.
I've just set up my Pi 2B as an access point using the Dave Conroy link you posted using my EW-7811Un and it is working OK. I am currently connected to the internet using my Pi access point while posting this.

I copied the instructions exactly, even copying the version of hostapd Dave Conroy has, and did not have any problems at all. All I did was copy and paste the instructions exactly as they are in the tutorial and after rebooting started the access point with the command in the tutorial

Code: Select all

sudo hostapd -dd /etc/hostapd/hostapd.conf
and it is running fine.

Just for your info my /etc/network/interfaces is

Code: Select all

auto lo
iface lo inet loopback

#auto eth0
#allow-hotplug eth0
iface eth0 inet dhcp

auto br0
iface br0 inet dhcp
bridge_ports eth0 wlan0
and my /etc/hostapd/hostapd.conf is

Code: Select all

interface=wlan0
driver=rtl871xdrv
bridge=br0
ssid=My-Access-Point-Name
channel=1
wmm_enabled=0
wpa=1
wpa_passphrase=My-Access-Point-Password
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
auth_algs=1
macaddr_acl=0
I am using the latest version of raspbian 2015-05-05 and after setting it up ran commands

Code: Select all

sudo apt-get update
sudo apt-get upgrade
sudo rpi-update
to update it and command uname -a now shows 3.18.14-v7+ #793, so the very latest raspbian, before setting up the access point.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

serbotec
Posts: 7
Joined: Wed Aug 12, 2015 11:02 am

Re: Edimax Access point

Wed Dec 09, 2015 5:36 pm

I had some long trouble with the Edimax driver. I found some solution:

http://www.jenssegers.be/43/Realtek-RTL ... spberry-Pi

Return to “General discussion”