OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Setup & Installation => Topic started by: R.M. Klippstein on June 19, 2019, 07:01:02 pm

Title: ioctl (siocaifaddr): Invalid Argument Error ---Help!
Post by: R.M. Klippstein on June 19, 2019, 07:01:02 pm
I've gotten this error on two different machines with ArcaOS 5.0.3 while changing the I.P: for use on my Lan. The I.P changes correctly and all is well, but on rebooting I always get the same error. I've been unable to figure out how to get rid of this error (it actually causes no problems, except for the halt it causes during booting) which is a PITA!
Any ideas would really be appreciated.  Thanks

klipp
Title: Re: ioctl (siocaifaddr): Invalid Argument Error ---Help!
Post by: Ian Manners on June 20, 2019, 12:13:55 pm
Hi klipp,

Could be something in your x:\MPTN\BIN\SETUP.CMD file.
If memory serves, that error is ifconfig related, run any ifconfig lines from your setup.cmd file and see which one errors, or post your setup.cmd file.

I was also thinking about 'x:\MPTN\BIN\MPTSTART.CMD' but think it more relevant to start with setup.cmd
Title: Re: ioctl (siocaifaddr): Invalid Argument Error ---Help!
Post by: Roderick Klein on June 20, 2019, 12:44:38 pm
Hi klipp,

Could be something in your x:\MPTN\BIN\SETUP.CMD file.
If memory serves, that error is ifconfig related, run any ifconfig lines from your setup.cmd file and see which one errors, or post your setup.cmd file.

I was also thinking about 'x:\MPTN\BIN\MPTSTART.CMD' but think it more relevant to start with setup.cmd

99% certain this is caused by tcpcfg2.cmd and adding a default route.
tcpcfg2.cmd adds two lines to setup.cmd.

The first command  with the
"Route add default" with an IP addres should be kept.
The second line you can delete and in my experience is not needed.

Best regards,

Roderick Klein
Title: Re: ioctl (siocaifaddr): Invalid Argument Error ---Help!
Post by: Lars on June 20, 2019, 05:17:44 pm
The SIOCAIFADDR error indicates that the system failed in adding an alias address (for an existing IP address).
I assume that you did not try to specify an alias for an IP address, and that makes it likely that you have a syntax error in SETUP.CMD, as Roderick has also pointed out.

If you post your SETUP.CMD it should be possible to fix this error.
Title: Re: ioctl (siocaifaddr): Invalid Argument Error ---Help!
Post by: R.M. Klippstein on June 20, 2019, 09:26:55 pm
Hey GUYS--- THANKS Big TIME!  Al is well now.

klipp