Results 1 to 2 of 2

Thread: changing connection timeouts?

  1. #1
    Join Date
    Jun 2008
    Beans
    8

    changing connection timeouts?

    I have autofs set up as follows:

    #/etc/auto.master
    /mnt /etc/auto.misc --timeout=60 --ghost

    #/etc/auto.misc
    laptop -fstype=nfs,soft,intr holdenlt:/home/holden

    (where holdenlt is specified correctly in hosts).

    In breazy badger opening the home folder in nautilus was instant with this set up whether or not holdenlt was currently on the network and (if I remember right) doing "cd /mnt/laptop" would return an error instantly if the laptop wasn't on the network.

    With Hardy Heron however there's about a minutes delay on opening nautilus (any folder) and a similar delay upon typing "cd /mnt/laptop", when the laptop is not connected. My first reaction was to change the number after --timeout in auto.master, but experimentation and further reading revealed this to be the disconnect timeout, not the connect one.

    So my question is whether there's any way of reducing the connect timeout? (And better still stopping nautillus for waiting for a connection before showing the home folder...) From looking at /var/log/messages I'm guessing this is a networking issue as there's the message:

    Jul 1 15:02:57 holdendt kernel: [ 1041.265670] rpcbind: server holdenlt not responding, timed out

    Any help would be appreciated, as this is incredibly annoying at the moment.

    Thanks in advance,

    Tom

  2. #2
    Join Date
    Jan 2008
    Beans
    82

    Re: changing connection timeouts?

    I'm looking for something similar. Using autofs on a wi-fi connected laptop is really slowing down my Gnome login time because I think autofs is trying to mount the drives before the wi-fi is connected.

    Any help please?

    Thanks.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •