Closed moinologics closed 2 years ago
Message that will be displayed on users' first issue
Hello @ProgrammingPlanet i don't now can't test it. Have you tried?
@MkLHX I executed them in 3B+, AP works, but STA does not .o(╥﹏╥)o
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.
@MkLHX I executed the script without error But I restart the Raspberry Pi, the network connection icon is grey
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.
@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. 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
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.
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
@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.
@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
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.
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!
Will this work on raspberry Pi 4B?
I have tested it in 4B and it works fine
Great to ear !
so i close the issue ;-)
Will this work on raspberry Pi 4B?