Re: Laptop lid response time and search domain questions

On Fri, 2010-01-15 at 14:16 -0500, Darren Albers wrote:
> On Fri, Jan 15, 2010 at 2:01 PM, Dylan Martin <dmartin sccd ctc edu> wrote:
> > Hi all, I've been trying to figure this out for a while, Googled,
> > scanned the mailing list archive etc... If these questions have been
> > answered elsewhere, I apologise deeply.  Pointers to pages answering
> > these questions would be great.
> >
> >  1) Laptop lid response time
> >
> > When I open my laptop's lid, the nm-applet waits a seemingly random
> > amount of time before it starts doing it's little dance and connecting
> > to my network.  Is there any way to configure NM to connect
> > immediately when the lid open event happens?  Is there a command I can
> > issue that will make NM start scanning immediately, as in something I
> > could call from a power management event script?
> I can't answer this but I think it is related to suspend/resume or
> drivers more than NM in particular.    My netbook often is connected
> within a second after resume while my Lenovo laptop sometimes takes 15
> seconds.

Correct; when NM starts up it requests a scan from wpa_supplicant.  That
scan usually happens immediately, but sometimes drivers will reject the
scan for various (usually wrong) reasons.  Unfortunately there's no way
to figure out yet that a specific scan request that NetworkManager made
has been rejected so that NM can retry it.  Drivers like ath5k/ath9k
seem to reject scans much more often than iwlwifi for example.  You can
often see in 'dmesg' output when scan requests have failed.

This is something we have to work on in wpa_supplicant first.


> >
> > 2) DNS Search domains
> >
> > Is there any way to add your own search domains to the resolv.conf
> > when NM makes a connection?  I have servers I like to SSH into at work
> > and I'd like to be able to type the short form of the names, so I'd
> > like to stick my work domain into the search domains list no matter
> > where I'm connected.  Is there a way to configure that?
> >
> Yes, right click on the NM icon in the panel, select edit connection.
>  Then highlight the connection you want to modify and click edit.
> Under the tab IPv4 Settings is an option to add search domains.
> > Thanks All!
> > -Dylan
> > _______________________________________________
> > NetworkManager-list mailing list
> > NetworkManager-list gnome org
> >
> >
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org

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