Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access the RPI from the WLAN0 not possible #10

Open
dop0qob opened this issue Nov 12, 2019 · 2 comments
Open

Access the RPI from the WLAN0 not possible #10

dop0qob opened this issue Nov 12, 2019 · 2 comments

Comments

@dop0qob
Copy link

dop0qob commented Nov 12, 2019

Hi,
I dont know exactly how this happens but there is a point when it is no longer possible to reach the raspberry thru the WLAN0 ip address when connected to the same WIFI Router.
But it is possible to connect thru the RPI AP and, once inside, its also possible to reach any destination behind the WLAN0 (Internet included).

Its like if there is a firewall blocking incoming connections from the WLAN0.

But it was working before... I manually changed the details of the /etc/wpa_supplicant/wpa_suppliant.conf but don't think that is the issue.. because it is correctly connected to the Router and the RPI can access the network behind the WLAN0.

what could be happening?

Kind regards.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@Carl-jackslabs
Copy link

Carl-jackslabs commented Feb 3, 2020

Same issue for me, (Thanks for a nice clean script btw! )

I can't SSH through the home router but when connected to the AP SSH is fine.

In addition, I am not able to access internet through the AP, I get a name resolution error so maybe something is not bridged correctly.

FYI, Raspbian 3B+ Buster September

Edit: Actually, it might be an issue because my home router ssid has spaces and punctuation in it. It may not be connected to the router at all, explaining basically everything. Posting my potential (stupid) error here in case it affects you @dop0qob too

Edit2: Confirmed that was it. I was unable to enter the "!" and " " in the bash script even with quotes so I used the "\" which didn't work. So I SSH'd into via AP and changed the wpa_supplicant.conf to the correct name manually. Good bridge and stability is great. For reference, the SSID in question was "FRITZ!Box 4040 EP" , a default for a common model router in Switzerland and Germany as far as I know

Edit3: Single quotes worked instead of double quotes. For some dumb reason I thought double would be a stronger assertion than single quotes. Wrong!

@lukicdarkoo
Copy link
Owner

@Carl-jackslabs Nice catch! The script should be updated accordingly.

Just to confirm, single quotes in /etc/wpa_supplicant/wpa_supplicant.conf work fine? With double quotes, it doesn't work? Are you sure that the script arguments are passed correctly - that you used quotes when executing the script?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants