Other OS

Debian Wheezy with slowly network traffic

4 3880
rout86  
Hi Guys,
today I have one question about the network driver on my banana pi. I´ve installed debian wheezy on my banana pi successfully but the network traffic is very slowly.

Ping Answers very slowly, ssh connect is ok but sometimes the connection is lost. On raspbian image the network performance is very great.

Does anyone have similar experiences?

Greetings
1.  What kernel are you using and where did you get it?
2.  Install ethtool and what is the result of "ethtool eth0"?
3.  What type of router or switch are you connected to, 100 Mb or 1Gb?
It sounds like you are using the old kernel source.  You can copy the uImage from the raspbian image to wheezy, the /lib/modules, and /lib/firmware also.  You can also build from the new kernel source.  Remember to place the uImage in the first vfat partition and /lib firmware and modules in the second ext4 partition.

rout86  
1.  What kernel are you using and where did you get it?
uname -a linux debian 3.4.86-dirty #7 SMP PREEMPT Sun Apr 13 14:46:04 CST 2014 armv7l GNU/Linux

2.  Install ethtool and what is the result of "ethtool eth0"?
I cannot output ethtool because my ssh session is connecting but very slowly. If I start ethtool on my direct console Speed 1000 Mb/s Duplex: Full Auto-Negotiation: on
In my opinion thats ok
3.  What type of router or switch are you connected to, 100 Mb or 1Gb?
Gbit Switch is connected


I want to test to copy uImage and modules and firmware from raspbian image and give feedback.

I´ve installed my debian with the following howto / http://cbwebs.de/single-board-co ... -on-your-banana-pi/

1.  What kernel are you using and where did you get it?
uname -a linux debian 3.4.86-dirty #7 SMP PR ...
rout86 Posted at 2014-7-27 13:16


That looks like an older kernel without the latest gmac driver.  If that's the one on cbwebs downloads, he might not have updated it.  That's why he mentions building a new one.  The latest is 3.4.90 or 3.4.90+, depending if you build it or copy it from an image as of this writing.  You can get it from the image using the instructions from this:

http://forum.lemaker.org/viewthread.php?tid=349&page=1&authorid=1462

or build it using the lemaker instructions on the wiki, I have debian wheezy using linaro as mentioned here, among others:

http://forum.lemaker.org/viewthread.php?tid=1711&page=2&authorid=1462

If you are using the script.bin from that download, you may consider updating the led information for the green led, use ph24, and disabling auto loading of otg module due to apparent cpu load "[size=1em]usb_detect_type = 0".  See:


http://forum.lemaker.org/viewthread.php?tid=1567&page=2&authorid=1462

rout86  
thanks for your help an tips. After updating Kernel my network performance is OK

You have to log in before you can reply Login | Sign Up

Points Rules