LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   WPA_supplicant fails when stopping services. (https://www.linuxquestions.org/questions/fedora-35/wpa_supplicant-fails-when-stopping-services-611110/)

sblantipodi 01-04-2008 09:30 AM

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.

PTrenholme 01-04-2008 12:00 PM

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.

sblantipodi 01-04-2008 12:41 PM

Quote:

Originally Posted by PTrenholme (Post 3011269)
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 :(

PTrenholme 01-04-2008 09:13 PM

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.

sblantipodi 01-05-2008 08:37 AM

Quote:

Originally Posted by PTrenholme (Post 3011831)
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.

PTrenholme 01-05-2008 09:55 AM

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.

sblantipodi 01-05-2008 10:13 AM

Quote:

Originally Posted by PTrenholme (Post 3012339)
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 :(

moniker117 01-13-2008 04:36 AM

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.

sblantipodi 01-13-2008 06:36 AM

Quote:

Originally Posted by moniker117 (Post 3020813)
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.


All times are GMT -5. The time now is 05:21 PM.