MkLHX / AP_STA_RPI_SAME_WIFI_CHIP

Configures simultaneous AP and Managed Mode Wifi on Raspberry Pi with the same wifi chip
https://mklhx.github.io/AP_STA_RPI_SAME_WIFI_CHIP/
GNU General Public License v3.0
38 stars 14 forks source link

Are you tested it on 4b? #1

Closed moinologics closed 2 years ago

moinologics commented 3 years ago

Will this work on raspberry Pi 4B?

github-actions[bot] commented 3 years ago

Message that will be displayed on users' first issue

MkLHX commented 3 years ago

Hello @ProgrammingPlanet i don't now can't test it. Have you tried?

wohaoa commented 2 years ago

@MkLHX I executed them in 3B+, AP works, but STA does not .o(╥﹏╥)o

MkLHX commented 2 years ago

And what the error message or something about the error? STA process is just to write SSID and passphrase in wpa_supplicant.conf so take a look if you have a typo or not on it.

wohaoa commented 2 years ago

@MkLHX I executed the script without error 47b3c6d4f96477c8a295a604b6a258a But I restart the Raspberry Pi, the network connection icon is grey 9043656748a1832d7881f95e3007518

MkLHX commented 2 years ago

ok but this don't tell me if you have an error or not on your wifi credentials.

when you hit ifconfig did you get AP0 and WLAN0 interfaces?

Are you sure wpa_supplicant service is used on your raspberry pi distribution?

ap_sta_config.sh is used only on raspbian os lite in my side.

wohaoa commented 2 years ago

@MkLHX Sorry, I tested it, the icon is gray, but I can ping the network, I think the network connection icon is gray is a bug in the UI. image But now I found another problem, I use another PC to connect to wifi hotspot ap_ssid, I can ping through 192.168.10.1, but can not ping the network image

MkLHX commented 2 years ago

So you're connected on both STA and AP.

The red cross on desktop I can't say why it's present because I never use desktop OS on RPI.

So ap_sta_config.sh works.

wohaoa commented 2 years ago

So you're connected on both STA and AP.

The red cross on desktop I can't say why it's present because I never use desktop OS on RPI.

So ap_sta_config.sh works. @MkLHX I think it is working, but I tested other devices connected to this AP and they can't access the network,I don't know why there is this problem

MkLHX commented 2 years ago

@wohaoa you're talking about what? When you're connected to the AP if the raspberry pi doesn't already have an WAN access it's normal you can get access to WAN.

I don't undestand what are you trying to do.

The goal of this script is to allow raspbery pi to have both AP and STA mode and to use it in IoT devices and allow user to setting network.

wohaoa commented 2 years ago

@MkLHX sorry, I understand what you mean, use it in IoT devices and allow user to setting network is perfectly ok ,my intention is to use it as a network hotspot

MkLHX commented 2 years ago

sorry i never tried to use this script in this use case. And i don't have any time to test and fix this part.

wohaoa commented 2 years ago

sorry i never tried to use this script in this use case. And i don't have any time to test and fix this part.

@MkLHX I see, thanks!

wohaoa commented 2 years ago

Will this work on raspberry Pi 4B?

I have tested it in 4B and it works fine

MkLHX commented 2 years ago

Great to ear !

MkLHX commented 2 years ago

so i close the issue ;-)