
--- miniether readme file---

This is the readme file for the linux module net9eth
Licence: GPL

For a description of this module lookup: rs485.de-franek.de
Please feel free to contact me: joachim.franek@t-online.de


1. Compile the module
This code was compiled and testet at a suse73 box.
Please do the following to compile this code:
copy /boot/vmlinuz.version.h to /lib/modules/`uname -r`/build/include/linux/version.h

make clean
make

In case of any trouble, contact me.

2.Use this module
To use this module please choose a network ip
for the interface with 24 bits and a node number.
In the following example it is "192.168.10"
for the network segment and "20" for the
local node number resulting of a ip of
"192.168.10.20" for this interface.I suggest
to use the lower 8 bits of this ip as
the "own address" in the net9 protocol.

This module uses the next available eth devices.
Example: if ifconfig shows you one ethernet device
(usually eth0) then this module takes eth1.


3. miniHowTo
- maybe it is required to disable the serial driver: "setserial/dev/ttyS0uartnone"
- insmod ./n9eth.o n9adr=20
- check the module is loded with lsmod
- ifconfig eth1 192.168.10.20 up
- check this with ifconfig

To stop all things:
- ifconfig eth1 down
- rmmod n9eth


Future versions of this driver may not have the option
"n9adr". I hope to be able to determine the "own address"
from the parameter of the "ifconfig .. up" command.

4. Hints
For debuging it is sometimes helpfull to look at cat /proc/interrupts
and to show the log with: tail -f /var/log/messages
Each received and send byte on the rs485 bus generates
one interrupt.

5. Remarks
The ethernet mac address is composed of the string "\0NET9"
and the own_address.


Joachim Franek 
2002/02/15


