D-Link Forums

The Graveyard - Products No Longer Supported => Routers / COVR => DIR-655 => Topic started by: 3000psi on December 29, 2009, 06:57:51 AM

Title: Wireless not usable between iMac and DIR-655
Post by: 3000psi on December 29, 2009, 06:57:51 AM
I have been researching this for literally months from the Mac side (Mac related forums, google) and have not been able to resolve it, so I thought I would give the smart folks here a try...

Problem:

I have a late 2008 model iMac and the DIR-655.  Using wireless, all network connections (local and to the Internet) are so slow that it is not usable.  The iMac connects fine and the signal strength looks good, but data transfer speeds are so slow that network applications and the browser are not usable.  Pings to the router are under 1ms until I fire up the browser, then pings time out.  Wireless on the same iMac in the same location running XP in bootcamp runs brilliantly, never a problem.  So obviously not a hardware issue.

Setup:  DIR-655 132NA with all default settings except for:

SSID set to my company name
Mode is mixed n and g
Channel Width: Auto 20/40
Security: WPA-Personal
WPA2 Only
AES

Environment: 4 wintel notebooks, 2 wintel desktops, 4 wifi enable phones, 2 wifi enable ipods all work fine on wireless anywhere in the house.  All cordless phones are 5gh or 900mhz.  The iMac is one of the closest machines to the router.  I am on several acres of land with no other access points in range.

What I have tried:

On iMac:

Deleting network plist files, keychain entries, and some other configuration files (all are rebuilt on reboot).
Manually configuring ip and dns entries in a new "location" .
Using public dns entries

On the router:

using different channels instead of auto
disabling security
n only mode
changing rts and fragmentation thresholds

Right now I have the iMac wired to a 1522 bridge so I can use it.  Bridge works fine.  Also, there have been times when the wireless works fine - usually after an OS upgrade.  One time it worked fine for 3 days.  But it always reverts back to unusable speeds at some point - usually in just minutes or seconds after I try some fix.

I would like to understand and solve this problem.  I think up to this point I have been trying a lot of other folks solutions to other problems (with similar symptoms).

So, how do I systematically diagnosis this problem and fix it (or determine that it is not fixable/out of my hands)?

Thanks in advance for any help.

SS
Title: Re: Wireless not usable between iMac and DIR-655
Post by: NCTony on December 29, 2009, 08:34:07 AM
What OS on the MAC?
Title: Re: Wireless not usable between iMac and DIR-655
Post by: 3000psi on December 29, 2009, 08:46:22 AM
What OS on the MAC?

Sorry - should have provided that.  OSX, I believe I started with 10.5.6 and I have done every upgrade through the latest Snow Leopard.  After the 10.5.8 update, I had 3 days of working wireless, then it went south again.

SS
Title: Re: Wireless not usable between iMac and DIR-655
Post by: NCTony on December 29, 2009, 08:52:15 AM
So I would leave the RTS and Fragmentation settings at the defaults, the only difference I see on your setup from mine is I have my channel with locked at 20mhz. I don't have an imac but two macbook pro's, one on snow leopard 10.6.2, the other on leopard 10.5.8. Both work fine when they connect to my 655, although I normally use them on my 5ghz router.

Try changing the channel width setting to 20mhz only and see if it helps
Title: Re: Wireless not usable between iMac and DIR-655
Post by: 3000psi on December 29, 2009, 09:08:48 AM
So I would leave the RTS and Fragmentation settings at the defaults, the only difference I see on your setup from mine is I have my channel with locked at 20mhz. I don't have an imac but two macbook pro's, one on snow leopard 10.6.2, the other on leopard 10.5.8. Both work fine when they connect to my 655, although I normally use them on my 5ghz router.

Try changing the channel width setting to 20mhz only and see if it helps

That is one that I have not tried - I will give it a shot when I get home later.

Are there any logs on either the Mac or Router side that would be helpful?

Thanks for your assistance!

SS
Title: Re: Wireless not usable between iMac and DIR-655
Post by: NCTony on December 29, 2009, 09:16:33 AM
Not that I am aware of but I think this may be the issue as I don't thing Apple supports wide channels in the 2.4ghz band. As a network professional I agree with this, wide channels in a band that only has 3 non overlapping channels is just asking for trouble.

