How to dissable the network conection

  • Thread starter Thread starter Miquel Blasco
  • Start date Start date
M

Miquel Blasco

Hi all,

I need that user can set the IP address of the system.
I am using a custom shell, with EWF to protect the image
stored in a CF.
I save the IP address, set by the user, out of the EWF partition
and I set it with netshell when system boots.

When I protect the image with EWF, the network connection is
enabled with DHCP.

The problem is every time the system boots, it tries to get an
IP with DHCP, and it takes 1 or 2 minutes, and I can't set
the user IP until DHCP finishes.

Is possible to dissable the network connection before ETPREP, and
enable it every time before I set the IP address?


Many Thx,
 
Hi Miguel.

Have you tried disabling the "DHCP Client Service" component in your
configuration within TD? This will remove DHCP client capability in the
runtime.

Please let us know how it worked out.

Thanks
Andy
 
Hi Andy,

I have tried it but, I have found a lot of problems:

many components have dependencies on DHCP client, like Netshell,
TCP/IP Networking, TCP/IP Utilities, etc...

if I ignore it and build the image, FBA finds errors because
DHCPCXVC.dll is needed.

And at the end, the network connection doesn't work. I'm not able to
set the IP address with netsh, ipconfig fails, and so on...

Many Thanks but, any other idea?

Miquel
 
In that case, stop the dhcp client service before cloning the image:
C:/>Net Stop DHCP Client

The dhcp client service is normally started by default.

Andy
--

This posting is provided "AS IS" with no warranties, and confers no rights.
==========================================================
 
Hi Nikolai,

Yes I can do this, and when the system boots is faster to switch to
the user IP address than using DHCP. The problem here is what IP use
by default, this IP could be used by another device in the local network
and the user will get an IP conflict...

I can't believe that a network connection could not be dissabled from
the shell !!!

Many Thaks for your help

Miquel.
 
Back
Top