Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

disabling eth0/1 on laptop 1

Status
Not open for further replies.

theEclipse

Programmer
Dec 27, 1999
1,190
US
hello

I am runnig FC3 on my laptop and because I dont really ever plug an ethernet cable into my laptop the boot hangs for about 35-60 seconds trying to find something on eth0, my wired cat5 port. Is there a way I can disable it so that Fedora doesnt try and fetch an ip until I want it to?

This would also be handy with my wireless card because I am often in an abnormal location with strange wireless networks and I dont want it to connect to one of them unless I so choose. (this however is a totally different problem because I cant even get the netgear piece to work in fedora....)

Robert Carpenter
"Disobedience to conscience is voluntary; bad poetry, on the other hand, is usually not made on purpose." - C.S. Lewis (Preface to Paradise Lost)
ô¿ô
 
I guess you would turn networking off. /etc/init.d/network stop

chkconfig 3 4 5 network off


Sometimes its named networking also.

When its time to run networking just turn it back on

/etc/init.d/network start



Dave
 
I don't thing I would set the network to not come up automatically. A lot of services, for example, depend on localhost (127.0.0.1) being there.

I would just set the devices themselves to not come up. On FC3, if you look in /etc/sysconfig/network-scripts, you will find files with names like like ifcfg-eth0 and ifcfg-eth1. In those files, you should see a line which tells the interface to come up on boot. I think, but can't verify because I don't have a Linux box available, the line is "ONBOOT", but if it's not, you can probably figure it out.

Want the best answers? Ask the best questions!

TANSTAAFL!!
 
ADDENDUM:
You can then turn a particular interface on with the command

ifconfig eth0 up

(again, I don't have a Linux box available, so check. do a [tt]man ifconfig[/tt]).

Want the best answers? Ask the best questions!

TANSTAAFL!!
 
True you can change the ONBOOT=NO. That will cause it not to load during boot. Turning networking off will work also since he has no need for it set that service not to even start. Whichever he decides I guess. More than one way to skin this cat.

Dave
 
Thanks !

I'll give it a test in abit. I'm on the windows side of the laptop now...

Robert Carpenter
"Disobedience to conscience is voluntary; bad poetry, on the other hand, is usually not made on purpose." - C.S. Lewis (Preface to Paradise Lost)
ô¿ô
 
TheEclipse,

Why is your login and password text box area so small on your website? It cracks me up, I have never seen anything like that.

 
hidden-

its because I am the only one that uses them--they are for me to manage the site.

And if you use firefox they get bigger on focus. The site is up for review in the web design forum ( forum253 ) if you want to comment further.

Robert Carpenter
"Disobedience to conscience is voluntary; bad poetry, on the other hand, is usually not made on purpose." - C.S. Lewis (Preface to Paradise Lost)
ô¿ô
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top