Page 1 of 1
RPI as an acces point with USB wifi dongle PROBLEM
Posted: Mon Apr 30, 2018 10:55 am
by JulesD97
Hello,
I just followed this tutorial on how to make your rpi as an access point. (
https://www.raspberrypi.org/documentati ... s-point.md)
After going through all the steps the pi won't show up on my computer under networks.
I followed al the steps but the problem is I am using a raspberrypi model B so i use a usb wifi dongle.
I am using a EDIMAX EW-7811Un dongle.
Can anyone tell me the changes you have to make when using a wifi dongle?
Thanks in advance
Jules

Re: RPI as an acces point with USB wifi dongle PROBLEM
Posted: Mon Apr 30, 2018 11:50 am
by fruitoftheloom
JulesD97 wrote: ↑Mon Apr 30, 2018 10:55 am
Hello,
I just followed this tutorial on how to make your rpi as an access point. (
https://www.raspberrypi.org/documentati ... s-point.md)
After going through all the steps the pi won't show up on my computer under networks.
I followed al the steps but the problem is I am using a raspberrypi model B so i use a usb wifi dongle.
I am using a EDIMAX EW-7811Un dongle.
Can anyone tell me the changes you have to make when using a wifi dongle?
Thanks in advance
Jules
Did you install the Firmware / Drivers for the WiFi Dongle ?
Re: RPI as an acces point with USB wifi dongle PROBLEM
Posted: Mon Apr 30, 2018 11:59 am
by JulesD97
Euhm i don't remember doing so. where can i find these? thank you for replying, I know I'm a noob :p
Re: RPI as an acces point with USB wifi dongle PROBLEM
Posted: Mon Apr 30, 2018 12:03 pm
by MrEngman
fruitoftheloom wrote: ↑Mon Apr 30, 2018 11:50 am
JulesD97 wrote: ↑Mon Apr 30, 2018 10:55 am
Hello,
I just followed this tutorial on how to make your rpi as an access point. (
https://www.raspberrypi.org/documentati ... s-point.md)
After going through all the steps the pi won't show up on my computer under networks.
I followed al the steps but the problem is I am using a raspberrypi model B so i use a usb wifi dongle.
I am using a EDIMAX EW-7811Un dongle.
Can anyone tell me the changes you have to make when using a wifi dongle?
Thanks in advance
Jules
Did you install the Firmware / Drivers for the WiFi Dongle ?
The Edimax EW-7811Un wifi uses the 8192cu driver so the driver/firmware should not need installing as it is included in the Raspbian images.
Re: RPI as an acces point with USB wifi dongle PROBLEM
Posted: Mon Apr 30, 2018 12:17 pm
by JulesD97
When i run sudo iwlist wlan0 scan the connections in my house show up so the dongle works. I just don't know if i missed something :/.
Re: RPI as an acces point with USB wifi dongle PROBLEM
Posted: Mon Apr 30, 2018 12:25 pm
by JulesD97
I read somewhere that the problem might be that i am using the new raspbian stretch and not the old rapsbian jessie do you think this might be the problem? And if so what is the best solution?
Re: RPI as an acces point with USB wifi dongle PROBLEM
Posted: Mon Apr 30, 2018 12:59 pm
by SurferTim
I don't have a problem using an Alfa usb module.
Check the status of hostapd.
It should show
active (running). If it doesn't, you have a problem.
Sometimes starting the service manually will give you more info.
Code: Select all
sudo service hostapd stop
sudo hostapd /etc/hostapd/hostapd.conf
Re: RPI as an acces point with USB wifi dongle PROBLEM
Posted: Mon Apr 30, 2018 1:05 pm
by JulesD97
It says Active (exited)
in the .conf file it says
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED
Re: RPI as an acces point with USB wifi dongle PROBLEM
Posted: Mon Apr 30, 2018 1:15 pm
by JulesD97
My rpi shows up on my wfi networks on my pc now but i can't seem to make a connection just jet. the wifi simbol keeps flashing like it is connecting. when i try ssh via terminal and the static ip this shows up: connect to host 192.168.4.1 port 22: Network is down.
It seems like i'm not getting trough. when i try to connect the following shows up on the pi
wlan0: STA........... WPA: pairwise key handshake completed (RSN)
Re: RPI as an acces point with USB wifi dongle PROBLEM
Posted: Mon Apr 30, 2018 1:40 pm
by JulesD97
I think i got it running but the thing is that i have to run the sudo hostapd /etc/hostapd/hostapd.conf command before it starts working verry strange how can I make it that when i plug the pi in it automatically starts sending out the signal?
Re: RPI as an acces point with USB wifi dongle PROBLEM
Posted: Mon Apr 30, 2018 8:14 pm
by SurferTim
If it doesn't show up. try stopping the service for a few seconds, and then restart it
wait 5 seconds
See if it shows up. If it does, then open /etc/rc.local with a text editor and add this before the "exit 0"
Code: Select all
service hostapd stop
sleep 5
service hostapd start