diff --git a/jolla_usb_tethering.sh b/jolla_usb_tethering.sh new file mode 100755 index 0000000..d6b2bc2 --- /dev/null +++ b/jolla_usb_tethering.sh @@ -0,0 +1,8 @@ +#!/bin/sh +localIp='192.168.1.10/24' +localBroadcast='192.168.1.255' +netAdp=$1 +jollaIp='192.168.1.15' + +sudo ip addr add $localIp broadcast $localBroadcast dev $netAdp +sudo ip route add default via $jollaIp dev $netAdp onlink