VOGONS


First post, by RetroWolf92

User metadata
Rank Newbie
Rank
Newbie

I feel like I'm close but just can't figure it out.
I have a Dell Latitude 2100 netbook installed with FreeDOS 1.4, after doing a bunch of research, I found that it's ehternet port is made by Broadcom and thankfully both Dell and Broadcom keep their old drivers around.
The packet driver, B57.com, appears to recognize the ethernet port, but I can't get DHCP.EXE to recognize it. Apart from maybe the wrong interrupt (which I tried changing in the MTCP.CFG), I have no idea what I'm doing wrong.

Any more knowledge and experience is deeply appreciated.

Reply 1 of 12, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Hi, that's understandable. The MCP, err, MTCPis very crude.
It lacks a proper installer, like MS LAN Manager or MS-DOS 5/6 used to have.

To get things running you must edit tcp.cfg manually and have the PATH= for mTCP directory in autoexec.bat.

Such as

[Autoexec.bat]
PATH=C:\DOS; C:\MTCP;
SET MTCPCFG=C:\MTCP\TCP.CFG

More information here:
https://home.mnet-online.de/willybilly/fdhelp … etwork/mtcp.htm

Edit: You have to usually run the packet driver with "0x60" (zero ex six zero): B57.COM 0x60
There are other parameters for i/o port, too. Such as "300" for port 300. Things like this.
Running the setup/diagnostic tool of the network chip can also help.
Often, there are some for DOS, too.

Edit: The config file is being mentioned as either TCP.CFG or MTCP.CFG, it seems.

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 2 of 12, by DaveDDS

User metadata
Rank Oldbie
Rank
Oldbie

Getting networking working in DOS can be a bit tricky. Network "stacks" tend to be fairly complex and require proper configuration to work with other notes on the network, and DOS network software often has little in the way of automating said configuratuin.

I've got a couple tools which can help confirming/testing the lowest level NIC hardware and packet driver software.

Note that these are 16-bit DOS software. For best ability to test you'll need TWO networked DOS systens (they do work well in DosBox with networking)

Neither of these has to be "installed", and don't need any existing network software on the system .. just load a packet driver and run!

--

"SNIFF" is a low-level network packet "sniffer". It will let you transmit packets of data over your network and see any packets of data that occur on your network. It can work with directed (to your specific MAC) or broadcast (to everyone) packets.

Even if you don't have two DOS compatible systems to run two instances of SNIFF, you will be able to see the broadcast packets commonly/frequently sent by almost all modern network software. If you happen to have a network "hub" (instead of the much more common "switch") you will be able to see all traffic between systems on the network,

--

"DDLINK" is a fairly full-featured file transfer tool.

--

You can grab either/both of these from my site!

Note that these packet oriented tools are "local network only" ... If by "getting ... online" you mean full internet access, you'll still have to setup/configure a full network "stack" of some sort -- but at least these tools can help confirm that network hardware/software is working at the lowest level!

https://dunfield.themindfactory.com ; "Daves Old Computers" ; SW dev addict best known:
ImageDisk: rd/wr ANY floppy PChw can ; Micro-C: compiler for DOS+ManySmallCPU ; DDLINK: simple/small filetransfer(w/o netSW)via Lan/Lpt/Com

Reply 3 of 12, by wierd_w

User metadata
Rank l33t
Rank
l33t

From a 'historicity' standpoint, Novel's ODI driver stacks were leaner, and more configurable.

But also more fiddly.

Modern offers that just need a packet driver exist today though.

I havent tried setting any up, since there are no wifi options for dos.

Reply 4 of 12, by Jo22

User metadata
Rank l33t++
Rank
l33t++
DaveDDS wrote on Yesterday, 11:42:

Neither of these has to be "installed", and don't need any existing network software on the system .. just load a packet driver and run!

Everything is relative. 😀
LAN Manager 2.2c for DOS had a proper TUI setup utility.
It made editing settings easier, I think. mTCP could learn from that.

https://www.youtube.com/watch?v=UfrpbUoqeNQ

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 5 of 12, by mbbrutman

User metadata
Rank Oldbie
Rank
Oldbie
wierd_w wrote on Yesterday, 16:17:

I havent tried setting any up, since there are no wifi options for dos.

Don't let that stop you. An older router can be setup to accept wired Ethernet from the DOS machine and connect to your WiFi. Or you can use a dedicated device such as the IOGEAR Universal Ethernet to Wi-Fi N Adapter.

