How can one differentiate between the start of a network connect and the end of one, from the logs listed in /var/log/messages?
All the logs look identical.
|
How can one differentiate between the start of a network connect and the end of one, from the logs listed in All the logs look identical. |
||||
|
On Ubuntu Server 12.04, that information usually goes to Jun 6 20:16:34 tagua kernel: [ 4416.930972] r8169 0000:01:06.0: eth0: link down Jun 6 20:16:34 tagua kernel: [ 4416.932817] ADDRCONF(NETDEV_UP): eth0: link is not ready Jun 6 20:19:09 tagua kernel: [ 4571.990507] r8169 0000:01:06.0: eth0: link up Jun 6 20:19:09 tagua kernel: [ 4571.991172] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready If I run Jun 6 20:28:05 tagua NetworkManager[1295]: (eth0): carrier now OFF (device state 10) When I reactivate it with Jun 6 20:28:23 tagua NetworkManager[1295]: (eth0): carrier now ON (device state 10) |
|||
|
|
ls: cannot access /var/logs/messages: No such file or directory. Please provide more information about what, exactly, you are asking about. – irrational John May 27 '12 at 18:39/var/log/messages, I neglected to notice that error in the question when I edited it originally. Anyway,/var/log/dmesgused to be called/var/log/messages, on older versions of Ubuntu (e.g., 10.04 LTS). I think it's still useful to have the release version in the question, though. – Eliah Kagan May 27 '12 at 18:51/var/log/messagesfile to your question, so it's clear exactly what you're asking and exactly why it's unclear if they are describing connection or disconnection. – Eliah Kagan May 27 '12 at 18:59