Hi,
I realize that this is going to be a long mail, and is therefor boring
to read :^) But I hope you will make it to the nd of this mail and
hopefully have a solution for my problem.
For quite some time now we are havning problems with periodic
disconnects.
Until recently we had a PC equiped with a SCC card. But the SCC port for
the full duplex link with the neighboring node locked up several times
per day.
Last week we moved the PC to the same location as the node and connected
it via an ethernet axip link. We hoped that both the SCC port lock-up
and the periodic disconnects would disappear.
But the periodic disconnects still occur.
I'm not sure if the problem is with the FBB deamon, with the AX.25
utils, with the AX.25 protocol implementation in the kernel, or because
of a configuration error.
The symptoms are as follows. While retrieving data from the BBS (via
digipeater) and the link quality is good, the user suddenly receives a
D frame.
See trace below.
[Wed May 5 08:26:45 1999]
Port lap48: AX25: PI8ZAA->PE1ICQ-1 v PI1EHV* <I C S4 R5> pid=Text
d: 9mn 06s - CPU tijd: 0s
Er is post voor je. Aantal berichten: 6.
Type LM om ze te listen, RN om ze te lezen en daarna KM om ze te wissen.
2:PI8ZAA-BBS>
[Wed May 5 08:26:48 1999]
Port lap48: AX25: PE1ICQ-1->PI8ZAA v PI1EHV <RR R R5>
[Wed May 5 08:26:48 1999]
Port lap48: AX25: PI8ZAA->PE1DNA v PI1EHV* <D C P>
[Wed May 5 08:26:48 1999]
Port lap48: AX25: PI8ZAA->PE1ICQ-1 v PI1EHV* <RR C P R5>
[Wed May 5 08:26:48 1999]
Port lap48: AX25: PE1ICQ-1->PI8ZAA v PI1EHV <RR R F R5>
[Wed May 5 08:26:49 1999]
Port lap48: AX25: PI8ZAA->PE1ICQ-1 v PI1EHV* <D C P>
[Wed May 5 08:26:49 1999]
Port lap48: AX25: PE1ICQ-1->PI8ZAA v PI1EHV <UA R F>
As you can see also other users get disconnected at the same time.
If I then reconnect to the BBS, and give the ! command, I see my call
sign in the list twice.
Apparently FBB thinks that I'm still connected.
Has anybody else experienced this and found the solution?
Is it a coniguration error?
If so, do you see anything wrong in the files below?
Thanks in advance.
73, Arno pe1icq
#
# AX25D Configuration File. /usr/local/etc/ax25d.conf
#
# Interfaces.
# [axip0]
# parameters 4 10 2 900 60 15
#
[PI8ZAA-7 VIA axip0]
NOCALL * * * * * * L
default * * * * * * - root /usr/sbin/node node axip0 %s
#
# end of ax25d.conf
#/etc/ax25/axports
#
#name call speed paclen window description
axip0 PI8ZAA-14 - 255 7 AX.25-IP tunnel
loop1 L0OP-1 - 255 7 pseudo tty link naar FBB BBS
loop2 L0OP-2 - 255 7 pseudo tty link naar FBB BBS
# /etc/ax25/nrbroadcast
#axport min_obs def_qual worst_qual verbose
axip0 5 200 100 1
#/etc/ax25/nrports
#
#name call alias paclen description
nr_ZAA PI8ZAA-0 EHVBBS 235 PI8ZAA NetRom Switch Port
#!/bin/sh
#
# /etc/rc.d/rc.ham: Local system initialization script.
#
# Put any ham-radio related setup commands in here:
# Edit for your setup.
CALLSIGN="PI8ZAA"
IPADDR=${IPADDR:-"44.137.24.1"} # pi8zaa
NETMASK=${NETMASK:-"255.255.252.0"} # REPLACE with YOUR netmask!
NETWORK=${NETWORK:-"44.137.24.0"} # REPLACE with YOUR network address!
BROADCAST=${BROADCAST:-"44.137.27.255"} # REPLACE with YOUR
broadcast address, if you
# have one. If not, leave blank and edit below.
#
echo "enable ip_forward..."
echo 1 > /proc/sys/net/ipv4/ip_forward
#
echo "Setting up pseudo interfaces..."
#modprobe mkiss
kissattach -i 192.168.0.1 /dev/ptypf loop1
kissattach -i 192.168.0.2 /dev/ptype loop2
mkiss /dev/ttypf /dev/ttype &
#
#
echo "Setting up AX.25-IP tunnel..."
kissattach -i ${IPADDR} /dev/ptypd axip0
/usr/sbin/ax25ipd
#
#
# AX.25 MAXFRAME op 4 zetten...
echo 4 > /proc/sys/net/ax25/ax0/standard_window_size
echo 4 > /proc/sys/net/ax25/ax1/standard_window_size
echo 4 > /proc/sys/net/ax25/ax2/standard_window_size
#
/usr/sbin/nrattach -i ${IPADDR} nr_ZAA
/usr/sbin/netromd -i
/usr/sbin/nrparms -nodes PI1EHV + EHV 120 5 axip0 PI1EHV
#
#
# routing
/etc/rc.d/rc.routing
#
#
# Start the AX.25 daemon:
if [ -x /usr/sbin/ax25d ]; then
echo "Clearing logged-in files..."
> /var/ax25/node/loggedin
> /var/ax25/pms/loggedin
echo "Starting AX.25 daemon..."
/usr/sbin/ax25d
sleep 1
fi
#
# Start the mheard daemon:
if [ -x /usr/sbin/mheardd ]; then
echo "Starting mheard daemon..."
/usr/sbin/mheardd -f -n 15
sleep 1
fi
#
# Set AX.25 Callsign associations..
/etc/rc.d/rc.ax25assoc
#
# end of rc.ham
# FBB7.00
#
# Set-up file
#
#
# Callsign of BBS
PI8ZAA.#NBO.NLD.EU
#
# SSID of BBS
0
#
# Qra Locator of BBS
JO21QL
#
# Qth of BBS
Best
#
# Directory of system files
/usr/local/fbb/system/
#
# Directory of message files
/home/fbb/mail/
#
# Directory of compressed files
/home/fbb/binmail/
#
# Directory of users
*,*,/home/ftp/pub/,*,*,*,*,*
#
# Directory of YAPP files
/home/ftp/pub/yapp/
#
# Directory of documentation files
/usr/local/fbb/docs/
#
# First name of SYSOP
Arno
#
# Callsign of SYSOP
PE1ICQ
#
# Callsign (and route if needed) that will have copy of SYSOP messages
# (*** for no copy, [EMAIL PROTECTED] if route)
PA3DSC
#
# Path and filename for import file
/usr/local/fbb/mail.in
#
# Type of video and time before screenblank
0 0
#
# Full log
OK
#
# Direct video
OK
#
# Indication of channels
OK
#
# Test mode
NO
#
# Use (when possible) forward type FBB
OK
#
# Use (when possible) compressed forward
OK 3
#
# HROUTE look-up and database update validation
OK
#
# User must give Name, HomeBBS, Qth and ZipCode
OK
#
# First connection mask :
# 0 : Disable
# 1 : Excluded
# 2 : Local
# 4 : Expert
# 8 : Sysop
# 16 : BBS
# 32 : Pagination
# 64 : Guest
# 128 : Modem
# 256 : See-all-messages
# 512 : Unproto list asking is allowed
# 1024: List of new messages at logon
1632
#
# Security codes.
# Users can :
# 1 : Read all messages, including private messages
# 2 : Kill all messages
# 4 : Send SYS command
# 8 : Use remote sysop commands (edit, forward, etc...)
# 16 : Edit labels in YAPP, FBBDOS, DOCS
# 32 : Can delete files in YAPP, FBBDOS
# 64 : Have access to all gateways
# 128: Run DOS commands
# 256: Have access to the entire hard disk
# 512: Have access to commands /A (stop) and /R (Reboot)
# All: Sysop: Sysop after successful SYS-command:
0 4 1023
#
# Warning message mask.
# Warning message sent to sysop when :
# 1 : Less than 1MB in disk
# 2 : Error in system file (FORWARD, BBS, REJECT...)
# 4 : Server error/warning
# 8 : Ping-Pong warning
# 16 : Unknown-route warning
# 32 : No NTS warning
# 64 : Message file not found
# 128: Error in proposal
# 256: Message rejected in remote BBS
# 512: Message held in remote BBS
1023
#
# Time (hour) for housekeeping (cleanup of messages)
4
#
# Time-out for
# normal users / forwarding users
15 15
#
# Max amount of KB for downloading (0 = no limit)
# YAPP MODEM
0 0
#
# Hours +/- in relation with UTC
+1
#
# Number of callsigns in mail beacon
B16
#
# Number of lines in scroll buffers
#
# User Console Monitoring
100 1000 1000
#
# Text for forward header (Do not change !)
[$c] FBB $$:$R
#
# Number of saved BIDs. Max 3000 if EMS/XMS is not used
32000
#
# Lifetime for bulletins (days)
30
#
# Use EMS (1), XMS (2), or none (0)
2 BID MSG HIE SCR WPG REJ FWD
#
# List of routes to send WP messages
#
# Zip of BBS
5684PD
#
# Back number, delay and options in unproto lists
# A : ACK messages
# V : Transit private messages
# P : End-user private mail
# M : Subject is replaced by stars in private mail
500 5 P
#
# DRSI interrupt (Hexadecimal, default FF)
FF
#
# BBS-UP program (default empty)
#
# BBS-DOWN program (default empty)
#
# Colour on texts :
#
# Black : 0 Dark grey : 8
# Blue : 1 Light blue : 9
# Green : 2 Light green : 10
# Cyan : 3 Light cyan : 11
# Red : 4 Light red : 12
# Magenta : 5 Light magenta : 13
# Brown : 6 Yellow : 14
# Light grey : 7 White : 15
#
#
# Background colors :
#
# Status (top)
1
# Separation (middle)
7
# Texts (bottom)
7
# Menues
4
#
#
# Foreground colors :
#
# Status (top)
7
# Separation (middle)
1
# Menues (bottom)
14
# Text sent
2
# Text received
12
# UI (headers)
3
# UI (text)
5
# Console
0
# Beacon
1
# Channel marking
11
#
-------
#
# List of servers :
#
REQDIR reqdir Request directory
REQFIL reqfil Request file
#REQSAT reqsat Request Satellite
REQCFG ****** Request configuration
WP ****** Request White pages info
7PSERV 7pserv Request binary files, encoded in 7+
REQZIP reqzip Request text files - reply will be in ZIP/7+
MLIST mlist Multi List server
DIGCOM mlist Stuur mail naar alle leden van de Digitale Commisie
afd. Ehv.
ZAASOP mlist Send mail to all sysops of PI8ZAA
ZACRW mlist Send mail to all PI4ZA net-controllers
#REQQTH reqqth Rien
#INPROC inpdel Reserve sysop...
#
# End of INIT.SRV file
# FBB7.00
#
#
#Ports TNCs
1 3
#
# Use same number of lines as number of ports.
#
#Com Interface Address (Device) Baud
1 9 **** 9600
#
# Same number of lines as TNCs:
#
#TNC NbCh Com MultCh Pacln Maxfr NbFwd MxBloc M/P-Fwd Mode Freq
0 0 0 0 0 0 0 0 00/01 ---- File-fwd.
1 16 1 nr_ZAA 230 4 6 30 05/20 UXY nr-axip
2 7 1 axip0 250 4 1 10 30/60 UXY axip-port
3 1 1 loop2 250 4 1 30 00/60 UXY pseudotty
#
# Special callsigns and modes for some channels.
#
#TNC Nbs Callsign-SSID Mode
#1 2 PE1ICQ-1 UXY
#
# End of port.sys file.
#