From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Wed, 27 Nov 2002 04:41:18 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 381 ************************************************** Tuesday 26 November 2002 Number 381 ************************************************** Subjects for today 1 New TFTPD : John Poltorak 2 Re: Pine 4.50 : Nicholas Sheppard 3 Re: New TFTPD : John Poltorak 4 Re: New TFTPD : Mikkel C. Simonsen" **= Email 1 ==========================** Date: Wed, 27 Nov 2002 10:36:02 +0000 From: John Poltorak Subject: New TFTPD There's a new TFTPD at Hobbes, anyone know anything about it? It doesn't include any docs, but includes source and a makefile, although seems to require VAC. Wonder if it will build with gcc... The description at Hobbes says:- TFTP SERVER THAT IMPLEMENT BLKSIZE,TISZE OPTIONS NEEDED BY PXELINUX. YES WE BOOT LINUX FROM OS/2 USING PXE.. If this means I can boot Linux remotely from an OS/2 server I would be very interested in getting this working. Has anyone managed it? -- John **= Email 2 ==========================** Date: Wed, 27 Nov 2002 11:06:49 +1100 (EST) From: Nicholas Sheppard Subject: Re: Pine 4.50 On Tue, 26 Nov 2002, John Poltorak wrote: > The socket handling seems to be done in main.c which contains:- > > > int > main( int argc, char *argv[]) > { > int svr_state = SVR_LISTEN_STATE; /* State of POP3 server */ > char cli_buf[CLI_BUFSIZ]; /* Buffer for client cmds */ > int socket_fd; > > socket_fd = parse_opts(argc, argv); > if(socket_fd > 0) { > socket_fd = _impsockhandle(socket_fd, 0); > if (socket_fd < 0) > fail(FAIL_SOCKET_ERROR); > dup2(socket_fd, 0); > dup2(socket_fd, 1); > close(socket_fd); > } > > > > Is this the relevant part for interfacing with INETD? Yes and no. In Unix, the above section of code is inside inetd rather than pop3d. But if you put the equivalent of the above code at the top of imapd.c and ipop3d.c from the University of Washington distributions, then they can be launched from an OS/2-style inetd. Everything I've seen so far suggests that this is only way to do it under OS/2 so probably I'll have to add an #ifdef to take care of it. Nicholas S. **= Email 3 ==========================** Date: Wed, 27 Nov 2002 13:53:47 +0000 From: John Poltorak Subject: Re: New TFTPD On Wed, Nov 27, 2002 at 02:05:10PM +0100, Mikkel C. Simonsen wrote: > I can try with the new TFTP server and see if that helps... If you do, I'd be interested in knowing how you get on. I'd like to have a Linux system available but don't want to install it locally. I have a diskless system which runs OS/2, and it would be nice to also have the option of running Linux on it. > Best regards, > > Mikkel C. Simonsen -- John **= Email 4 ==========================** Date: Wed, 27 Nov 2002 14:05:10 +0100 From: "Mikkel C. Simonsen" Subject: Re: New TFTPD John Poltorak wrote: > > There's a new TFTPD at Hobbes, anyone know anything about it? > > It doesn't include any docs, but includes source and a makefile, although > seems to require VAC. Wonder if it will build with gcc... > > The description at Hobbes says:- > > TFTP SERVER THAT IMPLEMENT BLKSIZE,TISZE OPTIONS > NEEDED BY PXELINUX. YES WE BOOT LINUX FROM OS/2 > USING PXE.. > > If this means I can boot Linux remotely from an OS/2 server I would be > very interested in getting this working. Has anyone managed it? I have had it almost working by using a Win32 TFTP server running using Odin. One problem I had was that the BOOTPD that comes with Warp4 does not support the bf (bootfile) option. I found an old port of the BSD BOOTPD on Hobbes. That does support bf, but insisted on including a / in the bootfile string sent to the client. I hacked the source to remove that, and then it almost worked... The initial PXELinux kernel was sent to the client with no problems, but the PXELinux kernel was unable to download the "real" kernel. I can try with the new TFTP server and see if that helps... Best regards, Mikkel C. Simonsen