Enable WLAN in Plasma Active on Start-up

Alright, the setting is this: I got an Archos 101 G9 Turbo with the goal to experiment/develop/play around with Plasma Active/Mer. I use the images available from basyskom. Unfortunately, with these images the touch screen on my G9 did not work.

So, I was confronted with the problem of debugging a non-working touch screen somehow. The easiest solution for me would have been to access the tablet via SSH somehow. So I decided to look for a way to enable WLAN in order to get SSH access.

Fortunately, it is possible to access the root filesystem on the data partition; simply export the data partition and mount it on your local desktop as described in the basyskom guide linked above.

Now, I was left with the issue of enabling and configuring WLAN automatically at start-up. At this point lot of thanks go to mdfe_ from #active @freenode who pointed me into the correct direction. 🙂

The approach to enable WLAN at start-up is as follows: firstly, an “autostart” for the configuration script needs to be created. Secondly, the configuration script itself needs to be created.

As pointed out by mdfe_ I used a file in /usr/share/autostart to automatically trigger the WLAN configuration at start-up. Here is what my file looks like:

[root@localhost ~]# cat /usr/share/autostart/connect-wolf359.desktop
[Desktop Entry]

I used this *.desktop file to automatically launch a script that configures WLAN. The script simply configures WLAN as advised on the basyskom site linked above and looks as follows:

[root@localhost ~]# cat /usr/local/bin/connect_wolf359

cd /usr/lib/connman/test
./test-connman enable wifi
./connect-service "Wolf 359" "MySuperSecretPSK"

Note that my SSID is “Wolf 359” and I am using WPA2 with PSK.

So, that’s it. SSH is enabled by default and the default root password is “mer”.



This entry was posted in Misc., Snippets and tagged , , , . Bookmark the permalink.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.