/[mdap]/network-setup.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 /network-setup.sh

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

revision 48 by dpavlin, Fri Nov 16 15:54:20 2007 UTC revision 54 by dpavlin, Fri Nov 16 17:45:22 2007 UTC
# Line 8  sudo killall udhcpd Line 8  sudo killall udhcpd
8  sudo rm etc/udhcpd.leases  sudo rm etc/udhcpd.leases
9  sudo touch etc/udhcpd.leases  sudo touch etc/udhcpd.leases
10  sleep 1  sleep 1
11  sudo ifconfig $if 10.0.0.1 up  sudo ifconfig $if 10.0.0.100 up
12  #sudo ifconfig $if:192 192.168.1.241 netmask 255.255.255.240 up  #sudo ifconfig $if:192 192.168.1.241 netmask 255.255.255.240 up
13  sudo route add -net 224.0.0.0 netmask 240.0.0.0 dev $if  sudo route add -net 224.0.0.0 netmask 240.0.0.0 dev $if
14  netstat -rn  netstat -rn

Legend:
Removed from v.48  
changed lines
  Added in v.54

  ViewVC Help
Powered by ViewVC 1.1.26