Notices


Reply
Thread Tools
Posts: 345 | Thanked: 962 times | Joined on Feb 2014 @ Germany
#191
Build 0.1 and 0.4 are basically the same, the only difference is that one package was added, which fixes the missing keyboards after installation.

So, a
Code:
pkcon install patterns-sailfish-consumer-generic
in terminal, will give you build 0.4.
 

The Following 2 Users Say Thank You to mautz For This Useful Post:
Posts: 345 | Thanked: 962 times | Joined on Feb 2014 @ Germany
#192
I stumbled upon this post on TJC about wifi tethering on Xperia X. After some testing and modyfing of the script by joschobart, i think we finally got working wifi tethering on the Nexus 5.

For any one willing to try download or create the file hotspot.sh

Code:
#!/bin/bash

##Original script by joschobart can be found here: https://together.jolla.com/question/170006/xperia-x-wlan-sharing-not-working/ ##

if [ "$EUID" -ne 0 ]
  then echo "Please run as root (type devel-su first)"
  exit 1
fi

if [[ $1 == "off" ]]; then
  echo "Switch Tethering off..."
  /bin/dbus-send --print-reply --type=method_call --system --dest=net.connman /net/connman/technology/wifi net.connman.Technology.SetProperty string:Powered variant:boolean:false > /dev/null 2>&1
  sleep 1
  echo 0 > /sys/module/bcmdhd/parameters/op_mode
  /bin/dbus-send --print-reply --type=method_call --system --dest=net.connman /net/connman/technology/wifi net.connman.Technology.SetProperty string:Powered variant:boolean:true > /dev/null 2>&1
  sleep 1
  ifconfig wlan0 down
  ifconfig wlan0 up
  systemctl restart connman
  echo "...Tethering should be turned off now"
  exit 0
elif [[ $1 == "on" ]]; then
  echo "Switch Tethering ON.."
  /bin/dbus-send --print-reply --type=method_call --system --dest=net.connman /net/connman/technology/wifi net.connman.Technology.SetProperty string:Powered variant:boolean:false > /dev/null 2>&1
  sleep 1
  echo 2 > /sys/module/bcmdhd/parameters/op_mode
  sleep 1
  echo "Now enable hotspot (\"Settings > Internet sharing\")"
  read -p "Done with the instruction above? Then press [Enter] to continue..."
  ip link set dev wlan0 master tether
  sleep 1
  echo "Enjoy tethering on your Nexus5 ;)"
  exit 0
else
  echo "USAGE: $0 <on><off>"
  exit 1
fi
then make the file executable:
Code:
chmod +x hotspot.sh
.

To turn on tethering run
Code:
devel-su ./hotspot.sh on
and follow the instructions. Please wait until the Hotspot enable button stops blinking until you proceed.

To stop tethering
Code:
devel-su ./hotspot.sh off
should be enough.
 

The Following 3 Users Say Thank You to mautz For This Useful Post:
Posts: 198 | Thanked: 242 times | Joined on May 2015 @ Italy
#193
Does it work even on older version of Sailfish? I'll try later on
 

The Following User Says Thank You to claustn For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 13:52.