Idea ~ HTC 3G to Router's USB Port - Windows Mobile Development and Hacking General

My router, the D-link DIR-655 has a USB port that you can plug 3G adapters into. I just wanted to share the idea in case some programmer wanted to try and develop a program to make it possible to plug HTC devices into the routers that have this feature. That way it would be possible to share a 3G connection from HTC devices with routers that have USB ports.
Thanks

Related

Use Mobile Phone as Wireless to Ethernet Bridge

Hi there,
I am looking for a phone that would allow me to join a wireless (wifi) network and then share the connection with an ethernet connected laptop.
I assume that I will need a phone that can accept either a USB or Compact Flash ethernet adapter.
Has anyone come across such a solution?
Regards,
Tim
99% of pocketpc's are usb slaves and cant ever connect actively to any usb device
but 99% of pocketpc's can work as usb and bluetooth modems for pc's
Unfortunately USB is not an option as we are in a secure environment and USB access is locked down on the laptops.
However you could use your phone connected to your computer with USB, bluetooth, or wifi then connect a hub to your computers LAN port then setup ics with your comp.

Connecting LG G2 to ethernet cable to use as a network port tester

Greetings all-
I am an IT professional and was thinking how handy it would be if I could just plug my phone into our wired ethernet network to test if a port, cable, switch, etc is working properly.
Goal: To plug my G2 into an ethernet cable and use one of the IP info apps (or packet sniffer apps) to do some network troubleshooting. Basically, I would want to know if DHCP is working on a port and what IP info the phone is getting.
I know they make ethernet testers that can be plugged into a wire for testing/troubleshooting purposes but these are expensive and can't do what an sniffer app can. Plus I always have my phone and can easily carry a few extra cables with me to make this happen.
Experiment: I bought thingy one and thingy two.
I plugged both of these into my phone and then connected the ethernet cable. I saw the link light come on, so I know there is at least some connectivity. However, I am not able to get any data to pass through to the phone. I set the phone to airplane mode (so it won't use any wireless networks) and try to access the internet and I get nothing. The G2 doesn't know how to use the ethernet connection.
Does anyone know how to make this work????
Thanks for any help you can provide!!
mrhumble1 said:
Does anyone know how to make this work????
Click to expand...
Click to collapse
Nope, but thinking it through should be possible. In short you just have to configure Android/Linux to use the 802.11 adapter on the USB port. Would be interested to know what the log files have when you plugged in to the G2. Suspect
1) You will need to be rooted
2) Would try get the LAN adapter working on a Linux desktop first then go back to the G2. If there are Win, Mac & Linux drivers should be possible why Android is 'limited' to ASIX AX88772 chipset needs to be understood though.
Good luck
You will have to write specific drivers for it. It isn't just convincing the kernel that your microusb port is your 802.11 port, because the technology is different. Ethernet doesn't have to worry about maintaining a connection over the air, but it does have to remember which wire is used for what. So it would need an actual driver written for it.
http://pockethernet.com/

Help needed to direct mobile LTE data to usb-c Ethernet adapter

Hi all....Long time lurker, former Nexus root junkie, now cruising on the V20.
I am a ham radio operator and I have ventured into the world of DMR radio. I have a SharkRF OpenSPOT. In short the OpenSPOT connects via Ethernet to allow radio communications, serving as a ultra low power repeater bridge.
OpenSPOT is plug and play on my home network, I just have to connect to http://openspot/ to connect to the web interface
My question is this, I would like to connect my OpenSPOT to my V20 I purchased a USB-C to Gigabit adapters (Aukey model CB-C39)
I am stock, with developer options turned on.
I have no handshake between the OpenSPOT and phone.
I have selected Ethernet-USB on in developer options.
Can anyone help me tether my LTE data to the OpenSPOT via USB to Ethernet, basically function as a router?
Bump... Anyone? Thx
Why are you trying to go usb to ethernet? Is it because your carrier doesn't include any tethering via WiFi? I run a DVMega with my V20 using the hotspot feature and since I'm a cheap bastard, I'm using the Ethernet WiFi adapter that I had for an old laser printer. Not as elegant but it works. I'll spend the $8 on Amazon for a USB WiFi adapter one of these days.
I bet you could fashion a case for your OpenSpot and an Ethernet adapter.
Yes, I would like to, for lack of a better description, use the V20 as both a ISP and router in one, designating a hardwired OpenSPOT a IP address via the usb-c Ethernet adapter instead of having to carry a router.
Given the lack of a simple fix and due to the fact that I can charge while using wifi tethering, I believe the nano router route may just be the logical setup.....

USB-C LAN adapter that work on 9T?

Does anyone have tested usb lan adapters with the 9T?
I used all the time a ASIX lan adapter in my old Moto X2 with Lineage OS, so i was wondering i anyone have a "working" adapter/IC with the 9T so i can get one for me?
thanks!
I tried LAN adapter on my mi 9t and i can confirm that sadly it doesn't work :/. It worked on my older Mi 4c but not on the recent models.
Dawidqo said:
I tried LAN adapter on my mi 9t and i can confirm that sadly it doesn't work :/. It worked on my older Mi 4c but not on the recent models.
Click to expand...
Click to collapse
good news! tried a "ASIX AX88178" usb 2.0 to gigabit adapter and worked fine! don't know if is only this one, but i think newer asix usb 3.0 will work too (usb on this phone is 2.0 only)
can scan LAN and get internet from it. just need to connect on a network with DHCP ( i don't think you can set manual ip on lan on android)
beware of cheap otg adapters, some of them (tiny dongle) does not have all GND and VCC pins, so they don't get a proper "multiple connection" pins to get better amperage from phone. usb lan adapter can use a bit of power from phone
malowz said:
good news! tried a "ASIX AX88178" usb 2.0 to gigabit adapter and worked fine! don't know if is only this one, but i think newer asix usb 3.0 will work too (usb on this phone is 2.0 only)
can scan LAN and get internet from it. just need to connect on a network with DHCP ( i don't think you can set manual ip on lan on android)
beware of cheap otg adapters, some of them (tiny dongle) does not have all GND and VCC pins, so they don't get a proper "multiple connection" pins to get better amperage from phone. usb lan adapter can use a bit of power from phone
Click to expand...
Click to collapse
Hi, can you tell me the steps to follow to make it work? I have a Mi9t Pro and a USB Lan X88179 adapter connected to an OTG to the mobile, but the internet does not work. How did you do it?
Can you explain this part to me?
"can scan LAN and get internet from it. just need to connect on a network with DHCP ( i don't think you can set manual ip on lan on android)"
Thank you.
Hi, i used a otg adapter cable (make sure it works correctly with a thumb drive for example, to make sure every thing is ok and detect the device)
then i just connected the lan adapter. i would appear as if it is not working, but you need to connect to a network router/switch/etc with the cable and the leds should light up on the lan adapter. to "properly" work, you need to connect to a device with DHCP enabled (by default all lan routers have this) so it will give the phone a IP and work normally. (a network icon should appear on the notification bar)
then you can disable wifi and see if there is internet (if have it in the router) or use the network analyzer to scan the network (if it detect the device and work, you will be able to scan the network and find the devices on it)
malowz said:
Hi, i used a otg adapter cable (make sure it works correctly with a thumb drive for example, to make sure every thing is ok and detect the device)
then i just connected the lan adapter. i would appear as if it is not working, but you need to connect to a network router/switch/etc with the cable and the leds should light up on the lan adapter. to "properly" work, you need to connect to a device with DHCP enabled (by default all lan routers have this) so it will give the phone a IP and work normally. (a network icon should appear on the notification bar)
then you can disable wifi and see if there is internet (if have it in the router) or use the network analyzer to scan the network (if it detect the device and work, you will be able to scan the network and find the devices on it)
Click to expand...
Click to collapse
My otg works by putting the usb memory (yes, it detects it, so OTG is right).
When I connect USB lan adapter (AX88179) to the OTG, the operation lights do not light. And the network icon does not appear on the mobile, and I havent internet. (However, with another Huawei mobile and the Huawei tablet the lights do turn on, the network icon appears, and the internet works via ethernet).
My router is connected in DHCP.
What could be the problem? I need to connect the 9t pro by cable but I can't find the way.
I thought it could be a problem with Xiaomi and 9t pro, but if you connect your 9t I suppose it is possible.
Why don't you use some small modem?
yaro666 said:
Why don't you use some small modem?
Click to expand...
Click to collapse
you mean connect the ethernet cable directly to a small modem and this via USB to the mobile? it would be to use the modem instead of the lan adapter, right? it's a good option, I can try it to see if it works for me.
But I still have the doubt as to why in Mi 9t pro the lan adapter does not work
perhaps the AX88179 is not supported... i tested mine ( AX88178 ) with MIUI and LineageOS and works on both,
malowz said:
perhaps the AX88179 is not supported... i tested mine ( AX88178 ) with MIUI and LineageOS and works on both,
Click to expand...
Click to collapse
Hello, I have gone to the Xiaomi store and another to fix mobile phones, in both they have told me that the ethernet option through an adapter to the 9t pro is not possible because my USB is only for transferring photos, videos (pendrive) but it is not compatible with connections. In developer options, the RNDIS option (USB ethernet) does not appear, which would be the one you would have to have to be able to do it. Do you have the RNDIS option in 9T? it would be: developer options -> default USB settings
RNDIS is for using usb <>usb connection to a computer and make a network over usb, NOT a usb lan adapter.
if usb support OTG (send power via usb to connect a device like usb pendrive) it means it "can" support any usb device, but depend only on the device to have drivers and support for the type of device.
Again, i've tested mine in MIUI and Lineage, and works fine. will post a video showing...
malowz said:
RNDIS is for using usb <>usb connection to a computer and make a network over usb, NOT a usb lan adapter.
if usb support OTG (send power via usb to connect a device like usb pendrive) it means it "can" support any usb device, but depend only on the device to have drivers and support for the type of device.
Again, i've tested mine in MIUI and Lineage, and works fine. will post a video showing...
Click to expand...
Click to collapse
Thank you for your answers. In the Mi community forum, users have the same problem as mine, updates from MIUI 10 do not work for the ethernet option (my MIUI is 12.0.3.0. Another girl asked Xiaomi directly and in an email They answered that they had eliminated that option for not going "with their philosophy" (they are also eliminating the headphone jack connection in many mobiles, it can only be used by bluetooh). This is the general trend, I cannot find anyone who has found a solution Only you! Even in this forum there is a thread about rooting the mobile to make it work with ethernet (but it is too complicated for me). Also other people on the forum work the lan adapter by activating RNDIS in the developer options.
So far, none of this has worked for me.
Summary: Since I don't know exactly what the problem or compatibility is, I am going to try the AX88178 lan adapter. So, wish me luck!
Video (sorry for the low quality, i only have a very old extra phone)
malowz said:
Video (sorry for the low quality, i only have a very old extra phone)
Click to expand...
Click to collapse
Hello! I'm writing to you from my Xiaomi 9t pro in airplane mode with an ethernet cable connected. You were finally right, now it works with the AX88178!! Thanks thanks!!!
Great! if anyone knows a 10/100 adapter that works too with 9T, please share.
10/100 are slower, but consume less power. would be nice to have the option
malowz said:
Great! if anyone knows a 10/100 adapter that works too with 9T, please share.
10/100 are slower, but consume less power. would be nice to have the option
Click to expand...
Click to collapse
This is mine https://www.amazon.es/Plugable-USB2...(“chipset”+ASIX+AX88178&qid=1611769255&sr=8-2
evamel5 said:
This is mine https://www.amazon.es/Plugable-USB2-E1000-Adaptador-Ethernet-Negro/dp/B003VSTDFG/ref=mp_s_a_1_2?dchild=1&keywords=(“chipset”+ASIX+AX88178&qid=1611769255&sr=8-2
Click to expand...
Click to collapse
mine is the same, without the case. but this one is gigabit over usb 2.0 (max around 400mbps).
a 10/100 would be enough for me, smaller and with less power consumption. will try to find a compatible chip from asix perhaps in the future
AX88179 = usb 3.0, yours that wasn't working
asix has these usb 2.0 to 10/100 lan IC's:
AX88172A
AX88772A
AX88772B
AX88772C
will try to find any in Brazil.
something like this:
Amazon.com: USB to RJ45 LAN Ethernet Adapter 100Mbps USB to RJ45 LAN Converter 10M 100M with Asix AX88772B AX88772 Chip (Type C to RJ45) : Electronics
Buy USB to RJ45 LAN Ethernet Adapter 100Mbps USB to RJ45 LAN Converter 10M 100M with Asix AX88772B AX88772 Chip (Type C to RJ45): USB Network Adapters - Amazon.com ✓ FREE DELIVERY possible on eligible purchases
www.amazon.com
or this:
Amazon.com: Plugable USB 2.0 to Ethernet Fast 10/100 LAN Wired Network Adapter Compatible with Chromebook, Windows, Linux: Computers & Accessories
Buy Plugable USB 2.0 to Ethernet Fast 10/100 LAN Wired Network Adapter Compatible with Chromebook, Windows, Linux: USB Network Adapters - Amazon.com ✓ FREE DELIVERY possible on eligible purchases
www.amazon.com
i will test hubs and network + hub in the future also
EDIT:
If connecting on a network without DHCP, you can add manually the ip by using "ifconfig eth0 192.168.1.100" in termux for example. i believe needs root for that. ("su" before running ifconfig)
without setting manual ip on network without DHCP, the network won't work .
EDIT2:
my brother has the tp-link usb 3.0 to gigabit USB adapter, also did not work. The chip is Realtek RTL8153.
malowz said:
mine is the same, without the case. but this one is gigabit over usb 2.0 (max around 400mbps).
a 10/100 would be enough for me, smaller and with less power consumption. will try to find a compatible chip from asix perhaps in the future
AX88179 = usb 3.0, yours that wasn't working
asix has these usb 2.0 to 10/100 lan IC's:
AX88172A
AX88772A
AX88772B
AX88772C
will try to find any in Brazil.
something like this:
Amazon.com: USB to RJ45 LAN Ethernet Adapter 100Mbps USB to RJ45 LAN Converter 10M 100M with Asix AX88772B AX88772 Chip (Type C to RJ45) : Electronics
Buy USB to RJ45 LAN Ethernet Adapter 100Mbps USB to RJ45 LAN Converter 10M 100M with Asix AX88772B AX88772 Chip (Type C to RJ45): USB Network Adapters - Amazon.com ✓ FREE DELIVERY possible on eligible purchases
www.amazon.com
or this:
Amazon.com: Plugable USB 2.0 to Ethernet Fast 10/100 LAN Wired Network Adapter Compatible with Chromebook, Windows, Linux: Computers & Accessories
Buy Plugable USB 2.0 to Ethernet Fast 10/100 LAN Wired Network Adapter Compatible with Chromebook, Windows, Linux: USB Network Adapters - Amazon.com ✓ FREE DELIVERY possible on eligible purchases
www.amazon.com
i will test hubs and network + hub in the future also
EDIT:
If connecting on a network without DHCP, you can add manually the ip by using "ifconfig eth0 192.168.1.100" in termux for example. i believe needs root for that. ("su" before running ifconfig)
without setting manual ip on network without DHCP, the network won't work .
EDIT2:
my brother has the tp-link usb 3.0 to gigabit USB adapter, also did not work. The chip is Realtek RTL8153.
Click to expand...
Click to collapse
thanks! Yes, it consumes battery. the option you say would be good. I want to ask you something: on the box of the pluggable USB 2.0 it says: warm cancer and reproductive, for p65 California. I have read that it may be from the lead. Is that why you don't have the case on your adapter?
evamel5 said:
thanks! Yes, it consumes battery. the option you say would be good. I want to ask you something: on the box of the pluggable USB 2.0 it says: warm cancer and reproductive, for p65 California. I have read that it may be from the lead. Is that why you don't have the case on your adapter?
Click to expand...
Click to collapse
???? no... its because the original cable was bad and i soldered a new one... as i didn't like the bulk case, i just put heat shrink tube and glue
malowz said:
???? no... its because the original cable was bad and i soldered a new one... as i didn't like the bulk case, i just put heat shrink tube and glue
Click to expand...
Click to collapse
Ahh ok!! Here de message in box.

Galaxy A40 Ethernet Tethering

Hi guys, I have an old Galaxy A40 and I like to share its wi-fi conecction ovet ethernet. I tried with an USB type-c Hub but I can't turn on the USB tethering option and the ethernet option in the menù is only for input connection. It's a problem with some missing drivers or I need an ethernet-USBC adapter? (I use the HUB with my new OnePlus and it's ok but on OnePlus I have the Ethernet Tethering option that missing in the A40)
I'd like to share the connection with a router and I can't use USB ports because the router doesn't allow me to use a smartphone as input.
Hope someone can help me. Thanks.

Categories

Resources