/[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

Contents of /network-setup.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations)
Sun Apr 22 11:46:47 2007 UTC (12 years, 3 months ago) by dpavlin
File MIME type: application/x-sh
File size: 290 byte(s)
import initial version of MDAP protocol support
1 #!/bin/sh
2
3 sudo ifconfig ath0 down
4 #sudo dhclient eth0
5 sudo ifconfig eth0 down
6 sleep 1
7 sudo ifconfig eth0 192.168.1.100 up
8 sudo route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
9 echo "leaving"
10 sudo smcroute -l eth0 224.0.0.103
11 echo "joining"
12 sudo smcroute -j eth0 224.0.0.103
13 netstat -rn

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26