Werner's Miscellanea
Sign in or create your account | Project List | Help
Werner's Miscellanea Git Source Tree
Root/
Source at commit 5a34af4f9a210fa534d026c3da10ab3197b2289f created 9 years 11 months ago. By Werner Almesberger, ircstat/README: run "mlabs" for IRC statistics | |
---|---|
1 | #!/bin/sh |
2 | ITF=usb0 |
3 | if [ "$1" = -i ]; then |
4 | ITF=$2 |
5 | shift 2 |
6 | fi |
7 | # ben is 192.168.1.202 |
8 | echo 1 >/proc/sys/net/ipv4/ip_forward |
9 | ifconfig ${ITF_JLIME:-$ITF} 192.168.1.200 up && ssh 192.168.1.202 "$@" |
10 |
Branches:
master