Appleman1234 Posted February 3, 2004 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 :) Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 3, 2004 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) Link to comment Share on other sites More sharing options...
bvc Posted February 3, 2004 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 Link to comment Share on other sites More sharing options...
paul Posted February 3, 2004 Share Posted February 3, 2004 in /etc/sysconfig/network-scripts/ifcfg-eth0 change onboot=yes to onboot=no Link to comment Share on other sites More sharing options...
bvc Posted February 3, 2004 Share Posted February 3, 2004 in /etc/sysconfig/network-scripts/ifcfg-eth0change onboot=yes to onboot=no which is what DrakXServices does Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 4, 2004 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>> :) Link to comment Share on other sites More sharing options...
bvc Posted February 4, 2004 Share Posted February 4, 2004 sheesh :huh: then get eth0 out of hotplug. See the configs for hotplug...blacklist I think it is called? ;) Link to comment Share on other sites More sharing options...
Appleman1234 Posted February 4, 2004 Author 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 :) Link to comment Share on other sites More sharing options...
chris z Posted February 4, 2004 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now