[Q] Ethernet Configuration Manager - Nexus 7 Q&A, Help & Troubleshooting

I have acquired and tested a USB-> Ethernet adapter on my Nexus 7. It works properly and is configurable via a terminal emulator. I need this thing to be easily configurable by people who are not all that familiar with the command line. Has anyone ported Linaro to the Nexus 7? Does anyone know of a way to enable the Ethernet configuration manager in the OEM firmware? I have tried a variety of apps, modifying the build.prop file and multiple alternate ROMs. None of them produced the configuration manager. Are there any developers willing to build a custom ROM for my purposes?

Related

[Q] ADDING RNDIS module for DROID x to enable wired tethering

I am trying to compile rndis gadget module to load on a DX or D2. If this works we can get wired tethering enabled on DX and D2 for computer with rndis host support.
Motorola's implementation of RNDIS is usbnet (motorola network inteface) which has driver's for windows but not for linux. The phones virtual usb ethernet can be made to show up on a windows machine by using the command on a rooted phone.
#echo 1 > /sys/class/usb_composite/usbnet/enable
With the right drivers from motorola, a virtual ethernet interface shows up on the windows machine with ip address range 192.168.16.x. If the routing tables on the phone are modified, we have wired tethering on windows machines only.
I downloaded the froyo kernel for the droidx but when i try to load the f_rndis.ko file i compiled, i get kernel tainted on dmesg. Anyone willing to help me with this?
sound great but W A Y beyond me
You will succeed...
are you succeed?
Does this have anything to do with the tun.ko filea? I think I may have seen someone elae working on something similar. Sorry if I'm way off!
Sent from my DROIDX using XDA App
gowthamj said:
I am trying to compile rndis gadget module to load on a DX or D2.
Click to expand...
Click to collapse
Gowthami
Any new developments with this? Did you or anyone ever get it to work?
I tried to do this myself and ran into issues. Granted it was the first time I ever attempted a "make" so I'm not sure I have much to add but this:
arch\arm\configs\sholes_defconfig was used as the config to make the tun.ko VPN module.
PleaseStirMe
Hi,
I just do it, compiling module to enable the /dev/usb0 to show up ! But It doesn't work; They add a module that unify usb ether,adb and mtp without include rndis support. Furthermore this is not a module so can't remove it from the kernel to load the good module.
Any ideas?

[Q] Is posible to connect a USB wifi to use backtrack5 in acer iconia a500

Is there any way to enable USB port using backtrack 5 (I used vnc, android terminal to get this backtrack working) to connect a USB wireless adapter to my iconia A500 and use backtrack 5 complete features?
probably not
If you are using the stock rom and kernel, then no. Linux in a chrooted environment uses the already-installed Android kernel to run, not a separate kernel, and the kernel modules for most USB devices including wireless cards are not included in the stock kernel.
I haven't used a non-stock kernel (yet), so I don't know if there are any non-stock rom/kernel combos that include additional kernel modules.
Thanks
nalf38 said:
If you are using the stock rom and kernel, then no. Linux in a chrooted environment uses the already-installed Android kernel to run, not a separate kernel, and the kernel modules for most USB devices including wireless cards are not included in the stock kernel.
I haven't used a non-stock kernel (yet), so I don't know if there are any non-stock rom/kernel combos that include additional kernel modules.
Click to expand...
Click to collapse
Thanks for the answer let me know if you find the way to it.
Bk8 said:
Thanks for the answer let me know if you find the way to it.
Click to expand...
Click to collapse
you mean a usb wifi dongle.....do you mean to use the "pentesting" tools in backtrack since most android phones lack monitor mode?
if so then yes but the work around isn't pretty and i wouldn't even try if your chrooting backtrack 5 and not dual booting it natively
ill type up the terminal codes if you really want them no guarantee that it will work when your not booting it natively and that it won't have compatibility issues
XD
Yes please type the codes
gears177 said:
you mean a usb wifi dongle.....do you mean to use the "pentesting" tools in backtrack since most android phones lack monitor mode?
if so then yes but the work around isn't pretty and i wouldn't even try if your chrooting backtrack 5 and not dual booting it natively
ill type up the terminal codes if you really want them no guarantee that it will work when your not booting it natively and that it won't have compatibility issues
XD
Click to expand...
Click to collapse
Yes I want to use pentesting tools with a usb wifi dongle, and please type the terminal codes I would like to test them. Thank you

[HOWTO] Enable Wired Ethernet on P5110

