4
submitted 6 months ago by sabreW4K3@lazysoci.al to c/raspberrypi@lemmy.ml

Is this possible at all?

top 5 comments
sorted by: hot top controversial new old
[-] Brewchin@lemmy.world 6 points 6 months ago

Using systemctl restart NetworkManager will likely do it for you.

Or the more traditional ifup/ifdown method, but if you're remotely connected that's likely to give you a Bad Time as you fall off the network... :)

[-] sabreW4K3@lazysoci.al 4 points 6 months ago

Ooh, perfect. Thank you!

[-] RacoonVegetable@reddthat.com 4 points 6 months ago

Set a crontab command that turns on your wifi to run every minute or two, thoroughly test it, then disable your wifi and wait a minute or two before trying to reconnect.

[-] sabreW4K3@lazysoci.al 2 points 6 months ago

That sounds way more involved than I would like

[-] rikudou 1 points 6 months ago

Try reboot, it will do exactly that and more!

Jokes aside, try sudo ifdown wlan0 and sudo ifup wlan0.

this post was submitted on 03 May 2024
4 points (83.3% liked)

raspberrypi

3255 readers
1 users here now

Community about the single-board computers, micro-controllers and related projects.

https://www.raspberrypi.com/

Other RaspberryPi communities on Lemmy

founded 4 years ago
MODERATORS