Greg Tom
Posts: 57
Joined: Thu Apr 21, 2016 8:31 am

Can't connect to my Wifi

Sun Jun 05, 2016 1:35 pm

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.
Attachments
2016-05-29-195149_640x480_scrot.png
2016-05-29-195149_640x480_scrot.png (43.92 KiB) Viewed 1625 times

epoch1970
Posts: 5132
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: Can't connect to my Wifi

Sun Jun 05, 2016 3:26 pm

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.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Greg Tom
Posts: 57
Joined: Thu Apr 21, 2016 8:31 am

Re: Can't connect to my Wifi

Sun Jun 05, 2016 3:53 pm

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.

epoch1970
Posts: 5132
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: Can't connect to my Wifi

Sun Jun 05, 2016 4:04 pm

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.)
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Greg Tom
Posts: 57
Joined: Thu Apr 21, 2016 8:31 am

Re: Can't connect to my Wifi

Sun Jun 05, 2016 4:37 pm

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 ?

epoch1970
Posts: 5132
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: Can't connect to my Wifi

Sun Jun 05, 2016 10:05 pm

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.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

broe23
Posts: 903
Joined: Thu Jan 28, 2016 9:35 pm
Location: Central IL
Contact: Website

Re: Can't connect to my Wifi

Mon Jun 06, 2016 2:28 am

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.
Ren: Now listen, Cadet. I've got a job for you. See this button? Ren: Don't touch it! It's the History Eraser button, you fool! Stimpy: So what'll happen? Ren: That's just it. We don't know. Maybe something bad, maybe something good.

Greg Tom
Posts: 57
Joined: Thu Apr 21, 2016 8:31 am

Re: Can't connect to my Wifi

Mon Jun 06, 2016 3:23 pm

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...

epoch1970
Posts: 5132
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: Can't connect to my Wifi

Mon Jun 06, 2016 3:42 pm

Sorry, I meant wipe your SD and reinstall. ;)
Unfortunately I don't know Scratch...
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Greg Tom
Posts: 57
Joined: Thu Apr 21, 2016 8:31 am

Re: Can't connect to my Wifi

Tue Jun 07, 2016 7:47 am

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 !

Return to “General discussion”