S6 Edge- Assign a static ip for ethernet over otg - Galaxy S6 Edge Q&A, Help & Troubleshooting

Pls someone explain me how to assign static IP for ethernet adapter connected via usb otg. And i just a noob in terminal emulator (programming);
Ethernet Adapter - eth0
Phone- S6 edge
For me "netcfg" doesnt work, but "ifconfig" works.
I have seen this answer is stackoverflow but didnt understand and it shows syntax error. So someone pls help me.

Related

[Q] USB Ethernet OTG missing eth0

From the other threads I have read, other android devices have had USB ethernet working, but they didn't go into details, as it should 'just work'. My end goal is to allow my phone to access the internet at work using a wired connection to my windows workstation running internet connection sharing.
I have a working Monoprice 100mbit USB adapter (id = 6150) using the well known linux compatible asix AX88772 chip
I have tried connecting the adapter directly, and with a powered USB hub. Same result. USB thumbdrive with hub works, so the cables all work.
I get the following dmesg pastebin.com/mdttaDmq which looks hopeful, as it detects the ASIX chipset no problem.
I ran adb netcfg while adapter connected, but there is nothing new there... pastebin.com/7nN5MY08 (shouldn't an eth0 or usb0 show up?)
I have a Galaxy S3 i747M stock 4.0.4 ICS rooted, any help would be greatly appreciated
one of the articles mentioning it just working,
http://forum.xda-developers.com/showthread.php?t=1792245
Solved my own problem since I got no hits.
http://forum.xda-developers.com/showthread.php?p=37548841#post37548841

[Q] [Tasker] Ethernet Control

Hi, I have a MK808 which I have connected to a usb to ethernet converter. I boot directly into XBMC, but the ethernet connection can be a little flakey. Sometimes on boot it connects to the ethernet fine but other times it doesn't and I need to go into setting and switch the ethernet off and back on and that works.
My idea is to have tasker switch the ethernet off and on just after booting so that I can be assured it would work every time, but I can't see any ethernet option in tasker does anyone know a way of doing this.
Thanks
BW

Memo Pad 10 FHD and USB network interface

Hi,
how i can use a usb ethernet adapter on any tablet?
I only have to create usb net device driver, load it and get the interface.
But now the dhcp is not working!
But why?
How can i get the adapter working with dhcp if i plug it in?
Is there a trick inside the kernel oder android 4.2.2?
PLEASE HELP!
Big big thanks
Bye

[Request] Ethernet Support from Note 10.1 pro, wirh the Adapter ( Usb, Ethernet)...

Hi People......i search a long time for an adapter, that can charge and use Usb on the Note 10.1 2014 (p600) at the same time.....no docking station do this, and all other adapters don't, cause the pins are channeled otherwise than on other devices......don't know why....but the adpater from Note Pro 10.1 with ethernet does.....but if i connect an ethernet Cable to it, nothing happens, cause (i think), Android has no Protocol to give a dhcp Adress to an ethernet device, and set the wifi Adapter off....
l found a tool for Nok 3, but I'm not sure, that will work on a P600. But on a mobile , it will not be needed as on a tablet ...
Anyone got an Idea to convert the ethernet drivers from Note Pro to the P600 kitKat ?
Sony for my ugly English
If you're rooted, this app should work: https://play.google.com/store/apps/details?id=xda.usbhost.test
I've never tried it with the Samsung branded ethernet adapter from the PRO series tablets, but I've used it in combination with an OTG cable and a generic USB to ethernet adapter, so it should work.
Thx a lot man......by the way, this is the same app, i wrote in the OP, i read about in the Note 3 Forum......i try and report
Result. ...is really strange.......the app accept the adapter, and get an ip adress...... ( it's a network Connection, coming from a router)....status gets to enabled, but i get no Internet Connection. ...strange.....i guess, Wifi have to be off. I also try to set the ip adress manually, also Router and Subnet Mask, but the same result, if i open a browser, no connection to the internet. Super SU Version is 2.02 .....any ideas?

Galaxy S7 Edge problem with USB 3.0 to Gigabit Ethernet Adapter

Hi guys,
i hope some of you can help me.
I want to connect an OBDII cable to my phone. Its a ENET Cable, so I need an OTG/Ethernet Adapter. I have ordered the Rankie USB 3.0 Netzwerkadapter in black. I cant post links, but if you put this in the search in amazon its the first.
But the S7 Edge doesnt support ethernet, or? I cant find ethernet settings. So I flashed the kali nethunter kernel and opened the terminal emulator. With lsusb my ethernet adapter doesnt appear. Can someone help me? I think if the ethernet adapter appear, I can connect it to my car.
edit: Now I used an other third otg micro-usb to usb adapter and now my ethernet adapter appears, its a RTL8153 from Realtek. But how can I use it? I have no ethernet settings.
thanks in advance
Does nobody know an ethernet app or the shell command to get the ethernet working?
Ok, I dont think that here aren't users who know a solution. What I have done yet:
I got the adapter working, but only in terminal emulator. When I type lsusb it recognizes my adapter. Its a realtek RTL8153.
Then I connect my network cable and type: dhclient eth0
for test: ping -n 3 <address>
I get answers, e.g. from google. So the connection built up. But when I go to the browser or google play, it says no connection? I think, the phone and apps depends on 4G or wlan0. How can I force eth0? I need the decisive command.
For the static ip I would use: ifconfig eth0 <ip> netmask 255.255.255.0 gw <gw_ip>

Categories

Resources