Skip to content

Instantly share code, notes, and snippets.

@kaihendry
Created August 29, 2012 19:10
Show Gist options
  • Select an option

  • Save kaihendry/3517356 to your computer and use it in GitHub Desktop.

Select an option

Save kaihendry/3517356 to your computer and use it in GitHub Desktop.
x220:/etc$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 08:11:96:ae:2d:3c brd ff:ff:ff:ff:ff:ff
inet 192.168.1.128/24 brd 192.168.1.255 scope global wlan0
inet6 fe80::a11:96ff:feae:2d3c/64 scope link
valid_lft forever preferred_lft forever
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether 02:f4:b9:40:6d:0e brd ff:ff:ff:ff:ff:ff
inet6 fe80::f4:b9ff:fe40:6d0e/64 scope link
valid_lft forever preferred_lft forever
4: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
link/ether f0:de:f1:a1:dd:f0 brd ff:ff:ff:ff:ff:ff
inet6 fe80::f2de:f1ff:fea1:ddf0/64 scope link
valid_lft forever preferred_lft forever
x220:/etc$ cat ./udev/rules.d/10-network.rules
SUBSYSTEM=="net", ATTR{address}=="f0:de:f1:a1:dd:f0", NAME="eth0"
x220:/etc$ dmesg | grep eth
[ 2.402595] ipheth 2-1.2:4.2: Apple iPhone USB Ethernet device attached
[ 2.402608] usbcore: registered new interface driver ipheth
[ 2.483042] e1000e 0000:00:19.0: eth1: (PCI Express:2.5GT/s:Width x1) f0:de:f1:a1:dd:f0
[ 2.483045] e1000e 0000:00:19.0: eth1: Intel(R) PRO/1000 Network Connection
[ 2.483097] e1000e 0000:00:19.0: eth1: MAC: 10, PHY: 11, PBA No: 1000FF-0FF
[ 14.456526] NETDEV WATCHDOG: eth0 (ipheth): transmit queue 0 timed out
[ 14.456529] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_conexant iTCO_wdt iTCO_vendor_support uvcvideo ipheth videobuf2_vmalloc videobuf2_memops videobuf2_core
arc4 videodev media microcode aesni_intel aes_x86_64 iwlwifi aes_generic serio_raw ghash_clmulni_intel cryptd psmouse coretemp evdev crc32c_intel mac80211 i915 i2c_i801
i2c_algo_bit thinkpad_acpi tpm_tis drm_kms_helper tpm battery ac cfg80211 nvram snd_hda_intel lpc_ich snd_hda_codec tpm_bios mfd_core rfkill drm snd_hwdep snd_pcm sdhci_p
ci snd_page_alloc snd_timer sdhci snd wmi i2c_core e1000e mmc_core soundcore thermal video vboxdrv(O) intel_agp mei intel_gtt button kvm_intel kvm cpufreq_powersave acpi_
cpufreq mperf processor ext4 crc16 jbd2 mbcache sd_mod xhci_hcd ahci libahci libata scsi_mod ehci_hcd usbcore usb_common
[ 14.456836] ipheth 2-1.2:4.2: ipheth_tx_timeout: TX timeout
[ 24.443669] ipheth 2-1.2:4.2: ipheth_tx_timeout: TX timeout
[ 34.430809] ipheth 2-1.2:4.2: ipheth_tx_timeout: TX timeout
[ 44.417967] ipheth 2-1.2:4.2: ipheth_tx_timeout: TX timeout
[ 54.405122] ipheth 2-1.2:4.2: ipheth_tx_timeout: TX timeout
[ 64.392270] ipheth 2-1.2:4.2: ipheth_tx_timeout: TX timeout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment