OS/2, eCS & ArcaOS - Technical > Networking

[SOLVED] Networking not working In Virtual Box

<< < (3/4) > >>

Tom:

--- Quote from: Glenn on April 03, 2024, 01:10:27 pm --- Starting DHCPSTRT by hand after getting to the WPS works, but why the heck is it not started during boot-up time? Could anyone tell me exactly how their DHCPSTRT line looks like in their config.sys ?[/li][/list]

--- End quote ---

dhcpstrt is not in config.sys but inside ?:\mptn\bin\setup.cmd:

dhcpstrt -i lan0 0d 0

Glenn:

--- Quote from: Tom on April 03, 2024, 02:52:37 pm ---
--- Quote from: Glenn on April 03, 2024, 01:10:27 pm --- Starting DHCPSTRT by hand after getting to the WPS works, but why the heck is it not started during boot-up time? Could anyone tell me exactly how their DHCPSTRT line looks like in their config.sys ?[/li][/list]

--- End quote ---

dhcpstrt is not in config.sys but inside ?:\mptn\bin\setup.cmd:

dhcpstrt -i lan0 0d 0

--- End quote ---

That is weird, because dhcpstrt is indeed present in this setup file... yet if I do not start it manually once the WPS has loaded, the DHCP monitor is empty with a message that DHCP has not been started..

Dave Yeo:
You should have a line like,

--- Code: ---CALL=X:\OS2\CMD.EXE /Q /C X:\MPTN\BIN\MPTSTART.CMD >NUL
--- End code ---
in config.sys with MPTSTART.CMD calling X:\MPTN\BIN\SETUP.cmd

Pete2:
@Glenn: re length of PATH and LIBPATH. Many programs add their own directory to the system path so you can start them from the command line. If you will only ever use a program object you can remove this entry from PATH; if there's a LIBPATH entry you can remove this and add a BEGINLIBPATH setting to the program object. If you do want to start the program from a command line, one workaround is to create a batch file which can go somewhere in your PATH, which can set BEGINLIBPATH and launch the program. e.g.if foo.exe installs into c:`programs\foo and puts its DLLs in c:\programs\foo\lib, foo.cmd could be

@echo off
set BEGINLIBPATH=c:\programs\foo\lib
c:\programs\foo.exe %1

(I expect this isn't the best you can do - maybe others will correct.)

Dave Yeo:
Always good to leave the possibility to chain commands.

@echo off
set BEGINLIBPATH=c:\programs\foo\lib;%BEGINLIBPATH%
c:\programs\foo.exe %1
exit

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version