On Tue, 06 Jun 2000, Cyril Moriarty wrote about, Linux + Baycom problems...:
> Hi,
> I'm having a slight problem setting up a serial 1200 Baycom modem with
> Slackware Linux 7.0 . I have all the necessary tools set up. I type the
> following for setting up the drivers:
>
> setserial /dev/ttyS1 uart none
> insmod hdlcdrv
> insmod baycom_ser_fdx mode=ser12* iobase=0x2f8 irq=3
> sethdlc -p -i bcsf0 mode ser12* io 0x2f8 irq 3
> ifconfig bcsf0 hw ax25 EI4AGB-15
> ifconfig bcsf0 inet 44.XXX.XXX.XXX
>
> When I run listen or mheardd I get the error
> "axconfig: unable to open axports file"
> My axports file is (supposedly) configured right...
How did you compile libax25, utils and apps.? simply with
./configure
make
make install
When i do;
strace -o filename listen
i get;
open("/etc/ax25/axports", O_RDONLY) = 4
and all is well.
When i read the INSTALL file in the source archive of ax25-apps-xx i see
that one needs to use;
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
To get the above effect, meaning i used the options above to configure
before i compiled.
Your axports file is possably being looked for in /usr/local/etc instead of
/etc/ax25 if you simply did ./configure.
Of course i could be wrong.
>
> ----------------axports---------------
> packet EI4AGB-15 1200 255 2
> --------------------------------------
The message is saying "cant open axports file" that says to me the program
cant find it.
So i doubt that the fact that your line is one field short in lenght is the
problem.
packet EI4AGB-15 1200 255 2 My_Radio_Port
Murphy's 115th law.
If all else fails read the manual before hitting the computer with a
"empty" bottle of Murphy's Red.
Normally that will result in only a broken bottle, rather than a broken
bottle and a very wet computer.
>
> Any help.
I hope it is of help.
>
> 73's Cyril.
> EI4AGB.
--
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/