Skip to content

Commit

Permalink
Maybe fix wifi issue on Pi, not really sure
Browse files Browse the repository at this point in the history
  • Loading branch information
dkulp committed Nov 5, 2023
1 parent 4c18688 commit 699e898
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/networkd-dispatcher/routable.d/check_tether
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ if [ "${TetherEnabled}" == "0" ]; then
fi

if [ "${TetherInterface}" != "${IFACE}" ]; then
rm -f "/etc/systemd/network/10-${TetherInterface}.network"
networkctl down "${TetherInterface}"
HostAPDEnabled=$(systemctl is-enabled hostapd)
if [ "${HostAPDEnabled}" != "disabled" ]; then
rm -f "/etc/systemd/network/10-${TetherInterface}.network"
networkctl down "${TetherInterface}"
systemctl stop hostapd.service
systemctl disable hostapd
systemctl reload-or-restart systemd-networkd.service
Expand Down

5 comments on commit 699e898

@dartunder
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, it does not fix the wifi issue.

@dkulp
Copy link
Contributor Author

@dkulp dkulp commented on 699e898 Nov 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dartunder You would need to copy the file over to /etc/networkd-dispatcher/routable.d and reboot.

@dartunder
Copy link

@dartunder dartunder commented on 699e898 Nov 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What I did earlier today:
I did an OS upgrade to 7.3. then switched to the master branch and verified this commit was included. The wireless did not work correctly.

I just repeated this process and verified that the issue remains after a reboot.

This commit does not fix the issue.

image

@dkulp
Copy link
Contributor Author

@dkulp dkulp commented on 699e898 Nov 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you REPLACE the file in the /etc/networkd-dispatcher/routable.d directory with this file? This commit changes the file in /opt/fpp but does NOT change the actual file that is used by the OS. You HAVE to replace the file in /etc and reboot to test this.

@dartunder
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok sorry for the misunderstanding I know some but am not fully familiar with how this pi works.

I copied /opt/fpp/etc/networkd-dispatcher/routable.d/check_tether to /etc/networkd-dispatcher/routable.d/check_tether

@dkulp The wifi is working!

Please sign in to comment.