Previous Next Contents

11. Ottawa PI/PI2 card driver and Gracilis PacketTwin driver.

The Ottawa PI and the Gracilis PacketTwin are Z8530 SCC based card for IBM PC type machines that are in common usage by Amateur Radio operators worldwide. The PI card supports a high speed half duplex (single DMA channel) port, and a low speed (<9k6bps interrupt driven) half duplex port. The PI2 is a new version of the card that supports an on board radio modem and improved hardware design. The PacketTwin card supports two high speed port and is capable of accepting on board modems.

The PI card driver was written by David Perry, <dp@hydra.carleton.edu> The PacketTwin card driver was written by Craig Small VK2XLZ, <csmall@triode.apana.org.au>. Both drivers are a standard feature of the 1.3.xx kernel.

Please refer to the AX.25 section above for details on how to configure the kernel to include the PI card or the PacketTwin card drivers.

Once you have the appropriate driver configured into your kernel then you should reboot and when you do, you should see mention of the PI or PacketTwin card driver in the messages that appear on the screen while the kernel is booting. The drivers test each of the I/O port addresses that the card might be configured for and reports any that it finds. You should then look at the /proc/net/dev file and you should see reference to devices called pi0a and pi0b or pt0a and pt0b for the PI and PacketTwin cards respectively.

If the devices don't appear then recheck that you have configured and compiled your kernel correctly and that you are in fact actually running your new kernel. If you still don't then this suggests that your PI or PacketTwin card was not detected by the kernel while it booted and may indicate that you have some sort of hardware conflicting with your PI/PT card that prevented it being detected.

If all of the above went as planned then you will need to configure your PI/PT card with an AX.25 address and for IP. The configuration of the PI/PT cards is virtually identical to that of any other IP interface. Something like the following should work ok for you:

# /usr/sbin/axparms -setcall pi0a VK2KTJ-2
# /sbin/ifconfig pi0a 44.136.8.5
# /sbin/ifconfig pi0a netmask 255.255.255.0
# /sbin/ifconfig pi0a broadcast 44.136.8.255
# /sbin/ifconfig pi0a arp mtu 256 up
# /sbin/route add -net 44.136.8.0 pi0a
# /sbin/route add default pi0a

Note that pi0a refers to the `a' port on the first PI card found, and that pi0b would therefore refer to the `b' port on the first PI card found. pt0a would therefore be the first port on the first PacketTwin card detected.

Note also the use of the axparms -setcall command to set the AX.25 callsign of the port.

As usual, when this has been done you can test the interface with the ping or telnet command to ensure it is working.


Previous Next Contents