RE: kerneld/request-route interaction bug with kernel patch

Chris Faylor (cgf@bbc.com)
Mon, 1 Jul 1996 09:58:13 -0400


>On 01-Jul-96 Chris Faylor wrote:
>>>I've been attempting to use kerneld to automatically dial out via PPP
>>when a network connection is attempted and no connection is currently
>>active. It works, but I think there is a bug in how it works.
>>
>>The bug is that the first time a connection is attempted, the modem dials
>>but the kernel reports that there is no route to the host. Subsequent
>>connection requests succeed, of course.
>>
>>I think that the problem is fixed by the patch below. Possibly there is
>>a better way to do this, but this is working for me. With this patch,
>>for example, the first 'rlogin' to a remote system will succeed. Without
>>it, the rlogin will fail.
>>
>
>[patch deleted]
>
>There is an easier fix. I had the same problem. The solution is
>to put three identical nameserver entries in /etc/resolv.conf.
>It seems that diald has the same problem. I found the fix in
>diald's FAQ. This problem really should be noted in the kerneld
>documentation.

I'm not sure what the name server has to do with anything. When I
attempt to login using an internet address I have the same problem. The
patch I posted fixes the problem, not the symptom.

Also, as far as I can tell, my patch is similar to the patch distributed
with the modules package for 1.2.13 kernels. As far as I can tell, these
patches caused the 1.2.13 kernels to connect immediately.

--
http://www.bbc.com/	cgf@bbc.com			"Strange how unreal
VMS=>UNIX Solutions	Boston Business Computing	 the real can be."