Tiny script to connect to jolla with usb tethering
This commit is contained in:
parent
078bc2da93
commit
d2f67a67a9
|
@ -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
|
Loading…
Reference in New Issue