Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows XP > Windows XP Embedded

Notices

Reply

netsh, static IP, DHCP

 

LinkBack Thread Tools Display Modes
Old 07-22-2003, 07:47 PM   #1 (permalink)
Default Re: netsh, static IP, DHCP

"RemoteAccess" service is installed through the "Dial-up Server for
Windows". This drags in tapi, jet, mdac. Not as bad as pulling in MMC, but
it is a bump in size.
netsh now shows and set static ip addresses. There is still a message about
"SOme commands may not be available.", but the one of specific interest is
now working.


Looks like this would be another area for further XPe componentization.

"Jon Fincher (MS)" <jonfi_online@microsoft.com> wrote in message
news:Xns93A0A43B36137jonfiatmicrosoftdotc@157.54.3 .22...
Quote:
> "Michael Larkin" <michael.larkin@wyatt.com> wrote in
> news:036c01c33517$de461280$a501280a@phx.gbl:
>
Quote:
> > The Routing and Remote Access Service is not currently
> > running on the local machine. Please use 'net start
> > remoteaccess' on the machine to start the service"
> >
> > When I run the command "net start remoteaccess" I obtain
> > the message "The service name is invalid".
> >
> > Some of the components in my image are:
> > Netshell
> > Network Command Shell
> > Network Command Shell Interface Context
> > Network Configuration
> > Net.exe Utility
> > IP Router Monitor Library
>
> Well - and this is just a wild stab in the dark - do you have the Remote
> Access components in your image as well?
>
> --
> --Jon, MS
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.

Richard Mahn
Guest
 
Posts: n/a
Reply With Quote  
Old 07-22-2003, 08:15 PM   #2 (permalink)
Default Re: netsh, static IP, DHCP

I forgot to mention that "RemoteAccess" is installed "Disabled", so you need
to also be sure to install SC.Exe or such to get the config set to "auto".
"Richard Mahn" <RichardM@Entivity.Com> wrote in message
news:%23b$6PoIUDHA.3640@tk2msftngp13.phx.gbl...
Quote:
> "RemoteAccess" service is installed through the "Dial-up Server for
> Windows". This drags in tapi, jet, mdac. Not as bad as pulling in MMC, but
> it is a bump in size.
> netsh now shows and set static ip addresses. There is still a message
about
Quote:
> "SOme commands may not be available.", but the one of specific interest is
> now working.
>
>
> Looks like this would be another area for further XPe componentization.
>
> "Jon Fincher (MS)" <jonfi_online@microsoft.com> wrote in message
> news:Xns93A0A43B36137jonfiatmicrosoftdotc@157.54.3 .22...
Quote:
> > "Michael Larkin" <michael.larkin@wyatt.com> wrote in
> > news:036c01c33517$de461280$a501280a@phx.gbl:
> >
Quote:
> > > The Routing and Remote Access Service is not currently
> > > running on the local machine. Please use 'net start
> > > remoteaccess' on the machine to start the service"
> > >
> > > When I run the command "net start remoteaccess" I obtain
> > > the message "The service name is invalid".
> > >
> > > Some of the components in my image are:
> > > Netshell
> > > Network Command Shell
> > > Network Command Shell Interface Context
> > > Network Configuration
> > > Net.exe Utility
> > > IP Router Monitor Library
> >
> > Well - and this is just a wild stab in the dark - do you have the Remote
> > Access components in your image as well?
> >
> > --
> > --Jon, MS
> >
> > This posting is provided "AS IS" with no warranties, and confers no
> > rights.
>
>

Richard Mahn
Guest
 
Posts: n/a
Reply With Quote  
Old 07-25-2003, 07:49 PM   #3 (permalink)
Default Re: netsh, static IP, DHCP

is the Netsh for setting a static IP also working in Minlogon ? I get also
the error message 'interface name xyz is invalid'. Just adding the
Rasmontr.dll crashes Netsh.exe. Is there a solution without installing tons
of files for not needed RAS ?

"Richard Mahn" <RichardM@Entivity.Com> schrieb im Newsbeitrag
news:%233dOB6IUDHA.3192@tk2msftngp13.phx.gbl...
Quote:
> I forgot to mention that "RemoteAccess" is installed "Disabled", so you
need
Quote:
> to also be sure to install SC.Exe or such to get the config set to "auto".
> "Richard Mahn" <RichardM@Entivity.Com> wrote in message
> news:%23b$6PoIUDHA.3640@tk2msftngp13.phx.gbl...
Quote:
> > "RemoteAccess" service is installed through the "Dial-up Server for
> > Windows". This drags in tapi, jet, mdac. Not as bad as pulling in MMC,
but
Quote:
Quote:
> > it is a bump in size.
> > netsh now shows and set static ip addresses. There is still a message
> about
Quote:
> > "SOme commands may not be available.", but the one of specific interest
is
Quote:
Quote:
> > now working.

