My Libretto is a FireWall


That procedure may install

  1. A Smoothwall box
  2. A Smoothwall developpement center

Install Procedure (Smoothwall 0.9.8)

Install

1- Install another distribution, (I used Mandrake 7.2) that will be used as a SmoothWall developpement center, with the partitions (SmoothWall prefers have root partition on /dev/hda2)
    /dev/hda1 of 61 MB, mounted as /dos
    $ROOT=/dev/hda2 of 82 MB minimum, mounted in Mandrake as /smooth will be / when started in Smoothwall
    $SWAP=/dev/hda3 of 74 MB minimum, swap partition
    /dev/hda4 extended
    /dev/hda5 of 82 MB Mandrake root
    /dev/hda6 of 419 MB Mandrake /usr
2- Unpack smoothwall.tgz (extracted from CDrom, or ISO file) in /smooth
3- Addition for laptops: copy 4- make symlinks to $SWAP=swap dev and $ROOT=root dev
    cd /smooth/dev
    ln -s $SWAP harddisk1
    ln -s $ROOT harddisk2
5- edit /smooth/etc/passwd and remove the root password

Customize

1- edit (or patch) /smooth/etc/rc.d/rc.sysinit  (if you have a french kbd)
    -loadkeys /usr/lib/kbd/keymaps/i386/qwerty/uk.kmap.gz
    +#loadkeys /usr/lib/kbd/keymaps/i386/qwerty/uk.kmap.gz
    +loadkeys /usr/lib/kbd/keymaps/i386/azerty/fr-latin1.kmap.gz
2- edit (or patch) /smooth/etc/rc.d/rc.network and /smooth/etc/rc.d/rc.halt (For laptops)
3- edit /etc/sysconfig/network.
The IP address written in this script is used for the ipchains settings, it must be the same as the IP address in the /etc/pcmcia/network.opts
4- edit (or patch) /smooth/etc/rc.d/rc.sysinit  to add economy facilities:
This works on Toshiba laptops and turns off the LCD backlight.
insmod toshiba
/sbin/tosh_lcd -0
/sbin/hdparm -c 1 -m 16 -S 6 /dev/hda
5- edit /etc/lilo.conf to add a Smoothwall entry with /smooth/boot/vmlinuz-2.2.18 and run lilo (from Mandrake)
6- reboot and select Smoothwall in lilo menu
7- At the Smoothwall prompt, login as root (without password) and run "setup" 8- Should be ready. Run your Netscape. and go to http://Smoothwall/cgi-bin/index.cgi.

Remarks (Toshiba Libretto)

As Smoothwall is based on a RedHat 6.2, I tried first to install a RedHat distribution. I began with 7.0, but I have 2 problems:
  1. At install, I have a PCMCIA-CD, it asked me, after the boot floppy: "insert the drivers floppy". But it could not read it, because the floppy drive is a PCMCIA drive, and its driver wasn't loaded.
  2. After, I have an error at the end of the kernel compilation (checksum.S)

Connection

Red interface: my ISP

with an Olitec 56k external modem on the serial port /dev/ttyS1

Green interface: my home network

with a NE2000 clone or a Xircom on PCMCIA slot
3 clients:

Orange interface: my Palm Pilot

on the standard IrDA (SIR, 115200 Baud) on the serial port /dev/ttyS0
worked with SmoothWall 0.9.6 on Libretto CT50
To be parametered on SmoothWall 0.9.8 for Texas Extensa 555