LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-16-2008, 02:57 AM   #1
Elnegro8
Member
 
Registered: Jul 2006
Posts: 70

Rep: Reputation: 15
disable services like bluetooth on startup


hi
i noticed that on start up i have a lot of services that im not use also i saw it with ps -ef how do i disable them ??

Jul 16 09:21:03 Elena hcid[1649]: Bluetooth HCI daemon
Jul 16 09:21:03 Elena kernel: Bluetooth: Core ver 2.10
Jul 16 09:21:03 Elena kernel: NET: Registered protocol family 31
Jul 16 09:21:03 Elena kernel: Bluetooth: HCI device and connection manager initialized
Jul 16 09:21:03 Elena kernel: Bluetooth: HCI socket layer initialized
Jul 16 09:21:03 Elena kernel: Bluetooth: L2CAP ver 2.8
Jul 16 09:21:03 Elena kernel: Bluetooth: L2CAP socket layer initialized
Jul 16 09:21:03 Elena sdpd[1655]: Bluetooth SDP daemon
Jul 16 09:21:03 Elena hcid[1649]: Register path:/org/bluez fallback:1
Jul 16 09:21:03 Elena kernel: Bluetooth: RFCOMM socket layer initialized
Jul 16 09:21:03 Elena kernel: Bluetooth: RFCOMM TTY layer initialized
Jul 16 09:21:03 Elena kernel: Bluetooth: RFCOMM ver 1.8
Jul 16 09:21:04 Elena pcscd: pcscdaemon.c:464:main() pcsc-lite 1.3.1 daemon ready.
Jul 16 09:21:04 Elena kernel: Bluetooth: HIDP (Human Interface Emulation) ver 1.1
Jul 16 09:21:04 Elena hidd[1745]: Bluetooth HID daemon
Jul 16 09:21:04 Elena automount[1764]: lookup_read_master: lookup(nisplus): couldn't locat nis+ table auto.master
Jul 16 09:21:05 Elena kernel: NET: Registered protocol family 10
Jul 16 09:21:05 Elena kernel: lo: Disabled Privacy Extensions
Jul 16 09:21:05 Elena kernel: IPv6 over IPv4 tunneling driver


the bluetooth and also for example -->Pv6 over IPv4 tunneling driver

im not using ipv6
 
Old 07-16-2008, 04:12 PM   #2
williebens
Member
 
Registered: Jan 2008
Posts: 88

Rep: Reputation: 16
Run:

chkconfig --list service-name

and then, it if is off for the run level you want off, then you have nothing else to do. Otherwise, if it is on of the run level you want to turn it off, then run:

chkconfig --level level# service-name on

For example, to disable the database server mysql not to start on level 3, I would do it like this:

chkconfig --level 3 mysqld off

I hope this helps.

Thanks.
--Willie
 
Old 07-16-2008, 04:16 PM   #3
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
The previous post will work if you have an rpm based distro like Fedora, CentOS, Red Hat, Suse, etc. It may differ with Slackware, Debian, etc. So giving us the distribution used is beneficial at times.
 
Old 07-17-2008, 02:24 AM   #4
Elnegro8
Member
 
Registered: Jul 2006
Posts: 70

Original Poster
Rep: Reputation: 15
10 xxx i did it first to the bluetooth service do i need to do any save at the end ???

and can i run in 1 comman do turn off more than one run level for exemple the bluetooth was on on run level 3+4+5

and i use 3 lines :

chkconfig --level 2 bluetooth off
[root@Elena ~]# chkconfig --level 3 bluetooth off
[root@Elena ~]# chkconfig --level 4 bluetooth off
[root@Elena ~]# chkconfig --level 5 bluetooth off


[root@Elena ~]# chkconfig --list |grep blue
bluetooth 0ff 1ff 2ff 3ff 4ff 5ff 6ff
[root@Elena ~]#

do i need to save after before reboot and how can i had 3 levels in one command line 10xxxx
 
Old 07-17-2008, 05:11 AM   #5
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,563
Blog Entries: 1

Rep: Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024
If you don't use bluetooth at all, you don't need to specify the runlevel:

Quote:
chkconifg bluetooth off
It will disable bluetooth in all available runlevels.

Quote:
do i need to save after before reboot
No, the commands you issued disabled bluetooth at the startup.

If you want to stop/start a service now you could issue:

Quote:
# service bluetooth start
or
Quote:
# service bluetooth stop
Quote:
# service bluetooth restart
the service command does not modify the startup configuration, just switches a service on/off


hth
 
  


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
bluetooth services ahmad19 Linux - Networking 1 04-25-2008 03:41 PM
What is the RIGHT way to disable startup services? asimov Ubuntu 3 06-01-2006 10:43 AM
disable AppleTalk services from startup cccc Debian 2 10-23-2005 03:46 PM
Disable bluetooth roger600 Linux - General 2 09-28-2005 01:48 PM
what are the services i can disable, also disable ads, banners in konqueror? greythorne Suse/Novell 3 03-16-2005 08:30 AM


All times are GMT -5. The time now is 01:52 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration