View Single Post
Posts: 3 | Thanked: 33 times | Joined on Dec 2013
#2296
Ok, I managed to get the WiFi hotspot functionality to work with directions from http://elinux.org/Jolla

I tried adding alias to .bashrc in home directory to launch the wifi tether with fingerterm more easily:
Code:
alias tether='/usr/lib/connman/test/enable-tethering wifi Jolla mypasswd'
But fingerterm simply disregards all the aliases in .bashrc, and can't get them to work. However they do work when I login via SSH from outside.

Anyway, I don't like having to turn on/off the wifi tethering from command line, so I made these shortcuts straight into the desktop.

Create following files:

wifi-tether-on.desktop
Code:
[Desktop Entry]
Type=Application
Name=Tether on
Exec=fingerterm -e "/usr/lib/connman/test/enable-tethering wifi Jolla mypasswd"
Icon=harbour-tidings
wifi-tether-off.desktop
Code:
[Desktop Entry]
Type=Application
Name=Tether off
Exec=fingerterm -e "/usr/lib/connman/test/disable-tethering wifi"
Icon=harbour-tidings
(Mind the line breaks if you are simply copypasting!).

Just copy these files to /usr/share/applications and you are good to go!

"Jolla" here is the SSID. You can use also the Fingerterm icon (icon=icon-l-terminal), if you don't have the Tidings application installed (I do like the orange wireless icon of Tidings though).

I know this is an ugly hack, but it works sufficiently while waiting for the official wifi tethering support.
Attached Images
 

Last edited by olento; 2013-12-23 at 18:50.
 

The Following 23 Users Say Thank You to olento For This Useful Post: