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 $
32 # Sample script to load and configure ATM software
36 # Download FORE microcode into adapter(s)
38 # This step is only required if you are using FORE ATM adapters.
39 # This assumes that the FORE microcode file pca200e.bin is in /etc.
40 # See the file fore-microcode.txt for further details.
42 /sbin/fore_dnld -d /etc
45 # Define network interfaces
47 /sbin/atm set netif hfa0 <netif_prefix> 1
50 # Configure physical interfaces
52 /sbin/atm attach hfa0 uni31
55 # Start ILMI daemon (optional)
60 # Set ATM address prefix
62 # Only need to set prefix if using UNI and not using ILMI daemon
64 #/sbin/atm set prefix hfa0 <nsap_prefix>
67 # Configure network interfaces
69 /sbin/ifconfig <netif> <ip_addr> netmask + up
70 /sbin/atm set arpserver <netif> <atm_address>
73 # Configure PVCs (optional)
75 #/sbin/atm add pvc hfa0 <vpi> <vci> aal5 null ip <netif> <ip_addr>
78 # Start SCSP daemons (optional)
80 # This step is only required if your host is configured as an ATMARP server
81 # and you wish to synchronize its cache with the cache(s) of some other
82 # server(s). Scspd will look for its configuration file at /etc/scspd.conf.
85 #/usr/sbin/atmarpd <netif> ...