On 04/10/2014 05:49 PM, Cliff McDiarmid wrote: >> ----- Original Message ----- >> From: Armin K. >> Sent: 04/10/14 04:20 PM >> To: BLFS Support List >> Subject: Re: [blfs-support] wpa_supplicant D-Bus autostart problem >> >> On 04/10/2014 05:02 PM, Cliff McDiarmid wrote: >>> Hi >>> >>> I'm trying to setup Connman on my LFS/BLFS system(7.5). It requires >>> supplicant to be configured to D-Bus autostart, so ConnMan can >>> trigger the autostart of wpa_supplicant, i.e. wpa_supplicant -u. Obviously >>> DBus needs the proper .service and .conf(Connman)for wpa_supplicant. >>> I have: >>> >>> /usr/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service >>> >> >> There's second service for wpa supplicant too, did you install both of >> them using BLFS instructions? > > Yes, I have that too. > >>> /etc/dbus-1/system.d/wpa_supplicant.conf >>> >>> /etc/dbus-1/system.d/connman.conf >>> >>> The problem I have is, that unless I start supplicant manually, >>> 'wpa_supplicant -u', it doesn't get started by d-bus when requested by >>> Connman. >>> Once it's started I can connect. >>> >>> I have built supplicant and d-bus with the neccessary options, there were a >>> few extra for supplicant to suit Connman. >>> >>> On an LFS system is there any reason why this d-bus 'thing' would not be >>> working? > >> Are you using systemd? > > Yes, but a conversion following a hint. > > thanks for speedy reply > > Cliff >
You need to enable systemd service, wpa_supplicant.service in order to start wpa_supplicant dbus mode when using systemd. -- Note: My last name is not Krejzi. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page