Skip to content

Instantly share code, notes, and snippets.

@psy0rz
Created September 6, 2012 12:46
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 psy0rz/3655890 to your computer and use it in GitHub Desktop.
Save psy0rz/3655890 to your computer and use it in GitHub Desktop.
[Syn-3] root@darkstar.example.net ~# lsmod |grep r81
[Syn-3] root@darkstar.example.net ~# modprobe r8169
[Syn-3] root@darkstar.example.net ~# ifconfi
[Syn-3] root@darkstar.example.net ~# ifconfig eth2 10.73.57.123
[Syn-3] root@darkstar.example.net ~# ping 10.73.57.1
PING 10.73.57.1 (10.73.57.1) 56(84) bytes of data.
64 bytes from 10.73.57.1: icmp_seq=1 ttl=64 time=1.13 ms
^C
--- 10.73.57.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.133/1.133/1.133/0.000 ms
[Syn-3] root@darkstar.example.net ~# modprobe -r r8169
[Syn-3] root@darkstar.example.net ~# lsmod |grep r81
[Syn-3] root@darkstar.example.net ~# modprobe r8168
[Syn-3] root@darkstar.example.net ~# ifconfig eth2 10.73.57.123
[Syn-3] root@darkstar.example.net ~# ping 10.73.57.1
PING 10.73.57.1 (10.73.57.1) 56(84) bytes of data.
From 10.73.57.123 icmp_seq=1 Destination Host Unreachable
From 10.73.57.123 icmp_seq=2 Destination Host Unreachable
From 10.73.57.123 icmp_seq=3 Destination Host Unreachable
^C
--- 10.73.57.1 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4017ms
, pipe 3
[Syn-3] root@darkstar.example.net ~# linkbeep -l
0 1 Intel Corporation: 82571EB Gigabit Ethernet Controller 68:05:ca:08:7c:ee
1 1 Intel Corporation: 82571EB Gigabit Ethernet Controller 68:05:ca:08:7c:ef
2 1 Realtek Semiconductor Co., Ltd.: RTL8111/8168B PCI Express Gigabit Ethernet controller 10:78:d2:49:01:5d
[Syn-3] root@darkstar.example.net ~# ping 10.73.57.1
PING 10.73.57.1 (10.73.57.1) 56(84) bytes of data.
64 bytes from 10.73.57.1: icmp_seq=1 ttl=64 time=0.328 ms
64 bytes from 10.73.57.1: icmp_seq=2 ttl=64 time=0.322 ms
^C
--- 10.73.57.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.322/0.325/0.328/0.003 ms
[Syn-3] root@darkstar.example.net ~# lsmod |grep r81
r8168 225704 0
[Syn-3] root@darkstar.example.net ~# modprobe -r r8168
[Syn-3] root@darkstar.example.net ~# lsmod |grep r81
[Syn-3] root@darkstar.example.net ~# modprobe -r r8168
[Syn-3] root@darkstar.example.net ~# lsmod |grep r81
[Syn-3] root@darkstar.example.net ~# modprobe r8169
[Syn-3] root@darkstar.example.net ~# lsmod |grep r81
r8169 31748 0
mii 12928 1 r8169
[Syn-3] root@darkstar.example.net ~# ifconfig eth2 10.73.57.123
[Syn-3] root@darkstar.example.net ~# ping 10.73.57.1
PING 10.73.57.1 (10.73.57.1) 56(84) bytes of data.
64 bytes from 10.73.57.1: icmp_seq=1 ttl=64 time=3.40 ms
64 bytes from 10.73.57.1: icmp_seq=2 ttl=64 time=0.306 ms
^C
--- 10.73.57.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1009ms
rtt min/avg/max/mdev = 0.306/1.856/3.407/1.551 ms
[Syn-3] root@darkstar.example.net ~# modprobe -r r8168
[Syn-3] root@darkstar.example.net ~# ifconfig eth2 10.73.57.123
[Syn-3] root@darkstar.example.net ~# modprobe -r r8169
[Syn-3] root@darkstar.example.net ~# ifconfig eth2 10.73.57.123
SIOCSIFADDR: No such device
eth2: ERROR while getting interface flags: No such device
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment