Hello, I've been following the ubports porting guide for my device.
I have adapted a device tree from android10 group and modified my device's kernel configuration for halium using halium's own check-kernel-config
script.
So far I'm getting successful builds on both system and boot image. When I try to boot I get the GNU/Linux Device on usb0 10.15.19.82
on my usb which should indicate a working image.
However, when I follow the debugging ssh procedure I get:
ssh: connect to host 10.15.19.82 port 22: Connection refused
Upon running ssh with -vvvv
I get:
OpenSSH_8.6p1, OpenSSL 1.1.1k 25 Mar 2021
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: resolve_canonicalize: hostname 10.15.19.82 is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/NTer/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/NTer/.ssh/known_hosts2'
debug3: ssh_connect_direct: entering
debug1: Connecting to 10.15.19.82 [10.15.19.82] port 22.
debug3: set_sock_tos: set socket 3 IP_TOS 0x48
debug1: connect to address 10.15.19.82 port 22: Connection refused
ssh: connect to host 10.15.19.82 port 22: Connection refused
Then I've ran nmap to scan all known ports on the device, which gave me connection refused on every single scanned port.
This led me to believe that my connection was being firewalled, To be sure I checked my system image and build overlays, they both contain the usual PasswordAuthentication=yes
override init scripts.
Here are the things I have tried:
- Manually create UFW rules for init to allow ssh while chrooted
- Disable UFW, create iptables entries to allow ssh or disable iptables completely while chrooted
- Recompile kernel with
CONFIG_NETFILTER
set to n
When all my attempts has failed I tried to get a serial connection (rx only) so I could figure out what's wrong, I've seen my phones early boot procedures but not the kernel log.
How do I approach this? I'm running Artix Linux with latest kernel if that helps.
PS: I just get the splash screen upon boot