Re: ipw2200 with avahi/zeroconf

"Garry T. Williams" <[email protected]>
Newsgroups gmane.linux.drivers.ipw2100.devel
Message-ID <[email protected]>
On Monday 19 June 2006 09:26, Erik Slagter wrote:
> On ma, 2006-06-19 at 07:48 -0400, Richard Ferguson wrote:
> > I didn't mention this before, but I use NetworkManager to handle the
> > connection.
> 
> Please note that you need to restart NetworkManager after a suspend
> cycle because it will be confused and not work properly. I'd suggest you
> add a "service NetworkManager restart" to your suspend script.

Well, that may not be true.

I suspend (S3) and resume no problem.  The network connection is
restarted automatically by NetworkManger.

Configuration:

Kernel 2.6.16-1.2133_FC5
kdebase-3.5.2-10.0.fc5.kde
kdenetwork-3.5.2-1.1.fc5.kde
NetworkManager-0.6.2-2.fc5

It's not relevant, but here's my only customization:

    $ cat /etc/NetworkManager/dispatcher.d/ntpd-script
    #!/bin/bash
    #
    # $Id: ntpd-script,v 1.1 2006/02/18 10:52:03 root Exp $

    if [ -x /usr/bin/logger ]; then
	    LOGGER="/usr/bin/logger -s -p user.notice -t NetworkManagerDispatcher"
    else
	    LOGGER=echo
    fi

    if [ ! -x /etc/init.d/ntpd ]; then
      $LOGGER "init script /etc/init.d/ntpd missing or not executible"
      return
    fi

    if [ -n $1 ] && [ $2 == "up" ]; then

      if [ -f /var/run/ntpd.pid ]; then
	$LOGGER "ntpd is running, restart"
	/sbin/service ntpd restart
      else
	$LOGGER "ntpd is not running, start"
	/sbin/service ntpd start
      fi

    fi

    if [ -n $1 ] && [ $2 == "down" ] && [ -f /var/run/ntpd.pid ]; then
      $LOGGER "ntpd is running, stop"
      /sbin/service ntpd stop
    fi
    $

I enter S3 by closing the lid on my Sony Vaio FS640/W laptop.  I
resume by hitting any regular key.  I removed all of my former acpi
event handlers in /etc/acpi/events, just letting the default thing
happen.

-- 
Garry T. Williams --- +1 678 656-4579
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.