Enable wifi and USB ethernet on Android 7 on Samsung Tablet - Networking

Using a Samsung tablet where I require WiFi connection and USB wired ethernet connection to be enabled. The WiFi connection will support a default gateway for so-called back haul connection. The wired ethernet connects to a linux based device. I have seen posts about how to do this on StackExchange using Android 4 back in 2014, however, the source code referenced in that example was refactored in 2015 (ConnectivityService.java) and is unrecognizable to me in Android 7. The old Android 4 solution called for either recompiling the java source or extracting the *.smali file and modifying it. Both methods essentially disabled “one network at a time” logic in Android. The lack of information on this topic since 2014 leads me to think that I am asking the wrong question and that the capability I want is available in a different form. I am looking Looking for someone to provide a direct answer or point me in the right direction.

Related

Aircrack-Ng on Xoom?

Now before you all start flaming and telling me hacking wifi passwords is bad, I know. Im just curious as its fun to use this tool to hack your own wep and for network security tests. Would this be possible?
Sent from my Xoom using XDA Premium App
The Xoom uses BCM4329, which at last check still doesn't have injection mode,
http://forum.xda-developers.com/showthread.php?t=758755
Built-in antenna is connected by a pigtail, and can be replaced by a more robust PIFA. Provided you're willing to void the warranty, an ext ant via RP-SMA jack would be optimal.
http://www.ifixit.com/Teardown/Motorola-Xoom-Teardown/4989/2
I'm hoping Android will eventually be improved to enable USB periphs, so we can use USB wifi adapters. Won't be this generation, though. That said, wireless pentesting on tabs is a natural match.
Well, there is USB Host mode...I have a card I know works. Also, couldn't we boot the ubuntu linux or something on our XOOMs and get the WiFi hex or password from there then use it in android? Given you want the WiFi bad enough and have a while to wait lol.

[Q] Direct communication with other Android device?

I'm working to develop an application to use a rooted Nook STR as a handheld data input platform, which then sends the data to another Android device (tablet or phone; TBD) acting as a hub. From what I've been able to determine, the options for communications between the devices are:
Bluetooth
-Possibly available using a dongle, USB OTG cable, and enabling USB host mode as described here. This doesn't seem practical within the time/budget/scale of our application.
Wi-Fi
-Wi-Fi Direct would be ideal, but requires either Android 4.x or a patch/hack to enable it, which I haven't seen anyone working on (correct me if I'm wrong about this)
-Separate Wi-Fi hub to manage communications between the devices
Is there an alternative, implementable within reasonable time and cost, to facilitate device-to-device communications wirelessly and without additional separate hardware? My research hasn't turned up any solutions that aren't extremely awkward, but I'm relatively new to this, so hopefully someone has a better idea or knows of an obvious possibility that I'm missing.

rpi ad-hoc

As the title may suggest I want to create an ad-hoc network with my rpi. So far I've been successful in creating one with commands in terminal and I managed to connect a laptop using kali with ssh to my rpi using local ips like 10.0.0.2. But my original goal is to control my rpi with something more versatile like a tablet or an android device in general not just computers. So I have two questions:
-is it a hardware problem from the network adapters in the android devices that makes them unable to connect to the ad-hoc?
-is it a software problem instead so I should root my device or change the drivers in the android kernel?
-am I doing sth wrong with the ad-hoc configuration in the rpi?
Or is it sth I cannot think of that makes me fail?

[App] USB Reverse Tethering (Supports Lollipop, Windows, Mac, Linux, No root needed)

Hi,
I was constantly annoyed by the poor wifi signal when I had my devices connected to the computer, so I wondered why I could not use my computer's Internet connection on the Android devices when they were already connected via a USB cable. Extensive Google and XDA searches only showed solutions that would not work with recent Android versions, did not work with all Operating Systems, only worked sporadically or required the Android device to be rooted. I finally decided I had to develop my own solution.
I started to investigate, learned TCP, spent hours fixing nasty networking bugs, and finally, here is ReverseTethering NoRoot. The app runs on all Android versions starting from ICS. It does require a server program on the host computer, though that is available for Windows, Mac and Linux, and it does not have to be installed, it runs as a portable app without touching your registry or system files.
As the app does not require root permissions, there is no danger that it might mess up your system. The worst thing that might happen is that you have to reboot.
Because it implements its own network layer and does not rely on any system command line tools on the host, it works on the widest possible range of computers.
There is one drawback though: As with other reverse tethering solutions, some apps only check for a Wifi or 3G connection, so they might not recognize ReverseTethering's connection. Unfortunately, this applies to recent versions of some Google apps. E.g. while downloading apps from Google Play via the reverse tethered connection works on Android 4.1 on a Galaxy Note 8, it does not on Android 4.3 or Android 6.0.
Although untested, the workarounds for this issue that work for other reverse tethering solutions should also work for this solution.
I have opened a dedicated thread for the app in the Applications forum over here: http://forum.xda-developers.com/android/apps-games/app-reversetethering-noroot-t3316716
TL;DR: A reverse tethering app that works on Android 4.0+, all host OS and does not require root
Let me know if you have any questions, feedback or suggestions! :laugh::fingers-crossed:

Can Android act as a broadband dongle?

Hi! I originally posted this question in the Android Auto section- however its not really related to Android Auto since its more about networking - or internet sharing capability of android.
If I connect a "car-stick" such as https://www.onlineshop-skoda.de/index.php/carstick.html, the car (a Skoda Kodiaq) should be able to provide a wifi-hotspot.
I could simply enable internet sharing using my Samsung S9, but I guess the signal would be better if the cars built in wifi-hotspot capability was used.
The phone is connected via USB to the car.
Could the phone be configured in some way which would enable it to present the type of network interfaces similar to what the earlier mentioned car-stick presents?
//Erik
Your question is 100% not clear.
A recent broadband dongle is just a cellular phone w/o keyboard and display that shares the connection via USB networking.
Practically the same thing that an android Phone does when you enable the USB tethering.
The only relevant difference is that the former does that by default, while the latter requires a manual input.
BTW you can automate the usb tethering using tasker or some dedicated apps available on the store

Categories

Resources