PINE64
Pinephone debugging tools - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Arch Linux on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=159)
+---- Thread: Pinephone debugging tools (/showthread.php?tid=13245)



Pinephone debugging tools - jjdekroon - 02-27-2021

Hello @Danct12 ,

I've uploaded a package with some scripts to the AUR.
This package is a collection of shell scripts which sets up a USB Gadget interface and initiates a network on this interface.
The created network will use subnet 10.66.0.1/8 as it's subnet.

The purpose of this package is to facilitate easier means of debugging.
Sometimes the GUI on the Pinephone decides to fail and then it's difficult for a lot of users to obtain the valuable debugging logs.
This package ensures that the usb gadget interface is up-and-running.
Whenever you input a USB cable from any PC/Laptop it will initiate the network, and hand out a IP-Adress for the Host PC.
Now it's easy to connect to a SSH session with the command: ssh <username>@10.66.0.1
From here it's easy to obtain the neccasary debugging information such as dmesg and systemctl statusses etc.

You can find the package: https://aur.archlinux.org/packages/pinephone-dev-tools/

Let me know what you think of it.

Greetings
Jasper