add links to pmos wiki, add example of network location (MR 30)

This commit is contained in:
grreby 2023-04-14 22:09:22 +00:00
parent 3b3c589d44
commit b6227bde5f
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -67,17 +67,17 @@ a website. So this is highly recommended when contributing changes to
listens on all interfaces. Otherwise you'll need something like an SSH listens on all interfaces. Otherwise you'll need something like an SSH
tunnel. tunnel.
* Close firefox * Close firefox
* Connect to your phone via SSH * Connect to your phone via [SSH](https://wiki.postmarketos.org/wiki/SSH)
* Set up environment variables properly, so you can start programs (one lazy * Set up environment variables properly, so you can start programs (one lazy
way to do it, is `tmux` on your phone in the terminal, then `tmux a` in way to do it, is `tmux` on your phone in the terminal, then `tmux a` in
SSH) SSH)
* Run `firefox --start-debugger-server 6000` (or another port if you desire) * Run `firefox --start-debugger-server 6000` (or another port if you desire)
* Run Firefox on your PC * Run Firefox on your PC
* Go to `about:debugging` * Go to `about:debugging`
* Add your phone as "network location" * Add your phone as "network location" (`172.16.42.1:6000` if connected through USB Network)
* Press the connect button on the left * Press the connect button on the left
* If it does not work, check if a firewall on your phone is blocking the port * If it does not work, check if a firewall on your phone is blocking the port
(i.e. nftables in postmarketOS). (i.e. [nftables](https://wiki.postmarketos.org/wiki/Nftables) in postmarketOS).
* On your phone * On your phone
* Confirm the connection on your phone's screen * Confirm the connection on your phone's screen
* If the button is not visible on the screen, try switching to a terminal * If the button is not visible on the screen, try switching to a terminal