Johannes Stratmann
Guest
 
Posts: n/a
Reply With Quote  
Old 07-28-2003, 02:31 PM   #4 (permalink)
Default Re: netsh, static IP, DHCP

The Explorer shell names the network interface by default. If you're
running a shell other than Explorer, you will need to name the interface by
calling HrRenameConnection:

rundll32 netshell.dll HrRenameConnection

Verify that the connection is named (Local Area Connection, for example)
with the following command:

netsh interface ip show address


Now that the interface is named, you should be able to configure it with
netsh.

Thanks,
Dan


--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Johannes Stratmann" <-zz-jstratmann@t-online.de> wrote in message
news:OIutcXuUDHA.1512@TK2MSFTNGP11.phx.gbl...
Quote:
> is the Netsh for setting a static IP also working in Minlogon ? I get also
> the error message 'interface name xyz is invalid'. Just adding the
> Rasmontr.dll crashes Netsh.exe. Is there a solution without installing
tons
Quote:
> of files for not needed RAS ?
>
> "Richard Mahn" <RichardM@Entivity.Com> schrieb im Newsbeitrag
> news:%233dOB6IUDHA.3192@tk2msftngp13.phx.gbl...
Quote:
> > I forgot to mention that "RemoteAccess" is installed "Disabled", so you
> need
Quote:
> > to also be sure to install SC.Exe or such to get the config set to
"auto".
Quote:
Quote:
> > "Richard Mahn" <RichardM@Entivity.Com> wrote in message
> > news:%23b$6PoIUDHA.3640@tk2msftngp13.phx.gbl...
Quote:
> > > "RemoteAccess" service is installed through the "Dial-up Server for
> > > Windows". This drags in tapi, jet, mdac. Not as bad as pulling in MMC,
> but
Quote:
Quote:
> > > it is a bump in size.
> > > netsh now shows and set static ip addresses. There is still a message
> > about
Quote:
> > > "SOme commands may not be available.", but the one of specific
interest
Quote:
> is
Quote:
Quote:
> > > now working.
>
>

Dan Simpson [MS]
Guest
 
Posts: n/a
Reply With Quote  
Old 07-28-2003, 04:00 PM   #5 (permalink)
Default Re: netsh, static IP, DHCP

Thanks for your reply,
I have renamed the interface by using a script 'localnet.vbs' from Bernardo
Del Seno (Dibbe), included in the 'Netsetup' component on www.xpefiles.com
... When I check with 'netsh interface ip show address' then the interface
has the requested name. But I still get the 'invalid interface name' error.
I wll try your renaming method later.



"Dan Simpson [MS]" <dansimp@online.microsoft.com> schrieb im Newsbeitrag
news:3f2533c8$1@news.microsoft.com...
Quote:
> The Explorer shell names the network interface by default. If you're
> running a shell other than Explorer, you will need to name the interface
by
Quote:
> calling HrRenameConnection:
>
> rundll32 netshell.dll HrRenameConnection
>
> Verify that the connection is named (Local Area Connection, for example)
> with the following command:
>
> netsh interface ip show address
>
>
> Now that the interface is named, you should be able to configure it with
> netsh.

Johannes Stratmann
Guest
 
Posts: n/a
Reply With Quote  
Old 07-28-2003, 05:26 PM   #6 (permalink)
Default Re: netsh, static IP, DHCP

great, you won. After calling the HrRenameConnection it worked. The names
from the script were still kept, but the order (script uses the key order in
registry) seems to be quite random for multiple interfaces.
Is there any documentation on the HrRenameConnection function ?


"Dan Simpson [MS]" <dansimp@online.microsoft.com> schrieb im Newsbeitrag
news:3f2533c8$1@news.microsoft.com...
Quote:
> The Explorer shell names the network interface by default. If you're
> running a shell other than Explorer, you will need to name the interface
by
Quote:
> calling HrRenameConnection:
>
> rundll32 netshell.dll HrRenameConnection

Johannes Stratmann
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
DHCP Army Windows Vista Networking & Sharing 2 06-03-2007 07:28 AM
DHCP Client & Classless Static Routes David Redmond Windows Vista Networking & Sharing 4 02-08-2007 04:05 AM
Netsh in Vista Michael Henderson Windows Vista Networking & Sharing 1 12-14-2006 03:48 AM
static ip? eddy Windows Vista Networking & Sharing 1 07-03-2006 06:05 PM
netsh problem Andrea Windows XP Embedded 3 07-21-2003 03:33 PM


All times are GMT. The time now is 06:24 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90