-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: No internet #3761
Comments
First of all let's check if your termux instance can resolve DNS addresses or it's other failure. Post output of |
In log already pinged |
Try without su. |
|
Ok. I did not see there is log. Do you have any custom firewalls or something? |
Nothing. Only custom ROM - crDroid 9.11 |
Provide output of |
And |
Wild MIME Types: Non-Data Actions: MIME Typed Actions: Service Resolver Table: Provider Resolver Table: Domain verification status: Permissions: Registered ContentProviders: ContentProvider Authorities: Key Set Manager: Packages: Queries: Shared users: Dexopt state: Compiler stats: |
Same to api: Service Resolver Table: Domain verification status: Permissions: Registered ContentProviders: ContentProvider Authorities: Key Set Manager: Packages: Queries: Shared users: Dexopt state: Compiler stats: |
And also force stop termux app, then restart it and run |
From Termux: |
Termux freeze without saving logcat |
What a shy termux... |
What happens when you run |
cat /system/etc/hosts
127.0.0.1 localhost
::1 ip6-localhost
127.0.0.1 ota.googlezip.net
127.0.0.1 ota-cache1.googlezip.net
127.0.0.1 ota-cache2.googlezip.net
вт, 26 дек. 2023 г., 12:17 agnostic-apollo ***@***.***>:
… What happens when you run cat /system/etc/hosts?
—
Reply to this email directly, view it on GitHub
<#3761 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACV75FDLWLX33E6SJD6ZATTYLKIZ3AVCNFSM6AAAAABBCW2J4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZGM4TIMZYHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
You ran this without root right? |
Same output:
~ $ cat /system/etc/hosts
127.0.0.1 localhost
::1 ip6-localhost
127.0.0.1 ota.googlezip.net
127.0.0.1 ota-cache1.googlezip.net
127.0.0.1 ota-cache2.googlezip.net
~ $ su
cat /system/etc/hosts <
127.0.0.1 localhost
::1 ip6-localhost
127.0.0.1 ota.googlezip.net
127.0.0.1 ota-cache1.googlezip.net
127.0.0.1 ota-cache2.googlezip.net
:/data/data/com.termux/files/home #
вт, 26 дек. 2023 г., 12:19 agnostic-apollo ***@***.***>:
… You ran this without root right?
—
Reply to this email directly, view it on GitHub
<#3761 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACV75FBSBRCLLFHJ72YHMO3YLKJA5AVCNFSM6AAAAABBCW2J4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZGM4TKNZWGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
You do have
|
OK, it's works. Tnx |
Great, can you run |
All works, I'll reboot and check again, here log: Transcript
Termux App InfoAPP_NAME: Device InfoSoftwareOS_VERSION: HardwareMANUFACTURER: Termux APT InfoSubscribed Repositoriessources.list
root-repo (sources.list.d/root.list)
Updatable PackagesAll packages up to date Termux Files InfoTERMUX_REQUIRED_FILES_DIR_PATH ($PREFIX):
Logcat Dump
|
Yep, it's working and after reboot |
Congratz, thanks for posting all the outputs. I don't see the |
Nope, locking system files is prohibited by AOSP selinux policy for |
? |
Problem description
Can't access to internet from termux shell(also can't update packages
Steps to reproduce the behavior.
termux-report_issue_from_transcript.log
What is the expected behavior?
I tried to upgrade packages via
pkg upgrade
Termux installed from F-Droid
Tryed all repositories trow
termux-change-repo
System information
The text was updated successfully, but these errors were encountered: