Guillermo Mart?nez Jim?nez wrote:
>Hello Freedosoyds ;-)
>I want to connect my FreeDOS to the Internet. Do I need a TCP/IP stack? If so,
>how must I set-up it?
>Thanks. (sorry for my bad english).
I don't know if Erick Engelke's WATTCP can be classified as a
TCP/IP stack, but it works. I have used it to connect to the
Internet with Arachne 1.90, Lynx386 2.85r1, UKA_PPP 1.72, and
As I understand it, the WATTCP framework uses the files
WATTCP.CFG and IP-UP.BAT to set some TCP/IP parameters. Also the
application has to follow the WATTCP protocols in order to use
those parameters. With appropriate data, the application can
connect to the Internet.
Alternatively, the WATTCP.CFG and IP-UP.BAT files can store
parameters for a router (instead of true Internet addresses). If
everything is set up correctly, then it should work.
So what values should be in WATTCP.CFG and IP-UP.BAT? That
depends on your system's characteristics (which router, which
The first question is: "What are the requirements for connecting
to the router?". E.g. Which IP addresses does the router recognize?
What is the router's gateway address? Which DNS servers do you use?
Some routers assign IP addresses via DHCP, BOOTP, or RARP. Some
routers expect the application to choose an appropriate IP address
without any help.
The second question is "What are the application's requirements
for communicating via WATTCP?" Some applications expect the
WATTCP.CFG file to be complete before the application starts up.
Some applications can receive the info for the WATTCP.CFG via DHCP,
BOOTP, or RARP. Some applications depend on the environment
variables set by IP-UP.BAT.
Of course you also need a packet driver for your NIC.
Here are the WATTCP.CFG and IP-UP.BAT files that I used with a
BEFSR41 router that I used to have. These values did *not* depend
on DHCP, BOOTP, or RARP.
DOMAIN_SUFFIX = "nobody.invalid"
SOCKDELAY = 60
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
Freedos-user mailing list