Root/bin/jlime

Source at commit a27d1958fb3a238dcdc9fe15e0d0649448409129 created 5 years 11 months ago.
By Werner Almesberger, ircstat/ML: update for 12/2013
1#!/bin/sh
2ITF=usb0
3if [ "$1" = -i ]; then
4    ITF=$2
5    shift 2
6fi
7# ben is 192.168.1.202
8echo 1 >/proc/sys/net/ipv4/ip_forward
9ifconfig ${ITF_JLIME:-$ITF} 192.168.1.200 up && ssh 192.168.1.202 "$@"
10

Archive Download this file

Branches:
master



interactive