Skip to content

Instantly share code, notes, and snippets.

@Informatic
Last active August 9, 2017 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Informatic/196a1e0a1438940d68d45d9ab54015f2 to your computer and use it in GitHub Desktop.
Save Informatic/196a1e0a1438940d68d45d9ab54015f2 to your computer and use it in GitHub Desktop.
# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:29
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
# ifconfig eth0 10.0.0.2 up
[ 13.772931] dwmac-sun8i 1c30000.ethernet eth0: device MAC address 7e:f2:de:3c:f1:5e
[ 13.781200] Generic PHY stmmac-0:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:01, irq=-1)
[ 13.792869] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[ 13.800525] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
# ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1): 56 data bytes
^C
--- 10.0.0.1 ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss
# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 7E:F2:DE:3C:F1:5E
inet addr:10.0.0.2 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:29
# dmesg | egrep -i '(dwmac|phy)'
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 1.816715] libphy: Fixed MDIO Bus: probed
[ 1.825057] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[ 1.830830] dwmac-sun8i 1c30000.ethernet: No regulator found
[ 1.836545] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[ 1.842690] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[ 1.848345] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[ 1.855576] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[ 1.861229] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[ 1.868451] dwmac-sun8i 1c30000.ethernet: COE Type 2
[ 1.873420] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[ 1.880297] libphy: stmmac: probed
[ 13.772931] dwmac-sun8i 1c30000.ethernet eth0: device MAC address 7e:f2:de:3c:f1:5e
[ 13.781200] Generic PHY stmmac-0:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:01, irq=-1)
[ 13.792869] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[ 13.800525] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment