Root/bin/ben

Source at commit 3f820dc41d82c78d972efe3c69f139f209a742f9 created 9 years 16 days ago.
By Werner Almesberger, cad/test2/README: added more results and cleaned up the text
1#!/bin/sh
2ITF=usb0
3if [ "$1" = -i ]; then
4    ITF=$2
5    shift 2
6fi
7# ben is 192.168.254.101
8echo 1 >/proc/sys/net/ipv4/ip_forward
9ifconfig ${ITF_BEN:-$ITF} 192.168.254.100 up && ssh 192.168.254.101 "$@"
10

Archive Download this file

Branches:
master



interactive