Let me know what happens.
Title: Re: Wireless not usable between iMac and DIR-655
Post by: 3000psi on December 29, 2009, 04:07:00 PM
Not that I am aware of but I think this may be the issue as I don't thing Apple supports wide channels in the 2.4ghz band. As a network professional I agree with this, wide channels in a band that only has 3 non overlapping channels is just asking for trouble.

Let me know what happens.


I was very hopeful as this is one option that I have not tried.  Anyway, changed the Channel Width to 20MHz, and just for good measure deleted all of the relevant plist files on the iMac and rebooted.  No improvement.  I appreciate the suggestion and I will keep plugging along.

With the bridge attached and working, this is not critical but I would like to understand and correct this.  My main motivation is that I would like to move from windows to mac as my main personal computing environment.  I have never been a big fan of Mr. Gates and in a formal life I was a Unix administrator so I am somewhat comfortable with the OSX philosophy/platform.  On the other hand I am practical and realize for better or worse most of the world revolves around wintel.  I won't buy a mac notebook until I get this solved.

Sorry if the philosophy got off-topic but as a mac user I thought you would understand.

SS
Title: Re: Wireless not usable between iMac and DIR-655
Post by: NCTony on December 29, 2009, 06:43:42 PM
Hmm...weird your settings are similar to mine, except I have the 1.21 firmware. I am wondering if the imac just doesn't like the dns relay? Seems odd, you could test it by disabling dns relay and rebooting the imac. I would also be interesting to see a nslookup to the same site, when you are connected to the bridge and then when you are connected wireless to the 655 direct. Basicly what I am wondering if the issue is just getting to the internet? And chance you have a NAS? Or can you setup one of the wintel machine with a network share you can see on the mac? If you can transfer data between two machines both on the AP fine but just can't get to the inet on the imac when connected to the 655 then it almost has to be a DNS issue. One more question, are you running the OS X firewall? If so turn it off just in case.

And I agree on the Mac, thats what both my home and work computers are mac's, wife and kids love it and daddy doesn't have to be tech support...As for my work macbook pro, I run XP in parallels for the few windows only apps I need.
Title: Re: Wireless not usable between iMac and DIR-655
Post by: 3000psi on December 30, 2009, 06:23:02 AM
Hmm...weird your settings are similar to mine, except I have the 1.21 firmware. I am wondering if the imac just doesn't like the dns relay? Seems odd, you could test it by disabling dns relay and rebooting the imac. I would also be interesting to see a nslookup to the same site, when you are connected to the bridge and then when you are connected wireless to the 655 direct. Basicly what I am wondering if the issue is just getting to the internet? And chance you have a NAS? Or can you setup one of the wintel machine with a network share you can see on the mac? If you can transfer data between two machines both on the AP fine but just can't get to the inet on the imac when connected to the 655 then it almost has to be a DNS issue. One more question, are you running the OS X firewall? If so turn it off just in case.

And I agree on the Mac, thats what both my home and work computers are mac's, wife and kids love it and daddy doesn't have to be tech support...As for my work macbook pro, I run XP in parallels for the few windows only apps I need.

No NAS but I do keep most of my files on an HTPC connected to the 655 via ethernet.  I have a share on the HTPC which I access from the iMac.  Anyway, when I have the iMac on wireless (not bridge), the share is flaky - keeps disconnecting.  Any applications that use files on the HTPC (I keep my iTunes lib on the HTPC and run iTunes against that library from the iMac) do not work when on wireless.  Also pings to other computers on the LAN time out. 

When I first started researching this I also thought it may be DNS.  There are some write-ups about OSX using SRV vice DNS requests that some ISPs do not do well with.  When I noticed that lan connections and pings were not working, I gave the DNS issue less weight.  But it could still be related I suppose if resolving domains and or error messages from domain resolution is somehow keeping the router or iMac too busy to do other things.

A couple of questions on your suggestions:

Turn off DNS relay - I take it that you are referring to the setting on the router?  If I turn that off, do I need to specify ip addresses for the DNS servers somewhere?  Do I do that on the router or on the iMac (or both)?  I know there are places to do that on each, just need to know which one to pick.

