On 08/26/2012 12:56 PM, Patrick Dupre wrote:
Hello,
I am back on my previous email.
When I disconnect the network (ppp0 through ttyUSB) I would like to
collect some information. Unfortunately if I can detect the disconnection
through a /etc/NetworkManager/dispatcher.d/file
the ifconfig cannot collect the information about ppp0 because
the interface is already down.
I also tried by using:
/etc/ppp/ip-down.local
but I face the same issue.
Any idea?
Write a little shell script that runs ifconfig, then disconnects.