The following page is a bit outdated.
Over the years, Coyote Linux has been superseded by BrazilFW
and some links do not work. However, both guides remain valid,
and the methods discussed here are suitable for instant use.
My name is Janusz
programmer and Linux
is a single floppy distribution of Linux
designed for the sole purpose
of sharing an Internet connection. The animal coyote
is small, smart,
and very vital.
Coyote Linux was designed to run from floppy disk, but diskette
contents is so volatile that we couldn't guess if it can boot
next time. Instead of FDD, I'm using CF memory card with CF-to-IDE
IDE-enabled version of Coyote v2.16. My
typical Coyote host is an
P120 machine underclocked to 90MHz to minimize power consumption. I
have recycled the hardware from junk. I've replaced processor fan with
big black Celeron's heatsink and cut off the power
supply fan because of very low power needs, resulting totally
quiet and more failure-resistant computer. So far, I have made 6 such
boxes and they are working very well.
into Coyote as root from Windows box, using cryptographic key
Do you feel comfortable when log-in as root, typing password, with a
couple of guys standing behind your back? Somebody can steal, sniff or
simply guess your password. I hate this! The best way to eliminate
passwords' weakness is not to use them at all. My typical Coyote box
has no display, so I'm using my personal notebook plugged
into Coyote's LAN and SSH client to talk with Coyote. If you have
similar situation, you can try this:
- Download a little mycfg.tgz
put it on your Coyote disk and boot it up.
- Prepare MS Windows box
(notebook) connected to Coyote's LAN:
Log in to Coyote with PuTTY,
using password (perhaps the last
Go to Coyote's shell with
"q", run "edit
- Install the recent version
suite for Windows.
- Run PuTTYgen, generate
- Save private key in safe
- Copy "public openSSH key"
to clipboard (do NOT use "Save public
- Run Pageant and load your
private key (you have to use
password, but only once per Windows session).
Save Coyote's configuration.
The only thing "mycfg" package does
saving root's ".ssh" directory.
- Paste key from clipboard
- Make sure the whole key is
in one line, terminated with a
- Save the file
Close your SSH connection.
Log in to Coyote again. If
we didn't break
anything, SSH will not ask you for password anymore.
As the next step, you should
consider replacing "ADMIN_AUTH"
Coyote's main configuration file with something like '!!' to prevent
password logins at all.
Please note that you still need a password, but now it protects
only the key on your computer, not the network connection. Even
compromising that password isn't dangerous as long as you keep your
private key secure. You can copy the same public key to other hosts you
wish to connecting to.
your DSL modem when it freezes (package
- You should have Coyote with cron
support. If you have not, please
- Download hwreset.tgz
put it on your Coyote disk and boot it up.
- Insert following lines in
Coyote main configuration file (menu
Save the file and save
This is such easy! Now, if your Coyote cannot ping
defined host, it will raise voltage level and drop it again on "RTS"
pin on given serial port. If you connect simple device to the serial
port, it can turn power off and on, reseting your modem. This small
piece of hardware
has a serial port connector, power input and output.
where "ip_number" is the number of remote host to test
where "n" is the number of serial
port (eg. 0 for /dev/ttyS0)
I have made such device with total cost less then $10
RTS is the pin #7 of 9 (or #4 of 25). SG is the pin #5 of 9 (or #7 of
Since we need only this 2 wires of serial port, and serial mice
them, we can recycle a cable from old mouse.
Resistor R3 limits relay current to about 20 mA. You should change it
if your modem is powered with another voltage. If it is less then 10V,
you should change relay to 5V version -A2001- .
- D1, D2 - diode 1N4148 (or similar)
- T - transistor BC547 (or similar)
- PC - photocoupler PC817 (or similar)
- R1, R2 - 5.1 kΩ
- R3 - about 200 Ω
(for 17.5V input voltage)
- RLY - relay V23042-A2003-B101 (or similar)
- Typical power connectors,
plastic box and 2 screws
Printed circuit board of size 0.8" x 1" may look somewhat like this:
This is enlarged top-side view, green traces are on the
I've created this
with free ExpressPCB.
cord can be tied with a piece of wire to the 2 unconnected pads in
upper left corner. Another 2 free pads on the right border help
to fix unused mouse wires.
As you can see, actual components may differ from above list ;-)