How to enable adhoc networking on LineageOS - Android Q&A, Help & Troubleshooting

I have read that the official Android kernel support for adhoc had been stripped. I have a Samsung Galaxy Tab S2 running LineageOS 16.0 and I am trying to connect it to an adhoc network so I can run BATMAN mesh network on it.
Somehow I was able to establish an adhoc connection to my RaspberryPi via adb shell commands but it is rather unstable and crashes after a while due to errors in the kernel (it is long I can post it if anyone is interested).
Do you know if there exist any way to re-enable adhoc networking support for Android devices?

Related

[Q] Ad hoc issues

I have successfully overwritten the wpa_supplicant and I am able to see my ad hoc network created from my windows 7 pc. It was stuck on an endless loop of obtaining ip address. I then changed to a static ip, and at this point my phone connects to the open ssid, but the pc still says waiting for connection.... in other words it does not work.
I have used and tried the custom sII and the international note's wpa_supplicant to enable ad hoc, and I am wondering if using a wpa_supplicant for the international note on my ATT note is a bad idea.
I am on stock rom and rooted with superuser access

[Q] Reverse tethering does not work due to passwordprotection

I get an administration password request when I use reverse tethering in library. Xposed module does not solve it nor does USB tunneling. I use Archidroid 2.2.4 on I9300. CM 10.2
Using wifi & internet is free in library, but prefer download speed computer & charging. Debugging is turned on and adb is referred to by running software on windows 95. drivers could not be placed in system directory.

[Q] Nexus 9 (wifi only) hotspot

I am wanting to create a wifi hotspot with a Nexus 9 (wifi only) 5.0.1 - rooted.
My reasoning is to be able to create a mobile local wifi network - for other devices to connect to and communicate - no internet access is required.
Being the wifi only version there is no interface in the UI.
I have attempted to start hostapd via adb with no success - hostapd reports a driver initialization failure.
and no idea how the dhcp server will function.
Does any on know if this is possible .... without installing a custom rom.
Cheers,
Iain

University(Restricted) WiFi(PEAP-MSCHAPv2) connects from android 6.0 but not 5.x ?

My university WiFi uses PEAP-MSCHAPv2 TLS, the university deliberately blocked the access of internet from android devices(<=5.x) through the WiFi network, but both windows and iOS devices are able to access the internet from the same WiFi network, I wonder how exactly did they do so ? But recently I have discovered another loophole that devices running on Marshmallow can(also) access the internet. Can anyone tell me what the difference in the WiFi protocol used in 6.x and 5.x, since first is able to access and the later ain't !
NOTE: On android <= 5.X it connects but no internet access!

Can't see USB devices, linux deploy

Hi All, I've got a Samsung Galaxy Grand Prime (SM-G530W) running Cyanogenmod 12. I put linux deploy on, with a debian arm64 stable release. Everything seems to be working, I can ssh and VNC in, but I can't seem to see any USB devices.
In both an ADB shell session, and through ssh into the debian install, lsusb doesn't return any devices. When I run ls /dev | grep usb from either place I get:
android_ssusbcon
mtp_usb
usb-ffs
usb_accessory
usb_ext_chg
usb_ncm
My ultimate goal is to be able to connect a 3d printer through debian, but I need to be able to see USB devices first. Any help would be greatly appreciated, perhaps there is a better forum to post this in?
Thanks, Ivan
Was a resolution found to this problem? I am seeking to connect a standard printer to my Samsung Galaxy s5 with a CUPS server and am seeing the same issue
Are you trying to connect the printer using an OTG adapter and USB host mode on your device?
Usually the permissions are the biggest problem to seeing things.
You could try my UsbMode.apk (in the sig) to see if you can see anything.
You might just use a print server on your WiFi network.

Categories

Resources