Guest KShots Posted April 15, 2004 Report Share Posted April 15, 2004 Anyone know how to enable on-demand an ethernet device? It'll run off of DHCP so there's no manual configuration to speed things up... but if I try and take my laptop somewhere and boot, it'll try and start eth0 up for a few minutes (not a good thing). Any ideas on a work-around? Quote Link to comment Share on other sites More sharing options...
brancalessio Posted April 16, 2004 Report Share Posted April 16, 2004 Hi! Do you use DHCP only? Set your network with Mandrake Control Center. Choose "expert mode". You should find an option named, "start on boot". Do not use this option. After the boot run as root ifup eth0 and your ethernet device should be up! To stop the network use ifdown eth0 I'm telling you to run these commands as root. Try also as user, but I'm not sure it will work! Let me know! Quote Link to comment Share on other sites More sharing options...
Guest KShots Posted April 16, 2004 Report Share Posted April 16, 2004 Thanks, I'll give that a shot :) Quote Link to comment Share on other sites More sharing options...
brancalessio Posted April 16, 2004 Report Share Posted April 16, 2004 Hi! I tried my advice today. I use mdk92 and it worked! The only thing is that you must be root... if you don't want to change some permissions on some device files... Another way should be to reduce the time the client waits for the answer of the DHCP server... For example, if one can tell to wait only 20 seconds instead of 120, it should be great... At the moment I don't know how to do... and if it is possible... Bye! Quote Link to comment Share on other sites More sharing options...
Guest KShots Posted April 17, 2004 Report Share Posted April 17, 2004 Thanks, that worked great! Actually, for DHCP, I've never had a response take more than 1 1/2 seconds, so I'd even cut the wait time down to 2 seconds (if it fails, then we can have root take it down and up again). However, I don't know where to set the timeout either :(. Anyways, logging in as root for a few seconds isn't a biggie, so your original suggestion works just fine :). Quote Link to comment Share on other sites More sharing options...
brancalessio Posted April 26, 2004 Report Share Posted April 26, 2004 Hi! In the last days I found an interesting thing. Actually I did not tried it up to now, but it seems very interesting. We I'll have same time... Look at this man page: man ifplugd I read the preamble only, but I still stress we should take it into account. Bye! :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.