PINE64
Can we force the ethernet link to 100mbps? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Android on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=5)
+--- Thread: Can we force the ethernet link to 100mbps? (/showthread.php?tid=878)

Pages: 1 2


Can we force the ethernet link to 100mbps? - moondark - 05-01-2016

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.


RE: Can we force the ethernet link to 100mbps? - kermitas - 07-25-2016

(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.


RE: Can we force the ethernet link to 100mbps? - clarkss12 - 07-25-2016

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.


RE: Can we force the ethernet link to 100mbps? - kermitas - 07-25-2016

(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"). ]


RE: Can we force the ethernet link to 100mbps? - User 4127 - 07-25-2016

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.


RE: Can we force the ethernet link to 100mbps? - clarkss12 - 07-25-2016

(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.


RE: Can we force the ethernet link to 100mbps? - moondark - 07-25-2016

(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.


RE: Can we force the ethernet link to 100mbps? - kermitas - 07-25-2016

(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-0Pn6VesQ0-OWZTZkc5MDhjMjQ .


RE: Can we force the ethernet link to 100mbps? - User 4127 - 07-25-2016

(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-0Pn6VesQ0-OWZTZkc5MDhjMjQ .

I share that hope as will...gig Ethernet would be great too


RE: Can we force the ethernet link to 100mbps? - xalius - 07-26-2016

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?