I have a 2gb pine64 board. I have managed to load up remixos and android on it without issues. However i found that the NIC does not connect well when using long cables. I have cat6 cables going throughout the house and when i connect the pine64 directly to my router with a 2-3m network cable it works and connects fine. However when i move it to my living room where i would like the device to be, it doesn't connect. On remixos i can see that it gets an ip address, but does not connect to the internet or even the router page. Is there a design flaw for the NIC or would it be android related?
08-05-2016, 04:07 PM
(This post was last modified: 08-05-2016, 04:08 PM by wanthalf.)
I have the same problems using debian linux image. Sometimes it turns on, but mostly not, at least if the cable is longer. I also use Cat6 (PremiumCord) cables. Somehow I had no problem at my office, where the cables run a long way from the switch. I suppose the cables are Cat5 there. Is this some hardware issue?
I just bought a new 10 meters cable to run the pine in the next room and now I am pretty puzzled... it does not work, mostly. Even reconnecting to a shorter cable does not activate the port. I have to power the Pine off, connect a short cable and power on. When the port activates, I can reconnect to the longer cable again, but that would be not of much help if I really moved the Pine further away...
08-05-2016, 10:09 PM
(This post was last modified: 08-06-2016, 12:24 AM by MarkHaysHarris777.)
Use a cat6 cable, and force it to 100mb/s
sudo ethtool -s eth0 speed 100 duplex full
.
marcushh777
please join us for a chat @ irc.pine64.xyz:6667 or ssl irc.pine64.xyz:6697
( I regret that I am not able to respond to personal messages; let's meet on irc! )
Which startup script do you suggest in order to start it in good time? Anyway, I hope it is just a software problem and not a hardware one, like someone suggested - that would be a serious disappointment, even though I agree that I do not expect Pine to be able to process and stream data at any (much) higher speeds than 100mbps.
Where should I put the ethtool call? It does not really help to have it in rc.local.
Where you place the ethtool call is up to you... depending on when you need things connected to the Internet; including to after boot-up entirely... manually. Its up to you.
marcushh777
please join us for a chat @ irc.pine64.xyz:6667 or ssl irc.pine64.xyz:6697
( I regret that I am not able to respond to personal messages; let's meet on irc! )
No, it isn't. When the driver is loaded, it either detects the carrier and runs at 1Gbps, or it doesn't and then it doesn't run at all. Anything done later won't change it. Unfortunately, I haven't enough time to experiment with this. But I hope someone finds out... Thanks.