Re: Ethernet connection weirdly not working mornings
Thanks for the replies all. I feel the issue must have to do with how
this particular ThinkPad is set up, as my other Debian laptop has
no problem connecting via ethernet. And now the ethernet-challenged
machine is not connecting in the evening either (well, this evening
anyhow...), only the wifi connection works ATM.
* Brian <ad44@cityscape.co.uk> [110629 10:29]:
> On Tue 28 Jun 2011 at 22:03:30 -0700, John Magolske wrote:
>
> > allow-hotplug eth0
> > iface eth0 inet dhcp
>
> This should bring up the interface and configure it when the machine is
> booted.
>
> > iface wlan0 inet dhcp
> > pre-up wpa_supplicant -iwlan0 -Dwext -B -c /home/john/.wpa_supplicant.conf
> > post-down killall -q wpa_supplicant
>
> This should not bring up the interface when the machine is booted.
>
> What does happen on booting?
Neither interface is brought up.
> The output of the command 'ifconfig -a' would be useful to see
% ifconfig -a
eth0 Link encap:Ethernet HWaddr **:**:**:**:**:**
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:35600 errors:0 dropped:0 overruns:0 frame:0
TX packets:23582 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:41162613 (39.2 MiB) TX bytes:1674330 (1.5 MiB)
Interrupt:20 Memory:f2600000-f2620000
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:1394 errors:0 dropped:0 overruns:0 frame:0
TX packets:1394 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:96020 (93.7 KiB) TX bytes:96020 (93.7 KiB)
wlan0 Link encap:Ethernet HWaddr **:**:**:**:**:**
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:6194 errors:0 dropped:0 overruns:0 frame:0
TX packets:6526 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3346109 (3.1 MiB) TX bytes:726467 (709.4 KiB)
> which card is in the machine. 'lspci' for that.
% lspci
[...]
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
03:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300
Regards,
John
--
John Magolske
http://B79.net/contact
Reply to: