Can we force the ethernet link to 100mbps?
#1
Like other people here, I'm experiencing problems with the network connection when using gigabit ethernet on Android 5 (and Remix OS). The connection becomes unreliable and very slow. On Remix OS I can use my USB/Ethernet dongle, this does not work on Android.

Since a rooted image of Android is now available, I have been trying to force the eth0 link to 100mbps without success.

What I did was:

su
ifconfig eth0 media 100baseTX

Tried also several other strings such as 100, 100baseT, etc.. no go.

Someone knows which mode correspond to the 100mbps mode?
Ethtool may help on this? How to install it?


This may be a good workaround for people without wifi card and that can't change downgrade the speed on the router.

Thanks.
#2
(05-01-2016, 03:59 PM)moondark Wrote: Like other people here, I'm experiencing problems with the network connection when using gigabit ethernet on Android 5 (and Remix OS). The connection becomes unreliable and very slow. On Remix OS I can use my USB/Ethernet dongle, this does not work on Android.

Since a rooted image of Android is now available, I have been trying to force the eth0 link to 100mbps without success.

What I did was:

su
ifconfig eth0 media 100baseTX

Tried also several other strings such as 100, 100baseT, etc.. no go.

Someone knows which mode correspond to the 100mbps mode?
Ethtool may help on this? How to install it?


This may be a good workaround for people without wifi card and that can't change downgrade the speed on the router.

Thanks.
Hello,
I also have this problem. I am donating my Pines to BOINC/WorldCommunityGrid/Zika+Ebola+etc and I need Android for that.

As I have also one Pine64 with Ubuntu I could easily do "ethtool -s eth0 speed 100 duplex full" and ethernet connectivity (with my 10/100/1000 switch) works better.

Unfortunately I could not find anything like ethtool for Android :/.

@moondark, were you been able to solve this problem somehow?

Anybody - how can we set ethernet speed to 100Mbit on Android? (I was trying to find good place for that by analyzing files on SD car but I could not find any good place to start).

Thank you for any help on that.
#3
The best solution would be for Pine to get the Ethernet gigabit port working, rather than trying to cobble something up to make it work. They should stop all development on everything, except getting this Ethernet problem solved.
#4
(07-25-2016, 07:46 AM)clarkss12 Wrote: The best solution would be for Pine to get the Ethernet gigabit port working, rather than trying to cobble something up to make it work.  They should stop all development on everything, except getting this Ethernet problem solved.

You are completely right!

[But till this moment I would be happy if somebody can share software workaround for Android (for non-Android we can simply do "ethtool -s eth0 speed 100 duplex full"). ]
#5
While I agree that Pine needs to get this fixed, in the meantime I did this http://forum.pine64.org/showthread.php?tid=1739 and its fixed the problem. Patch cables are cheap enough that I was willing ruin one to start playing around with this thing.
#6
(07-25-2016, 01:31 PM)dogger Wrote: While I agree that Pine needs to get this fixed, in the meantime I did this http://forum.pine64.org/showthread.php?tid=1739 and its fixed the problem. Patch cables are cheap enough that I was willing ruin one to start playing around with this thing.

I tried, but it did not work for me, for some reason.
#7
(07-25-2016, 02:03 PM)clarkss12 Wrote:
(07-25-2016, 01:31 PM)dogger Wrote: While I agree that Pine needs to get this fixed, in the meantime I did this http://forum.pine64.org/showthread.php?tid=1739 and its fixed the problem. Patch cables are cheap enough that I was willing ruin one to start playing around with this thing.

I tried, but it did not work for me, for some reason.

Cutting the cables solved the problem for me. Unfortunately, this is not a fix, we are still 100mbps, and it seems that this solution does not work for everyone.
#8
(07-25-2016, 01:31 PM)dogger Wrote: While I agree that Pine needs to get this fixed, in the meantime I did this http://forum.pine64.org/showthread.php?tid=1739 and its fixed the problem. Patch cables are cheap enough that I was willing ruin one to start playing around with this thing.

I know your thread very well, thank you for sharing!
I still have a hope that I will not need to destroy those beautiful blue patchcords https://drive.google.com/open?id=0B-0Pn6...kc5MDhjMjQ .
#9
(07-25-2016, 02:49 PM)kermitas Wrote:
(07-25-2016, 01:31 PM)dogger Wrote: While I agree that Pine needs to get this fixed, in the meantime I did this http://forum.pine64.org/showthread.php?tid=1739 and its fixed the problem. Patch cables are cheap enough that I was willing ruin one to start playing around with this thing.

I know your thread very well, thank you for sharing!
I still have a hope that I will not need to destroy those beautiful blue patchcords https://drive.google.com/open?id=0B-0Pn6...kc5MDhjMjQ .

I share that hope as will...gig Ethernet would be great too
#10
I just checked if the Allwinner GbE MAC driver has a parameter for link speed, but it doesn't, otherwise we could have passed that as a boot-argument to the Linux kernel on the Android image... are you running the latest Android release?
Come have a chat in the Pine IRC channel >>


Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there another link for Android images? Maalth 3 6,936 10-10-2019, 07:57 AM
Last Post: tophneal
  Possible to simultaneously connect to ethernet & wi-fi? wahdooyah 3 4,500 01-26-2018, 06:57 PM
Last Post: dkryder
  2nd ethernet in PINE64 with android daniele 2 4,007 12-07-2017, 05:09 AM
Last Post: daniele
  No Ethernet on Andriod rvalecruz 5 6,603 05-05-2017, 01:59 AM
Last Post: Quezbeme
  My Hacky ethernet fix anarchyuk 21 30,630 11-20-2016, 12:01 PM
Last Post: waldo
  Lost Ethernet hatman28 13 16,771 11-10-2016, 09:05 PM
Last Post: pfeerick
  ethernet does not work with Android 5.1.1 Image Release 20160711 (Known Problem) mathiraj 18 23,474 10-29-2016, 04:31 AM
Last Post: joe
  Android Ethernet Problem a5467021 11 17,038 08-01-2016, 07:41 PM
Last Post: a5467021
  Android Issues; 4K, Ethernet, Plex kikootwo 6 7,537 07-10-2016, 12:23 AM
Last Post: yusijs
  Android and Ethernet W1SPY 54 70,254 07-07-2016, 01:48 AM
Last Post: Absum

Forum Jump:


Users browsing this thread: 1 Guest(s)