Jump to content

Laptop Ethernet (sometimes on, sometimes not)


Guest KShots
 Share

Recommended Posts

Guest KShots

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?

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

Guest KShots

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 :).

Link to comment
Share on other sites

  • 2 weeks later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...