hammer expand: Fix "umount flushing...giving up!" problem.
[dragonfly.git] / share / examples / atm / atm-config.sh
blobbdad8d6ff54bf250f744070b7792b2a605987e36
1 #! /bin/sh
4 # ===================================
5 # HARP | Host ATM Research Platform
6 # ===================================
9 # This Host ATM Research Platform ("HARP") file (the "Software") is
10 # made available by Network Computing Services, Inc. ("NetworkCS")
11 # "AS IS". NetworkCS does not provide maintenance, improvements or
12 # support of any kind.
14 # NETWORKCS MAKES NO WARRANTIES OR REPRESENTATIONS, EXPRESS OR IMPLIED,
15 # INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY
16 # AND FITNESS FOR A PARTICULAR PURPOSE, AS TO ANY ELEMENT OF THE
17 # SOFTWARE OR ANY SUPPORT PROVIDED IN CONNECTION WITH THIS SOFTWARE.
18 # In no event shall NetworkCS be responsible for any damages, including
19 # but not limited to consequential damages, arising from or relating to
20 # any use of the Software or related support.
22 # Copyright 1994-1998 Network Computing Services, Inc.
24 # Copies of this Software may be made, however, the above copyright
25 # notice must be reproduced on all copies.
27 # @(#) $FreeBSD: src/share/examples/atm/atm-config.sh,v 1.2 1999/08/28 00:19:07 peter Exp $
28 # @(#) $DragonFly: src/share/examples/atm/atm-config.sh,v 1.2 2003/06/17 04:36:57 dillon Exp $
33 # Sample script to load and configure ATM software
37 # Download FORE microcode into adapter(s)
39 # This step is only required if you are using FORE ATM adapters.
40 # This assumes that the FORE microcode file pca200e.bin is in /etc.
41 # See the file fore-microcode.txt for further details.
43 /sbin/fore_dnld -d /etc
46 # Define network interfaces
48 /sbin/atm set netif hfa0 <netif_prefix> 1
51 # Configure physical interfaces
53 /sbin/atm attach hfa0 uni31
56 # Start ILMI daemon (optional)
58 /sbin/ilmid
61 # Set ATM address prefix
63 # Only need to set prefix if using UNI and not using ILMI daemon
65 #/sbin/atm set prefix hfa0 <nsap_prefix>
68 # Configure network interfaces
70 /sbin/ifconfig <netif> <ip_addr> netmask + up
71 /sbin/atm set arpserver <netif> <atm_address>
74 # Configure PVCs (optional)
76 #/sbin/atm add pvc hfa0 <vpi> <vci> aal5 null ip <netif> <ip_addr>
79 # Start SCSP daemons (optional)
81 # This step is only required if your host is configured as an ATMARP server
82 # and you wish to synchronize its cache with the cache(s) of some other
83 # server(s). Scspd will look for its configuration file at /etc/scspd.conf.
85 #/usr/sbin/scspd
86 #/usr/sbin/atmarpd <netif> ...
88 exit 0