Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[draft] [bug] Pinephone Pro doesn't serve IPv4 addresses on USB (?when installed on btrfs ?) #36

Open
DrYak opened this issue Sep 13, 2023 · 0 comments

Comments

@DrYak
Copy link

DrYak commented Sep 13, 2023

After unpacking the file sfe-pinephonepro-4.5.0.21-devel-20230831.tar.bz2 (on a BTRFS partition instead of a EXT4 like the official installer does this), I don't get an IPv4 address assigned to the laptop when plugging the USB-C cable.

After searching through journald's logs, possible culprits could be:

usb_moded

/sys:
Sep 12 10:45:31 PinePhonePro usb_moded[373]: /sys/kernel/config/usb_gadget/g1/functions/mass_storage.usb0: mkdir failed: No such file or directory
Sep 12 10:45:31 PinePhonePro usb_moded[373]: /sys/kernel/config/usb_gadget/g1/functions/ecm.usb0/ethaddr: can't open for writing: No such file or directory
Sep 12 10:45:31 PinePhonePro usb_moded[373]: /sys/kernel/config/usb_gadget/g1/functions/ecm.usb0/wceis: can't open for writing: No such file or directory

usb_moded doesn't find some drivers' interface pseudo-files in the /sys tree?

udhcpd

Sep 12 10:45:32 PinePhonePro systemd[1]: Started udhcpcd DHCP server.
Sep 12 10:45:32 PinePhonePro udhcpd[500]: udhcpd: /etc/udhcpd.conf: No such file or directory
Sep 12 10:45:32 PinePhonePro udhcpd[500]: udhcpd: started, v1.34.1
Sep 12 10:45:32 PinePhonePro udhcpd[500]: udhcpd: can't open '/var/lib/misc/udhcpd.leases': No such file or directory
Sep 12 10:45:32 PinePhonePro udhcpd[500]: udhcpd: is interface eth0 up and configured?: No such device
Sep 12 10:45:32 PinePhonePro systemd[1]: udhcpd.service: Main process exited, code=exited, status=1/FAILURE
Sep 12 10:45:32 PinePhonePro systemd[1]: udhcpd.service: Failed with result 'exit-code'.

udhcpd isn't starting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant