Cannot get an IP address automatically

ukblacknight

New member
Local time
10:54 PM
Messages
2
I recently replaced Windows 7 RC with my version of Windows 7 Pro x64 from my universities MSDNAA.

The problem, is that Windows can't assign itself an IP address. I must go into the adapter settings and manually enter my LAN address (192.168.1.2) and my gateway address. After I set these, it looks for the problem and says that DHCP is turned off (it shouldn't be), and then applies the fix. I have to do this every time I boot into Windows. My previous install of Windows 7 RC didn't do this, and my primary OS, Ubuntu, works fine too.

Any solutions?

Kind regards,
Tom
 

My Computer

OS
Windows 7
CPU
Intel Core 2 Quad Q9550 @ 2.83GHz
Motherboard
Gigabyte G31M-S2L
Memory
2x2GiB DDR2 800MHz
Graphics Card(s)
nVidia GeForce 8800GTS 320mb
Sound Card
Intel N10/ICH 7 Family High Definition Audio Controller
Monitor(s) Displays
LG L226W
Hard Drives
250GB SATA
1TB SATA
500GB SATA
PSU
600W
Cooling
Stock Fans
I recently replaced Windows 7 RC with my version of Windows 7 Pro x64 from my universities MSDNAA.

The problem, is that Windows can't assign itself an IP address. I must go into the adapter settings and manually enter my LAN address (192.168.1.2) and my gateway address. After I set these, it looks for the problem and says that DHCP is turned off (it shouldn't be), and then applies the fix. I have to do this every time I boot into Windows. My previous install of Windows 7 RC didn't do this, and my primary OS, Ubuntu, works fine too.

Any solutions?

Kind regards,
Tom


This is probably a services issue....

Control Panel -> Administrative tools -> Services.

Set "DHCP Client" to Automatic
Set "DNS Client" to Automatic

In the adaptor settings where you've been keying your IP...
Set it to "Obtain IP Address automatically" and "Obtain DNS server Address automatically"...

Restart your system.

In your router/switch ... check settings and be sure that DNS and DHCP are enabled there too.
 

My Computer

Computer Manufacturer/Model Number
Homebrew
OS
XP Pro SP3 X86 / Win7 Pro X86
CPU
Amd 64 x2 4200 (2.4ghz)
Motherboard
Asus M2N-MX SE Plus
Memory
Kingston DDR2 800 2gb
Graphics Card(s)
Nvidia GF-8400
Sound Card
Realtek on Motherboard
Monitor(s) Displays
Acer x-193bw
Screen Resolution
1440 x 900
Hard Drives
Western Digital 500g
PSU
350watt In-Win
Case
In-Win
Cooling
Air
Keyboard
yes
Mouse
yes
Internet Speed
5mpbs
Other Info
Also ASRock ION 330 as HTPC (on XP).
Acer Aspire as GP netbook (on XP).
I recently replaced Windows 7 RC with my version of Windows 7 Pro x64 from my universities MSDNAA.

The problem, is that Windows can't assign itself an IP address. I must go into the adapter settings and manually enter my LAN address (192.168.1.2) and my gateway address. After I set these, it looks for the problem and says that DHCP is turned off (it shouldn't be), and then applies the fix. I have to do this every time I boot into Windows. My previous install of Windows 7 RC didn't do this, and my primary OS, Ubuntu, works fine too.

Any solutions?

Kind regards,
Tom


This is probably a services issue....

Control Panel -> Administrative tools -> Services.

Set "DHCP Client" to Automatic
Set "DNS Client" to Automatic

In the adaptor settings where you've been keying your IP...
Set it to "Obtain IP Address automatically" and "Obtain DNS server Address automatically"...

Restart your system.

In your router/switch ... check settings and be sure that DNS and DHCP are enabled there too.

I just booted back in, and the DHCP and DNS services were already set to automatic and were running. The adapter settings was already on "Obtain IP Address automatically", it changes itself back to that after a reboot. There's a shield icon on the properties for the adapter, indicating that the system should escalate privileges to administrator to change such settings, but I'm never prompted - could this be the reason why it never remembers my settings?

DHCP is running on the router, every other device in the house connects to it fine :\ If I look on the router under "Attached Devices", it lists my machine with an IP of 192.168.1.167, where as when I'm running under Ubuntu, it's 192.168.1.2.
 

My Computer

OS
Windows 7
CPU
Intel Core 2 Quad Q9550 @ 2.83GHz
Motherboard
Gigabyte G31M-S2L
Memory
2x2GiB DDR2 800MHz
Graphics Card(s)
nVidia GeForce 8800GTS 320mb
Sound Card
Intel N10/ICH 7 Family High Definition Audio Controller
Monitor(s) Displays
LG L226W
Hard Drives
250GB SATA
1TB SATA
500GB SATA
PSU
600W
Cooling
Stock Fans
I just booted back in, and the DHCP and DNS services were already set to automatic and were running. The adapter settings was already on "Obtain IP Address automatically", it changes itself back to that after a reboot. There's a shield icon on the properties for the adapter, indicating that the system should escalate privileges to administrator to change such settings, but I'm never prompted - could this be the reason why it never remembers my settings?

DHCP is running on the router, every other device in the house connects to it fine :\ If I look on the router under "Attached Devices", it lists my machine with an IP of 192.168.1.167, where as when I'm running under Ubuntu, it's 192.168.1.2.

I'm not one to leap directly to "get new drivers" or any of the other trite advice you'll see on forums like this. Most problems end up being settings or connections issues... but in this case, maybe you should try updating your network drivers before you go too much further.

Also is IPv6 running? Some routers just can't deal with it so you might also try unchecking that and rebooting.
 

My Computer

Computer Manufacturer/Model Number
Homebrew
OS
XP Pro SP3 X86 / Win7 Pro X86
CPU
Amd 64 x2 4200 (2.4ghz)
Motherboard
Asus M2N-MX SE Plus
Memory
Kingston DDR2 800 2gb
Graphics Card(s)
Nvidia GF-8400
Sound Card
Realtek on Motherboard
Monitor(s) Displays
Acer x-193bw
Screen Resolution
1440 x 900
Hard Drives
Western Digital 500g
PSU
350watt In-Win
Case
In-Win
Cooling
Air
Keyboard
yes
Mouse
yes
Internet Speed
5mpbs
Other Info
Also ASRock ION 330 as HTPC (on XP).
Acer Aspire as GP netbook (on XP).
Back
Top