Dear Forum,
Wired Ethernet on a tablett HOWTO.
Tested on a P5110
Get ready to build CyanogenMod for Your Device
http : / wiki.cyanogenmod.org/w/Build_for_p5110
but before you build:
cd android/system/kernel/samsung/espresso10
make menuconfig
[Navigate using arrow keys and enter]
Load an Alternate Configuration File:
./arch/arm/configs/cyanogenmod_p5110_defconfig
then
Device Drivers ->
Network device support ->
USB Network Adapters ->
Multi-Purpose USB Networking Framework ->
[PRESS y so that the module will be built into the kernel]
[*] Multi-purpose USB Networking Framework
find the Chipset Your Adapter is using
[PRESS y]
[*] ASIX AX88xxx Based USB 2.0 Ethernet Adapters
or whatever Chipset your Adapter is using
exit and save
build the ROM
Flash it
open terminal
su
netcfg
Your eth0 should now show up to get an IP Address
netcfg eth0 dhcp
The grapevine says not all apps are supported as Android has a sketchy implementation apps written in c or c++ should work
martburg said:
Dear Forum,
Wired Ethernet on a tablett HOWTO.
Tested on a P5110
.....
The grapevine says not all apps are supported as Android has a sketchy implementation apps written in c or c++ should work
Click to expand...
Click to collapse
What would ./arch/arm/configs/cyanogenmod_p5110_defconfig be on a p3110?
Easier will be to flash Agni kernel and install this app from store. Is using a little hack so every app works with the wired connection https://play.google.com/store/apps/details?id=xda.usbhost.test
I"ve been scratching my head for a while on this one. Here's what I did to get ethernet access with the help from above. Thanks iamashwin and blueseeker.
1) From TWRP v2.8.4.0 in boot recovery, flash the following:
- Recent version of OmniRom 4.4.4 nightly. I used the 2/12/15 nightly.
- Flash PA Gapps Micro for 4.4.4
- Flash SuperUser
- Flash AGNi kernel for 4.4.4
- Reboot
2) Load this android app.
2) Make sure wifi is turned off.
3) Plug in your USB-OTG adapter with USB-Ethernet adapter. I bought this USB-OTG adapter and this USB-Ethernet adapter.
4) Run ethernet app that you downloaded from 2) above. Hit "Enable".
You should be good to go from here.....
Samsung Galaxy Tab 3 10.1" P5200.
Hello I want to get a similar configuration setup on my Samsung Galaxy Tab 3. Is there any way that modifications can be made to what's been used here to support it.

Galaxy Note 4 (SM-N910T) w/ LineagOS 15.1/NetHunter - Alfa AWUS036NEH not detected

First time posting, but I've read through dozens of threads and have used the site extensively. I cannot seem to find an answer to the issue I'm having. I had an old Galaxy Note 4 lying around and wanted to see if I could install NetHunter. After tons of trial and error, I was successful in flashing LineageOS 15.1, addonsu -15.1 arm, nethunter-generic-armhf-kalifs-full-rolling-2017.10-20171013-0449, and kernel-nethunter-generic-armhf-3.15.4-20170211-0304 (too new to post link of the NH builds). I have full chroot, updated busybox (v1.25-0-NetHunter) and SuperuserSU to manage root privileges. I had to install all of the tools (e.g., cspolit, DriveDroid, OpenVPN, etc.) individually, but they seem to be in working order.
My issue: I bought an external wifi adapter (Alfa AWUS036NEH) with a chipset (Ralink Technology Wifi Adapter RT2780) that supports monitor mode. The Wifi card appears to work flawlessly on my macbook with Kali distro, but I can't seem to find a way for the NH kernel on the Note 4 to recognize the adapter. In the kernel I flashed, I can see the rt2870.bin firmware required in the /system/etc/firmware folder, but for some reason Nethunter does not recognize the adapter. On most Nexus/NH builds, the wifi adapter is found to be compatible and is usually plug and play.
When I run:
-Kali terminal
-ifconfig
There is no wlan1. Only wlan0.
Same thing if I run iwconfig.
When I run:
-kali terminal
-airmon-ng
I receive a prompt that states:
Found phy0 with no interface assigned, would you like to assign one to it [y/n]?
-y
ERROR adding monitor mode interface: command failed: Operation not supported (-95)
No surprise, the above is indicating the embedded chipset does not support a monitor mode interface, but it doesn't even list the external adapter.
when I run: lsusb
Output shows the Ralink wifi adapter on bus 3:2.
I understand NetHunter was not built for LineageOS 15.1, but there has to be some way to maybe push the firmware or modify the firmware (I have the original firmware from the manufacture) to be compatible with my current build? Do I need to compile my own Kernel for this to work properly? Why doesn't the generic NH kernel, with the rt2870.bin file work?
Thanks ahead of time.
Have you tried using Magisk and flashing the Kali Nethunter module with that? It also includes multiple wireless firmware and I believe the correct one for your Alfa dongle. I too just bought that exact WIFI dongle and I'm still in the process of setting up Kali on my Note 4.
I had a similar issue as you on my OnePlus 5T even with the Magisk module for Nethunter. I'm going to try and find a different kernel because I think that's my issue on that phone.
My Note 4 is N910P but I'll let you know if I find something that works and maybe it'll help you find a way on your variant.

[SCRIPT][CLI][ROOT]mnet: a wifi repeater with captive portal

https://github.com/mnet-repo/mnet
https://github.com/mnet-repo/mnet have been working on this and its at a point where others may find use of it. I made it on lingeage based ROMs both 15.1(oreo) and 16(pie). I don't keep stock ROMs longer than it takes to enable developer settings and OEM unlock, so stock will need supplental binaries most likely. I'm willing to help if I can and I give contact info.
This uses python, I modded py4a to serve my functions, no apks no gui level anything(other than terminal emulator and hackers keyboard of course)it's self contained. python baseHTTPserver and iptables is the base. Lineage provides hostapd, dnsmasq, iptables, iw, etc. It works on motorola, lg, and rockchip devices that i tested on, all with lineage 15.1+ environments kernel 3.14 + the rockchip uses mainline 5.x kernel. It also works in a debian chroot, ask me if your interested and ill share my linuxdeploy conf and postinstal script to pull it off. Im sure it would work in termux, but I personally dont use that.
Try it out, the portable python2.7(I did both 2.7 and 3.7 and will put its components in individual repos, pip and other modules such as flask could likely work and do work before modifications. I simply changed config files and libraries to one folder and psuedo relative paths) and portal script can be adapted to the android system hotspot or any other hotspot method. The mnet script is not limited to wifi repeating, for example I got it to tether from a bluetooth internet connection bnep0(something similar) and also ethernet, usb tether(rndis) interfaces. Just specify the interface and an addressort within the subnet assigned to it to host portal on. The html code can of course be changed to your needs.

Categories

Resources