Posts

  • Build a RasberryPI based ultrasonic distance sensing system

    RasberryPi pins

  • Build a RaspberryPi straming server

    Hardwares needed

    RaspberryPi 3B
    RaspberryPi Camera
    
  • Caves in My Hometown

    As we know, caves were sanctuary to humankind in remote ages. I always have a special feeling of caves, not because of their grand surprisingly formed structure or the shining stalactites they have, but the memories of them in my childhood.

  • Golang: Sort unordered slice list by element relations

    Code

    ``` package main

  • Ubuntu 16.04 network connection drops every few minutes or seconds

    My network info

    ray@ray-pc:~$ sudo lshw -C network
    [sudo] password for ray:
      *-network               
           description: Ethernet interface
           product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           vendor: Realtek Semiconductor Co., Ltd.
           physical id: 0
           bus info: pci@0000:03:00.0
           logical name: enp3s0
           version: 0c
           serial: 08:62:66:2f:cf:1e
           size: 100Mbit/s
           capacity: 1Gbit/s
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
           configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168g-2_0.0.1 02/06/13 ip=192.168.1.115 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
           resources: irq:26 ioport:e000(size=256) memory:f7c00000-f7c00fff memory:f0000000-f0003fff
    

    I have r81618 Ethernet controller, but the driver is r8169, this causes my Ethernet connection drops every few minutes or seconds, the network is very unstable.

subscribe via RSS