So, i recently started to use my android device's (tablet) internet connection by using a special tethered setup (which I'll detail below), given my built-in antenna (in this computer) isn't the best, and i didn't want to:
- widen range on my modem (doesn't support that)
- buy an external one
- change provider
- use a different computer/have it "repaired" (i don't see it as being broken since it was always like this...)
etc
Now, to add a bit more difficulties, the reason I'm using the word "special" above is because, the rom I'm using for this tablet *does not* support normal tethering, or at least doesn't work too well with it...
Though i may know i could always ask on that forum or even switch rom, i prefer not to (for a lots of reasons)...
So i used the following working setup.
Only difference is i do it through usb, by using the following:
Code: Select all
sshd -dD -p 8081
on the android device through termux (or any other terminal application following the above linked setup)
and
Code: Select all
adb forward tcp:8081 tcp:8081
sshuttle --listen 0.0.0.0 -r user@localhost:8081 0/0
running on the main machine locally.
While everything work fine, i did notice that, i couldn't connect to it directly, and had to use wifi at the same time for it work...I think this is mainly because the setup above doesn't use a separate network device, but instead use the `lo` or loop device (which i can clearly see is the one being used when using `ifconfig` instead of wifi/ethernet device)
So I'm curious, how could i connect to it *directly*? Do i need to create a separate network device and use it with this setup? or is there a way/command to connect to the `lo` or loop network device directly?
Again, this works perfectly, minus the fact i can't connect to it directly, and it "silently" connect without it being assigned to a device (eg, like ethernet)...
PS: I'm on fossapup 9.5 (x64)