Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => dCore x86 Imported Extensions => Topic started by: jls on November 18, 2015, 02:42:54 AM

Title: connman not autoconnecting unless launched in bootlocal
Post by: jls on November 18, 2015, 02:42:54 AM
Hi
if connman is launched in bootlocal.sh it auto connects to the wifi network, otherwise I've to manually enable the wifi  in the enlightenment connman module.

PS. in bootlocal I've to kill connmand before launching it again
Title: Re: connman not autoconnecting unless launched in bootlocal
Post by: Jason W on November 18, 2015, 06:59:04 AM
Ok, deb2sce startup script is not really the right place to launch services, bootlocal.sh is, that's how I have always done it in my machines.  I will remove it from connman.deb2sce.  I think /etc/init.d scripts are how services should be launched and I like to leave that control up to the user.  Other distros have tools that allow you to pick which services you want started on boot.  It would be simple to have a select menu utility that allows choosing which services you want started on boot based on what is installed which could be preserved with a backup.    Once the current bugs and other issues are resolved I will look into it.

I don't use connman or enlightenment so I have no idea what is happening.  What is the command or action that enables the wifi in the connman module?  That may help me find why it is not working when launched by the startup script.  Since other things don't work during boot but do after it may help point out what may be happening. 
Title: Re: connman not autoconnecting unless launched in bootlocal
Post by: jls on November 18, 2015, 11:57:33 AM
To enable the wifi just click on the connection manager icon and then on the wifi box. I cannot post screenshots since I'm typying this from my phone on the tramway
Title: Re: connman not autoconnecting unless launched in bootlocal
Post by: Jason W on November 18, 2015, 12:45:33 PM
Ok.
Title: Re: connman not autoconnecting unless launched in bootlocal
Post by: jls on November 20, 2015, 02:07:02 AM
screenshot attached