LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-13-2002, 12:32 PM   #1
mdobbs
LQ Newbie
 
Registered: Jan 2002
Posts: 3

Rep: Reputation: 0
booting: need faster timeout for eth0 and nfs


Dear ,

I'm running Redhat 7.2 on a compaq 1700 laptop.

Normally I boot from my office, and life is wonderful. It inits eth0 properly, gets an IP address through dhcp, and then mounts some other machine's disks over nfs.

BUT, when I'm away from an ethernet connection and try to boot, linux spends forever trying to bring up eth0 (order 3 minutes)... which is too long.

When I have an ethernet connection, but I'm not at work, it brings up eth0 properly, then spends forever trying to mount the nfs disks, which aren't available.

QUESTION: how do I tell redhat to timeout much, much faster when it brings up eth0 and tries to mount nfs disks??

(I know I can turn off eth0 at boot using /etc/sysconfig/network-scripts/ifcfg-eth0, but this isn't what I want..
. I want it to try eth0, and if it fails, to timeout after 15 seconds or so, and move on)

Thanks in advance -
 
Old 03-18-2002, 09:08 PM   #2
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
i also want to know the answer..

anyone can help us?

thank you
 
Old 03-18-2002, 11:48 PM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
edit /sbin/ifup


put the -t ?? after /sbin/dhcpcd ${DHCPCDARGS}

like this

elif /sbin/dhcpcd ${DHCPCDARGS} -t 10 ${DEVICE} ; then



if you are using pump then you will need to put it in a file and set it up like this

if /sbin/pump ${PUMPARGS} -c /etc/pump-eth0.conf -i ${DEVICE} ; then




there are many options to them look at the man pages


the pump-eth0.conf file would have this

timeout 10

this would timeout in ten seconds
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba faster than NFS... pAn1k Linux - Networking 7 07-15-2005 06:59 AM
timeout on eth0 trpn Linux - Hardware 3 01-17-2004 07:59 PM
eth0 timeout problem RancidWannaRiot Mandriva 8 12-18-2003 09:57 PM
eth0 / eth1 timeout value kkempter Linux - General 0 05-27-2003 03:26 PM
NFS Timeout mrsolo Linux - Software 5 09-10-2002 02:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration