OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: R.M. Klippstein on June 24, 2018, 09:32:14 pm

Title: Set I.P. command ?
Post by: R.M. Klippstein on June 24, 2018, 09:32:14 pm
Is it possible to set the I.P. of a booting partition in config.sys?

thanks klipp
Title: Re: Set I.P. command ?
Post by: Andreas Schnellbacher on June 24, 2018, 10:08:35 pm
Is it possible to set the I.P. of a booting partition in config.sys?
I assume that you're talking about the IP address.

setup.cmd is processed by cmd.exe. Therefore using environment variables should work.
Title: Re: Set I.P. command ?
Post by: Dave Yeo on June 24, 2018, 11:39:41 pm
Or just edit x:\mptn\bin\setup.cmd to add your IP address. Should be a line like
Code: [Select]
ifconfig lan0 192.168.0.2 netmask 255.255.255.0
for your first Ethernet adapter. Might need to setup your default route as well.