oops forgot to change a name in the first batch file.. the line @netsh
interface ip set dns "Local Area Connection 2" static 192.168.0.1 primary
should read @netsh interface ip set dns "Local Area Connection" static
192.168.0.1 primary
sorry
"Paul Mckenna" <(E-Mail Removed)> wrote in message
news:93CEB5CF-24B2-49A4-BE54-(E-Mail Removed)...
> Hi,
>
> Not really a fix but a work around...
>
> because I go to various sites with my laptop I have various batch file to
> change my ip address using the netsh command
> the following is my 'Static.cmd' file...
>
> @Echo Setting LAN to 192.168.0.254
> @netsh interface ip set address "Local Area Connection" static
> 192.168.0.254 255.255.255.0 192.168.0.1 1
> @netsh interface ip set dns "Local Area Connection 2" static 192.168.0.1
> primary
>
> and then my 'DHCP.cmd' file
>
> @Echo Setting up DHCP on LAN
> @netsh interface ip set address "Local Area Connection" source=DHCP
> @netsh interface ip set dns "Local Area Connection" source=DHCP
>
> Hope this helps a little.
>
> Regards
> Paul Mckenna
>
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>>I recently bought a new HP laptop with Windows XP Media Center Edition.
>> It has built-in wireless and ethernet. My problem is that only my
>> wireless shows up under "Network Connections." When I plug in an
>> ethernet cable, it will connect via dhcp, but I would prefer to enter
>> manual settings. Any reason that the ethernet icon isn't showing up
>> under "Network Connections," or is there another way to manualy
>> configure my ethernet card? Thanks for reading, let me know if you have
>> any ideas.
>>
>> Taylor Killian
>>
>> P.S. Below is a little bit about my network
>>
>> C:\Program Files\Microsoft Visual Studio 8\VC>ipconfig /all
>>
>> Windows IP Configuration
>>
>> Host Name . . . . . . . . . . . . : XIBOX
>> Primary Dns Suffix . . . . . . . :
>> Node Type . . . . . . . . . . . . : Unknown
>> IP Routing Enabled. . . . . . . . : No
>> WINS Proxy Enabled. . . . . . . . : No
>> DNS Suffix Search List. . . . . . : wowway.com
>> wowway.com
>>
>> Ethernet adapter Local Area Connection:
>>
>> Connection-specific DNS Suffix . : wowway.com
>> Description . . . . . . . . . . . : NVIDIA nForce Networking
>> Controller
>> Physical Address. . . . . . . . . : 00-16-36-A9-08-51
>> Dhcp Enabled. . . . . . . . . . . : Yes
>> Autoconfiguration Enabled . . . . : Yes
>> IP Address. . . . . . . . . . . . : 192.168.0.106
>> Subnet Mask . . . . . . . . . . . : 255.255.255.0
>> Default Gateway . . . . . . . . . : 192.168.0.1
>> DHCP Server . . . . . . . . . . . : 192.168.0.1
>> DNS Servers . . . . . . . . . . . : 64.233.222.2
>> 64.233.222.7
>> Lease Obtained. . . . . . . . . . : Monday, December 04, 2006
>> 3:58:30 PM
>>
>> Lease Expires . . . . . . . . . . : Thursday, December 07, 2006
>> 3:58:30 PM
>>
>> Ethernet adapter Wireless Network Connection 2:
>>
>> Connection-specific DNS Suffix . : wowway.com
>> Description . . . . . . . . . . . : Broadcom 802.11b/g WLAN
>> Physical Address. . . . . . . . . : 00-14-A5-D2-68-B3
>> Dhcp Enabled. . . . . . . . . . . : Yes
>> Autoconfiguration Enabled . . . . : Yes
>> IP Address. . . . . . . . . . . . : 192.168.0.100
>> Subnet Mask . . . . . . . . . . . : 255.255.255.0
>> Default Gateway . . . . . . . . . : 192.168.0.1
>> DHCP Server . . . . . . . . . . . : 192.168.0.1
>> DNS Servers . . . . . . . . . . . : 64.233.222.2
>> 64.233.222.7
>> Lease Obtained. . . . . . . . . . : Monday, December 04, 2006
>> 3:48:35 PM
>>
>> Lease Expires . . . . . . . . . . : Thursday, December 07, 2006
>> 3:48:35 PM
>>
>> C:\Program Files\Microsoft Visual Studio 8\VC>
>>
>