At 06:57 20-09-99 +0200, you wrote:
>Hello all,
>
>I'm trying to run ax25ipd (Suse 6.1, kernel 2.2.5).
>I will use it for gateway via a lan and ethernet.
>I think my creation of a pipe is wrong...
>How to created a pipe to ethernet??
>
It runs now 1 way, from linux to flexnet isn't working...
pinging between both ps's is ok.
Have a route added in ax25ipd:

Get serval errors:
 kernel: kissparms uses obsolete (PF_INET,SOCK_PACKET)
 kernel: mkiss: ax1:
transmit timed out, driver error?
 kernel: mkiss: ax1: transmit timed out,
driver error?

Anybody knows what's wrong?

My files are now:
# ax25ipd configuration file for station floyd.vk5xxx.ampr.org
#
# Select
axip transport. 'ip' is what you want for compatibility
# with most other
gateways.
#
##socket ip
socket udp
#
# Set ax25ipd mode of operation. (digi
or tnc)
#
mode tnc
#
# If you selected digi, you must define a callsign.
If you selected
# tnc mode, the callsign is currently optional, but this
may change
# in the future! (2 calls if using dual port kiss)
#
#mycall
pe1nat-15
#mycall2 vk5xxx-5
#
# In digi mode, you may use an alias. (2 for
dual port)
#
#myalias axip
#myalias2 svwdn2
#
# Send an ident every 540
seconds ...
#
#beacon after 540
#btext ax25ip -- tncmode Ed/pe1nat --
Experimental AXIP gateway
#
# Serial port, or pipe connected to a
kissattach in my case
#
device /dev/ttypf
#
# Set the device speed
#
speed
9600
#
# loglevel 0 - no output
# loglevel 1 - config info only
# loglevel
2 - major events and errors
# loglevel 3 - major events, errors, and AX25
frame trace
# loglevel 4 - all events
# log 0 for the moment, syslog not
working yet ...
#
loglevel 2
#
# If we are in digi mode, we might have a
real tnc here, so use param to
# set the tnc parameters ...
#
#param 1
20
#
# Broadcast Address definition. Any of the addresses listed will be
forwarded
# to any of the routes flagged as broadcast capable
routes.
#
broadcast QST-0 NODES-0
#
# ax.25 route definition, define as
many as you need.
# format is route (call/wildcard) (ip host at
destination)
# ssid of 0 routes all ssid's
#
# route <destcall> <destaddr>
[flags]
#
# Valid flags are:
#         b  - allow broadcasts to be
transmitted via this route
#         d  - this route is the default
route
#
route pe1nat-4 192.168.0.2 b d
#
#
----------
#! /bin/sh
#
# rc.ax25       This shell script boots up the AX.25 and NET/ROM
systems.
#
echo AX25
setup...
#
IPADDR="44.137.16.27"
NETMASK="255.0.0.0"
NETWORK="44.0.0.0"
BROA
DCAST="44.255.255.255"
GATEWAY="44.137.16.71"
NOS="44.137.16.38"
##modprobe
bpqether
echo enable ip_forward...
echo 1 >
/proc/sys/net/ipv4/ip_forward

echo Attach interfaces...
# Attach
interfaces
/usr/sbin/kissattach /dev/ttyS0 kiss
${IPADDR}
/usr/sbin/spattach /dev/ttyS3 2 ${IPADDR}
/usr/sbin/kissattach
/dev/ptypf axip 192.168.0.1
/usr/sbin/nrattach -i ${IPADDR}
netrom
/usr/sbin/nrattach -i ${IPADDR} netbbs

echo Configure
interfaces...
# Configure interfaces
/sbin/ifconfig ax0 ${IPADDR} hw ax25
PE1NAT-14 netmask ${NETMASK} broadcast ${BROADCAST} mtu 256
sbin/ifconfig
ax1 192.168.0.1 hw ax25 PE1NAT-11 netmask ${NETMASK} broadcast ${BROADCAST}
mtu 256
/sbin/ifconfig sp0 ${IPADDR} hw ax25 PE1NAT-7 netmask ${NETMASK}
broadcast ${BROADCAST} mtu 256
##/sbin/ifconfig bpq0 ${IPADDR} hw ax25
PE1NAT-13 netmask ${NETMASK} broadcast ${BROADCAST} mtu 256
/sbin/ifconfig
nr0 ${IPADDR} hw netrom PE1NAT-10
/sbin/ifconfig nr1 ${IPADDR} hw netrom
PE1NAT-1

# Set interface parameters
/usr/sbin/kissparms -p kiss -t 60 -s
100 -r 64
/usr/sbin/kissparms -p 2 -t 140 -s 100 -r
84
#########/usr/sbin/bpqparms bpq0 -d broadcast -a
00:20:18:61:7D:19
##/usr/sbin/bpqparms bpq0 -d broadcast -a
01:42:50:51:00:00
###/usr/sbin/nrparms -parms -qual 100

#
Routing
##/sbin/route add ${GATEWAY} ax1
/sbin/route add ${GATEWAY}
sp0
/sbin/route add -net ${NETWORK} gw ${GATEWAY} netmask
${NETMASK}
######/usr/sbin/arp -i ax1 -t ax25 -s ${NOS} PE1NAT-3
pub
##/usr/sbin/arp -i ax1 -t ax25 -s ${GATEWAY} PI1WFL-9
/usr/sbin/arp -i
sp0 -t ax25 -s ${GATEWAY} PI1WFL-9

echo Start AX.25 and NET/ROM daemons
...
# Start AX.25 and NET/ROM daemons
/usr/sbin/ax25d &
sleep 5
&
/usr/sbin/netromd -i -l 100 -t 30 &
sleep 5 &
mheardd &
sleep
5
/usr/local/fbb/xfbb.sh -d &
sleep 10
/home/aprsd2/rc.aprsd &
sleep
5
/usr/sbin/ax25ipd &

# Set uid mapping
/usr/sbin/axparms -assoc PE1NAT-6
evm

# Clear login files
#> /var/ax25/node/loggedin
#>
/var/ax25/pms/loggedin

# AX25 MAXFRAME on 4...
echo 4 >
/proc/sys/net/ax25/sp0/standard_window_size

# EOF
--

Name: Ed van Mol
Email: [EMAIL PROTECTED]
HTTP: //www.evmhhw.demon.nl

Reply via email to