Nortel Contivity 1010 v1.1 Slackware 13.0 Mini Distribution by PhreakMonkey http://phreakmonkey.com/ No warranties. INTRODUCTION: The Nortel Contivity 1010 VPN appliance is actually a 300 MHz Intel Celeron system, with two Intel E100 ethernet interfaces, one serial port, and a Compact Flash drive as the primary (/dev/hda) hard drive. This custom arrangement of Slackware 13.0 is designed to enable use of the Nortel c1010 as a basic Linux network firewall / gateway / appliance. REQUIREMENTS: Nortel Contivity C1010 512MB (or larger) CF card For installation: Computer running Linux (Slackware recommended), with a USB CF interface. INSTALLATION: [Note: This has to be done as root!] There are two installation methods you can use. One is an automated script that will create the filesystems, extract all the files, and then install the boot loader (lilo) automatically. The second installation method is for you to manually do the above steps. I will briefly cover both methods: ----- Quick Start INSTALLATION METHOD ONE (Quick Install Script): 1. Connect the CF card to your linux system. Make a note of the device name it shows up as. (try "dmesg" for help finding it. It should be at the end after you connect it.) 2. Open the device in a partition manager like fdisk, cfdisk, or parted. Delete any existing partitions on the CF card. 2. Create two Linux partitions on the CF card. The first one should be at least 400MB. - The first partition will be mounted as / on the c1010 - The second partition will be mounted as /var on the c1010 3. Run "./install-c1010.sh" and follow the prompts. That's it! ----- INSTALLATION METHOD TWO (Manual Installation): This method assumes you know what you are doing, hence I won't provide verbatim commands. 1. Connect the CF card to your linux box 2. Create two Linux partitions on the CF card. The first one should be at least 400MB. - The first partition will be mounted as / on the c1010 - The second partition will be mounted as /var on the c1010 3. Create ext3 filesystems on the two partitions 4. Mount the first partition somewhere (/mnt/hd as an example) 5. Create a subdirectory "var" on the mountpoint e.g. mkdir /mnt/hd/var 6. Mount the second partition under the var mountpoint on the first partition. 7. Extract Slackware-13.0-c1010-1.1.tar.bz2 under the mount point. e.g. cd /mnt/hd tar -xvpf /path/Slackware-13.0-c1010-1.1.tar.bz2 8. Sync the filesystems with "sync" 9. Install Lilo with the following command: lilo -r {mountpoint} -b {device} e.g. lilo -r /mnt/hd -b /dev/sdX (This will probably give you half a dozen warnings, but should complete) 10. That's it! Umount /mountpoint/var and then /mountpoint and you should be done! ------ HARDWARE INSTALLATION: Installing the CF card in your C1010 is easy: - Remove the four screws from the sides. - Pull the two halves (front and back) away from each other until they separate. - On the back left corner of the motherboard, you should see a small laptop-style RAM card, and a CF card / slot under it. - Carefully remove the RAM by releasing the two clips and then pulling the RAM card out. - Remove the existing 64MB CF card. - Insert the new CF card. - Put the RAM back in and you should be good to go! ----- OPERATION: If the above steps went well, you should have a working Contivity 1010 running Slackware Linux 13.0 with iptables support, OpenVPN, ssh, python, and other fun stuff. The default setup will request DHCP info from LAN0 and serve DHCP addresses for the 192.168.10.0/24 network on LAN1. It will also operate as a proxy DNS server and a NAT router for any hosts on LAN1. - Console port: 9600,n,8,1 - default root password: c1010 - ssh access is only enabled on LAN1 (192.168.10.1) by default. - By default / is Read-Only, with /var mounted read-write. - run "readwrite.sh" after loggin in to make / read-write for customization, &etc. - Network interfaces are defined in /etc/rc.d/rc.inet1.conf - iptables firewall script is in /etc/rc.d/rc.firewall Edit this to add incoming port mappings, &etc. - dhcp server config is /etc/dhcpd.conf Have fun! - phreakmonkey