I have tried each of the following, none of which have work:
Code: Select all
sudo systemctl restart wpa_supplicant.service
sudo systemctl restart networking.service
sudo service networking restart
Code: Select all
sudo systemctl restart wpa_supplicant.service
sudo systemctl restart networking.service
sudo service networking restart
Code: Select all
wpa_cli -i wlan0 reconfigure
This doesn't seem to work for me. I'm using the latest stretch. All I want is to restart wlan0 to reconnect to the wifi without rebooting.
Out of curiosity, why is rebooting such a problem for you?metalshark wrote: ↑Fri Jan 11, 2019 9:02 pmAll I want is to restart wlan0 to reconnect to the wifi without rebooting.
What is the response from the above command?metalshark wrote: ↑Fri Jan 11, 2019 9:02 pmThis doesn't seem to work for me. I'm using the latest stretch. All I want is to restart wlan0 to reconnect to the wifi without rebooting.
It does say "OK" but the WIFI didnt come back. SSID and PASSWORD is correct because when I do a reboot it will connect. WIFI OFF?? how may I find out is it is off? Does issuing the command >klricks wrote: ↑Sat Jan 12, 2019 2:19 amWhat is the response from the above command?metalshark wrote: ↑Fri Jan 11, 2019 9:02 pmThis doesn't seem to work for me. I'm using the latest stretch. All I want is to restart wlan0 to reconnect to the wifi without rebooting.
It should return OK and then connect to WIFI in a few seconds.
If it returns FAIL then there is something wrong with the conf file.
If it returns OK and still does not connect the SSID or password is wrong or the WIFI is off etc.
Code: Select all
ifconfig wlan0 down
I mean the WIFI is turned off or not configured correctly in the WIFI router.metalshark wrote: ↑Thu Jan 24, 2019 9:37 pmIt does say "OK" but the WIFI didnt come back. SSID and PASSWORD is correct because when I do a reboot it will connect. WIFI OFF?? how may I find out is it is off? Does issuing the command >klricks wrote: ↑Sat Jan 12, 2019 2:19 amWhat is the response from the above command?metalshark wrote: ↑Fri Jan 11, 2019 9:02 pm
This doesn't seem to work for me. I'm using the latest stretch. All I want is to restart wlan0 to reconnect to the wifi without rebooting.
It should return OK and then connect to WIFI in a few seconds.
If it returns FAIL then there is something wrong with the conf file.
If it returns OK and still does not connect the SSID or password is wrong or the WIFI is off etc.turn off the WIFI?Code: Select all
ifconfig wlan0 down
I suggest you ask here: http://www.raspberry-asterisk.org/forum/metalshark wrote: ↑Fri Jan 25, 2019 8:25 pmNah.. the wifi is clearly on. BTW, I'm using a wash down version of stretch. I downloaded the RasPBX image and that's the one I'm using. Do you think it's a possibility that it's missing file or driver? I already did the (1) sudo apt update and (2) sudo apt upgrade.
Still works here, I just pass it -i wlan0 as well, to prevent it from defaulting to the p2p device.MarrsAttax wrote: ↑Tue Feb 26, 2019 3:04 pmI'm having this problem too. I was using a quite out of date version of raspbian where 'wpa_cli reconfigure' would reconnect without reboot but this seems to have stopped now I have updated.