static ip address & minlogon - this has to be a big problem/bug?

  • Thread starter Thread starter Paul Cuthbert
  • Start date Start date
P

Paul Cuthbert

Hello

I am using Minlogon (I need a small footprint) and networking and need a
static ip address.

I have read the articles suggested on this forum and have used netsh as
recommended by Susannah Raub of Microsoft in her article on MSDN to
configure the target.

This all works fine in a development environment but how do you set this up
for a production environment?

Using rundll32 netshell.dll HrRenameConnection to name the interface only
works for that "boot". If you power on and off it needs to be run again?

This means you have to run netsh again as well to set the ip address.

I have tried putting these settings in RunOnce but it does not work.

This is not addressed in Susannah's article.

Initially, I thought the article was great but that was until I rebooted.
Surely there has to be a solution to this? Or is it a problem/bug?

Regards

Paul Cuthbert
 
Paul,

Are you sure the settings are gone after reboot? I didn't see that on my
MinLogon images.
Can you confirm the settings are taking place when you do "rundll32
netshell.dll HrRenameConnection" and netsh ip static? You will need to check
a couple of registry entries with regedit.exe (somewhere under
[HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Interfaces]).

And again, please check if you image have EWF (many ways to check that,
easiest - your TD Configuration).
 
Hi KM

All my fault! Although its worth posting here what happened as it was an
easy mistake to make.

The issue was if you use netsh to set a static ip address as recommended
then don't forget to specify a gateway or if you don't have one say none!

I was entering:

netsh interface ip set address "Local Area Connection" static 192.168.1.9
255.255.255.0

which was accepted fine and worked fine until you reboot. Then it defaults
back to DHCP.

What I should have entered was:

netsh interface ip set address "Local Area Connection" static 192.168.1.9
255.255.255.0 none

which works fine always.

Thanks for your input and help.

Paul



KM said:
Paul,

Are you sure the settings are gone after reboot? I didn't see that on my
MinLogon images.
Can you confirm the settings are taking place when you do "rundll32
netshell.dll HrRenameConnection" and netsh ip static? You will need to check
a couple of registry entries with regedit.exe (somewhere under
[HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Interfaces]).

And again, please check if you image have EWF (many ways to check that,
easiest - your TD Configuration).

--
KM,
BSquare Corporation
Hello

I am using Minlogon (I need a small footprint) and networking and need a
static ip address.

I have read the articles suggested on this forum and have used netsh as
recommended by Susannah Raub of Microsoft in her article on MSDN to
configure the target.

This all works fine in a development environment but how do you set this up
for a production environment?

Using rundll32 netshell.dll HrRenameConnection to name the interface only
works for that "boot". If you power on and off it needs to be run again?

This means you have to run netsh again as well to set the ip address.

I have tried putting these settings in RunOnce but it does not work.

This is not addressed in Susannah's article.

Initially, I thought the article was great but that was until I rebooted.
Surely there has to be a solution to this? Or is it a problem/bug?

Regards

Paul Cuthbert
 
Back
Top