03-31-2020, 03:05 AM
(This post was last modified: 03-31-2020, 10:09 AM by someGermanGuy.)
(03-31-2020, 01:42 AM)PureTryOut Wrote: Just plug your device into your PC using USB and use that to SSH in?
Once plugged in:
Code:ssh <youruser>@172.16.42.1
I have a Laptop without usb ports.
Btw. who/what should give the device an ip address when running plain win10 ltsc?
edit: guess it would be much much simpler to just install any kind of terminal so users can use the phone with only wifi and not hacking around their hardware
edit #2: i ssh'd to the router and ssh'd from that to the pinephone (how ugly... but currently theres no other way for me). i was able to do an apk update but the upgrade fails because of no free space left on the device. i checked with "df -h" and was a bit surprised. i thought, the / partition gets extended by default on first boot to match the sd card size. the sd card size is 128gb
edit #3: if anyone else having the problem with sdcard, its quiet easy to extend:
Code:
pine64-pinephone:~$ sudo fdisk /dev/mmcblk0
Welcome to fdisk (util-linux 2.35.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): p
Disk /dev/mmcblk0: 119.9 GiB, 127865454592 bytes, 249737216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xe08a6a8c
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 2048 227327 225280 110M 83 Linux
/dev/mmcblk0p2 227328 3373055 3145728 1.5G 83 Linux
Command (m for help): d
Partition number (1,2, default 2): 0
Value out of range.
Partition number (1,2, default 2): 2
Partition 2 has been deleted.
Command (m for help): n
Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p):
Using default response p.
Partition number (2-4, default 2):
First sector (227328-249737215, default 227328):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (227328-249737215, default 249737215):
Created a new partition 2 of type 'Linux' and of size 119 GiB.
Partition #2 contains a ext4 signature.
Do you want to remove the signature? [Y]es/[N]o: n
Command (m for help): p
Disk /dev/mmcblk0: 119.9 GiB, 127865454592 bytes, 249737216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xe08a6a8c
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 2048 227327 225280 110M 83 Linux
/dev/mmcblk0p2 227328 249737215 249509888 119G 83 Linux
-> do a reboot, otherwise its not recognized (dont know if a "sync" command exists for the kernel to recoginze the change of partition layout)