Skip to content

Instantly share code, notes, and snippets.

@Jamim
Last active March 4, 2018 01:06
Show Gist options
  • Select an option

  • Save Jamim/7c1b499413858b72ad813a1eb8064c67 to your computer and use it in GitHub Desktop.

Select an option

Save Jamim/7c1b499413858b72ad813a1eb8064c67 to your computer and use it in GitHub Desktop.
UNET s95-150 1000baseT/100baseT
# ethtool -s enp7s0 speed 100 duplex full
# ethtool enp7s0
Settings for enp7s0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 100baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: yes
$ traceroute mim.pw
traceroute to mim.pw (5.39.84.165), 30 hops max, 60 byte packets
1 10.10.0.27 (10.10.0.27) 0.336 ms 0.274 ms 0.250 ms
2 10.10.0.1 (10.10.0.1) 0.525 ms 0.450 ms 0.467 ms
3 10.74.30.254 (10.74.30.254) 2.069 ms 2.400 ms 2.843 ms
4 178.124.168.34.belpak.by (178.124.168.34) 1.830 ms 1.842 ms 1.850 ms
5 100ge.core.belpak.by (93.85.80.149) 26.743 ms core1.net.belpak.by (93.85.80.145) 37.856 ms 100ge.core.belpak.by (93.85.80.149) 34.577 ms
6 asbr1.net.belpak.by (93.85.80.98) 16.480 ms 15.830 ms 15.839 ms
7 * * *
8 be100-1166.ams-1-a9.nl.eu (91.121.215.190) 56.413 ms be100-1102.fra-1-a9.de.eu (213.251.128.113) 35.663 ms be100-1166.ams-1-a9.nl.eu (91.121.215.190) 54.683 ms
9 be104.rbx-g2-nc5.fr.eu (94.23.122.242) 54.659 ms be103.rbx-g1-nc5.fr.eu (178.33.100.158) 43.476 ms be104.rbx-g1-nc5.fr.eu (178.33.100.160) 56.383 ms
10 * * be103.rbx-g1-nc5.fr.eu (178.33.100.158) 53.733 ms
11 * * *
12 * * *
13 mim.pw (5.39.84.165) 42.185 ms 53.803 ms 42.176 ms
# ping 178.124.168.34 -s 1300 -i 0.01 -c 1000 | tail
1308 bytes from 178.124.168.34: icmp_seq=982 ttl=252 time=1.34 ms
1308 bytes from 178.124.168.34: icmp_seq=986 ttl=252 time=1.28 ms
1308 bytes from 178.124.168.34: icmp_seq=990 ttl=252 time=1.41 ms
1308 bytes from 178.124.168.34: icmp_seq=993 ttl=252 time=1.30 ms
1308 bytes from 178.124.168.34: icmp_seq=997 ttl=252 time=1.69 ms
1308 bytes from 178.124.168.34: icmp_seq=1000 ttl=252 time=1.73 ms
--- 178.124.168.34 ping statistics ---
1000 packets transmitted, 291 received, 70.9% packet loss, time 13928ms
rtt min/avg/max/mdev = 1.163/1.435/2.197/0.164 ms
# ping 10.10.0.27 -s 1300 -i 0.01 -c 1000 | tail
1308 bytes from 10.10.0.27: icmp_seq=987 ttl=64 time=0.738 ms
1308 bytes from 10.10.0.27: icmp_seq=988 ttl=64 time=0.711 ms
1308 bytes from 10.10.0.27: icmp_seq=989 ttl=64 time=0.783 ms
1308 bytes from 10.10.0.27: icmp_seq=991 ttl=64 time=0.740 ms
1308 bytes from 10.10.0.27: icmp_seq=993 ttl=64 time=0.849 ms
1308 bytes from 10.10.0.27: icmp_seq=997 ttl=64 time=0.774 ms
--- 10.10.0.27 ping statistics ---
1000 packets transmitted, 238 received, 76.2% packet loss, time 16001ms
rtt min/avg/max/mdev = 0.483/0.687/0.894/0.105 ms
$ speedtest-cli --secure --server 7532
Retrieving speedtest.net configuration...
Testing from ALFA TELECOM s.r.o. (146.120.13.215)...
Retrieving speedtest.net server list...
Retrieving information for the selected server...
Hosted by beCloud (Minsk) [0.00 km]: 1.81 ms
Testing download speed................................................................................
Download: 0.32 Mbit/s
Testing upload speed......................................................................................................
Upload: 89.95 Mbit/s
$ python test_unet.py
http://mim.pw/temp/00.bin - ok
http://mim.pw/temp/01.bin - ok
http://mim.pw/temp/02.bin - ok
http://mim.pw/temp/03.bin - timed out
http://mim.pw/temp/04.bin - ok
http://mim.pw/temp/05.bin - ok
http://mim.pw/temp/06.bin - ok
http://mim.pw/temp/07.bin - timed out
http://mim.pw/temp/08.bin - ok
http://mim.pw/temp/09.bin - ok
http://mim.pw/temp/0a.bin - ok
http://mim.pw/temp/0b.bin - ok
http://mim.pw/temp/0c.bin - ok
http://mim.pw/temp/0d.bin - ok
http://mim.pw/temp/0e.bin - timed out
http://mim.pw/temp/0f.bin - ok
http://mim.pw/temp/10.bin - ok
http://mim.pw/temp/11.bin - timed out
http://mim.pw/temp/12.bin - ok
http://mim.pw/temp/13.bin - ok
http://mim.pw/temp/14.bin - ok
http://mim.pw/temp/15.bin - ok
http://mim.pw/temp/16.bin - ok
http://mim.pw/temp/17.bin - ok
http://mim.pw/temp/18.bin - ok
http://mim.pw/temp/19.bin - ok
http://mim.pw/temp/1a.bin - ok
http://mim.pw/temp/1b.bin - ok
http://mim.pw/temp/1c.bin - timed out
http://mim.pw/temp/1d.bin - ok
http://mim.pw/temp/1e.bin - timed out
http://mim.pw/temp/1f.bin - ok
http://mim.pw/temp/20.bin - timed out
http://mim.pw/temp/21.bin - ok
http://mim.pw/temp/22.bin - ok
http://mim.pw/temp/23.bin - timed out
http://mim.pw/temp/24.bin - ok
http://mim.pw/temp/25.bin - ok
http://mim.pw/temp/26.bin - ok
http://mim.pw/temp/27.bin - timed out
http://mim.pw/temp/28.bin - timed out
http://mim.pw/temp/29.bin - ok
http://mim.pw/temp/2a.bin - ok
http://mim.pw/temp/2b.bin - ok
http://mim.pw/temp/2c.bin - ok
http://mim.pw/temp/2d.bin - ok
http://mim.pw/temp/2e.bin - ok
http://mim.pw/temp/2f.bin - ok
http://mim.pw/temp/30.bin - ok
http://mim.pw/temp/31.bin - timed out
http://mim.pw/temp/32.bin - ok
http://mim.pw/temp/33.bin - ok
http://mim.pw/temp/34.bin - ok
http://mim.pw/temp/35.bin - ok
http://mim.pw/temp/36.bin - ok
http://mim.pw/temp/37.bin - ok
http://mim.pw/temp/38.bin - timed out
http://mim.pw/temp/39.bin - ok
http://mim.pw/temp/3a.bin - ok
http://mim.pw/temp/3b.bin - ok
http://mim.pw/temp/3c.bin - ok
http://mim.pw/temp/3d.bin - ok
http://mim.pw/temp/3e.bin - timed out
http://mim.pw/temp/3f.bin - ok
http://mim.pw/temp/40.bin - ok
http://mim.pw/temp/41.bin - ok
http://mim.pw/temp/42.bin - ok
http://mim.pw/temp/43.bin - ok
http://mim.pw/temp/44.bin - ok
http://mim.pw/temp/45.bin - ok
http://mim.pw/temp/46.bin - ok
http://mim.pw/temp/47.bin - timed out
http://mim.pw/temp/48.bin - ok
http://mim.pw/temp/49.bin - ok
http://mim.pw/temp/4a.bin - ok
http://mim.pw/temp/4b.bin - ok
http://mim.pw/temp/4c.bin - ok
http://mim.pw/temp/4d.bin - ok
http://mim.pw/temp/4e.bin - ok
http://mim.pw/temp/4f.bin - ok
http://mim.pw/temp/50.bin - ok
http://mim.pw/temp/51.bin - ok
http://mim.pw/temp/52.bin - ok
http://mim.pw/temp/53.bin - ok
http://mim.pw/temp/54.bin - ok
http://mim.pw/temp/55.bin - ok
http://mim.pw/temp/56.bin - ok
http://mim.pw/temp/57.bin - ok
http://mim.pw/temp/58.bin - ok
http://mim.pw/temp/59.bin - ok
http://mim.pw/temp/5a.bin - ok
http://mim.pw/temp/5b.bin - ok
http://mim.pw/temp/5c.bin - ok
http://mim.pw/temp/5d.bin - ok
http://mim.pw/temp/5e.bin - ok
http://mim.pw/temp/5f.bin - ok
http://mim.pw/temp/60.bin - timed out
http://mim.pw/temp/61.bin - timed out
http://mim.pw/temp/62.bin - ok
http://mim.pw/temp/63.bin - timed out
http://mim.pw/temp/64.bin - ok
http://mim.pw/temp/65.bin - ok
http://mim.pw/temp/66.bin - timed out
http://mim.pw/temp/67.bin - timed out
http://mim.pw/temp/68.bin - timed out
http://mim.pw/temp/69.bin - ok
http://mim.pw/temp/6a.bin - ok
http://mim.pw/temp/6b.bin - ok
http://mim.pw/temp/6c.bin - timed out
http://mim.pw/temp/6d.bin - ok
http://mim.pw/temp/6e.bin - timed out
http://mim.pw/temp/6f.bin - timed out
http://mim.pw/temp/70.bin - timed out
http://mim.pw/temp/71.bin - timed out
http://mim.pw/temp/72.bin - timed out
http://mim.pw/temp/73.bin - ok
http://mim.pw/temp/74.bin - timed out
http://mim.pw/temp/75.bin - ok
http://mim.pw/temp/76.bin - ok
http://mim.pw/temp/77.bin - timed out
http://mim.pw/temp/78.bin - timed out
http://mim.pw/temp/79.bin - ok
http://mim.pw/temp/7a.bin - ok
http://mim.pw/temp/7b.bin - timed out
http://mim.pw/temp/7c.bin - timed out
http://mim.pw/temp/7d.bin - timed out
http://mim.pw/temp/7e.bin - timed out
http://mim.pw/temp/7f.bin - ok
http://mim.pw/temp/80.bin - ok
http://mim.pw/temp/81.bin - ok
http://mim.pw/temp/82.bin - ok
http://mim.pw/temp/83.bin - timed out
http://mim.pw/temp/84.bin - ok
http://mim.pw/temp/85.bin - ok
http://mim.pw/temp/86.bin - ok
http://mim.pw/temp/87.bin - timed out
http://mim.pw/temp/88.bin - ok
http://mim.pw/temp/89.bin - ok
http://mim.pw/temp/8a.bin - ok
http://mim.pw/temp/8b.bin - ok
http://mim.pw/temp/8c.bin - ok
http://mim.pw/temp/8d.bin - ok
http://mim.pw/temp/8e.bin - timed out
http://mim.pw/temp/8f.bin - ok
http://mim.pw/temp/90.bin - ok
http://mim.pw/temp/91.bin - timed out
http://mim.pw/temp/92.bin - ok
http://mim.pw/temp/93.bin - ok
http://mim.pw/temp/94.bin - ok
http://mim.pw/temp/95.bin - ok
http://mim.pw/temp/96.bin - ok
http://mim.pw/temp/97.bin - ok
http://mim.pw/temp/98.bin - ok
http://mim.pw/temp/99.bin - ok
http://mim.pw/temp/9a.bin - ok
http://mim.pw/temp/9b.bin - ok
http://mim.pw/temp/9c.bin - timed out
http://mim.pw/temp/9d.bin - ok
http://mim.pw/temp/9e.bin - timed out
http://mim.pw/temp/9f.bin - ok
http://mim.pw/temp/a0.bin - ok
http://mim.pw/temp/a1.bin - ok
http://mim.pw/temp/a2.bin - ok
http://mim.pw/temp/a3.bin - ok
http://mim.pw/temp/a4.bin - ok
http://mim.pw/temp/a5.bin - ok
http://mim.pw/temp/a6.bin - ok
http://mim.pw/temp/a7.bin - ok
http://mim.pw/temp/a8.bin - ok
http://mim.pw/temp/a9.bin - ok
http://mim.pw/temp/aa.bin - ok
http://mim.pw/temp/ab.bin - ok
http://mim.pw/temp/ac.bin - ok
http://mim.pw/temp/ad.bin - ok
http://mim.pw/temp/ae.bin - ok
http://mim.pw/temp/af.bin - ok
http://mim.pw/temp/b0.bin - ok
http://mim.pw/temp/b1.bin - ok
http://mim.pw/temp/b2.bin - ok
http://mim.pw/temp/b3.bin - ok
http://mim.pw/temp/b4.bin - ok
http://mim.pw/temp/b5.bin - ok
http://mim.pw/temp/b6.bin - ok
http://mim.pw/temp/b7.bin - ok
http://mim.pw/temp/b8.bin - ok
http://mim.pw/temp/b9.bin - ok
http://mim.pw/temp/ba.bin - ok
http://mim.pw/temp/bb.bin - ok
http://mim.pw/temp/bc.bin - ok
http://mim.pw/temp/bd.bin - ok
http://mim.pw/temp/be.bin - ok
http://mim.pw/temp/bf.bin - ok
http://mim.pw/temp/c0.bin - timed out
http://mim.pw/temp/c1.bin - ok
http://mim.pw/temp/c2.bin - ok
http://mim.pw/temp/c3.bin - ok
http://mim.pw/temp/c4.bin - ok
http://mim.pw/temp/c5.bin - ok
http://mim.pw/temp/c6.bin - ok
http://mim.pw/temp/c7.bin - timed out
http://mim.pw/temp/c8.bin - timed out
http://mim.pw/temp/c9.bin - ok
http://mim.pw/temp/ca.bin - ok
http://mim.pw/temp/cb.bin - ok
http://mim.pw/temp/cc.bin - ok
http://mim.pw/temp/cd.bin - ok
http://mim.pw/temp/ce.bin - timed out
http://mim.pw/temp/cf.bin - ok
http://mim.pw/temp/d0.bin - ok
http://mim.pw/temp/d1.bin - ok
http://mim.pw/temp/d2.bin - ok
http://mim.pw/temp/d3.bin - ok
http://mim.pw/temp/d4.bin - ok
http://mim.pw/temp/d5.bin - ok
http://mim.pw/temp/d6.bin - ok
http://mim.pw/temp/d7.bin - ok
http://mim.pw/temp/d8.bin - timed out
http://mim.pw/temp/d9.bin - ok
http://mim.pw/temp/da.bin - ok
http://mim.pw/temp/db.bin - ok
http://mim.pw/temp/dc.bin - timed out
http://mim.pw/temp/dd.bin - ok
http://mim.pw/temp/de.bin - timed out
http://mim.pw/temp/df.bin - ok
http://mim.pw/temp/e0.bin - timed out
http://mim.pw/temp/e1.bin - ok
http://mim.pw/temp/e2.bin - ok
http://mim.pw/temp/e3.bin - timed out
http://mim.pw/temp/e4.bin - ok
http://mim.pw/temp/e5.bin - ok
http://mim.pw/temp/e6.bin - timed out
http://mim.pw/temp/e7.bin - timed out
http://mim.pw/temp/e8.bin - timed out
http://mim.pw/temp/e9.bin - ok
http://mim.pw/temp/ea.bin - ok
http://mim.pw/temp/eb.bin - ok
http://mim.pw/temp/ec.bin - timed out
http://mim.pw/temp/ed.bin - ok
http://mim.pw/temp/ee.bin - timed out
http://mim.pw/temp/ef.bin - ok
http://mim.pw/temp/f0.bin - ok
http://mim.pw/temp/f1.bin - timed out
http://mim.pw/temp/f2.bin - ok
http://mim.pw/temp/f3.bin - timed out
http://mim.pw/temp/f4.bin - ok
http://mim.pw/temp/f5.bin - ok
http://mim.pw/temp/f6.bin - ok
http://mim.pw/temp/f7.bin - timed out
http://mim.pw/temp/f8.bin - timed out
http://mim.pw/temp/f9.bin - timed out
http://mim.pw/temp/fa.bin - ok
http://mim.pw/temp/fb.bin - timed out
http://mim.pw/temp/fc.bin - timed out
http://mim.pw/temp/fd.bin - timed out
http://mim.pw/temp/fe.bin - timed out
http://mim.pw/temp/ff.bin - ok
ok count: 194
timed out count: 62
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment