Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Networking issues on Raspbery Pi

  • 18-02-2015 10:13PM
    #1
    Registered Users, Registered Users 2 Posts: 972 ✭✭✭


    Hi

    Greetz for all.

    I'm having some issues with my Raspberry Pi early B model with 256 Mb of ram.

    I have raspbmc latest build and it works fine except network.

    Here are some test i've done which are strange. Have raspbmc and nasbox with Centos7 on x86 PC, connected via a tplink or sitecom 10/100 non managed switch. Connection between both devices is slow and from raspberry pi very slow.

    raspbmc
    Linux raspbmc 3.12.31 #2 PREEMPT Wed Oct 29 09:24:56 UTC 2014 armv6l GNU/Linux

    user# speedtest_cli.py
    Retrieving speedtest.net configuration...
    Retrieving speedtest.net server list...
    Testing from Vodafone Ireland Limited (93.107.10.73)...
    Selecting best server based on latency...
    Hosted by Digiweb (Dublin) [70.69 km]: 21.116 ms
    Testing download speed........................................
    Download: 40.46 Mbits/s
    Testing upload speed..................................................
    Upload: 16.39 Mbits/s

    user# dd if=/dev/zero bs=125MB count=1 | nc 192.168.1.8 1122
    1+0 records in
    1+0 records out
    125000000 bytes (125 MB) copied, 152.161 s, 821 kB/s <<
    HERE IT IS

    user# dmesg | grep eth
    smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, xx:xx:xx:xx:xx:xx
    smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
    IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1


    nasbox
    user# speedtest_cli.py
    Retrieving speedtest.net configuration...
    Retrieving speedtest.net server list...
    Testing from Vodafone Ireland Limited (93.107.10.73)...
    Selecting best server based on latency...
    Hosted by Vodafone IE (Dublin) [70.69 km]: 15.289 ms
    Testing download speed........................................
    Download: 31.01 Mbits/s
    Testing upload speed..................................................
    Upload: 17.87 Mbits/s

    user# dd if=/dev/zero bs=125MB count=1 | nc 192.168.1.5 1122
    1+0 records in
    1+0 records out
    125000000 bytes (125 MB) copied, 10.8753 s, 11.5 MB/s <<
    a bit faster
    >>

    user# dmesg | grep eth
    [ 2.180078] r8169 0000:01:00.0 eth0: RTL8168c/8111c at 0xffffc900103c4000, xx:xx:xx:xx:xx:xx, XID 1c4000c0 IRQ 41
    [ 2.180092] r8169 0000:01:00.0 eth0: jumbo features [frames: 6128 bytes, tx checksumming: ko]
    [ 2.365345] systemd-udevd[260]: renamed network interface eth0 to enp1s0


    as you can see connection test on speedtest shows a much better speeds which is very strange.
    I suspected switch issues but on the other one is the same.

    Any thoughts ?

    Regards
    Tom


Advertisement