(I've not used the IOGEAR adapter, but it looks a bit less clunky to setup than the old Zyxel travel router I use for this purpose.)

-Mike

Reply 6 of 12, by wierd_w

User metadata
Rank l33t
Rank
l33t

The whole point of wanting to use wifi is to be mobile, and not tied down by equipment.

If laptop RJ45 ports provided PoE reliably, and a compact bridge could be made into a 'plug in antenna' form factor, we could talk. (Wifi bridge and antenna, combined with a male RJ45 connector, that you can configure once with a web portal, then treat transparently)

But since they dont, and no network arbitrators for wifi exist for dos, (even if wifi chip packet drivers exist), I am not willing to suffer, since I wont get the desired feature: wireless mobility.

Reply 7 of 12, by mbbrutman

User metadata
Rank Oldbie
Rank
Oldbie

I suspect that most people want to sit down and plug into power for a bit, so I didn't realize you truly wanted to do your DOS work at the local park ... Yep, that's going to be a challenge.

(My Zyxel travel router runs off of USB power. So it qualifies as mostly portable, even if I have to carry around a power bank.)

Reply 8 of 12, by keenmaster486

User metadata
Rank l33t
Rank
l33t

Orinoco WiFi cards work in DOS.

I wish there were internal options. Modern Intel Ethernet chips have DOS drivers. Why not WiFi? Would be nice. But the only option right now is PCMCIA cards like the Orinoco.

World's foremost 486 enjoyer.

Reply 9 of 12, by Jo22

User metadata
Rank l33t++
Rank
l33t++
keenmaster486 wrote on Yesterday, 21:17:

Orinoco WiFi cards work in DOS.

Thanks for the tip!

keenmaster486 wrote on Yesterday, 21:17:

I wish there were internal options. Modern Intel Ethernet chips have DOS drivers. Why not WiFi?

I assume it has to do with network boot or network installation.

For example, Windows XP installations were mostly done by booting DOS from network and run WINNT.EXE to start installation from network drive.

There also was Windows PE but it was less popular.
So DOS was still very important for boot-strapping other OSes in the 2000s.

keenmaster486 wrote on Yesterday, 21:17:

Would be nice. But the only option right now is PCMCIA cards like the Orinoco.

Hi, in early-mid 90s, there was this idea that PCMCIA would be the future for desktop PCs, too.
Those weird A600/A1200 Amigas had PCMCIA slots, I vaguely remember.

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 10 of 12, by wierd_w

User metadata
Rank l33t
Rank
l33t

Generally, the issue is 'There is an important difference on the Physical Layer of 802.11 vs 802.1'

802.1 (wired ethernet) presumes the physical medium is present as long as a single bit is true, and then probes for a speed and duplex mode.

802.11 (wireless ethernet) must present authentication, then do cryptographic functions, in addition to dealing with on-the-fly rate changes, dropouts of the medium, et al.

On modern OSes, there is a dedicated software daemon managing this, so that 802.1 frames can be sent on top. On linux, this is 'wpasupplicant'. Not sure what it's called on windows. 'Zero-config' I think?

A wireless packet driver for a wifi chip would need to do 'a lot more' than just send raw datagrams.

Reply 11 of 12, by Jo22

User metadata
Rank l33t++
Rank
l33t++

^Hi, I assume that's also why a NIC pass-through (wired NIC) in an emulator or VM isn't always possible if the host uses WLAN hardware to physically connect to the internet/LAN.
In some situations, the host must use proper ethernet (wired) too to make the emulator/VM have ethernet connectivity.
From host side, I mean. An RJ45 to WLAN converter box connected to the host does the translation needed.

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 12 of 12, by DaveDDS

User metadata
Rank Oldbie
Rank
Oldbie

There are cases when you need Wifi even if you are not planning to be mobile. Cruise ships, hotels and other places like that often do NOT run wired ethernet to every room. Some small devices don't have "big" ethernet ports, tethering to a phone may also not have a wired option.

--

I don't profess to be an expert on higher level network protocols, but I have a LOT of experience with networking hardware and software at the lowest level, most basic means of transferring data "over the wire".

--

At its lowest level, Ethernet transfers a data "packet" .. this consists of a 48 bit address (called MAC - "Media Access Control", a 16 it "type" used to identify what the data content means, a variable size data-block (with associated size), and a CRC (Cyclic Redundancy Check) used to verify the content of the whole packet is correct (error free).

Originally Ethernet was over daisy chained coaxial cables - every note "saw" the data being sent to every other note. This one wire had to be shared among all active connections, and nodes depended on MAC addresses to know which data packets were for them.

Later it transitioned to simpler/cheaper twisted-pair cables running through "hubs" which simulated the original coax cable .. every node still saw all the traffic, still shared.
(and I still keep a few hubs - lets me monitor all traffic going through it via one connection)

Then as networking became more common/used, "switches" were made - these acted like "hubs" on the first transmission from a node (before it know that nodes MAC), thereafter they would send the traffic for a given MAC only to the port where that MAC was now known to be connected. This allows the traffic to be occurring over logically different connections simultaneously (at the same time 😀 ) - effectively MUCH increasing total throughput of the network.

But ... MAC addresses were set at manufacturing and had no indication of what that node might be ... IE: at this low level packets could not be routed. Until the switch saw a transmission from a node, it didn't know how to route packets to that note.

So... higher level protocols were developed which used addresses that indicated how to reach this node. The addresses could be assigned based on where the node was in the network, either manually (static) or "on the fly" (dynamic). The advantages of these protocols in managing direction of traffic and therefore increasing network efficiency and effective bandwidth, caused most people (even some technical ones in the industry) to not know the details of the lowest levels and "raw" packets.

Wifi has much more limited bandwidth tham a hardwired cable and cannot be "switched" as described above - Wifi effectively looks more like the original coax cable.
Which means it wants to avoid carrying traffic not directed to nodes connected over Wifi. For this reason, almost all Wifi "routers" are in fact routers and do not handle non-routable protocols, hence they don't transfer basic "raw" packets and can only work with routable protocols that they "know" (were designed with the logic to handle/route).

This is why not-well-known networking software which makes use of some proprietary protocol (which can be much simpler and more efficient for local traffic) to generally NOT work over Wifi and non-local connections.

--

Hopefully this "history lesson" wasn't too boring ... I've observed that this knowledge has been lost to general users, and I firmly believe that when trying to "figure" something ... it's very important/helpful to know how it works "all the way down".

https://dunfield.themindfactory.com ; "Daves Old Computers" ; SW dev addict best known:
ImageDisk: rd/wr ANY floppy PChw can ; Micro-C: compiler for DOS+ManySmallCPU ; DDLINK: simple/small filetransfer(w/o netSW)via Lan/Lpt/Com