femindharamshi10
Posts: 102
Joined: Thu Jan 07, 2016 1:28 pm

access point using tp link ?

Wed Mar 23, 2016 1:50 pm

can i create a wifi access point on my raspberry pi running jessie with tp-link wn822n wlan card ? does it support it ? (http://www.tp-link.com/en/products/deta ... N822N.html )

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

Re: access point using tp link ?

Wed Mar 23, 2016 3:58 pm

Greetings.

Yes it does. I'm using one. However, it's not that easy, so if you have difficulty going through the below, you could get a TP LINK 722N, it would just work.

There are two versions on the market, one is using 8192CU chip, the newer one is 8192EU chip.

8192CU could work OOTB on Raspbian, while 8192EU needs MrEngman's driver: viewtopic.php?f=28&t=127214

And you need a special hostapd which support Realtek dongles: https://github.com/pritambaral/hostapd-rtl871xdrv

Edit: And, maybe get a new Pi 3 is better! Someone here reporting it works as an AP.

femindharamshi10
Posts: 102
Joined: Thu Jan 07, 2016 1:28 pm

Re: access point using tp link ?

Wed Mar 23, 2016 5:04 pm

allfox wrote:Greetings.

Yes it does. I'm using one. However, it's not that easy, so if you have difficulty going through the below, you could get a TP LINK 722N, it would just work.

There are two versions on the market, one is using 8192CU chip, the newer one is 8192EU chip.

8192CU could work OOTB on Raspbian, while 8192EU needs MrEngman's driver: viewtopic.php?f=28&t=127214

And you need a special hostapd which support Realtek dongles: https://github.com/pritambaral/hostapd-rtl871xdrv

Edit: And, maybe get a new Pi 3 is better! Someone here reporting it works as an AP.
thank you so much for your reply,
btw, my version uses 8192CU chip, i cant buy a new adapter or rpi 3
so can you tell me what would be the steps to create a access point (with dns or maybe dhcp)
i am a noob... it would be awesome if you can explain.
Edit: how do i install this speacial hostapd ?
thank you

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

Re: access point using tp link ?

Wed Mar 23, 2016 5:41 pm

I would suggest Mr Google for DNS and DHCP part. And you would need to either bridge the AP to a wired network, or setting up it as a router, so that you could actually access the Internet. Mr Google knows almost everything.

The special hostapd:
1 - Get a new hostapd source from https://w1.fi/hostapd/
2 - Follow the steps on https://github.com/pritambaral/hostapd- ... stallation

It would take some time, but eventually it would work. ;)
I just wanted to say this for a long time: It's no fun to being easy.

femindharamshi10
Posts: 102
Joined: Thu Jan 07, 2016 1:28 pm

Re: access point using tp link ?

Wed Mar 23, 2016 6:10 pm

allfox wrote:I would suggest Mr Google for DNS and DHCP part. And you would need to either bridge the AP to a wired network, or setting up it as a router, so that you could actually access the Internet. Mr Google knows almost everything.

The special hostapd:
1 - Get a new hostapd source from https://w1.fi/hostapd/
2 - Follow the steps on https://github.com/pritambaral/hostapd- ... stallation

It would take some time, but eventually it would work. ;)
I just wanted to say this for a long time: It's no fun to being easy.
no mr allfox,
i dont want my rpi to be connected to the internet. it should just have a access point to which devices can connect. i couldnot work around with Mr Google so i ended up here.
my dongle chip is 8192CU can u help me with it ? installing the "special" hostapd for it and stuff please ? (like how do i get a new hostapd source)

EDIT : in your step two, u have mentioned the link to installation instructions. i dint understand it... what do i put in the path in :

Code: Select all

patch -Np1 -i </path/to/rtl871xdrv.patch>
do i need to do this with sudo ? which directory i have to run this command in ?

and also i guess my driver is not rtl871 so will it run with that settings ?

Return to “General discussion”