lkml.org 
[lkml]   [1996]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject2.1.16 ARP/AX.25 problem
Date

Ok, I've been able to compile the kernel by including only the
essentials of ax25 in the kernel and discarding all the rest. Now I
have a problem. The system does not know his own ARP. Here's an
example:

root:~ # arp -an
Address W HWtypHdre Flags Mask Iface
44.134.208.110 ether 02:60:8C:4A:EE:8E C * eth0
44.134.208.177 netrom * MP * *
192.168.0.1 nerom * MP * *

now:
- the ether entry is ok.
- I do NOT have any netrom here. where did it come from ? It
should've been an ax.25 one, with hwadd=ik5pvx-1
- 192.168.0.1 is the nameserver of my provider's provider (!) and
should not have an arp enty at all, because I connect throug
slip, and if I remember correctly point to point links do not
need arp

Here's the output of ifconfig:root:~ # ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:288 errors:0 dropped:0 overruns:0
TX packets:288 errors:0 dropped:0 overruns:0

eth0 Link encap:10Mbps Ethernet HWaddr 00:A0:24:DD:39:11
inet addr:44.134.208.177 Bcast:44.134.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:308 errors:0 dropped:0 overruns:0
TX packets:297 errors:0 dropped:0 overruns:0
Interrupt:10 Base address:0x300

ax0 Link encap:AMPR AX.25 HWaddr IK5PVX-1
inet addr:44.134.208.177 Bcast:44.134.208.255 Mask:255.255.255.0
UP BROADCAST RUNNING MTU:256 Metric:1
RX packets:747 errors:0 dropped:0 overruns:0
TX packets:13 errors:0 dropped:0 overruns:0


and the portion of /etc/init.d/network regarding ax.25:

echo -n AX.25:
/bin/stty crtscts > /dev/cua0
/bin/stty 9600 > /dev/cua0
#/root/kisson
sleep 2
kissattach -l /dev/ttyS0 vhf &
sleep 3
ax25d -l &
#axparms -parms vhf -idig n -xdig n -netrom n -window 7
sleep 3
mheardd -l &
beacon -l vhf "penny.ik5pvx.ampr.org (44.134.208.177)\n`uname -a`\n"
ifconfig ax0 ${IPADDR}
ifconfig ax0 netmask 255.255.255.0
ifconfig ax0 broadcast 44.134.208.255
ifconfig ax0 arp mtu 256 up
route add -host 44.134.208.176 dev ax0
route add -host 44.134.96.90 dev ax0
route add -host 44.134.208.116 gw 44.134.208.176
echo done.

this produces the following netstat -r output:

root:~ # netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
44.134.208.116 ik5pwa.ampr.org 255.255.255.255 UG 256 0 300 ax0
ik5pwa.ampr.org * 255.255.255.255 U 256 0 300 ax0
iw8qoi.ampr.org * 255.255.255.255 U 256 0 300 ax0
kim.ik5pvx.ampr * 255.255.255.255 U 1500 0 300 eth0
44.134.208.0 * 255.255.255.0 U 255 0 300 ax0
44.134.208.0 * 255.255.255.0 U 256 0 300 ax0
localnet kim.ik5pvx.ampr 255.255.0.0 UG 1500 0 300 eth0
localnet * 255.255.0.0 U 1500 0 300 eth0
root:~ #

please note the doubled entries
what are they?


Thanks
Pf

--

-------------------------------------------------------------------------------
Pierfrancesco Caci | internet: ik5pvx@infogroup.it
ik5pvx | amprnet : ik5pvx@ik5pvx.ampr.org [44.134.208.110]
Firenze - Italia | ax25 : ik5pvx@ik5pwa.fi.itos.ita.euro
*** Office for the Complication of Otherwise Simple Affairs ***




\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.026 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site