D-Link Forums

The Graveyard - Products No Longer Supported => Routers / COVR => WBR-1310 => Topic started by: frostyarcade on July 01, 2009, 10:01:11 AM

Title: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: frostyarcade on July 01, 2009, 10:01:11 AM
I have been working on this problem for a while (a year or two) and have yet to find a solution anywhere  :(. 

While I am connected to the internet I hit random drops in connection.  My airport bars are full but I can't connect to the internet. (I have done TONS of solutions such as reset my preferred networks, repair/replace keychains, move my router, and many more etc)

I also run into self assigned ip address errors whenever I set my network settings to automatic DHCP.  It is extremely annoying, because I do not want to set my laptop settings to static, because of its incompatibility if I join other routers.

The only solution I know for both of these problems is: for the random drops to cut off my airport and turn it back on and for the self assigned errors to set my settings to static.  Both of these solutions are very tedious and annoying when  trying to connect to the internet for a long period of time.

It would be awesome for a real solution to both these problems!  I hope someone out there knows whats wrong. Thanks!!!!

Ps. I am running Leopard (which may have its problems too) but that shouldnt mean its not compatible!
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 01, 2009, 10:21:12 AM
I am going to start at the really obvious and work my way out.

What firmware version are you running?
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: frostyarcade on July 01, 2009, 10:30:07 AM
I am using 1.04

WPA2 (Enhanced)
AUTO (PSK TCP Settings)
DHCP
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 01, 2009, 11:11:24 AM
When the connection drops do you still show an IP?

Does your Airport still show connected?

Do you experience the problem hard wired?
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: summerstormpictures on July 01, 2009, 11:14:10 AM
Hopefully Snow Leopard will address a bunch of issues like this as well as have a Cocoa Finder that properly keeps up with the network.

I've decided to give up on most Mac OS Leopard tinkering until Snow Leopard comes out. At $29 to upgrade, it's a pretty decent bargain considering Apple's traditional over-priced strategy. If Snow Leopard doesn't resolve things, well, then the tinkering begins again.

I know this doesn't answer your question directly--but in an indirect way it perhaps provides the opportunity to take a break from frustration for a couple months or so. I know I don't need any more of it, so that's what I'm going to do.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 01, 2009, 11:25:12 AM
I didn't know we had a date and price for Snow Leopard, let the drooling commence.

If what they claim is true it will be worth the 30 bucks.

That said I don't think that is an answer for the OP, then again I don't know why he would battle these issues for YEARS period.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: frostyarcade on July 02, 2009, 08:18:20 AM
It happened again last night.  I checked my IP address and it was saying it was connected.  I currently have my macbook pro set to static ip so it just showed my chosen address.  It shows that I have full bars of connection.  I am pretty sure it still works when I am directly connected.

When i said I have been working on this problem for years I dont mean constantly.  It is only when I come home from college that i run into this router.  I use the campus's networks at school so I only have this problem over the summer when I am home and on my Dlink 1310.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 02, 2009, 08:30:17 AM
when it drops can you...

ping your router?
ping your routers gateway?
ping 4.2.2.2?
ping google.com?
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 04, 2009, 10:30:30 AM
I too am running into the same trouble. I have an iMac from 2007 with a 2 GHz Intel Core 2 Duo processor, 3 GB of RAM, and running Leopard 10.5.7. I just installed the router on Wednesday and it's been up and down quite a bit. Moreso on my iMac than on my MacBook which was purchased around the same time. That still has some trouble, but not as much as the iMac. My temp fix right now is to turn the Airport off and then on again and it fires right back up like nothing was wrong. Interested to know how to do the ping tests??
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 06, 2009, 08:45:43 AM
There are 2 ways (I know of) a GUI bases way and a command line way.

The GUI one is in Applications->Utilities->Network Utility, select the ping tab, supply an IP and hit ping, it will tell you how many responses you get (if you get any).

The other way is to open Applications->Utilities->Terminal and type the following command.

ping -c 10 <IP address>

where <IP address> is the IP address you want to ping.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 06, 2009, 09:56:37 AM
Gotcha. I did that when my connection was down just now and it said...

"Ping has started ...

PING 4.2.2.2 (4.2.2.2): 56 data bytes

--- 4.2.2.2 ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss


I also ran it with my router's IP and it said the same thing. My iPhone doesn't seem to have an issue with this connection loss, but I also am using my computer constantly and not so with my iPhone so maybe I just am not noticing.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 06, 2009, 10:00:00 AM
In that case the next thing I need to know is if your iPhone also drops, and more importantly if it drops at the same time as your other Mac OS devices.

Also from the terminal could you tell me if you have an entry for your router when you run a "arp -a".
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 06, 2009, 10:01:26 AM
Okay. I'll check it. Running that command brings up this...

? (192.168.0.1) at 0:21:91:da:31:1 on en1 [ethernet]
? (192.168.0.255) at (incomplete) on en1 [ethernet]
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 06, 2009, 10:07:40 AM
Nope, my iPhone doesn't lose the connection! It just dropped again on my computer and I tested several apps including Safari and the iPhone showed no signs of slowness or connection loss.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 06, 2009, 10:22:44 AM
and if you run the following commands in sequence do you still have an entry for your router?

arp -d -a
ping -c 10 192.168.0.1
arp -a
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 07, 2009, 07:43:28 AM
Typing those 3 prompts in separately and in order, I get these responses...

arp: writing to routing socket: Operation not permitted (this shows up twice)

PING 192.168.0.1 (192.168.0.1): 56 data bytes

--- 192.168.0.1 ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss

? (192.168.0.1) at 0:21:91:da:31:1 on en1 [ethernet]
? (192.168.0.255) at (incomplete) on en1 [ethernet]
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 07, 2009, 08:17:39 AM
my apologies, I left something out that is a bit crucial to what we are trying to accomplish.  The reason the arp -d -a failed is because that requires super user privilege, which we will grant by performing the below steps instead.

sudo arp -d -a
(It should then ask for your password so that it can perform the arp -d -a with super user privilege [sudo stands for Super User DO])
ping -c 10 192.168.0.1
arp -a
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 07, 2009, 10:24:29 AM
Okay, I just ran it again and got all this...

Last login: Sat Feb  7 17:11:24 on console
je-imac:~ jesseandersen$ sudo arp -d -a

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
192.168.0.1 (192.168.0.1) deleted
192.168.0.101 (192.168.0.101) deleted
192.168.0.255 (192.168.0.255) deleted
je-imac:~ jesseandersen$ ping -c 10 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
64 bytes from 192.168.0.1: icmp_seq=0 ttl=127 time=26.561 ms
64 bytes from 192.168.0.1: icmp_seq=1 ttl=127 time=1.047 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=127 time=1.055 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=127 time=1.269 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=127 time=1.047 ms
64 bytes from 192.168.0.1: icmp_seq=5 ttl=127 time=1.055 ms
64 bytes from 192.168.0.1: icmp_seq=6 ttl=127 time=1.058 ms
64 bytes from 192.168.0.1: icmp_seq=7 ttl=127 time=1.058 ms
64 bytes from 192.168.0.1: icmp_seq=8 ttl=127 time=1.159 ms
64 bytes from 192.168.0.1: icmp_seq=9 ttl=127 time=1.053 ms

--- 192.168.0.1 ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.047/3.636/26.561/7.642 ms
je-imac:~ jesseandersen$ arp -a
? (192.168.0.1) at 0:21:91:da:31:1 on en1 [ethernet]
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 07, 2009, 10:27:30 AM
And you did this while the wireless was failed?

Was the wireless still failed after this?

This makes very little sense, from all appearances during this failure we still have full communication with the router, I bet you can even view the routers config page during a failure given this.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 07, 2009, 10:31:53 AM
Yes, it was failed when I ran it, but it was running fine when I finished! Not sure if it just jumped back on, or if it was somehow linked to these prompts.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 07, 2009, 10:35:12 AM
If you would be so kind as to run through these steps a couple times and figure out if it fixes the problem, and at which point it is failed or fixed that would be a great boon.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 07, 2009, 10:54:31 AM
You bet! Given how much it's been going out, that shouldn't prove a problem to run a couple more tests this aft.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 07, 2009, 10:54:54 AM
you're da man!
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 07, 2009, 10:57:39 AM
No, hopefully YOU'RE the man to help me fix things! :)
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 07, 2009, 02:58:26 PM
Round 2... Once again, the connection kicked back on after running this.


Last login: Sat Feb  7 17:11:24 on console
je-imac:~ jesseandersen$ sudo arp -d -a
Password:
192.168.0.1 (192.168.0.1) deleted
192.168.0.255 (192.168.0.255) deleted
je-imac:~ jesseandersen$ ping -c 10 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
64 bytes from 192.168.0.1: icmp_seq=0 ttl=127 time=1.086 ms
64 bytes from 192.168.0.1: icmp_seq=1 ttl=127 time=1.132 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=127 time=1.044 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=127 time=1.040 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=127 time=1.052 ms
64 bytes from 192.168.0.1: icmp_seq=5 ttl=127 time=0.989 ms
64 bytes from 192.168.0.1: icmp_seq=6 ttl=127 time=1.147 ms
64 bytes from 192.168.0.1: icmp_seq=7 ttl=127 time=1.570 ms
64 bytes from 192.168.0.1: icmp_seq=8 ttl=127 time=1.087 ms
64 bytes from 192.168.0.1: icmp_seq=9 ttl=127 time=1.259 ms

--- 192.168.0.1 ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.989/1.141/1.570/0.160 ms
je-imac:~ jesseandersen$ arp -a
? (192.168.0.1) at 0:21:91:da:31:1 on en1 [ethernet]
? (192.168.0.255) at ff:ff:ff:ff:ff:ff on en1 [ethernet]
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 07, 2009, 03:17:49 PM
Can we isolate which step causes the return to normalcy?
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 08, 2009, 06:07:41 AM
It's the 2nd step, when I ping it. I ran the first prompt, then checked it, and nothing changed, but the instant the 2nd prompt was running, it came back up online.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 08, 2009, 08:19:05 AM
that could be deceptive do me a favor and open up 2 terminals, in one run ping 192.168.0.1, this will continue on ad nauseam, to kill it when you are done testing you need to press Ctrl+C (or is it Command+C, its 0800 you will have to forgive me this one).  In the second terminal run the sudo arp -d -a, I expect you will see the pings start responding (and the net up) pretty quick when that command is run.

Do you have 2 Ethernet cards, I notice your Ethernet adapter is listed as en1 (I believe they start at en0, but again its 0800)?  If so could you disable the one not connected to this router and see if your connection still fails.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 08, 2009, 08:34:09 AM
I did this and the pings actually timed out before the sudo command kicked the connection back on, but right after I ran the sudo command, the connection did kick back on.

As far as 2 ethernet cards... I'm not sure why it says that. My iMac is a standard configuration so it should just be one, to my knowledge.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 08, 2009, 10:08:03 AM
I know this is a little hackish, but it sounds like the problem is that your ARP table is not updating or not referencing correctly, who knows.  The below are troubleshooting steps, not really a liveable long term solution.  That said the below may be of assistance.

If you do the below command it will temporarily add an ARP entry that should be appropriate for your router, this MAY resolve your issue, and will only last till a reboot or you clear the ARP table as I showed you how.

sudo arp -s 192.168.0.1 00:21:91:da:31:01 temp

If this works the permanent version of this hack would be to do this command:

sudo arp -s 192.168.0.1 00:21:91:da:31:01

This can be undone with:

sudo arp -d 192.168.0.1

If that works then the even more devious and hackish solution is to pick a PC (meaning Personal Computer not a Window machine) that will be on (at least for the duration of testing and do the below which will publish that address, which MAY resolve the issue for other computers on the network.

sudo arp -s 192.168.0.1 00:21:91:da:31:01 pub

This can be undone in the same method, with:

sudo arp -d 192.168.0.1

Please reply with how much of this if any resolves your issue.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 08, 2009, 10:16:28 AM
Alright I just did the temp prompt, so we shall see if that fixes things this afternoon! Thanks for the detailed instructions - it helps to troubleshoot stuff when it makes sense, at least how to go about doing it.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 08, 2009, 10:29:33 AM
Well that didn't take long... Still dropped out again. :(
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 08, 2009, 10:33:51 AM
hmm, you have quite a problem on our hands then, now we are going to have to move to the big guns.  Download and install wireshark, you will need to run it from the terminal with a sudo /Applications/Wireshark/Wireshark.app or something similar.

Take a capture from the correct interface and let that capture run for a minute with failed pings and then drop the ARP table and give it a minute of working pings then stop the capture and e-mail it to the e-mail address I am going to PM to you.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 08, 2009, 10:37:21 AM
It looks like the correct path for me is:

sudo /Applications/Wireshark.app/Contents/MacOS/Wireshark
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 08, 2009, 10:50:11 AM
Okay got Wireshark and the 3 interfaces that I have listed are en0 (with an ethernet plugging in icon), en1 (a tower indicating wireless I'm assuming) and lo0 (also ethernet). I'm assuming when my connection is failed that I should click en1, let it run for a minute, do the "sudo arp -d -a" in Terminal to jump start the connection (still letting the capture run), let it run for another minute, then stop, save, and email it? Just want to make sure I understand and do it right.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 08, 2009, 10:52:31 AM
That's the process, yup.  Also ensure you have a never-ending ping to 192.168.0.1 and 4.2.2.2 during that process so that I can see the order that things happen in the capture.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 08, 2009, 10:55:43 AM
How do I go about doing the neverending pings to both of those?
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 09, 2009, 06:19:28 AM
Am I assuming correctly that you mean having 2 Terminal windows open to run both "ping 192.168.0.1" and "ping 4.2.2.2" at the same time while doing the capture?
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 09, 2009, 08:27:29 AM
yes, sorry if I wasn't clear enough.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: frostyarcade on July 09, 2009, 01:14:39 PM
This may seem odd, but I have the A1 revision of this router and have noticed there was only firmware up to 1.04. I see that the other revisions have further upgrades in firmwares.  Could I just use those or is it detrimental to my router to do so.  I see that they fixed the DHCP UI in the later firmware that could solve my problems. Any ideas?
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 09, 2009, 01:20:45 PM
You can NOT use firmware from another hardware revision without risking damage.


As for the packet capture, that is about the weirdest thing I have seen in a long while.  Would it be possible to get me a capture from before it fails, to it failing, to after it is repaired in much the same style.  I understand that means a potentially long capture, but pcaps compress well.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 09, 2009, 01:22:51 PM
Dang! Well, given how much it drops, I'm sure it won't be too long of a capture, unless it decides to play nice for once. Sure, I'll start a capture now with the 2 pings running I'm assuming, and when it cuts, I'll run the 3rd terminal window command to kick it back on and let it run for another minute.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 09, 2009, 03:15:57 PM
you're the man.

*** Modified by Fatman who swears he didn't sleep through grammar school English.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 10, 2009, 08:43:44 AM
Well, ain't this the darndest thing. My cable modem was acting up yesterday and not working at all, so I unplugged everything, let it sit for a couple minutes, then plugged it back in. Things came back on as normal and since then the connection hasn't dropped that I can remember, except for a few times last night when I was video chatting and then watching a show on Netflix online. I haven't been using the connection too heavily except for those times, so maybe that's the key? Who knows. I've got it running today but if it runs for a while and nothing happens, I start it over, hoping that the capture won't be too big that way.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 10, 2009, 09:22:38 AM
Here is to hoping the world could be that simple.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 10, 2009, 09:30:13 AM
Well, given it still did crap 3-4 times last night within 1-2 hours, I'm not sure our hopes and dreams will be realized that easily. BUT. Hope remains.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 10, 2009, 09:34:28 AM
What word did you use there that it censored?  Or should it have been censored?
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 10, 2009, 09:35:10 AM
HA it was c-r-a-p. ;)
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 11, 2009, 05:48:10 PM
I'm leaving town tomorrow for a week, so I'll have to capture a bad connection after that. It's dropped a couple times, but seems to be working better overall. Can't quite tell, but it sometimes seems as if iChat or just using the Internet a lot in various ways taxes it more and causes it to cut out.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: frostyarcade on July 12, 2009, 10:36:11 PM
After reading similar forums, I have concluded that since the 10.5.2 upgrade that there has been MANY problems like the the self assigned ip and internet connection drops.  I wish there was a solution but without a proper firmware upgrade to this router model/revision (A1) there is no hope  :-[.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 13, 2009, 10:01:06 AM
Yeah, both me and my brother have pretty much concluded the same thing and are looking forward with anticipation to how Snow Leopard could possibly fix the issue. My bro has been dealing with this junk for a long time now and Security Updates or Leopard updates seem to be the catalyst. Who knows. Until September, I'm going to keep trying to do what I can to fix it!
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: frostyarcade on July 16, 2009, 08:07:19 AM
Fatman-

Do you think that if I toggled the firmware back to 1.03 it would solve my issue?
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 16, 2009, 08:23:18 AM
Honestly, what I am seeing and reading here does not make me think that is the solution.  However I can't stay your hand in this or any affair.  If you do it, tell us how it worked for you.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 21, 2009, 12:04:47 PM
I just sent you the requested large Wireshark capture via email this morning, Fatman. Let me know if you don't get it!
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 22, 2009, 11:20:23 AM
I got it twice.  I will take a look at it at earliest convenience, unfortunately I am a little bit up to my neck right now.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 22, 2009, 11:21:25 AM
Better than zero I guess. :) My connection was being weird at the time of sending. No prob, I'll wait to hear back!
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: dogmeat on July 23, 2009, 11:10:24 PM
I have the SAME problem with this router.

I actually lose connection to the router.

Running a ping continuously this is what I get,

64 bytes from 74.125.155.147: icmp_seq=205 ttl=243 time=66.365 ms
64 bytes from 74.125.155.147: icmp_seq=206 ttl=243 time=63.662 ms
64 bytes from 74.125.155.147: icmp_seq=207 ttl=243 time=69.786 ms
64 bytes from 74.125.155.147: icmp_seq=208 ttl=243 time=68.517 ms
64 bytes from 74.125.155.147: icmp_seq=209 ttl=243 time=65.796 ms
64 bytes from 74.125.155.147: icmp_seq=210 ttl=243 time=71.086 ms
64 bytes from 74.125.155.147: icmp_seq=211 ttl=243 time=65.979 ms
64 bytes from 74.125.155.147: icmp_seq=212 ttl=243 time=68.562 ms
64 bytes from 74.125.155.147: icmp_seq=213 ttl=243 time=68.681 ms
64 bytes from 74.125.155.147: icmp_seq=214 ttl=243 time=1532.690 ms
64 bytes from 74.125.155.147: icmp_seq=215 ttl=243 time=3002.571 ms
64 bytes from 74.125.155.147: icmp_seq=216 ttl=243 time=26228.398 ms
64 bytes from 74.125.155.147: icmp_seq=217 ttl=243 time=25229.153 ms
64 bytes from 74.125.155.147: icmp_seq=218 ttl=243 time=25098.403 ms
64 bytes from 74.125.155.147: icmp_seq=219 ttl=243 time=24818.092 ms
64 bytes from 74.125.155.147: icmp_seq=220 ttl=243 time=23827.055 ms
64 bytes from 74.125.155.147: icmp_seq=221 ttl=243 time=22830.063 ms
64 bytes from 74.125.155.147: icmp_seq=222 ttl=243 time=21831.515 ms
64 bytes from 74.125.155.147: icmp_seq=223 ttl=243 time=20834.449 ms
64 bytes from 74.125.155.147: icmp_seq=224 ttl=243 time=19840.227 ms
64 bytes from 74.125.155.147: icmp_seq=225 ttl=243 time=18846.458 ms
64 bytes from 74.125.155.147: icmp_seq=226 ttl=243 time=17847.131 ms
64 bytes from 74.125.155.147: icmp_seq=227 ttl=243 time=16848.376 ms
64 bytes from 74.125.155.147: icmp_seq=228 ttl=243 time=15849.709 ms
64 bytes from 74.125.155.147: icmp_seq=229 ttl=243 time=14854.754 ms
64 bytes from 74.125.155.147: icmp_seq=230 ttl=243 time=13854.911 ms
64 bytes from 74.125.155.147: icmp_seq=231 ttl=243 time=12855.938 ms
64 bytes from 74.125.155.147: icmp_seq=232 ttl=243 time=11860.486 ms
64 bytes from 74.125.155.147: icmp_seq=233 ttl=243 time=10861.573 ms
64 bytes from 74.125.155.147: icmp_seq=234 ttl=243 time=9865.753 ms
64 bytes from 74.125.155.147: icmp_seq=235 ttl=243 time=8869.957 ms
64 bytes from 74.125.155.147: icmp_seq=236 ttl=243 time=7872.907 ms
64 bytes from 74.125.155.147: icmp_seq=237 ttl=243 time=6874.345 ms
64 bytes from 74.125.155.147: icmp_seq=238 ttl=243 time=5875.916 ms
64 bytes from 74.125.155.147: icmp_seq=239 ttl=243 time=4880.666 ms
64 bytes from 74.125.155.147: icmp_seq=240 ttl=243 time=3881.642 ms
64 bytes from 74.125.155.147: icmp_seq=241 ttl=243 time=2883.129 ms
64 bytes from 74.125.155.147: icmp_seq=242 ttl=243 time=1887.777 ms
64 bytes from 74.125.155.147: icmp_seq=243 ttl=243 time=887.832 ms
64 bytes from 74.125.155.147: icmp_seq=244 ttl=243 time=72.268 ms
64 bytes from 74.125.155.147: icmp_seq=245 ttl=243 time=64.798 ms
64 bytes from 74.125.155.147: icmp_seq=246 ttl=243 time=66.445 ms
64 bytes from 74.125.155.147: icmp_seq=247 ttl=243 time=71.395 ms
64 bytes from 74.125.155.147: icmp_seq=248 ttl=243 time=71.027 ms
64 bytes from 74.125.155.147: icmp_seq=249 ttl=243 time=68.642 ms
64 bytes from 74.125.155.147: icmp_seq=250 ttl=243 time=69.598 ms


It will drop packets during the time it starts taking the long duration in replies.


I am currently running OSX 10.5.7 on a MacBook 2Gig, with 2 Gigs of ram.

I have tried the 2.02 firmware (running Rev B of the router) and Im currently running the 2.01 version. I've tried flashing it a few times to see if it will fix the problem.

Rebooting the router fixes the issue but is out of the question as this shouldn't need to be done every day.


 
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: dogmeat on July 23, 2009, 11:13:06 PM
It JUST happened again.

64 bytes from 74.125.155.147: icmp_seq=2182 ttl=243 time=66.023 ms
64 bytes from 74.125.155.147: icmp_seq=2183 ttl=243 time=66.476 ms
64 bytes from 74.125.155.147: icmp_seq=2184 ttl=243 time=68.635 ms
64 bytes from 74.125.155.147: icmp_seq=2185 ttl=243 time=66.741 ms
64 bytes from 74.125.155.147: icmp_seq=2186 ttl=243 time=65.450 ms
64 bytes from 74.125.155.147: icmp_seq=2187 ttl=243 time=62.748 ms
64 bytes from 74.125.155.147: icmp_seq=2188 ttl=243 time=64.724 ms
64 bytes from 74.125.155.147: icmp_seq=2189 ttl=243 time=2381.878 ms
64 bytes from 74.125.155.147: icmp_seq=2190 ttl=243 time=6321.060 ms
64 bytes from 74.125.155.147: icmp_seq=2191 ttl=243 time=7009.016 ms
64 bytes from 74.125.155.147: icmp_seq=2192 ttl=243 time=7545.981 ms
64 bytes from 74.125.155.147: icmp_seq=2193 ttl=243 time=9007.634 ms
64 bytes from 74.125.155.147: icmp_seq=2194 ttl=243 time=11394.319 ms
 64 bytes from 74.125.155.147: icmp_seq=2203 ttl=243 time=15222.021 ms
64 bytes from 74.125.155.147: icmp_seq=2204 ttl=243 time=14227.958 ms
64 bytes from 74.125.155.147: icmp_seq=2205 ttl=243 time=13251.507 ms
64 bytes from 74.125.155.147: icmp_seq=2206 ttl=243 time=12263.078 ms
64 bytes from 74.125.155.147: icmp_seq=2207 ttl=243 time=11272.897 ms
64 bytes from 74.125.155.147: icmp_seq=2208 ttl=243 time=10274.582 ms
64 bytes from 74.125.155.147: icmp_seq=2209 ttl=243 time=9276.799 ms
64 bytes from 74.125.155.147: icmp_seq=2210 ttl=243 time=8278.075 ms
64 bytes from 74.125.155.147: icmp_seq=2211 ttl=243 time=7280.896 ms
64 bytes from 74.125.155.147: icmp_seq=2212 ttl=243 time=6287.687 ms
64 bytes from 74.125.155.147: icmp_seq=2213 ttl=243 time=5290.139 ms
64 bytes from 74.125.155.147: icmp_seq=2214 ttl=243 time=4298.190 ms
64 bytes from 74.125.155.147: icmp_seq=2215 ttl=243 time=3301.342 ms
64 bytes from 74.125.155.147: icmp_seq=2216 ttl=243 time=2303.050 ms
64 bytes from 74.125.155.147: icmp_seq=2217 ttl=243 time=1305.691 ms
64 bytes from 74.125.155.147: icmp_seq=2218 ttl=243 time=306.898 ms
64 bytes from 74.125.155.147: icmp_seq=2219 ttl=243 time=62.975 ms
64 bytes from 74.125.155.147: icmp_seq=2220 ttl=243 time=64.512 ms
64 bytes from 74.125.155.147: icmp_seq=2221 ttl=243 time=65.496 ms
64 bytes from 74.125.155.147: icmp_seq=2222 ttl=243 time=67.090 ms
64 bytes from 74.125.155.147: icmp_seq=2223 ttl=243 time=66.236 ms
 64 bytes from 74.125.155.147: icmp_seq=2224 ttl=243 time=69.076 ms
64 bytes from 74.125.155.147: icmp_seq=2225 ttl=243 time=63.026 ms
64 bytes from 74.125.155.147: icmp_seq=2226 ttl=243 time=68.265 ms
64 bytes from 74.125.155.147: icmp_seq=2227 ttl=243 time=63.626 ms
64 bytes from 74.125.155.147: icmp_seq=2228 ttl=243 time=64.853 ms
64 bytes from 74.125.155.147: icmp_seq=2229 ttl=243 time=63.762 ms
^C
--- www.l.google.com ping statistics ---
2230 packets transmitted, 2140 packets received, 4% packet loss
round-trip min/avg/max/stddev = 61.880/408.436/26228.398/2202.281 ms
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 24, 2009, 08:49:36 AM
dogmeat, that is different than what the OP has posted but is extremely interesting as the router is still responding to all your pings, it is just holding them all for 30 seconds.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: dogmeat on July 24, 2009, 08:14:56 PM
I have seen it drop packets when it stops responding, Its pretty annoying.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: hw on July 27, 2009, 08:08:41 AM
I am seeing the same exact thing at my company, and we have hundreds of the WBR-1310's deployed out to the field. I need a fix from one end or the other (Apple or D-Link) or we are going to be throwing away a lot of routers and switching brands! Unfortunately people dont have a lot of tolerance for this.

In my research, this seems to be a problem that is 10.5 and D-Link related, and I have seen this same problem happens on PC laptops as well (various HP laptops with XP or vista). Turning the wireless card off and turning it back always fixes it. Some people need to turn off/on their wireless card up to 4-5 times/day (myself included). Very frustrating.

I have tested my MacBook Pro with other wireless vendors (Linksys, Belkin, etc) and dont have any issues. I would be happy to help with any troubleshooting steps.

Thanks!
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 27, 2009, 08:10:06 AM
I hear ya on that one. I thought D-Link was better than Linksys, but I've heard otherwise and am beginning to believe it. If Fatman can't help me out and Snow Leopard doesn't fix my probs, I'll be switching to Linksys.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: hw on July 27, 2009, 08:25:16 AM
Yea, I really need to get to the bottom of this, we have been dealing with it for a few months as an annoyance. Our corporate office is scrapping the dlink wireless routers and going with an enterprise grade one. (Should have been done a long time ago, tough to manage)

We have about another 1000-1500 locations to deploy out to the field over the next year or two, and I know our stock of WBR-1310's is starting to run down. I dont want them to make another massive buy of these products if they have issues with certain people.

Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: hw on July 27, 2009, 08:50:58 AM
WOW, I didnt know i was so vulgar to get stars through a word! Too Funny!

S-C-R-A-P-P-I-N-G is what I was trying to say.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: frostyarcade on July 27, 2009, 10:04:42 AM
Well after changing some things I've found that resetting the router completely and using WPA (not WPA 2) solves the self assigned Ip address problem.  Yet I still get drops in connection.  As of now I have just been changing channels hoping it will help. Ive used iStumbler to avoid having the same channel as my neighbors.  I have a feeling this problem will only be solved completely if Dlink updates the firmware on this router and revision  :-\.  Turning off the airport and back on is sooo annoying. It seems to happen right when you are trying to work on something important.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 27, 2009, 10:51:42 AM
That capture was still on the weird side, there is some function of OS X that is not being made clear to me.  The resolving action seems to bear no relation to the fix.

I am out of meaningful steps other than waiting on Snow Leopard.  Here is to hoping it fixes our issues.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on July 27, 2009, 11:41:24 AM
Shoot dang. Well, here's to hoping it works! Thanks for the help.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: hw on July 27, 2009, 11:45:30 AM
There has to be an easier way to isolate and fix this issue. Can this issue get escalated??? I have 3 developers with MacBook Pros at the office, a few HP laptop users, and 2 different WBR-1310s. All of them have this issue, with the MacBook Pros having far more problems than the others. To put it in perspective, since got into the office this morning, I have had to turn off/on my airport card in my MBP 4 times. The guy next to me with the HP has not. Very inconsistent. 
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 27, 2009, 01:16:53 PM
Here is the thing, or rather series of things.

There is no where to esaclate this issue to, the right people are already seeing it.  They have also failed so far to replicate it.  If you want TS contact TS, but know that you already have the attention of someone more useful.  They are, unlike this board, an official mode of contact with D-Link.

This problem is only present in OS X to my knowledge, I wouldn't expect they will see it on the HPs.  Even if they are running some hacked up OS X they wouldn't be nesccesarrily suspect as the problem could be at the hardware interaction level, and I doubt they are using the same cards.

We have a couple of generations of problems being discussed here, that bear only superficial relation to each other, I am working on jra3086's issue.  Others will need their own thread to get more than superficial notice by myself , and I don't guarantee it even then.  I know he is not the OP, but he is the one that any progress has been made with, and so he has surreptitiously hijacked this thread as far as I am concerned.

What I can say about jra3086's issue is that he is sending traffic out that appears to be normal from his side, and only renewing his ARP table fixes issues.

If the computer failed at a known interval (you would want to control against LAN traffic or take a few dozen captures to be sure of this) between ARP requests I could almost buy the PC falling off the WBRs ARP table and the WBR not requesting it back until it has ARP from that host.  In that case a gratuitous ARP from that host would prevent issue, but that does not sound possible according to the information I have so far.  This would also cause Linux clients to be suspect (Unix ARP handling is very consistent).
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: hw on July 27, 2009, 02:02:05 PM
Fatman:
Thanks for the update, I appreciate you clarifying things. Glad to hear that you work for the right group of people who can do something about it.

Most people here at corporate have gone back to wired connections since the wireless is so inconsistant and this affects Mac users far more than PC people. My MBP is still on wireless since I go to meetings and stuff during the day. We did replace the WBR-1310 once and also setup a second one and the problem is consistent on all of them. I have checked for channel interference, and that doesnt seem to be an issue. I am currently using one on a wide open channel, and it has these same issues. 

The HP model i can think of off the top of my head that had issues was a EliteBook 8730w running XP. I was copying files to that laptop and the wireless seemed to drop out. Turning off/on fixed the issue.

Like i said this morning, I had to turn off/on the wireless four times this morning. Since then it has been solid. It seems to be very sporadic.

I would be happy to do whatever it takes to isolate the problem, I have a spare macbook pro with 10.5.7 that I could set to sniff and download files, do pings, whatever. Also, let me know if you need anything out of the WBR-1310.

On a serious note, we have 950 locations open and just about all of them have this router. We have another 1000+ locations that are in the process of being opened and I dont know how many have this router this far. I really want to figure out what the issue is and get to the bottom of it. I dont really want to disclose who I work for on a public forum, but I would be happy to email or PM you the details.

Thanks!
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 27, 2009, 03:42:43 PM
To be blunt HW, knowing who you work for would probably only lower my opinion of them, it sounds like this product is being used in a inappropriate fashion.

Home equipment (I would personally have preferred to put wireless, but apparently that opinion is considered draconian, if not somewhat arcane) should not be in a business environment at all in my opinion, and certainly not mass ordered by the thousands.

You OS X and Windows issues sound unrelated to me so far and I would approach them as separate issues, and even go as far as to cross troubleshoot them for the potential that the Windows issue applies in OS X.

If I was you I would push back through your D-Link Sales contact to get a hold of someone who can give you the personal attention large customers deserve.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: hw on July 28, 2009, 10:37:06 AM
Fatman: Thanks for your honest opinion. I was not the one that made the decision to install these in our locations, but I can get us to change what we use going forward. In one sense, the device is being used in a manor consistent with the design. We have it connecting one desktop PC, a few network devices, and free wireless for customers hooked up to cable or DSL from a local provider. These WBR-1310 units are inexpensive, reliable and do a good job. Outside of this issue with Mac OS X, they have worked well for what we are doing.

As far as a business grade replacement for this model, do you have a recommendation? I went through the wizard on the site which recommended the DI-724GU, but that seems like overkill for what we need.

All that being said, I still have the same issue as the OP, my mac for whatever reason cant send data through to the dlink wireless a few times a day. A stop/start of airport fixes it. I brought in a belkin 802.11g wireless to test to make sure it isnt the environment. I have a enterprise grade one on order, should be here soon.

I still need to figure out what the problem is with OS X, as this affects my developers. I have replicated the problem on 3 different WBR-1310's so maybe it is something in the settings of the router. We have it setup this way, maybe this will help:

uplink to network on LAN port, nothing plugged into WAN port
DHCP on LAN turned off, external DHCP server
static IP assigned for router LAN address, WAN set to DHCP (nothing connected to it)
Auto Channel scan enabled
WPA-Personal Wireless Security
PSK-TKIP
Hardware B1, Firmware 2.02
Defaults for everything else.

In thinking about this, our stores are setup normal, WAN plugged into cable/dsl, devices plugged into LAN port. Maybe the issue is triggered when you run the WBR-1310 like an AP.

Thanks!
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 28, 2009, 10:43:34 AM
Does dropping your ARP table resolve your issue?
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: hw on July 28, 2009, 03:34:54 PM
Bingo, that fixes it right away.

sudo -s
arp -d -a

Immediately after that stuff starts working again.

What else can I check for you??
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 28, 2009, 04:09:25 PM
Then you appear to have the same problem I was already working on.

We have troubleshot that one as far as we can, the only fixes are OS functions that shouldn't have an effect regardless.  I am hoping Snow Leopard helps with his issue personally.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: hw on July 28, 2009, 09:01:51 PM
Is the WBR-1310 the only model that has this problem? I found out today that we need to order more routers, so I have a good opportunity to switch.

Thanks
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: frostyarcade on July 28, 2009, 09:04:38 PM
Fatman-

Ive come across a solution of changing the beacon settings on the router from 100 to a lower 20-50 range.  Before I tried changing it I was just curious on your input.

thanks
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on July 30, 2009, 08:23:07 AM
frostyarcade,

I don't believe that it will be that simple, but I wouldn't stay your hand in trying anything that you have reason to believe might help.  Tell us how it works for you.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: frostyarcade on August 05, 2009, 11:31:56 AM
Well after changing the wireless channel to one unused in my area (by using istumbler to see) I have had "better" results. I went a week without drop outs but then ran into one (after being on my macbook for an extended time) last night  :'(.  It was rather disappointing, but I will soon try the beacon settings experiment and post back when I see how that works!
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: frostyarcade on August 05, 2009, 01:40:20 PM
This just in!!

Apple released a new update that is supposed to address this issue (10.5.8  :o!

Lets hope it works! Ill report if I still get drops!
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: jra3086 on August 05, 2009, 02:07:00 PM
Sweet!!! I'm getting married this week and then am honeymooning so I won't be able to check it out for myself for a couple weeks. Can't wait to see if it does!
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on August 05, 2009, 02:17:00 PM
I will be updating just as soon as I can get it to download.

Best of luck, on both fronts.
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: frostyarcade on August 06, 2009, 06:46:48 AM
10.5.8 didnt solve my issues at least. I got a drop in my wireless again last night  :'(.  When will this issue be resolved!  >:(
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: ziang on August 09, 2009, 07:46:03 AM
I have the same issue.

I am using WBR-1310 and MBP. Especially after I turn off my MBP for couple of hours and after I turn on my MBP, it just can't get ip from my router.

My router is using DHCP and it is B2 version with firmware update 2.02.

The only way to make it work is to restart the router.

I hope you guys can figure it out. Thanks!
Title: Re: Self Assigned IP addresses & random connection drops with Mac Leopard
Post by: Fatman on August 10, 2009, 10:18:52 AM
That actually sounds like a different problem, as far as I am aware we have not been discussing someone who can't pull DHCP.