Closed radumamy closed 3 years ago
The device is aarch64 running Android 5.1.1
Android 5.1 is out of support.
@michalbednarski Could I please have some guidance? I apologise for tagging you in, you have kindly helped me previously. I am not asking for development fixes, just some guidance. I have been trying desperately for past few days now to get this fixed, but I am stuck. I have installed Alpine and that has Internet connectivity inside proot, e.g. Package manager works, but I cannot get openSUSE Zypper to run. I have populated /etc/hosts
and /etc/resolv.conf
with the same details from Alpine and it still doesn't work. What am I missing? Thank you in advance.
@radumamy First check whether networking works at all under proot. For example by using this command:
proot curl https://google.com
This one normally should give some html output.
If proot curl
worked, then I suggest to try different name servers for /etc/resolv.conf. Try out these:
nameserver 1.1.1.1
nameserver 8.8.8.8
nameserver 208.67.222.222
nameserver 172.104.136.243
Don't put all at once.
Thank you @xeffyr. proot curl
in Termux seems to be working as I am getting a html response The document has moved
but not inside the distro. I have tried all the suggested nameservers, one at a time and nothing. curl
inside the distro just hangs. 😕
You might want to try nscd.py
script from https://github.com/termux/proot/issues/101#issuecomment-599036821
(In that issue it was established that non-DNS traffic worked on device, don't know if Fire TV is similar in this regard nor whenever problem is caused by seccomp/selinux/something else)
@michalbednarski Thank you. How long does this script normally takes to run?
It will run infinitely because that's a server.
Thanks @xeffyr.
I have relaunched Termux, set off the script, started a new Termux session, launched the distro and tried curl
. Unfortunately it's exactly the same result. 😕
@radumamy Is ncsd.py
still running when you starting proot shell or not?
@xeffyr Yes, it is. 😕
Good Morning gents. If I'm stopping the script using Ctrl + C, I'm getting the attached. Is this the expected behaviour? Is there anything else I can try? If I root my device, will it make a difference? I've got 2 boxes and it's a shame I can't put them to good use. Thank you.
Good Afternoon @michalbednarski @xeffyr It appears I do have Internet connection from inside of distro as I've managed to install Plex Media Server on it and I can access this server when I'm out and about. It looks like higher port numbers have Internet access.
I've added proot -p
to the launch script and when I try curl
again it does say connected to Google on 443, but still doesn't receives the reply.
I feel I'm really close to getting this resolved, is there anything you guys think could help fix this issue for me?
Thank you.
As mentioned by michalbednarski, the problem could be related to the #101 (comment). I believe so because I have Amazon Tablet Fire. And it does not allow an internet connection for the Linux distro. Googling I come out to the #101 issue and this one. Then I guessed that a VPN app (PIA in my case) could re-route the traffic for me. It worked. So the simple way for you could be installing a VPN app.
Hi,
I am having difficulties getting openSUSE distro to work on Amazon FireTV 2nd generation (box not stick). The device is aarch64 running Android 5.1.1, Kernel 3.10.61, Termux 0.75 and proot 5.1.0. I understand that this is a legacy environment and is not getting any more updates, so I apologise in advance for asking some questions.
It seems like I don't have Internet connectivity from inside the distro, e.g. Ping hangs (cannot ping localhost either), cannot install Packages zypper hangs, etc. The same installation script works fine on my phone.
https://raw.githubusercontent.com/radumamy/Termux-openSUSE/master/Scripts/Installer/openSUSE/Tumbleweed/opensuse-tumbleweed-jeos.sh
Has anyone tried distros on FireTV before?
Is there anything I can do to diagnose this issue?
Kind Regards, Radu