PINE64
Is it possible to pre-configure wifi and ssh with pmbootstrap? - 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: PostmarketOS on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=124)
+---- Thread: Is it possible to pre-configure wifi and ssh with pmbootstrap? (/showthread.php?tid=10572)



Is it possible to pre-configure wifi and ssh with pmbootstrap? - kelbot - 07-05-2020

I am trying to get wifi and ssh working on the image without needing to interact with the phone itself to do it.


RE: Is it possible to pre-configure wifi and ssh with pmbootstrap? - wibble - 07-06-2020

last time I tried it (March?) pmbootstrap installed sshd by default for the pinephone, and prompted for adding the public key on the machine you were running it from to the image's authorized_keys. After running pmbootstrap you can always mount the target device partition(s) to make any further changes needed.
WiFi may depend on the desktop you're selecting, so you'll have to check where the one you're using puts config files. /etc/NetworkManager/system-connections/ is probably most likely.


RE: Is it possible to pre-configure wifi and ssh with pmbootstrap? - ChriChri - 07-06-2020

(07-05-2020, 02:53 PM)kelbot Wrote: I am trying to get wifi and ssh working on the image without needing to interact with the phone itself to do it.

After installing using pmbootstrap I've been able to connect to the phone via usb networking.

Once connected via ssh you can use the command nmtui-connect to connect to a wifi.