Re: [blfs-support] wpa_supplicant D-Bus autostart problem

2014-04-10 Thread Bruce Dubbs
Cliff McDiarmid wrote:


> Shouldn't 'install -v -m644 systemd/*.service /lib/systemd/system' be
> included in BLFS for supplicant if installing under Systemd?

BLFS does not now support systemd.  We may in the future, but we are 
limited in volunteers to do the needed work.

   -- Bruce


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] wpa_supplicant D-Bus autostart problem

2014-04-10 Thread Armin K.
On 04/11/2014 12:16 AM, Cliff McDiarmid wrote:
>> - Original Message -
>> From: Armin K.
>> Sent: 04/10/14 04:52 PM
>> To: BLFS Support List
>> Subject: Re: [blfs-support] wpa_supplicant D-Bus autostart problem
>>
>> 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?
> 
>> You need to enable systemd service, wpa_supplicant.service in order to
>> start wpa_supplicant dbus mode when using systemd.
> 
> Many thanks Armin.  I have just found a piece on LFS about converting 
> packages to systemd.  Wpa_supplicant was there with an explanation.  
> 
> Shouldn't 'install -v -m644 systemd/*.service /lib/systemd/system' be 
> included in BLFS for supplicant if installing under Systemd?
> 
> thanks again
> 
> Cliff
> 

BLFS does not support systemd as of this moment. You can use my notes if
you like:

http://www.linuxfromscratch.org/~krejzi/notes.txt

Those are against LFS 7.5/Systemd 208 and BLFS 7.5. Might need ssome
adjustments for later versions.

-- 
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


Re: [blfs-support] wpa_supplicant D-Bus autostart problem

2014-04-10 Thread Cliff McDiarmid
> - Original Message -
> From: Armin K.
> Sent: 04/10/14 04:52 PM
> To: BLFS Support List
> Subject: Re: [blfs-support] wpa_supplicant D-Bus autostart problem
> 
> 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?

> You need to enable systemd service, wpa_supplicant.service in order to
> start wpa_supplicant dbus mode when using systemd.

Many thanks Armin.  I have just found a piece on LFS about converting packages 
to systemd.  Wpa_supplicant was there with an explanation.  

Shouldn't 'install -v -m644 systemd/*.service /lib/systemd/system' be included 
in BLFS for supplicant if installing under Systemd?

thanks again

Cliff


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-support] wpa_supplicant D-Bus autostart problem

2014-04-10 Thread Armin K.
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


Re: [blfs-support] wpa_supplicant D-Bus autostart problem

2014-04-10 Thread Cliff McDiarmid
> - 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



-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] wpa_supplicant D-Bus autostart problem

2014-04-10 Thread Armin K.
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?

> /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?
> 
> thanks
> 
> Cliff 
> 

Are you 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