[Whistle graphic] Hacking the Whistle InterJet
SchuBox Linux for the Whistle InterJet

AUTHOR:
======================================================================================
Matthew Schumacher (schu@schu.net)

INTRODUCTION:
======================================================================================
Here is the first release of SchuBox linux for the Whistle InterJet.

The goal of this small distro was to make the Whistle InterJet into a completely silent
firewall.  I also wanted to make the distro binary compataible with a modern linux
so that you can copy new binaries into the roofs without library problems.

This distro uses RedHat 8.0 glibc libraries and was compiled on RedHat 8.0.  Everything
was compiled from source on my system except for the glibc libraries.  I did this so
that the distro didn't have any RPM issues while being RedHat based.

SchuBox_InterJet-2.0.1.iso.gz was released this morning with kernel 2.6.11.  Get it at:
http://www.aptalaska.net/~matt.s/interjet/

The kernel used in the last release, 2.6.10, had a nasty ip_conntrack bug documented over at:
https://lists.netfilter.org/pipermail/netfilter-devel/2004-December/017908.html  Since the upgrade I have not had any issues
with connection tracking so I feel that this release will be pretty stable for some time to come.

Upgrading is simple:

1.  Burn the cd. And mount it in your windows or unix host.
2.  ssh to your interjet
3.  mount the cf card (or disk)
    `mount /dev/ide/host0/bus0/target0/lun0/part1 /mnt/`
4.  scp the <cdrom>/interjet/linux26 to /mnt on your interjet
    `scp interjet/linux26 root@<interjet>:/mnt`
5.  umount the cf card (or disk) on the interjet
    ` umount /mnt`
6.  Reboot `reboot`

Basically your just mounting the disk and writing the new kernel over the old, umounting, then rebooting.

If you are doing a new install, please see the readme file in the cd root for instructions.

Also, I only know of 2 other people that are using schubox on the interjet so if your using this disto please drop me a line at
schu@schu.net so that I know if posting these release announcements are even useful.

If your not using Schubox and have a old Interjet laying around let me encourage you to install schubox and make it your home or
office gateway/firewall.  It is far more featured than these cheap $50 routers, but yet doesn't require you to maintain unix
host with mounted disks.


REQUIREMENTS:
======================================================================================
Whistle InterJet
64MB of memory (use 2 32M 72pin SIMMS FPM)
IDE storage with 16MB of space (I use an IDE->CF adapter and a 16M flash card :)


INSTALLATION:
======================================================================================
To install this on an InterJet you need to put a 16M or larger active FAT16 partition on
a disk then call `syslinux /dev/<diskdev>` to put the syslinux bootstrap on it.  Now
copy SYSLINUX.CFG, LINUX, and rootfs.gz to the partition.


NOTES:
======================================================================================
The system will start the syslinux loader which looks for it's config in the syslinux.cfg
file.  It will find instructions to mount the root fs from a initrd image.  This image
(rootfs.gz) is extracted and placed into a 32MB ramdisk which is mounted in rw mode.
This leaves 32MB of memory for the system.  I like this method for 2 reasons.  First,
it never mounts the disk, so it's not possible to get file system problems.  Second,
the cf adapter I use doesn't make any noise so my firewall is completely silent.

There are a couple of files you need to change to really make this useful:

/etc/ppp/pppoe.conf:
Change the pppoe username

/etc/ppp/chap-secrets:
Change the pppoe username and password

/etc/passwd:
Change the system password (default is 'password')

/bin/firewall:
Iptables firewall rules

/etc/init.d/rcS:
Change system IP address and syslog server

/usr/gatekeeper/etc/gatekeeper.ini:
Change the private network address


H.323 GATEKEEPER:
======================================================================================
Also included is the H.323 gatekeeper so that you can run your H.323 apps behind the
firewall.  This software is larger than the rest of the distro so remove /usr/gatekeeper
if you're not going to use it.


CREATING A COMPRESSED ROOTFS:
======================================================================================
Included is the file mkroot.sh.  This script will take the rootfs dir and create a new
rootfs.gz file.  If you want to make a change to the disto, make the change in the rootfs
dir then create a new rootfs.gz, copy it to the umounted dos partition then reboot.  I
copy the files to a new image every time because it removes the possiblity of the
image becoming fragmented.


questions/comments to schu@schu.net.


Hacking the Whistle InterJet | my pages | feedback

https://www.alaska.net/~royce/interjet/projects/firewall/schubox.html
was last updated: 2016-10-15