Didn't even know about the Mac firewall.  I will look it up and turn it off if it is on.

BTW, there is a pretty good (as far as I can tell) analysis of the whole DNS/SRV thing on OSX here:

http://installingcats.com/tag/dns/

I had gone through most of his suggestions but was not able to improve anything.  Maybe I will give it another shot.

Thanks again.

SS
Title: Re: Wireless not usable between iMac and DIR-655
Post by: lamonsas on December 30, 2009, 06:50:46 AM
im using my imac and it works perfectly with the dir655 i got yesterday, whats ur hardware model?   

i ran a test on SPEETTEST.NET and it came up to 15.4mbp/s for download, thats awesome. i have time warner cable
Title: Re: Wireless not usable between iMac and DIR-655
Post by: 3000psi on December 30, 2009, 07:51:23 AM
im using my imac and it works perfectly with the dir655 i got yesterday, whats ur hardware model?   

i ran a test on SPEETTEST.NET and it came up to 15.4mbp/s for download, thats awesome. i have time warner cable

Don't have the model number - it is a late 2008 24" iMac.  Anyway I know there are lots of folks who have macs that work great with the 655.  I am just not one of them.  There are also many folks like myself who have had fits with their wireless and my sense of it is that there is a constellation of possible causes.  I have pretty much eliminated hardware and interference.  In my case I am leaning towards an OS/Router/ISP compatiblility issue that needs some tweeking.

When on ethernet or wireless bridge I get 32 mbps download from the speedtest sites.  When on wireless it is less than 1mbps.

SS

ss
Title: Re: Wireless not usable between iMac and DIR-655
Post by: lamonsas on December 30, 2009, 02:17:29 PM
i ment what is the hardware model of your DIR655 , not your iMac.
Title: Re: Wireless not usable between iMac and DIR-655
Post by: NCTony on December 30, 2009, 02:38:22 PM
Ok well I doubt its a dns issue, we could be sure if you map the share on your mac to the HTPC via ip address and not by name (that may already be the case). And I use DNS relay, a setting on the 655, without any dns issues on my mac. How about a simple question, have you ever connected your imac to another wireless access point that didn't have any issues??
Title: Re: Wireless not usable between iMac and DIR-655
Post by: 3000psi on December 30, 2009, 05:29:48 PM
Ok well I doubt its a dns issue, we could be sure if you map the share on your mac to the HTPC via ip address and not by name (that may already be the case). And I use DNS relay, a setting on the 655, without any dns issues on my mac. How about a simple question, have you ever connected your imac to another wireless access point that didn't have any issues??

Well, I thought I had tried another access point but I went ahead and gave it another try.  Turns out I have one of those little dlink pocket router/access points laying around (G730) so I hung it off the 655 and the imac connected fine (matched speeds with my wintel notebook).  I had the g730 set up with the same encryption - wpa2-personal.  Of course it is 802.11g.  So I knocked my 655 down to g only but that didn't work.  I then went ahead and backed up the 655 and reset to factory defaults.  Couldn't connect at all with the imac. 

So looks like I can connect to the g access point with no issues but just can't seem to get the 655 configured to work with the imac on osx.  Again, imac running xp in bootcamp works with the 655 brilliantly.

lamonsas, the hardware version on the 655 is A3.

What I really need here is a systematic way to debug the problem one layer at a time.  I just don't know how to do that.

Thanks again for the suggestions.  I guess it is a little bit of a consolation that I can connect to a g ap.  Maybe I will entertain a macbook on the next round of hardware upgrades.  I can always fall back to bootcamp in a pinch.

SS
Title: Re: Wireless not usable between iMac and DIR-655
Post by: NCTony on December 30, 2009, 06:05:52 PM
Very odd, so go back to a very basic config, chose a set channel 1,6 or 11, no security, make is visible, channel with set to 20mhz. Then shutdown all the other computers except the imac and see if it will connect and what happens. Just to be sure it's not fighting with another device for some reason
Title: Re: Wireless not usable between iMac and DIR-655
Post by: 3000psi on December 31, 2009, 02:33:57 PM
Very odd, so go back to a very basic config, chose a set channel 1,6 or 11, no security, make is visible, channel with set to 20mhz. Then shutdown all the other computers except the imac and see if it will connect and what happens. Just to be sure it's not fighting with another device for some reason

