Wireless question

Jan 31, 2010 18:00

For the last few weeks, when my macbook tries to connect to my wireless, it returns with an IP configuration error: "192.168.0.102 in use by 00:23:7d:8e:f5:89, DHCP server 192.168.0.1 ( Read more... )

Leave a comment

Comments 9

tfbretz February 1 2010, 00:50:26 UTC
I don't speak Mac, so I'm not sure how to try to fix it. In Windows, I'd go out to DOS and run an ipconfig /release followed by ipconfig /renew to try to make the computer pull a new IP address.

Alternately, try setting a static IP address of 192.168.0.103 The only downside of this is that you'll have to go back to DHCP if you use the computer on another router.

In short, your diagnosis is correct, but I have no idea how to fix it on a Mac.

Reply

drelmo February 1 2010, 01:21:51 UTC
I tried some things which I'm pretty sure were the equivalent of ipconfig/renew, with no joy; it always got 102 and always failed (and there was not an obvious way to bypass DHCP and force a number).

The problem thus appeared to be in the router. So I logged into that and assigned [what I thought was] the mac a permanent number within the router's DHCP. That works and things seem fine now.

However, upon looking at things again, I find that it's my desktop that's assigned the permanently assigned number, not the mac. My desktop connects to the router by cable. So when the router says that "unknown" is now attached to 102, it must be the macbook.

I am a bit disturbed that the router was assigning the same number to a wireless connection and a wire connection. But it's all good now, I guess.

Reply


schroedingerbat February 1 2010, 02:34:49 UTC
This tale and its resolution reminds me of a particularly ugly instrumentation interface problem I once had to solve in the lab ( ... )

Reply


mcroft February 1 2010, 05:55:03 UTC
So, the terminal commands
ifconfig en0 && ifconfig en1

will provide you some interesting info:
ether is the MAC address of the airport card and the built-in ethernet.
inet is the internet address being used by them.

Also, a MAC address that starts with 00:23:7D belongs to a device manufactured by Hewlett Packard (see The IEEE's OUI list), so if you're in doubt, check the prefix list.

What kind of router is it? If it's serving DHCP, it should be smart enough to tell that the HP has taken an IP it was supposed to auto-assign. Best solution (unless the desktop or laptop needs a fixed IP) is to give the router a number of IPs to assign and let it do it. If the desktop needs a fixed IP, then give it 102 and give the DHCP server on the router the range of 103-202 to hand out...

Reply

drelmo February 1 2010, 14:46:54 UTC
D-Link router.

I should have thought to check this earlier, but I'll check whether the HP thinks it's getting a fixed IP# or a DHCP IP#.

The D-Link is set up to serve 100-199. The iphone gets 100, the printer 101, the macbook (now) gets 102, and I assigned 135 to the HP (as noted above, by accident; I have apparently re-used computer names). I'll probably fiddle with it some more.

Thx.

Reply

drelmo February 1 2010, 14:49:30 UTC
(The D-Link appears to recognize the devices contacting it and appears to try to give them the same IP.)

Reply

mcroft February 1 2010, 17:07:50 UTC
I know what the 'D' stands in 'D-Link'.

Perhaps you can configure it not to break your devices be default, or replace it with hardware that handles simultaneous clients.

Reply


Leave a comment

Up