even though all of my parts have not arrived for my new smoothwall project, i can begin to do some initial setup. first of all, here are all of the items of which i needed to find for the project:
- soekris engineering net4801-60
- soekris engineering 2.5" hdd mounting kit
- soekris engineering power supply
- 2.5" ide hard drive
- 10 foot serial null modem cable
since i already have the hard drive, i can do some of the prep work by installing smoothwall. i am using an old laptop to install the os to the hard drive. luckily linux is much less picky than windows about changing hardware after installing. i downloaded and burnt a copy of the latest smoothwall 3.0 sp1. installing smoothwall is about as straight forward as things come. just follow the steps on the screen until you get to the “Network configuration menu”. since we currently do not have the correct network cards in the computer, this part is going to be overwritten later.
just leave the current config as “GREEN (RED is modem/ISDN)”. choose “Drivers and card assignments”. allocate the nic to the green interface. then go to “Address settings” and give the green interface a valid IP address on your subnet. once that is completed, choose done. on the “Section menu” screen, just choose finished as we do not want to set up a modem that we actually won’t be using. then just complete the setup by entering your passwords and reboot.
when your smoothwall boots, go ahead a login using “root” and the password that you provided. we need to make a few configuration changes since the net4801 only uses serial console for video output. first, we need to edit /etc/inittab
. once finished, your inittab should look like this:
id:3:initdefault:
l0:0:wait:/etc/rc.d/rc.halt halt
l6:6:wait:/etc/rc.d/rc.halt reboot
si::sysinit:/etc/rc.d/rc.sysinit
# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -h now
# Run gettys in standard runlevels
1:2345:respawn:/sbin/agetty 38400 tty1
#2:2345:respawn:/sbin/agetty 38400 tty2
#3:2345:respawn:/sbin/agetty 38400 tty3
#4:2345:respawn:/sbin/agetty 38400 tty4
#5:2345:respawn:/sbin/agetty 38400 tty5
#6:2345:respawn:/sbin/agetty 38400 tty6
s0:2345:respawn:/sbin/agetty -L -f /etc/issueserial 19200 ttyS0 vt100
~:S:wait:/bin/bash
the line _s0:2345:respawn:/sbin/agetty -L -f /etc/issueserial 19200 ttyS0 vt100_
is what we are adding. this enables the serial console at the baud rate of 19200 (the default for the net4801). the commented out gettys lines in are ones that we’ve commented out. there is no point in running multiple virtual terminals if we aren’t going to use them. they will just use resources since this box is headless but we are leaving one just in case it is needed in a recovery scenario.
next we need to create an /etc/issueserial
file:
smoothwall
Connected on \l at \b bps
next, we will want to create an /etc/securetty
file to allow root to login from the serial console:
tyS0
tty1
tty2
tty3
in my next article, i am going to continue by talking about how to reconfigure the smoothwall setup to accept the new hardware of the net4801 but i will do so when i actually have the hardware on hand later this week.
continued in part 2