SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
# /etc/init.d/wpasupplicant stop
Stopping wpasupplicant: start-stop-daemon: need at least one of --exec, --pidfile or --user
Try `start-stop-daemon --help' for more information.
linux:~ # /etc/init.d/wpasupplicant start
Starting wpasupplicant: start-stop-daemon: need at least one of --exec, --pidfile or --user
Try `start-stop-daemon --help' for more information.
knows someone what's wrong and howto solve this problem ?
You are not fulfilling the requirements of the start-stop-daemon command. Your missing an option ... guessing by the way the script is written you need to change the line:
the above is 1 line btw ... in the script the line is divided by the "\" but i wasnt sure if you know what that means ... just means more of the same line on the next line basically.
im guessing however as i dont know your system ... i would make a copy of your file add that and then try ... but that will only work for the start option if you want the other options of this to work you will have to add the pidfile option to the other sections as well. but see if that works and post back
thanks, I changed but still get the following error:
Code:
# /etc/init.d/wpasupplicant start
Starting wpasupplicant: start-stop-daemon: need at least one of --exec, --pidfile or --user
Try `start-stop-daemon --help' for more information.
debian uses the start-stop-daemon util to start/stop services ... SuSE uses the LSB method. the above is the way SuSE does it ... im not to familiar with debs util if you just want it to work would be pretty easy to rewrite into a LSB script. but see if this works too
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.