Find the answer to your Linux question:
Results 1 to 4 of 4
Hey all. I am running Mandrake 10.1 Very often, I do not have a network connection available (its a laptop). Booting up without a network connection takes forever because of ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Posts
    11

    Modify Time-Out Time


    Hey all.

    I am running Mandrake 10.1 Very often, I do not have a network connection available (its a laptop). Booting up without a network connection takes forever because of the long "time-out" time when Mandrake is trying to bring up Eth0 & then Eth2. Is there a place where I can change these values to be maybe - 5 or 10 seconds instead of the long time it is now?

    Thanks!

    ~Anthony

  2. #2
    Linux Enthusiast
    Join Date
    Feb 2005
    Location
    SE, Stockholm
    Posts
    512
    In Mandrake Control Center -> Network & Internet -> Reconfigure ...
    You'll find a tab called DHCP, in there you'll find an option "DHCP timout" enter a good value what so ever you feel is comfortable with your setup, me my self has a timeout of 10 sec's which is high enough in my point of view.

    Or if you'd preffere to change it from within an editor,
    just jump into directory /etc/sysconfig/network-scripts
    you will find files called ifcfg-<your-eth-dev> which you should edit and add a line DHCP_TIMEOUT=10
    Something like this:
    Code:
    DEVICE=ath0
    BOOTPROTO=dhcp
    ONBOOT=yes
    HWADDR=00&#58;xx&#58;xx&#58;xx&#58;xx&#58;xx
    METRIC=30
    MII_NOT_SUPPORTED=yes
    WIRELESS_ESSID=tg
    WIRELESS_ENC_KEY=<yeah yeah, in your wild dream ;&#41; >
    DHCP_CLIENT=dhclient
    DHCP_HOSTNAME=MyHost
    NEEDHOSTNAME=no
    PEERDNS=yes
    PEERYP=no
    PEERNTPD=no
    DHCP_TIMEOUT=11

  3. #3
    Just Joined!
    Join Date
    Apr 2005
    Posts
    11
    Quote Originally Posted by swemic
    In Mandrake Control Center -> Network & Internet -> Reconfigure ...
    You'll find a tab called DHCP, in there you'll find an option "DHCP timout" enter a good value what so ever you feel is comfortable with your setup, me my self has a timeout of 10 sec's which is high enough in my point of view.
    Thanks! I'll give that a try!!

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Apr 2005
    Posts
    11
    Quote Originally Posted by gadolinium
    Quote Originally Posted by swemic
    In Mandrake Control Center -> Network & Internet -> Reconfigure ...
    You'll find a tab called DHCP, in there you'll find an option "DHCP timout" enter a good value what so ever you feel is comfortable with your setup, me my self has a timeout of 10 sec's which is high enough in my point of view.
    Thanks! I'll give that a try!!
    I never found that GUI setting in Network & Internet ->Reconfigure (actually never saw anything called reconfigure - but even on the things I did try - nothing had a DHCP timeout option).
    Editing the file though and just flat out adding:
    DHCP_TIMEOUT=10 worked great!!! <DHCP_TIMEOUT= line did not exist - so I just added it - but it cerntainly seemed to do the trick!>

    Thanks for your help!

    ~Anthony

Posting Permissions

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