|
From: | Stefan Monnier |
Subject: | Re: emacs hangs when changing network while sleeping |
Date: | Sun, 23 Jan 2011 21:34:21 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> This happens for me too. I have the following workaround script. > Basically it finds the ip of an open nntp session that is hanging due to > local interface change, and makes a dummy lookalike interface on the > loopback interface. Emacs is then able to determine that the interface > is dead and can recover. > #/bin/sh > `lsof -n|grep emacs|grep nntp|sed "s/.*TCP\ \\([^:]*\\):.*->\\([^:].*\\):.*/ > export a=\\1 export b=\\2/"` > echo $a $b > ifconfig lo:1 $a > ifconfig lo:2 $b > echo press enter when emacs is alive > read > ifconfig lo:1 down > ifconfig lo:2 down Could someone take it up to the gnutls guys to try and figure out what's going on? Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |