emacs-devel
[Top][All Lists]
Advanced

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

Re: emacs hangs when changing network while sleeping


From: joakim
Subject: Re: emacs hangs when changing network while sleeping
Date: Mon, 24 Jan 2011 13:42:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> 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?

In my case I dont think gnutls is involved since I only have an
unencrypted connection to gmane.

>
>         Stefan

-- 
Joakim Verona



reply via email to

[Prev in Thread] Current Thread [Next in Thread]