Archlinux arm hydrospanner: Difference between revisions

From wikinotes
No edit summary
 
(Replaced content with "Archlinux Arm install on pinephone.<br> See also pine64-arch install and programs: mobile.")
Tag: Replaced
 
Line 1: Line 1:
Archlinux Arm install on pinephone.<br>
Archlinux Arm install on pinephone.<br>
See also [[Archlinux pinephone]] and [[programs: mobile]].
See also [[pine64-arch install]] and [[programs: mobile]].
 
{{ NOTE |
I still have no idea what I'm doing here.
}}
 
= Documentation =
<blockquote>
{| class="wikitable"
|-
| premade images || https://github.com/dreemurrs-embedded/Pine64-Arch
|-
|}
</blockquote><!-- Documentation -->
 
= Serial Port =
<blockquote>
You can purchase a USB-C-headphone jack adapter and connect via serial cable.<br>
See https://bloggerbust.ca/post/my-first-experience-connecting-to-the-phinephone-via-serial-console/
</blockquote><!-- Serial Port -->
 
= Flashing Image =
<blockquote>
<source lang="bash">
# 1. download image from releases on https://github.com/dreemurrs-embedded/Pine64-Arch
 
# 2. decompress image
xz -d pine.img.xz
 
# 3. flash image
sudo dd if=pine.img of=/dev/mmcblk1 bs=1M status=progress conv=fsync
</source>
</blockquote><!-- Flashing Image -->
 
= Custom Install =
<blockquote>
<source lang="bash">
# set username (superficial, does not affect unix user)
# you can create additional users, but not login as them
Settings > Users
 
</source>
 
<source lang="bash">
# interactive login, then enable ssh
# user: alarm
# pass: 123456
sudo systemctl enable sshd
sudo systemctl start sshd
 
# temporarily start x2goserver to configure finnicky desktop apps w/ mouse
sudo pacman -S x2goserver
sudo systemctl start x2goserver
 
# obtain ip address
ip addr
 
# adjust apps to phone (fixes evolution, possibly gnome apps)
dconf write /sm/puri/phoc/scale-to-fit true
 
# continue over ssh
</source>
 
From here, use generate installscript using <code>${saltmaster}/setup/hydrospanner/archlinux-arm/</code>.<br>
Make sure to restart or disable salt-minion following provisioning.
 
</blockquote><!-- Custom Install -->
 
= Carrier Configuration =
<blockquote>
calls/non-imessage sms works (chatty). 4G connected, but not assigned an ip addr.
 
<source lang="yaml">
- put sim card in (mine is too large, but kind of works)
- settings > mobile:
  - [x] enable (top-right)
  - [x] mobile data
  - network mode: 2G, 3G, 4G
  - network: koodo
  - access point names:
    # sp.telus.com
    # able to call/send-recv sms
    # unable to connect to internet
</source>
 
I also had to go to https://koodomobile.com/imessage and disable imessage. (?)
 
</blockquote><!-- Carrier Configuration -->
 
= Mobile Data Connection =
<blockquote>
 
my sim card was not pin-locked.
<source lang="bash">
sudo nmcli c show      # list connections
sudo nmcli dev status  # list avail devices
 
sudo nmcli connection                  # list connections
sudo nmcli connection up ${conn_name}  # bring up connection
 
sudo systemctl status ModemManager      # modem status
sudo journalctl -u ModemManager.service  # logs
</source>
 
Additional/low-level configuration resources:
{|
|-
| https://unix.stackexchange.com/questions/113975/configure-gsm-connection-using-nmcli
|-
| https://www.freedesktop.org/software/ModemManager/man/1.0.0/mmcli.8.html
|-
| https://core.docs.ubuntu.com/en/stacks/network/modem-manager/docs/configuring-cellular-connections
|-
| https://forum.pine64.org/showthread.php?tid=9268&highlight=connect+mobile+data
|}
 
</blockquote><!-- mobile data connection -->
 
= Media =
<blockquote>
<source lang="bash">
~/Music  # scp music here for gnome-music
 
</source>
 
</blockquote><!-- music -->
 
= Tips/Tricks =
<blockquote>
<source lang="bash">
# apparently gnome-contacts inherits carddav contacts from evolution
 
# evolution can be resized to fit screen using `dconf`.
dconf write /sm/puri/phoc/scale-to-fit true
</source>
</blockquote><!-- Tips/Tricks -->

Latest revision as of 02:00, 13 March 2022

Archlinux Arm install on pinephone.
See also pine64-arch install and programs: mobile.