Tried it.  Did not work.  Well, I am getting a little burned out on this.  All of the reconfiguring is disrupting the other computers.  With the bridge working, it is not critical.  I was hoping it would be something a little more basic.  It just shouldn't be this hard to get a basic function to work.  I will stick with the work arounds for now until I get some more energy or fresh ideas to attack it.

I do appreciate your time NCTony - Have a Happy New Year! 

SS
Title: Re: Wireless not usable between iMac and DIR-655
Post by: NCTony on January 01, 2010, 07:45:22 AM
Happy New Year,
I know this can be frustrating. When you upgraded your iMac from Leopard 10.5.x to Snow Leopard 10.6.x, did you do an upgrade or a erase and install of Snow Leopard? Based on all your troubleshooting I would say there are only two logical answers. 1) Some piece of software just has the 11N functionality broken on your mac, or 2) There is a hardware issue with the wireless card in your iMac that shows up with you try to talk 802.11n. Any chance you bought the applecare warranty with your Mac? If so I think it's time to call Apple to see what they say.

On another note, you have allot of devices on your wifi network. If they are all using it just for inet access then no real issue, but if you are pushing allot of files across the network, doing backups, etc, it might be worth your while to break up your network. For example my setup is DSL modem -->DIR-655-->Apple Airport Extreme.  The 655 is my main router, it provides DHCP, firewall, and QOS for my network, along with guest access when we have family in town. He also provides wireless access to my devices that don't need the fastest speeds (iphones, wii, wifi printer), the airport extreme provides 5Ghz 802.11N only access to my two laptops along with my gig ethernet connected NAS. It may sound complex but it's really not and allows me to do network time machine backups and video steaming at maximum throughput. Remember even with your 655 set to do 802.11n and g, it has to broadcast at the lowest common level, so while your 802.11n devices will get better speeds then g they won't see the full potential of n. Again if we are just talking internet access this really doesn't matter (unless you have a 20mb+ inet connection).

Just something to think about in the new year, hope it helps, keep us posted with how the imac troubleshooting goes.

Title: Re: Wireless not usable between iMac and DIR-655
Post by: 3000psi on January 01, 2010, 01:30:54 PM
Happy New Year,
I know this can be frustrating. When you upgraded your iMac from Leopard 10.5.x to Snow Leopard 10.6.x, did you do an upgrade or a erase and install of Snow Leopard? Based on all your troubleshooting I would say there are only two logical answers. 1) Some piece of software just has the 11N functionality broken on your mac, or 2) There is a hardware issue with the wireless card in your iMac that shows up with you try to talk 802.11n. Any chance you bought the applecare warranty with your Mac? If so I think it's time to call Apple to see what they say.


If I set the router to n only and fire up xp on the imac under bootcamp, the connection on the imac is fine.  Looking at the wireless status page on the router I get the highest numbers of any device when running the imac under xp (270).  I am not an expert, but that seemed to eliminate a hardware issue.  Under OSX,  I have had this issue on every version from 10.5.6 on up.

I have had the machine for less than a year but more than 90 days.  I probably should have called apple in the beginning but I have so little tolerance for 99% of support organizations.  After reading countless accounts of what other folks have gone through with related problems, I did not want to waste my time just to be told my router was broken and I should buy an apple router.

On a side note and for the benefit of someone else who might give up with a similar problem, I hooked up the dwa-140 usb adapter to the imac.  Using the ralink driver and client utility the imac runs great on wireless (dlink adapter, not airport).  I like that little client utility it comes with - I need to find a similar one to use with airport.

If I do find the solution, I will post back.  And if I ever get enough posts to generate some good karma, I will send some your way.

SS
Title: Re: Wireless not usable between iMac and DIR-655
Post by: NCTony on January 01, 2010, 01:54:38 PM
Crap sorry you did say that, ok so it has to be a software issue on the iMac then, as you have ruled out hardware and the router itself. I would call apple, or if there is an apple store near you setup an appt with the apple genius team. You'll find they have very good support, I have dealt with them in the past and always come away happy. No sending you overseas.

They would know what logs to look at to see what the issue is, I am sure there is one, I know on linux there is, I just don't know where.