corbindavenport / cobalt

Lightweight operating system based on FreeDOS
GNU General Public License v3.0
20 stars 2 forks source link

VirtualBox networking support #4

Open corbindavenport opened 2 years ago

corbindavenport commented 2 years ago

The old Cobalt OS used PCICFG.EXE to detect VirtualBox during installation, and added a text file to the C drive as a variable: RBPCI\PCICFG.EXE -t *|FIND.EXE "DeviceID BEEF" > nul

Then it initialized an internet connection in AUTOEXEC.BAT:

if exist \SYSTEM\VBOX.TXT goto vbox

...

:vbox
LH \SYSTEM\BIN\PCNTPK INT=0x60
SET MTCPCFG=\SYSTEM\NET\MTCPCFG.TXT
LH \SYSTEM\BIN\DHCP
if exist \WINDOWS\SYSTEM\DOSX.EXE goto windowsinfo
if exist \SYSTEM\DOSSHELL.EXE goto desktop
goto end
corbindavenport commented 2 years ago

http://freedos.sourceforge.net/wiki/index.php/Networking_FreeDOS

corbindavenport commented 2 years ago

Helpful: https://forums.virtualbox.org/viewtopic.php?f=4&t=105823