happed to cashyOS recently but had issue , Whenever if my system is suspended wifi disconnects and it just keep buffering but doesn't connect at all
I decided to fix it by creating a service and did it , but it didnt work either so i removed the service (or disabled dont remember ) and suddenyl wifi went away from my control apnel and after that did lots of things like disable, enable,stop remove but my wifi didn't come back and there is no wifi in my laptop . My nmcli device shows wlan0 state as "unmanaged"
Help me please , i want to fix it and use my laptop again
#No wifi in my CashyOS (arch)
1 messages · Page 1 of 1 (latest)
You need to provide the exact commands you ran
I did this
/etc/systemd/system/network-restart.service
#/etc/systemd/system/network-restart.service
#sudo systemctl enable network-restart.service
#sudo systemctl start network-restart.service
#systemctl status network-restart.service
#sudo systemctl daemon-reload
[Unit]
Description=Broadcom WiFi Restart Service
Before=sleep.target
StopWhenUnneeded=yes
[Service]
User=root
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/sudo -u $USER /bin/bash -lc 'nmcli networking off'
ExecStart=/usr/bin/sleep 1
ExecStart=/usr/bin/systemctl stop NetworkManager
ExecStart=/usr/bin/ip link set wlp2s0 down
ExecStart=/usr/bin/modprobe -r wl
ExecStop=/usr/bin/sleep 5
ExecStop=/usr/bin/modprobe wl
ExecStop=/usr/bin/sleep 3
ExecStop=/usr/bin/ip link set wlp2s0 up
ExecStop=/usr/bin/sleep 2
ExecStop=/usr/bin/systemctl start NetworkManager
ExecStop=/usr/bin/sleep 1
ExecStop=/usr/bin/sudo -u $USER /bin/bash -lc 'nmcli networking on'
ExecStop=/usr/bin/sleep 1
ExecStop=/usr/bin/sudo -u $USER /bin/bash -lc 'nmcli r wifi off'
ExecStop=/usr/bin/sleep 1
ExecStop=/usr/bin/sudo -u $USER /bin/bash -lc 'nmcli r wifi on'
[Install]
WantedBy=sleep.target
sudo systemctl enable network-restart.service
yikes lol
who the fuck said that was the solution to anything.
Start NetworkManager and turn back on your radio
Other than that, I'd suggest not using a service that looks like it was writtne by ChatGPT
looks like
Screenshot included lol
Wym
Did chatgpt change their UI and writing style to be first person and claim years of posting answers?
The solution itself looks chatgpt, but the screenshot is of someone claiming it's their solution
Oh, you're right. I don't even know about the ui and the very first sentence seemed like a stock ai answer, then my eyes skipped down to the giant code block. 100% on me for not actually reading it.
