Table of Contents
If you do not receive your IP Address from your ISP's DHCP server, that is, you were given a static IP address, you will need to complete this procedure to configure your firewall with the static IP information. This procedure assumes that you have gone through the Initial Configuration already. Items that look like: <???_from_block_n> refer to block n from the Network Information Sheet.
Boot the firewall, and log in as root.
Press [q] then [Enter] to return to the shell.
Mount the floppy disk into the file system:
mount -t msdos /dev/fd0u1680 /mnt [Enter]
for Dachstein floppy-only distributions -or-
mount -t msdos /dev/fd0 /mnt [Enter]
for Dachstein CD or dual-floppy firewalls
Change to the /mnt directory:
cd /mnt [Enter]
Open the syslinux.cfg file in e3:
e3 syslinux.cfg [Enter]
Locate the line that begins default.
Move the cursor to the part of that line that begins LRP=, and locate the entry for dhclient.
Delete the dhclient and the comma immediately following it from this line.
Press [Ctrl]-[s] to save the file.
Press [Ctrl]-[q] to return to the shell.
If you are running the Floppy-only distribution, go on to step 16.
Open the lrpkg.cfg file in e3:
e3 lrpkg.cfg [Enter]
Delete the dhclient and the comma immediately following it from this line.
Press [Ctrl]-[s] to save the file.
Press [Ctrl]-[q] to return to the shell.
If you are running the floppy-only distribution, delete the dhclient package from the disk:
rm dhclient.lrp [Enter]
This step is not actually required, however it will free up disk space should you wish to add other packages later. You may want to copy the dhclient.lrp package off to a floppy first, in case you want/need to add it back in later.
Move to the root directory and unmount the floppy:
cd / [Enter] umount /mnt [Enter]
Load the lrcfg script:
lrcfg [Enter]
Press [1] for Network Settings.
Press [1] for Network Configuration. This will load the network.conf file into the e3 editor.
Locate the line in the General Settings section that reads CONFIG_DNS=NO
Change this line to read:
CONFIG_DNS=YES
Locate the line in the Interfaces section that reads IF_AUTO="eth1"
Change this line to read:
IF_AUTO="eth0 eth1"
Scroll down to the eth0_* variables.
Locate the line that reads eth0_IPADDR=1.1.1.2.
Change this line to read:
eth0_IPADDR=<ip_from_block_1>
Locate the line that reads eth0_MASKLEN=30.
Change this line to read:
eth0_MASKLEN=<masklen_from_block_8>
Locate the line that reads eth0_BROADCAST=+.
Change this line to read:
eth0_BROADCAST=<bcast_from_block_3>
Locate the line that reads eth0_DEFAULT_GW=1.1.1.1
Change this line to read:
eth0_DEFAULT_GW=<ip_from_block_6>
Locate the line in the IP Filter setup section that reads EXTERN_DHCP=YES.
Change this line to read:
EXTERN_DHCP=NO
Scroll down to the Domain Search Order and Name Servers section (around line 620).
Locate the line that reads DNS0=127.0.0.1.
If you intend for your firewall to use DNS caching, leave this setting alone. If you wish for your firewall to check your ISP's DNS servers, make the following changes:
DNS0=<ip_from_block_17> DNS1=<ip_from_block_18> ...
Press [Ctrl]-[s] to save this file.
Press [Ctrl]-[q] to return to the menu.
Press [q] then [Enter] to return to the main configuration menu.
Press [b] to display the backup menu.
Now back up the firewall. If your firewall was unmodified prior to performing this procedure, you need only back up the etc package.