Page 1 of 1

Can't connect to my Wifi

Posted: Sun Jun 05, 2016 1:35 pm
by Greg Tom
Hi,

I have a Raspberry Pi 3 and I wanted to turn it into a hotspot.
So i followed this tutorial : https://frillip.com/using-your-raspberr ... h-hostapd/

And since this moment I can't connect to my Wifi. So I tried to remove dnsmasq and retry to make my raspberry pi wifi hotspot with another method described here : viewtopic.php?t=137932&p=920070#p919980

But it still impossible to connect to my wifi.
Here is a screen where you can see 2 wlan0 including the hostpot I created ("RaspberryPi3").

Thanks for any help.

Re: Can't connect to my Wifi

Posted: Sun Jun 05, 2016 3:26 pm
by epoch1970
Are you trying to use one single wifi card to create an AP and at the same time connect to another access point (or router) to be on your network?
On Pi3, some report it can work (creating an additional virtual interface), I have tested it recently and I don't think it works so fine. The setup is quite finicky.

I would advise to choose one use or the other for the internal wifi card.
You could add a second wifi usb card to get AP+wireless internet access. Even that is the source of a few posts on the forum.

Re: Can't connect to my Wifi

Posted: Sun Jun 05, 2016 3:53 pm
by Greg Tom
epoch1970 wrote:Are you trying to use one single wifi card to create an AP and at the same time connect to another access point (or router) to be on your network?
On Pi3, some report it can work (creating an additional virtual interface), I have tested it recently and I don't think it works so fine. The setup is quite finicky.

I would advise to choose one use or the other for the internal wifi card.
You could add a second wifi usb card to get AP+wireless internet access. Even that is the source of a few posts on the forum.
Thanks for your response ! I didn't know it was impossible to access both AP and another access point.

Re: Can't connect to my Wifi

Posted: Sun Jun 05, 2016 4:04 pm
by epoch1970
Greg Tom wrote:Thanks for your response ! I didn't know it was impossible to access both AP and another access point.
With the wifi card included in Pi 3 and the current state of drivers, it is not "impossible". (Which is already better than some USB add-on cards)
But even with the latest firmware/kernel, I would call that an exercise in frustration.

(I don't think it can ever be really operational one day. One of the requirements is that you have to use the same wifi channel; So the AP configuration file has to "follow" the client configuration. Add that inconvenience to the fact you're in effect creating noise against the "main" AP with the Pi-based AP, since you emit on the same channel... Not worth it I say.)

Re: Can't connect to my Wifi

Posted: Sun Jun 05, 2016 4:37 pm
by Greg Tom
Ok so for the time being I will forgive the AP.
But now each time I boot my raspberry pi it is scanning for AP devices.
Do you know how to tell not to search for AP but for my router ?

I'm trying to put things like they were before this tutorial :
https://frillip.com/using-your-raspberr ... h-hostapd/
The only thing I can't go back is for the NAT configuration.

Any ideas please ?

Re: Can't connect to my Wifi

Posted: Sun Jun 05, 2016 10:05 pm
by epoch1970
Well a simple solution would be to reinstall from scratch.
TBH I don't exactly understand where iptables stashes its configuration... I general I hate firewalls, and iptables especially.
However this is a machine, so there is no reason you couldn't undo what you've done by carefully reversing every step.

Re: Can't connect to my Wifi

Posted: Mon Jun 06, 2016 2:28 am
by broe23
Also remember that the onboard antenna is not the best. Especially that it and the Wifi chip can cause heat problems, so they keep the power level low for the onboard Wifi.

Re: Can't connect to my Wifi

Posted: Mon Jun 06, 2016 3:23 pm
by Greg Tom
epoch1970 wrote:Well a simple solution would be to reinstall from scratch.
TBH I don't exactly understand where iptables stashes its configuration... I general I hate firewalls, and iptables especially.
However this is a machine, so there is no reason you couldn't undo what you've done by carefully reversing every step.
Do you have any link to a tutorial that could help me reinstall it with scratch please ? I haven't used scratch yet...

Re: Can't connect to my Wifi

Posted: Mon Jun 06, 2016 3:42 pm
by epoch1970
Sorry, I meant wipe your SD and reinstall. ;)
Unfortunately I don't know Scratch...

Re: Can't connect to my Wifi

Posted: Tue Jun 07, 2016 7:47 am
by Greg Tom
epoch1970 wrote:Sorry, I meant wipe your SD and reinstall. ;)
Unfortunately I don't know Scratch...
Oh I'm so stupid, I should have think about it earlier... thanks !