From: Iain Young (jsbpddk@perigee.net)
Date: Wed Dec 13 2000 - 20:37:40 EET
Hi Tomi,
> Have you done "ifconfig bpq0 hw ax25 G7III-14" ?
Yup:
odyssey:~# ifconfig bpq0 hw ax25 G7III-14 up
odyssey:~# ifconfig bpq0
bpq0 Link encap:AMPR AX.25 HWaddr G7III-14
UP RUNNING MTU:256 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
odyssey:~# axparms -route add bpq0 G7III-15
axconfig: port bpq0 not active
axparms: no AX.25 port data configured
I did a little more digging, and the last 15 lines of a strace show:
open("/etc/ax25/axports", O_RDONLY) = 4
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 5
fstat(4, {st_mode=S_IFREG|0644, st_size=248, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x50019000
read(4, "# /etc/ax25/axports\n#\n# The form"..., 4096) = 248
ioctl(5, SIOCGIFCONF, 0xefffe6c0) = 0
ioctl(5, SIOCGIFFLAGS, 0xefffe6a0) = 0
ioctl(5, SIOCGIFHWADDR, 0xefffe6a0) = 0
write(2, "axconfig: port bpq0 not active\n", 31) = 31
read(4, "", 4096) = 0
close(4) = 0
munmap(0x50019000, 8192) = 0
close(5) = 0
write(2, "axparms: no AX.25 port data conf"..., 39) = 39
exit(1) = ?
Which indicate to me (a) it is finding /etc/ax25/axports and opening it
successfully, and then trying to do an ioctl (presumably on bpq0), and
not liking the response from the final ioctl. Any ideas ?
All the Best
Iain
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to terhi.victor@logonet.com
This archive was generated by hypermail 2b30 : Wed Dec 13 2000 - 21:00:08 EET