Friday, March 6, 2009

Apple wifi problems

This is for people who actually use macbooks as part of their daily lives.....the macbook rocks no denying that but its quite a funny operating system. Everything is like 'buttoned up' if u get what i mean. Well off late my wifi was absolutely slow it took like ages to load any page so much so that my cdma internet connection was way faster than my wifi. Called up apple they werent great help claiming that they werent liable to give my phone support since my laptop was past warranty period damn! I had no idea on what to do. Did some googling (ofcourse who else to turn to but good old google) still no concrete answers so i said that this is insane cant get one damn answer. I thot as well sleep.............i really needed to check email so thought i'll switch to Linux and have it checked (the wifi on linux was real fast) so switched to linux and was checking my mail it was normal i was like whats wrong with mac OS.....i was playing with /etc/resolv.conf and then it hit me i had configured the DNS on my linux box and mac OS was automatically getting its dns settings.....bingo!! that should be the problem rebooted to my mac OS. Checked my internet settings there it said that DNS was my internet router and not my wifi router (Dl-524) so it had two dns addresses (192.x.x.x and 192.x.x.x) the first address was my internet router which cannot be pinged from any of my hosts and the wifi router was second so thats why the bloody internet was slow ......the first dns address timed out and the wifi router's dns which was working fine started working aah so thats why it was so slow...... ok now have to change the order in which mac would recognize the dns servers. Unfortuantely for me mac wouldnt allow me to edit resolv.conf claiming it was read-only and the dns settings in system preferences were greyed out.....this is because of a little known feature of dhcp which gives advice on which dns servers to use. Its just ADVICE!! but the mac had made it default there is actually no known ways to overrride this....frustrating!! So i figured the other way to change this is to tweek the router to give itself as the dns server ....opened the router configuration and changed the dns settings and voila! had high speed internet on my macbook too!!