Tiny script (one line) to add an ip address to the usb jolla

This commit is contained in:
Jeremy Gardais 2016-03-15 15:08:59 +01:00
parent 85585fe396
commit 078bc2da93
1 changed files with 6 additions and 0 deletions

6
jolla_connect Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
localIp='192.168.1.10/24'
localBroadcast='192.168.1.255'
netAdp=$1
sudo ip addr add $localIp broadcast $localBroadcast dev $netAdp