[Sugar-devel] [TRANSIENT] Peer XOs NOT shown in Neighborhood view when Power Management is enabled

Jerry Vonau jvonau at shaw.ca
Tue Jan 1 19:34:45 EST 2013


On Wed, 2012-12-19 at 09:48 -0500, Martin Langhoff wrote:
> On Wed, Dec 19, 2012 at 5:14 AM, Jerry Vonau <jvonau at shaw.ca> wrote:
> > Think I found the problem, in powerd we're setting WOL based on this
> > string:
> >
> > if grep -qi ": 00000000:14B2" /proc/net/tcp
> >
> > but that string is not present in /proc/net/tcp so WOL is not set
> > according to ethtool, but that string can be found in /proc/net/tcp6
> >
> > avahi is bound to tcp6 when viewed with 'netstat -nat'
> >
> > This is reproducible in 12.1.0 and 13.1.0
> 
> Arghhh. Ouch.
> 
> Does it behave better with:
> 
>   if grep -qi ": 00000000:14B2" /proc/net/tcp*
> 

Sadly no, but what does work for me is:

if netstat -l -n | grep -q ':5298 '

Jerry






More information about the Sugar-devel mailing list