LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-04-2008, 09:30 AM   #1
sblantipodi
Member
 
Registered: May 2006
Distribution: Latest CentOS
Posts: 151

Rep: Reputation: 15
WPA_supplicant fails when stopping services.


Hi,
I can use my wireless network without no problem using WPA_supplicant with fedora 8.

When I start wpa supplicant with
service wpa_supplicant start
it starts without problem and I can connect to wifi without problem.

But when I try to stop the services is tell me failed. I can't understand why.
Can you help me please? Thanks.
 
Old 01-04-2008, 12:00 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Have you tried a /etc/init.d/wpa_supplicant status before trying a stop? Perhaps it's no longer running when you attempt the stop.
 
Old 01-04-2008, 12:41 PM   #3
sblantipodi
Member
 
Registered: May 2006
Distribution: Latest CentOS
Posts: 151

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by PTrenholme View Post
Have you tried a /etc/init.d/wpa_supplicant status before trying a stop? Perhaps it's no longer running when you attempt the stop.
yes sure, it is running
 
Old 01-04-2008, 09:13 PM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Well, all the stop does is a killproc wpa_supplicant, so try that from root terminal and see what error message (if any) is generated, and which error code is returned.
 
Old 01-05-2008, 08:37 AM   #5
sblantipodi
Member
 
Registered: May 2006
Distribution: Latest CentOS
Posts: 151

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by PTrenholme View Post
Well, all the stop does is a killproc wpa_supplicant, so try that from root terminal and see what error message (if any) is generated, and which error code is returned.
if I stop with
kill pid

it stops without error.
This is really strange.
 
Old 01-05-2008, 09:55 AM   #6
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Well, yes, but my script in /etc/init.d/ is using killproc, not kill, and I was wondering if that might make a difference.

Note that my system is not a 64 bit system, so what's in my /etc/init.d/wpa_supplicant script may differ from yours.
 
Old 01-05-2008, 10:13 AM   #7
sblantipodi
Member
 
Registered: May 2006
Distribution: Latest CentOS
Posts: 151

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by PTrenholme View Post
Well, yes, but my script in /etc/init.d/ is using killproc, not kill, and I was wondering if that might make a difference.

Note that my system is not a 64 bit system, so what's in my /etc/init.d/wpa_supplicant script may differ from yours.
yes mine is 64bit, now I have rechecked /etc/init.d/wpa_supplicant
and also in my system there is killproc
 
Old 01-13-2008, 04:36 AM   #8
moniker117
Member
 
Registered: May 2005
Location: Los Angeles, CA, USA
Distribution: Arch
Posts: 48

Rep: Reputation: 15
Are you running SELinux?

I'm running Fedora 8 x86_64 with SELinux enabled and I've found that I can't just start wpa_supplicant using the service command without SELinux jamming it up. It doesn't appear to work and behaves strangely.

Last edited by moniker117; 01-13-2008 at 04:37 AM.
 
Old 01-13-2008, 06:36 AM   #9
sblantipodi
Member
 
Registered: May 2006
Distribution: Latest CentOS
Posts: 151

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by moniker117 View Post
Are you running SELinux?

I'm running Fedora 8 x86_64 with SELinux enabled and I've found that I can't just start wpa_supplicant using the service command without SELinux jamming it up. It doesn't appear to work and behaves strangely.
no, I have disabled selinux.
 
  


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
hostap wpa_supplicant wifi connects but no services available KrazyKanuk Linux - Wireless Networking 2 09-17-2007 12:28 PM
Stopping Services rubadub Linux - Software 3 01-05-2007 12:39 PM
disabling stopping services ganxteh Fedora 6 12-17-2004 10:24 PM
stopping services? piglingz Linux - Software 3 06-24-2003 04:26 PM
stopping and starting services nero64 Linux - Newbie 3 11-13-2002 01:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:24 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