Replicant

[6.0004 on N7100] - Extra network doesn't work

I've just bought a wifi adaptateur using atheros AR7291 to use on my N7100 with replicant 6.0004, but it doesn't work.It well recognize by my phone. In the wifi menu, the MAC Address appears, but it doesn't discover any wifi network

I also bought an ethernet adaptator to connect my n7100 on my network with RJ45, but it also doesn't work...It appears as "eth0" with "ifconfig", but there is no IP address.

Thanks for your help !

Emmett

Replies (5)

I thought the wifi adapter had to be AR9271, not AR7291. Here's our wiki that lists devices that are known to work: https://redmine.replicant.us/projects/replicant/wiki/WiFiAdapter We haven't updated the docs yet related to how to use the usb wifi adapter without RepWifi, so please ignore that part because RepWifi is EOL. If you have a usb wifi adapter that is known to work, perhaps your otg cable or usb port on your phone has a hardware issue. Also, please let us know if your battery was fully charged or close to dead when you did this test. When it gets below 20% battery charge, wifi works less reliably.

I was just recently testing an ethernet adapter with my N7100 also and had the exact same issue. It doesn't seem like this feature worked on stock android on the N7100 based on my reading of old xda threads.

I'm sorry, my bad, the wifi adapter I bought is an AR9271, as the wiki suggest.So, normaly, it had to work.My OTG cable works with other devices, and my battery was nearly 100%I also tried with a cable with 2 usb A connector that allow to add extra power supply, but it didn't help

It says :I went real deep on a search to resolve this and figured out why my own ethernet connection wasn’t working for the browser or other apps.

It has to do with the routing table setup for Android. There’s a rule that causes the main routing table only be used for root (uid 0). As a result the non-root user that the phone applications are running under don’t see the routes that had been added and return with some form of “Network unreachable”.

I’m looking into it more, but this line got, entered via a root shell by way of adb, got most of it resolved:

One last thing to resolve :Conversation (and maybe other apps) considers that there is not internet connection if connection data is disable or if airplane mode is on, even if ethernet connection works with privacy browser for example. I don't know why.

I thought the wifi adapter had to be AR9271, not AR7291. Here's our wiki that lists devices that are known to work: https://redmine.replicant.us/projects/replicant/wiki/WiFiAdapter We haven't updated the docs yet related to how to use the usb wifi adapter without RepWifi, so please ignore that part because RepWifi is EOL. If you have a usb wifi adapter that is known to work, perhaps your otg cable or usb port on your phone has a hardware issue. Also, please let us know if your battery was fully charged or close to dead when you did this test. When it gets below 20% battery charge, wifi works less reliably.

I just made some test with the wifi adapter, and I observed strange thing.As I said, I'm using an AR9271. It works on my computeur, and my OTG cable works with other device.

When I connect my adapter, I can't see any network around.I tried to use an usb multimeter with my adapter on my computeur to know the energy consumption : 25mA sleep mode - Between 70 and 90mA while working.I do the same on my n7100, just to know if my phone is able to give enough power, and obviously, it can't give more than 70mA. But the stranger thing was my wifi adapter was able to see networks when it is used with the usb multimeter! It can't connect to my network due to an "authentification issue", but it seems to work better with my ubs multimeter.

The, I decided to try to do the same with my external GPS, just to know the energy consumption. While using my usb mutlimeter, the GPS in no more recognize.

So, is someone know the limit of power supply by OTG ?Why my usb multimeter changes the behaviour of my usb devices ?