1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?xml version='1.0' encoding='iso-8859-1'?>
- <!doctype html public '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
- <html xmlns='http://www.w3c.org/1999/xhtml' lang='en-us'>
- <head>
- <title>
- pushbutton.sh
- </title>
- <meta http-equiv='content-type' content='text/html;iso-8859-1'/>
- <meta name='generator' content='motley-tools 1.9.4 13:40:33 Feb 18 2015'/>
- <meta name='author' content='cmaier@cmassoc.net'/>
- <meta name='robots' content='noindex,nofollow'/>
- <link href='toolkit.css' rel='stylesheet' type='text/css'/>
- </head>
- <body>
- <div class='headerlink'>
- [<a href='pts.sh.html' title=' pts.sh '>PREV</a>]
- [<a href='toolkit.html' title=' Index '>HOME</a>]
- [<a href='replace-softloader.sh.html' title=' replace-softloader.sh '>NEXT</a>]
- </div>
- <pre>
- #!/bin/sh
- # file: scripts/pushbutton.sh
- # This script illustrates how to use MS_PB_ENC to break and make a
- # network for testing purposes;
-
- # ====================================================================
- # host symbols;
- # --------------------------------------------------------------------
- . /etc/environment
- . ${SCRIPTS}/hardware.sh
- # ====================================================================
- # leave network;
- # --------------------------------------------------------------------
- int6k -i ${ETH1} -B 2
- int6kwait -i ${ETH1} -rs
- int6k -i ${ETH2} -B 2
- int6kwait -i${ETH2} -rs
- int6k -i ${ETH1} -I
- int6k -i ${ETH2} -I
- # ====================================================================
- # create network;
- # --------------------------------------------------------------------
- int6k -i ${ETH1} -B 1
- int6k -i ${ETH2} -B 1
- int6kwait -i ${ETH1} -rs
- int6kwait -i ${ETH2} -rs
- int6k -i ${ETH1} -I
- int6k -i ${ETH2} -I
- </pre>
- <div class='footerlink'>
- [<a href='pts.sh.html' title=' pts.sh '>PREV</a>]
- [<a href='toolkit.html' title=' Index '>HOME</a>]
- [<a href='replace-softloader.sh.html' title=' replace-softloader.sh '>NEXT</a>]
- </div>
- </body>
- </html>
|