Parent Directory | Revision Log | Patch
revision 2 by dpavlin, Sat May 19 15:15:14 2007 UTC | revision 29 by dpavlin, Mon Jun 18 08:36:30 2007 UTC | |
---|---|---|
# | Line 1 | Line 1 |
sudo ifconfig eth0 192.168.1.90 up | ||
sudo route add -host 192.168.1.254 dev eth0 | ||
1 | ||
2 | if [ -z "$1" ] ; then | |
3 | eth=eth3 | |
4 | else | |
5 | eth=$1 | |
6 | fi | |
7 | ||
8 | sudo ifconfig $eth 192.168.1.90 up | |
9 | sudo route add -host 192.168.1.254 dev $eth | |
10 | echo "Setup of $eth to 192.168.1.90 ready" |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |