/[cwmp]/google/trunk/scripts/net.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /google/trunk/scripts/net.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 13 by dpavlin, Mon May 21 12:06:14 2007 UTC revision 107 by dpavlin, Sun Sep 2 18:57:26 2007 UTC
# Line 1  Line 1 
1  eth=eth3  
2    if [ -z "$1" ] ; then
3            eth=eth0
4    #       eth=ath0:0
5    else
6            eth=$1
7    fi
8    
9  sudo ifconfig $eth 192.168.1.90 up  sudo ifconfig $eth 192.168.1.90 up
10  sudo route add -host 192.168.1.254 dev $eth  sudo route add -host 192.168.1.254 dev $eth
11    echo "Setup of $eth to 192.168.1.90 ready"

Legend:
Removed from v.13  
changed lines
  Added in v.107

  ViewVC Help
Powered by ViewVC 1.1.26