×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

WiFi issues on Pi5. How to log?

  • Posts: 241
  • Thank you received: 8
I seem to have solved most of my port instability issues. They seem to have been power-related. Turned out my idea of powering the Pi using a 100W USB-C port on my power supply was a bad one. Instead, I should have been using the 45W max power supply that came with the Pi 5. I tried it out this morning and it worked well, logs clean, gotos worked, image taking worked - for about ten minutes.

And then the WiFi connection died. I could not get it back without shutting down the Pi and restarting it. It came right back on, and has stayed on for a couple of hours now. This makes me believe that the problem is probably not with my network.

But I would like to know if there is a way in ArchLinux to monitor (log) what is going on with the WiFi setup? Would any service of the ArchLinux system emit loggable messages?
2 weeks 2 days ago #100583

Please Log in or Create an account to join the conversation.

  • Posts: 241
  • Thank you received: 8
I posted this on the Raspberry Pi forum .

Someone answered:
disable wifi power saving.
can't remember how it's done in arch


Does anyone know the answer?
2 weeks 2 days ago #100584

Please Log in or Create an account to join the conversation.

  • Posts: 241
  • Thank you received: 8
sudo iwconfig wlan0 power off

seems to turn power management off. Still looking for the configuration file that would make that persistent.

I am going to try leaving the rig on all night and see what happens with it.
2 weeks 2 days ago #100589

Please Log in or Create an account to join the conversation.

  • Posts: 241
  • Thank you received: 8
Wifi stayed on all night. with the above command. So that's good.

As for persisting it, I find

this, on the Arch Wiki . But the environment described does not seem to match that of AstroArch. None of the files mentioned is in the /etc/rules.d directory.

and
grep -R -I power /etc
returns nothing pertaining to WiFi power.
2 weeks 1 day ago #100594

Please Log in or Create an account to join the conversation.

  • Posts: 67
  • Thank you received: 30
Try this link to disable powersaving

wiki.archlinux.org/title/Power_management#Network_interfaces

By putting off instead of on

/etc/udev/rules.d/81-wifi-powersave.rules
ACTION=="add", SUBSYSTEM=="net", KERNEL=="wl*", RUN+="/usr/bin/iw dev $name set power_save off"
1 week 5 days ago #100661

Please Log in or Create an account to join the conversation.

Moderators: Mattia
Time to create page: 0.602 seconds