No announcement yet.

Dos Telnet Server?

  • Filter
  • Time
  • Show
Clear All
new posts

  • Dos Telnet Server?

    Does any one know of some PB code that I can use to make a Telnet server? Or access Telnet?

    PB 3.5 Is what I currently have.

    Bobby Gage II

  • #2
    Well, since PB/DOS doesn't support TCP/IP, it would be dificult.

    What do you need the server to do? Remote file management?
    File transfers? Or to just run a BBS?

    If a BBS is your goal, there is one written in PB (ebbs I think)
    it shouldnt be hard to modify.

    With all of the TCP/IP stacks for C/C++, etc...I would like to
    see one for PowerBASIC.

    Perhaps a port of WATTCP. Lots of stuff I would like to see in
    PB. Perhaps the ability to compile Pmode executables as well.




    • #3
      I am an ham radio operator (N3VGQ) and I have a packet station. I would like to make my own Telnet - Packet gateway.

      Other hams have already done this and I would like to do it.. So basically it will be a BBS system!

      For another program I would like to access FTP for automatic program updates over the internet! Any Idea on this?

      Bobby Gage II


      • #4
        Bobby ..

        Bobby Gage
        > I am an ham radio operator (N3VGQ) and I have a packet station.
        > I would like to make my own Telnet - Packet gateway.
        Sorry to beat the Tom-Tom for OS/2, but it's probably the simplest
        way to get it all running if PowerBASIC is you compiler tool.
        There are LINUX tools to do this, but until PB is released for
        the LINUX platform, getting WIN-xx to cooperate for this will
        probably be very difficult. Since you said, "TELNET", let's
        confine this to that for starters, please.

        I've got a complete twin-slaved BINK/MAX, INTERMAIL/MAX, and
        actually the BBBS system going under OS/2 and TELNET .. It's
        thoroughly stable, total file, echomail-toss, whatever in OS/2
        with VMODEM and TELNET for OS/2 .. I also have a test-bed going
        in WIN-95 and WIN-98 for the mirror image systems. To date
        the only TELNET shim I can get for those platforms that isn't
        brain-dead for DIAL out .. is $65 a port and I'm not in the
        mood to fight with that just yet until I get through fighting
        over NETMODEM32. It works fine in the WIN-95-98 camp, but
        has no DIAL capability to initiate IP hosted connections outbound
        from the system. All it will do is take INBOUND calls!

        However .. what you want ...

        Ought to be a shoo-in under OS/2 Warp 4. If you can write a clean
        ordinary comm port I/O application in pure DOS with PB 3.5, all you
        will need is a $25 registered version of Ray Gwinn's SIO. You can
        run half a dozen simultaneous DOS-VDM applications in OS/2 including
        using all four comm ports at the same time in four of them, if you

        Then comes the fun part! Ray's SIO does a fabulous job of splicing
        whatever comm port you throw at it with either the normal TELNET
        port 23 or what you choose instead! Not only do you get upload and
        download, you get DIAL out as well to dotted decimal addresses!
        Plus .. for each channel, you can handle simultaneous input and
        output on the same box ... grin ... to check your application as
        if it were a remote user anyway.

        VMODEM is a native OS/2 application, but it doesn't care if what
        you present to the comm port interface is DOS, WIN 3.1, Native OS/2,
        or ... even quite a few early WIN-NT programs and early WIN-95 programs
        of WIN-32 up to a certain level...

        More important, packaged with the licensed version of SIO, is the
        niftiest comm port debugging tool you'll ever use, Poor Man's Line
        Monitor (PMLM). Yes, there are other DOS tools and WIN tools like
        this, but this one will let you view, record, de-bug .. the entire
        connection and traffic flow byte-by-byte if you need that to clear
        up arguments. Tedious .. but absolutely no-contest show-me should
        that be needed..

        As a ham operator, you also obviously are concerned about security,
        thus you may find Ray's secured log-in rather than what you otherwise
        might normally write, as an extra level of protection. It's you
        ticket that is at risk for what the remote user does with your
        station access you grant!

        You may take the AEA-PK900, for example, which has built-in gateway
        software, match the control code for it over to either a POTS modem,
        or .. to VMODEM and either log in for full TNC control direct
        from a terminal program lisstening for POTS calls. As an
        alternative, you may gateway it from a SPAWNED doorway exit from a
        BBS program itself, using Marshall Dudley's Doorway or other such
        shim in DOS or OS/2 native mode. You may also pop the TNC comm
        program back against VMODEM for access ... from the Internet, from
        anywhere else in the world.. AEA's PK96 also works well in this
        mode for one channel, as does the AEA PK-88 ..

        Nowever, grin ... you can imagine what a pig a 4GB modern BBS with
        40,000 plus files will be like at 1200 baud over the air, or even
        9600 baud in packet. The fun, however, is waiting! If you have
        broad-band access at the site, and a nailed-up cable or DSL connect
        line, just remember ... that TELNET port is at whatever rate your
        IP will support! Thus, assuming we can get over up to 440Mhz
        and higher ... 'd baud rate goeth up to dreamland! We can even
        contemplate running GunnPlexer 10,000 Mhz stuff .. which .. eiter
        side of the pipe, could give you full color BBS access ffrom your
        call et. al. Of course, getting anyone to talk to you besides
        yourself .. at that .. will be more than a one-ham project!

        So noted, what VMODEM and a broad-band connection *COULD* open up
        is the concept of remote control full station operation, just like
        the Doorway part of OPUS I've run for years at the W5WQN fixed site.
        It's now torn down being converted to a BINK/MAX operation as I
        write this. That to be hosted off a 10+ mile WaveLan T1 equivalent
        link. It's finally been announced that the complete OS/2 drivers
        for the entire WaveLan card line are to be released (again) in a
        few more weeks!

        Be sure to consider the security of access thought-line very, very
        carefully if you enable IP-side access! That's one reason that
        the FidoNet node for 1:117/3000 is a PRIVATE listing node. Since
        it can offer direct on-air access - remotely, and normally is there
        for genuine emergency RF-to-POTS or IP service, it's only access is
        to licensed and pre-registered users!

        I won't be able to help you at all with any WIN implementation of
        any TELNET to on-air stuff. However, if you are, by odd chance,
        OS/2 oriented .. send me an Email to my address posted. I'll be
        very happy to have someone else to share the problems with! Not
        today or tomorrow, but sometime in the next month or so, you might
        be surprised that you could take a TELNET port and see that site
        over IP! That's my goal for that part of the fun by year-end...

        As 'tis, a PowerBASIC DOS-VDM runs the entire HF station for
        the telegraph site, logging, the whole KW, phased lo-band directional
        arrays .. the works. So I know it *CAN* be done, but it's
        cheaper time-wise, to use a commercial product for the packet
        part of the game, for me, than to write that part in PB ..

        Mike - W5WQN

        Mike Luther
        [email protected]
        Mike Luther
        [email protected]


        • #5
          I have been working on a TCP interface via PB/DOS. Im about 50% done.
          It uses the free trumpet driver. This loads after any standard packet
          driver and provides an interrupt call interface to a TCP stack.

          I too am a Ham (KO6YD) and have been thinking about a similar idea.

          What you do is load a packet driver for your LAN card. Then, you load the
          ntcpdrv which is also a TSR. I have some LIB routines in the works that
          talk to this stack.

          So far, I have been able to get access to the stack and dig out things like
          the IP address, etc and even did a TCP open. I used a SLIP packet driver and
          saw "stuff" coming out the port when I tried the TCP connect so I know it will work.

          It's still work in progress but I would be happy to send you a copy of what I have.
          I did not want to post it here until I was complete with it.

          The TCP stack that loads on top of a packet driver is at:

          The site is at:

          Dane / KO6YD
          [email protected]

          [This message has been edited by Dane Westvik (edited November 30, 2000).]