From 078bc2da93420acac28b943a7674ba0710492bc3 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Tue, 15 Mar 2016 15:08:59 +0100 Subject: [PATCH] Tiny script (one line) to add an ip address to the usb jolla --- jolla_connect | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 jolla_connect diff --git a/jolla_connect b/jolla_connect new file mode 100755 index 0000000..6959392 --- /dev/null +++ b/jolla_connect @@ -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