[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Networking Q concerning /etc/network/interfaces



Camaleón <noelamac@gmail.com> writes:

[...]

Harry wrote:
>>>> Running wheezy - 3.0.0-1-686-pae
>>>

Camaleón replied:
>>> Wheezy has now 3.1.0 :-?
>> 

Harry:
>> I've missed a couple of updates... the last notice I received on my kde
>> desktop showed 200+... yikes.

Camaleón:
> He... yes, that hurts :-)

I've made the updates now but my kernel has not changed.  Should it have?
I have rebooted.
   
[...]

Camaleón:
>>> Check out "dmesg | grep -i eth", maybe the interface got renamed
>>> sometime.

Harry:
>> dmesg | grep -i eth
>> 
>>   [1178198.100780] device eth1 entered promiscuous mode 
>>   [1188657.808177] device eth1 left promiscuous mode

Camaleón:
> What did you run to get the card into promiscous mode? ntop, tcpdump...?


I don't know but following a reboot yesterday, I still see something
similar in dmesg today.  Posted further along

>> Those were the only hits, so apparently eth0 is not being seen at all.
>
> Only that two entries? I woul have expected more lines because both cards 
> should be at least detected :-?

Today there are 30+ hits.... posted at the end.
  
>> The machine does have two nics and looking again at ifconfig -a  it
>> shows different MAC and interrupt for each:

[...]

> Yes, and most curious is that both cards have been configured which is 
> strange given the first card (eth0) has not been connected. What device/
> tool provided the data to eth0 and how? Really weird.

I mentioned I vaguely remembered tinking with ifconfig and setting the
address previously posted .. (ending ..54) by hand.

In the output below, and you can see the full dmesg from today along
with the boot log from /var/log/boot at:
   www.jtan.com/~reader/vu/disp.cgi

> Okay, I would start by shutting down the network service ("service 
> networking stop"), restarting it, manually up eth0 and eth1 and then 
> review your syslog ("grep -i eth /var/log/syslog") and just in case also 
> dmesg.

I post a few things following todays reboot

I have connected something to the other ethernet port now ... and so
ifconfig -a reports (with me doing nothing special but having
rebooted):

eth0      Link encap:Ethernet  HWaddr 00:40:f4:b5:29:41
          inet addr:192.168.2.126  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::240:f4ff:feb5:2941/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          [...]

eth1      Link encap:Ethernet  HWaddr 00:11:09:ee:6c:04
          inet addr:192.168.1.42  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::211:9ff:feee:6c04/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

both have received a dns served address (the one ending 42 is hard
coded at the router by MAC.  The range 100-150 is left for misc).

-------        ---------       ---=---       ---------      -------- 

Here is a current grep of dmesg. 

Note in the /var/log/boot file that something called `NetworkManager'
is setting up the connections.  I don't know what the virutal private
stuff is about... not my doing.

 grep network /var/log/boot

[...]
Sun Feb 12 09:32:53 2012: Setting up networking....
Sun Feb 12 09:32:53 2012: Configuring network interfaces...done.
Sun Feb 12 09:32:58 2012: Starting network connection manager: NetworkManager.
Sun Feb 12 09:32:59 2012: Starting virtual private network daemon:.
[...]
-------        ---------       ---=---       ---------      -------- 
NOTE: the full files are available at:

   www.jtan.com/~reader/vu/disp.cgi 

dmesg|grep -i 'eth'

[...]
[    1.396523] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    1.397341] r8169 0000:02:03.0: eth0: RTL8110s at 0xf8206f00, 00:40:f4:b5:29:41, XID 04000000 IRQ 19
[    1.404151] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    1.405063] r8169 0000:02:06.0: eth1: RTL8110s at 0xf8214e00, 00:11:09:ee:6c:04, XID 04000000 IRQ 9
[   14.658191] r8169 0000:02:03.0: eth0: link down
[   14.658374] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   20.503682] r8169 0000:02:06.0: eth1: link down
[   20.503886] ADDRCONF(NETDEV_UP): eth1: link is not ready
[   23.251961] r8169 0000:02:06.0: eth1: link up
[   23.252132] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   34.032016] eth1: no IPv6 routers present
[  170.364214] device eth0 entered promiscuous mode
[  193.266247] device eth0 left promiscuous mode
[  216.966545] device eth0 entered promiscuous mode
[  322.588731] device eth0 left promiscuous mode
[  357.456576] device eth0 entered promiscuous mode
[  458.205927] device eth0 left promiscuous mode
[ 3272.706841] r8169 0000:02:03.0: eth0: link up
[ 3272.707037] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 3277.269666] r8169 0000:02:03.0: eth0: link down
[ 3283.456019] eth0: no IPv6 routers present
[ 3284.514443] r8169 0000:02:03.0: eth0: link up
[ 3290.424199] r8169 0000:02:03.0: eth0: link down
[ 3311.338848] r8169 0000:02:03.0: eth0: link up
[ 3497.660167] r8169 0000:02:03.0: eth0: link down
[ 3497.663883] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 3500.404565] r8169 0000:02:03.0: eth0: link up
[ 3500.404728] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 3510.584039] eth0: no IPv6 routers present
[46711.235373] r8169 0000:02:03.0: eth0: link down
[46711.236484] ADDRCONF(NETDEV_UP): eth0: link is not ready
[46714.082202] r8169 0000:02:03.0: eth0: link up
[46714.082372] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[46724.768020] eth0: no IPv6 routers present
[...]

-------        ---------       ---=---       ---------      -------- 
-------        ---------       ---=---       ---------      -------- 

Reboot Sun 12 Feb 2012 09:31:12 AM EST
(Full dmesg and /var/log/boot here:

  www.jtan.com/~reader/vu/disp.cgi


Reply to: