diff options
author | Sangjung Woo <sangjung.woo@samsung.com> | 2016-11-16 14:16:20 +0900 |
---|---|---|
committer | Sangjung Woo <sangjung.woo@samsung.com> | 2016-11-16 20:46:14 +0900 |
commit | 863335a0dec22abbc9d2444e9031db15b6822707 (patch) | |
tree | b2f9c0a4024601c58b113b2514233791a4ac3871 /scripts | |
parent | 791ae807fbebce2779eb62465ff2df5bb8c31b60 (diff) | |
download | system-plugin-863335a0dec22abbc9d2444e9031db15b6822707.tar.gz system-plugin-863335a0dec22abbc9d2444e9031db15b6822707.tar.bz2 system-plugin-863335a0dec22abbc9d2444e9031db15b6822707.zip |
udev: use fixed IP address for Clustersubmit/tizen_3.0/20161116.231358accepted/tizen/3.0/wearable/20161117.022344accepted/tizen/3.0/tv/20161117.022321accepted/tizen/3.0/mobile/20161117.022309accepted/tizen/3.0/ivi/20161117.022406accepted/tizen/3.0/common/20161117.090722
This patch assigns the fixed IP address to USB Ethernet device to
communicate with the Cluster device.
Change-Id: I5f9e37d7b729517577cc646c92fc38a1577414ff
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/usb_net_init.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/usb_net_init.sh b/scripts/usb_net_init.sh new file mode 100644 index 0000000..ab245b1 --- /dev/null +++ b/scripts/usb_net_init.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +PATH=/bin:/usr/bin:/sbin:/usr/sbin +interface=$1 + +/sbin/ifconfig ${interface} down +/sbin/ifconfig ${interface} 192.20.16.11 +/sbin/ifconfig ${interface} up + |