Re: Network Interface Conundrum

Rich Shepard <[email protected]>
Newsgroups gmane.linux.slackware
Message-ID <[email protected]>
On Sat, 22 Sep 2012, Ottavio Caruso wrote:

> What's the output of "ifconfig -a" ?

   System booted with ethernet cable connected; boot process shows dhcpcd
trying to find a wireless ap and failing. Only relevant portions of dmesg
are:

[    8.927888] Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:
[    8.935151] Copyright(c) 2003-2011 Intel Corporation
[    8.942467] iwlwifi 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ
16
[    8.949814] iwlwifi 0000:02:00.0: setting latency timer to 64
[    8.949846] iwlwifi 0000:02:00.0: pci_resource_len = 0x00002000
[    8.957157] iwlwifi 0000:02:00.0: pci_resource_base = ffffc90010084000
[    8.964517] iwlwifi 0000:02:00.0: HW Revision ID = 0x0
[    8.971861] iwlwifi 0000:02:00.0: irq 42 for MSI/MSI-X
[    8.971898] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R)
Wireless-N 1000 BGN, REV=0x6C
[    8.979223] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[    9.007436] iwlwifi 0000:02:00.0: device EEPROM VER=0x15d, CALIB=0x6
[    9.014491] iwlwifi 0000:02:00.0: Device SKU: 0X50
[    9.021382] iwlwifi 0000:02:00.0: Valid Tx ant: 0X1, Valid Rx ant: 0X3
[    9.028213] iwlwifi 0000:02:00.0: Tunable channels: 13 802.11bg, 0
802.11a channels
[    9.035111] iwlwifi 0000:02:00.0: RF_KILL bit toggled to disable radio.

[    9.569155] iwlwifi 0000:02:00.0: loaded firmware version 39.31.5.1 build
35138

[  374.484715] Modules linked in: snd_seq_dummy snd_seq_oss
snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss ipv6
cpufreq_ondemand acpi_cpufreq freq_table mperf lp ppdev parport_pc parport
fuse uvcvideo videodev v4l2_compat_ioctl32 i915 drm_kms_helper drm
snd_hda_codec_hdmi acer_wmi snd_hda_codec_conexant joydev sparse_keymap
intel_agp iwlwifi mac80211 i2c_i801 cfg80211 mei(C) i2c_algo_bit intel_gtt
ehci_hcd i2c_core snd_hda_intel snd_hda_codec wmi snd_hwdep snd_pcm
snd_timer rts_pstor(C) snd sony_laptop processor soundcore video thermal
rfkill snd_page_alloc agpgart battery psmouse thermal_sys evdev button ac
atl1c hwmon serio_raw sg loop ext3 jbd mbcache

   Interface status with cat5 connected is:

[root@pachy ~]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 78:84:3c:aa:1e:63
           inet addr:192.168.55.5  Bcast:192.168.55.255  Mask:255.255.255.0
           inet6 addr: fe80::7a84:3cff:feaa:1e63/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:156 errors:0 dropped:0 overruns:0 frame:0
           TX packets:71 errors:0 dropped:0 overruns:0 carrier:3
           collisions:0 txqueuelen:1000
           RX bytes:67198 (65.6 KiB)  TX bytes:12063 (11.7 KiB)
           Interrupt:45

lo        Link encap:Local Loopback
           inet addr:127.0.0.1  Mask:255.0.0.0
           inet6 addr: ::1/128 Scope:Host
           UP LOOPBACK RUNNING  MTU:16436  Metric:1
           RX packets:50 errors:0 dropped:0 overruns:0 frame:0
           TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:3732 (3.6 KiB)  TX bytes:3732 (3.6 KiB)

wlan0     Link encap:Ethernet  HWaddr 74:e5:0b:63:20:16
           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)

   Kernel routing table is:

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         192.168.55.4    0.0.0.0         UG        0 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
192.168.55.0    0.0.0.0         255.255.255.0   U         0 0          0 eth0

   Cable removed; /var/log/messages shows:

Sep 23 08:56:37 pachy kernel: [  359.026344] atl1c 0000:09:00.0: atl1c: eth0
NIC Link is Down

   Interface status now:

[root@pachy ~]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 78:84:3c:aa:1e:63
           inet addr:192.168.55.5  Bcast:192.168.55.255  Mask:255.255.255.0
           inet6 addr: fe80::7a84:3cff:feaa:1e63/64 Scope:Link
           UP BROADCAST MULTICAST  MTU:1500  Metric:1
           RX packets:188 errors:0 dropped:0 overruns:0 frame:0
           TX packets:74 errors:0 dropped:0 overruns:0 carrier:4
           collisions:0 txqueuelen:1000
           RX bytes:73473 (71.7 KiB)  TX bytes:12303 (12.0 KiB)
           Interrupt:45

lo        Link encap:Local Loopback
           inet addr:127.0.0.1  Mask:255.0.0.0
           inet6 addr: ::1/128 Scope:Host
           UP LOOPBACK RUNNING  MTU:16436  Metric:1
           RX packets:50 errors:0 dropped:0 overruns:0 frame:0
           TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:3732 (3.6 KiB)  TX bytes:3732 (3.6 KiB)

wlan0     Link encap:Ethernet  HWaddr 74:e5:0b:63:20:16
           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)

   ... and /var/log/messages shows:

Sep 23 08:56:46 pachy kernel: [  368.897876] atl1c 0000:09:00.0: atl1c: eth0
NIC Link is Up<100 Mbps Full Duplex>
Sep 23 08:56:52 pachy kernel: [  374.484711] NETDEV WATCHDOG: eth0 (atl1c):
transmit queue 0 timed out
Sep 23 08:56:52 pachy kernel: [  374.499217] atl1c 0000:09:00.0: atl1c: eth0
NIC Link is Up<100 Mbps Full Duplex>

   /etc/rc.d/init.d/ifplugd is invoked during the boot process.

Rich
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.