Appleman1234 Posted February 3, 2004 Report Share Posted February 3, 2004 Dear all, On my laptop I am running MDK9.2 and to access the net I have disable my ethernet connection b4 i can use my modem connection. My modem is properly configured with the smart link drivers. I know that I have tried editing the icfg-eth0 script to say on boot= no but because mandrake like redhat hotplugs and enables eth0 on boot regardless, I would like to know of a boot script that will disable eth0 while i am booting up or logging in using the command "ifconfig eth0 down". Please help if you can. Appleman1234 :) Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 3, 2004 Report Share Posted February 3, 2004 Try commenting out the line alias eth0 <<whatever>> in /etc/modules.conf (2.4.* kernels) or /etc/modprobe.conf (2.6.* kernels) Quote Link to comment Share on other sites More sharing options...
bvc Posted February 3, 2004 Report Share Posted February 3, 2004 Mandrake Control Center>System>DrakXServices>disable network at boot.Could also put ifconfig eth0 down in /etc/rc.d/rc.local Quote Link to comment Share on other sites More sharing options...
paul Posted February 3, 2004 Report Share Posted February 3, 2004 in /etc/sysconfig/network-scripts/ifcfg-eth0 change onboot=yes to onboot=no Quote Link to comment Share on other sites More sharing options...
bvc Posted February 3, 2004 Report Share Posted February 3, 2004 in /etc/sysconfig/network-scripts/ifcfg-eth0change onboot=yes to onboot=no which is what DrakXServices does Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 4, 2004 Report Share Posted February 4, 2004 Dear all,<<snip>>....I know that I have tried editing the icfg-eth0 script to say on boot= no but because mandrake like redhat hotplugs and enables eth0 on boot regardless...<<snip>> :) Quote Link to comment Share on other sites More sharing options...
bvc Posted February 4, 2004 Report Share Posted February 4, 2004 sheesh :huh: then get eth0 out of hotplug. See the configs for hotplug...blacklist I think it is called? ;) Quote Link to comment Share on other sites More sharing options...
Appleman1234 Posted February 4, 2004 Author Report Share Posted February 4, 2004 Dear all, Thanks for the help, I have tried placing ifconfig eth0 down in /etc/rc.d/rc.local but then when I try to dial up, its says unable to find modem. So I am stuck lol, tyvm to all of you anyways. I will try your suggestions. Thank you very much Appleman1234 :) Quote Link to comment Share on other sites More sharing options...
chris z Posted February 4, 2004 Report Share Posted February 4, 2004 are you restarting your etho card before trying to connect? since you have it set not to start during boot, it must manually be restarted. type the following in terminal as root........ ifup eth0 hit enter then try to connect. Chris 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.