Jump to content

awkduck

Member
  • Posts

    424
  • Joined

  • Last visited

  • Days Won

    1
  • Donations

    0.00 USD 
  • Country

    United States

Posts posted by awkduck

  1. 5 hours ago, awkduck said:

    It is okay to set the mTCP config "SET MTCPCFG=C:\MTCP\CONFIG.CFG" in autoexec.bat.

    You can just type it, or add it to autoexec.bat and reboot.

    If you just type it, you need to use the same Prompt to run DHCP or PING. Once you close the prompt, the variable MTCPCFG with be lost. If it is in autoexec.bat, the variable will be available for all prompts.

  2. Here, this might help. Close any open MsDos Prompts. Open a new MsDos Prompt. Run DHCP, to test the next I.P. your network assigns.

    It should be different then the one you have for Trumpet.

    This is probably the problem you are having. Your firewall might be blocking the new I.P..

    Also, you could run "C:\MTCP\PING.EXE 8.8.8.8".

  3. Copy wattcp.cfg from the Dillo folders "NET\DILLO\ETC". Put it in the same folder as LINKS.EXE. Edit wattcp.cfg. Find pkt.vector and change it to your PKTDRV interrupt "pkt.vector = 0xXX. Then try to run Links again. XX = whatever interrupt PKTDRV installed to.

    For Dillo, place the Dillo folder in C: "C:\DILLO", edit "C:\DILLO\ETC\WATTCP.CFG" and change pkt.vector = 0x00 to the interrupt PKTDRV installed to. Then run "C:\DILLO\DILLO.BAT".

     

  4.  

    So if you needed to run multiple mTCP programs, you could create multiple mTCP config files.

    Like 60.cfg

    packetint 0x60

    63.cfg

    packetint 0x63

    7A.cfg etc.

    packetint 0x7A

    Then environment setting batch files.

    60.bat

    SET MTCPCFG=C:\MTCP\60.CFG

    63.bat, 7A.bat, etc.

    The you would open MsDos Prompt, run PKTDRV, look for the new interrupt, run matching environment setting batch, and finally the mTCP program.

    But this is just for mTCP applications.

    Other MsDos applications each have their own way of inputting the dos interrupt.

    Another thing to keep in mind, Trumpet is a windows socket (winsock) with it's own I.P.. But when you run other Dos Applications, each will get their own I.P. address.

  5. Every time you run PKTDRV it will say something like,

    Quote

    Installed at interrupt XX using multiplexor at XX

    Ignore multiplexor. The multiplexer is PKTMUX. So "multiplexor at xx" = the interrupt PKTMUX uses to connect to your packet driver.

    So when you run PKTDRV in autoexec.bat, that is for use with Trumpet.

    The thing about MsDos, is that it is Single Tasking. So, "one" packet driver = "one" application.

    PKTMUX manages multiple "Virtual" packet drivers.

    PKTDRV is the "Virtual" packet driver. 

    So, whenever you need another packer driver/PKTDRV you get a the new virtual packet driver at a new interrupt.

     

    Example.jpg.e9cb0c83039570717934c99fdc9e4017.jpg

  6. The mTCP config will actually need to be tuned for ever initiation of PKTDRV and whichever mTCP program.

    In your "C:\MTCP\CONFIG.CFG" the setting "packetint 0x60" needs to be set to what ever interrupt each PKTDRV installs to.

    Alternatively, I think each mTCP application allows you to set the interrupt with a command line switch at execution.

    Did you just double click on Links, or did you run from the MsDos Prompt? You need to open a MsDos Prompt, run PKTDRV, and then change to the Links directory and run Links from the command prompt.

    Tip: If you load PKTDRV with the "/n" switch "PKTDRV /n", it will only load a new PKTDRV channel if an open one is not available. 

  7. Good, we want all of those things to work.

    It is okay to set the mTCP config "SET MTCPCFG=C:\MTCP\CONFIG.CFG" in autoexec.bat. It is for all mTCP programs. It won't hurt anything.

    We just don't need DHCP in autoexec.bat.

    So with MTCPCFG set, reboot and manually run DHCP. We want to see what I.P. it assigns you. This is to make sure the I.P. we later put in Trumpet, is "unused" on the network. It may be different than before. DHCP should display the settings it receives. But it will also be saved at the bottom of" C:\MTCP\CONFIG.CFG".

    Next, Just to be extra careful, reboot and load into windows; without running DHCP. In Windows, put the new I.P. in Trumpet setup; unless it is the same. Test Opera. If Opera does not work, open a MsDos Prompt, run PKTDRV, and then run Links. Once Links is up, press the "G" key and type google.com.

    If Links works, but Opera does not, then we know it is either the settings in Trumpet or something is wrong with Opera. You could try to install Netscape as a test. If you can still Ping the D.N.S. with Trumpet Ping, then it almost sounds like a problem with Opera's settings. But I have to say, if you didn't change any of Opera's settings, the default settings should work.

  8. Try Virtualbox NAT.

    You could also just run DHCP in a MsDos Prompt, after PKTDRV. The only reason for doing so, is to see what I.P. it assigns you.

    DO NOT add it to autoexec.bat. You really don't need it, for your system's normal use. It is more like a test/demo application.

    Other mTCP programs have DHCP built in. They all use the same mTCP config file.

  9. You are having fun with this :)

    192.168.1.68 (show above as 168.192.1.68) was your I.P. right?

    127.0.0.1 > <192.168.1.68 = localhost

    We want to ping an I.P. that is outside your Virtualbox machine.

    The gateway, you posted earlier, is 192.168.1.254. You should ping that. If your network allows pings between clients, you could also ping another computer on your network.

    This is how you would use mTCP ping "C:\MTCP\ping 192.168.1.254".

  10. Yeah, I forgot. The range is 0x60 to 0x7F.

    Your last setup looks good. I tested it last night. I would use the Trumpet Ping program, to ping your gateway.

    I guess I've had a packet driver that could only go to 0x74. So not all things are equal.

×
×
  • Create New...