Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!mips!sgi!shinobu!odin!sgihub!dragon!basie.wpd.sgi.com!des From: des@basie.wpd.sgi.com (Des Young) Newsgroups: comp.os.minix Subject: Re: ka9q experiences on minix Keywords: ka9q minix Message-ID: <1991Apr30.023133.15248@dragon.wpd.sgi.com> Date: 30 Apr 91 02:31:33 GMT References: <1991Apr27.000343.8856@iitmax.iit.edu> Sender: news@dragon.wpd.sgi.com (CNews Account) Reply-To: des@basie.wpd.sgi.com (Des Young) Organization: Protocol Engines Inc., Mountain View, CA Lines: 31 Hi, way back on version 1.3 Minix I ported Ka9q to minix. I got it to work with SLIP and Ethernet. The ethernet board I used was a National Semiconductor demo board, though a WD card would have been easy since it uses the National chipset. I did my debugging by running against a DOS-constrained PC which was running the latest version of the executable, obtainable many places. I started with version 1.00 of ka9q (yes, there was one) because I found the later versions all compiled to 200-300k of executable. Since I run/ran PC Minix, I wanted <= 64K executable. It was a lot of work, but I kept adding to my version until I had as much in it from later versions as possible. I ran it interoperably on the main Ethernet at my previous employer. The debugging display of packets was really usefull at times. Anyway, to help you, you need to add FIONREAD to the kernel to properly support the SLIP interface. I got mine from Ed Hall, worked great. Also, there was a bug in the ioctl/sgtty interface for setting the line speed, which I believe is STILL IN MINIX today. The problem is that the speed is coded in the message in a long or something, and FS does not copy it over on the call. You need to fix that if you want SLIP to work with variable line speeds (not variable during a connection :-) Well, I never ported the stuff to Minix 1.5, as I do not have an Ethernet running TCP-IP in my home :-) Good Luck, hope the SLIP hints help, Cheers, Des. P.S. I have not any time to post any of the above :-( -- trademarks abound, usual disclaimers apply, opinions are mine des@pei.com Des Young (415) 335-1888 Protocol Engines Inc., Mountain View, CA