LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-09-2002, 06:17 PM   #1
Dethbysmoke
LQ Newbie
 
Registered: Feb 2002
Posts: 4

Rep: Reputation: 0
setting up a network


can you please answer these questions

Using Linux networking

How does one start, restart, stop a network service in Linux?

How does one start a network service automatically after rebooting?

How does one disable a networking service?

Thanks
 
Old 02-09-2002, 06:44 PM   #2
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
Would be helpful if you said what distro you are using or plan to use.
But here go the basics:
/etc/rc.d/init.d/SERVICENAME restart, reload,stop,start #redhat, mandrake
/etc/rc.d/rc.SEVICENAME restart, reload,stop,start #slackware

to start a service automatically on reboot:
redhat: most services will have a start-up script in /etc/rc.d.rc*.d with either a K or S at the begaining of the name K for kill S for start, The boot up scripts will go through these dir and will try to start everything with a S and kill everything with a K.

Or you can use ntsysv to select what starts or doesnt in the current runlevel.
There is also a server daemon called xinetd. the config files for this are in /etc/xinetd.d . You ill have to edit these files manually.

Slackware: The startup scripts are in /etc/rc.d you can edit these files manually to select what services start and which dont, usally by uncommenting or commenting a line in the srcripts. I dont know of a tool like ntsysv, I edit the scripts manually in vi.
After you edit, just do /etc/rc.d/rc.SCRIPTNAME stop, start, reload, or restart , whatever you want to do.

I'm sure if you search on google or this forum you can find alot of info on this subject.

Last edited by hanzerik; 02-09-2002 at 06:48 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gateway setting ./network-scripts/ifcfg-eth1 and ./network joshfields Linux - Networking 1 04-29-2012 05:27 AM
Problem with setting up network card / network ssmeets Linux - Hardware 3 11-03-2005 04:46 PM
setting up a network gib65 Linux - Networking 4 03-08-2005 01:19 PM
setting up a network boundsofdreams Linux - Newbie 3 06-19-2004 09:05 PM
need help on setting over the network Rex_chaos Linux - Networking 3 09-22-2003 11:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration