Missing tutorial to collect logs on "non-working" network

There are several tutorials explaining how to collect logs for such service, but none to understand where there is an issue with network (WLAN or mobile data).

For instance, there are various WLAN working correctly on my laptop (Linux one), but not with my phone. If both of my phone and laptop are connected on the same WLAN, I usually try to ping each other, then apply a traceroute.
After, I ping an external IP address and use the same IP but with traceroute.

When I’m sure the network works (because I have a working connection on my laptop), which strategies could I apply to gather a maximum of logs on Sailfish OS side?

3 Likes

try to change wpa_supplicant service (but do proper override, not some weird shit some people tend to do with systemd service files)

[defaultuser@Fairphone4 ~]$ systemctl status wpa_supplicant
ā— wpa_supplicant.service - WPA Supplicant daemon
   Loaded: loaded (/usr/lib/systemd/system/wpa_supplicant.service; disabled; vendor preset: enabled)
   Active: active (running) since Tue 2025-10-28 16:05:46 CET; 16h ago
 Main PID: 4699 (wpa_supplicant)
   Memory: 3.4M
   CGroup: /system.slice/wpa_supplicant.service
           └─4699 /usr/sbin/wpa_supplicant -u -c /etc/wpa_supplicant/wpa_supplicant.conf -O/var/run/wpa_supplicant -u -P /var/run/wpa_supplicant.pid

increase debugging and maybe use output to syslog option (but stdout should also work)

options:
  -b = optional bridge interface name
  -B = run daemon in the background
  -c = Configuration file
  -C = ctrl_interface parameter (only used if -c is not)
  -d = increase debugging verbosity (-dd even more)
  -D = driver name (can be multiple drivers: nl80211,wext)
  -e = entropy file
  -g = global ctrl_interface
  -G = global ctrl_interface group
  -h = show this help text
  -i = interface name
  -I = additional configuration file
  -K = include keys (passwords, etc.) in debug output
  -L = show license (BSD)
  -N = start describing new interface
  -o = override driver parameter for new interfaces
  -O = override ctrl_interface parameter for new interfaces
  -p = driver parameters
  -P = PID file
  -q = decrease debugging verbosity (-qq even less)
  -s = log output to syslog instead of stdout
  -t = include timestamp in debug messages
  -u = enable DBus control interface
  -v = show version
  -W = wait for a control interface monitor before starting

or try to not run as service, instead run wpa_supplicant in terminal

1 Like