Hal MacArgle wrote:
>
> On Sat, Apr 24, 1999 at 10:57:51AM +0000, Jorge Matias wrote:
> <edited>
>
> > > > The computer, most of the times, takes too long to transmit, even
> > > > if I do "ping -i 5 44.158.xx.xx". I do pings with 5 seconds of interval
> > > > to leave some bandwith available and time to get the answer from the
> > > > other side.
> > >
> > > I'm running a similar set up except with the default 2.0.35
> > > Slack3.6 kernel *and* a 1200bps TNC.. Ping key the PTT immediately
> > > of course, so your problem is probably with Yam.. What happens when
> > > you use ping on the internet? Probably instantaneous. If not I wonder
> > > if you have some sort of "saver" in the BIOS and the HD is powered
> > > down?
Sorry I lost first message,
Yam driver has a bug in the slottime channel access procedure.
The slottime paramater you tell to driver is not in ms, it is in tenth
of ms.
I.E for slottime =200 you must put slottime 20 as parameter of yamcfg.
I informed Jean Paul about that.
Here is a patch:
--- yam.c.original Sun Apr 25 15:28:40 1999
+++ yam.c Sun Apr 25 15:28:40 1999
@@ -719,9 +719,9 @@
/* Is slottime passed ? */
if ((--yp->slotcnt) > 0)
return;
- yp->slotcnt = yp->slot;
+ yp->slotcnt = yp->slot / 10;
/* is random > persist ? */
if ((random_num() % 256) > yp->pers)
return;
--
Saludos de Juli�n
-.-