06-04-2022, 02:43 PM
(06-04-2022, 09:53 AM)Peter Gamma Wrote: I tried to SSH into my PinePhone with PostmarketOS on it, according to the following guide:
https://wiki.pine64.org/wiki/Guide:Conne...e_with_SSH
and others.
I connected my PinePhone to a WFI router with SIM card, on with another PC is attached with a Ethernet cable.
Typing ifoncig into the terminal of my PinePhone resulted in:
Lo Link encap: Local Loopback inet addr. 127.0.0.1
….
which is a strange inet addr. I was looking for the IP adress of my PinePhone. Setting these values into PuTTY resulted in a Network error, connection refused.
Then I checked my WIFI router. There where three wireless clients listed, I suppose the last one is my PinePhone with 192.168.1.103
I typed in 192.168.1.103 into PuTTY
result: Network error, connection refused.
How can I solve this?
i recently used postmarketos for updating eg25g's firmware.
postmarketos has firewall enabled by default, but this is not an issue because port 22 is allowed. (not for wwan side though).
most likely you do not have ssh server installed, install it by following. then start it.
Code:
// i take this from my memory, so here could be errors.
# apk add sshd
// start the server, won't last reboot.
# rc-service sshd start