Can't connect through ssh
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 920
- PR merge metrics
- No merged PRs in 30d
Description
My Android is MIX4, and it developed base on Android 12.
Here's the problem I come across...
I wanted to connect Termux, or ubuntu I installed in Termux through ssh.
But I find there's something wrong with it.
I cannot connect through ssh, like tutorials I found on internet.
I cannot ping with host under the same subnet.
I found that default gateway set in Termux is 192.168.43.0/24, while the gateway is actually 192.168.43.29...
I think this is a fair rare situation...
And I want to add default gw into ubuntu, through
ip route add default via 192.168.43.29 dev wlan0
but get,
Cannot talk to rtnetlink: Permission denied.
I realize that it may need root...so,
Can you find a way out to add default gateway in Termux???
Thanks!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository files, tests, or entry points are named. Start by reproducing the SSH and same-subnet ping failures on the reported MIX4 and Android 12 setup, then examine the Termux and Ubuntu routing state around the default gateway and permission error. Done means documenting a supported way to establish connectivity, or confirming that the requested route requires unavailable privileges.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, shell, ubuntu
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100