Best iPhone and iPad Wifi Settings

Tonight we wanted to watch a show on our iPad 3 while we ate some dinner.  I opened the ABC app and started to stream our favorite show.  After 30 seconds the quality diminished then the show failed to load.  It was time to find out why.

In our apartment we have a Motorola SBG900, a cable modem, which also acts as a wireless router.  We also have a WRT160N Cisco wireless-n router.  I’ll refer to them as Motorola and Cisco from here on out.  When I would connect my iPad to the Motorola, the iPad would always pause at buffering movies.  When I pointed the iPad to the Cisco, the movies would stream just fine.  On the other hand, I noticed my iPhone 4 gets better speeds on the Motorola and can rarely connect to the Cisco router.

Using speedtest.net I was able to test speeds after trying nearly every option on both routers to determine the best settings.  Here are the results.

Cisco WRT160N
(Upgraded firmware to 3.0.3 from 3.0.2 which allowed iPhone to connect consistently)

iPad
Wireless-N only: 15.86 Mbps
Mixed B-G: 6.53 Mbps

iPhone
Wireless-N only: 4.42 Mbps
Mixed B-G: 11.33 Mbps

MacBook Pro
Wireless-N only: 15.86 Mbps
Mixed B-G: 7.94

Motorola SBG900
(Switched Security from WEP to WPA for enhanced security)

 

 

 

 

 

 

 

iPad
11b/11g Standard: 6.86 Mbps
11g Enhanced: 6.45 Mbps

iPhone
11b/11g Standard: 7.6 Mbps
11g Enhanced: 7.46 Mbps

MacBook Pro
11b/11g Standard: 5.35 Mbps
11g Enhanced: 5.45 Mbps

Conclusion
My best configuration is to have my iPad and my MacBook Pro connect to the Cisco router in wireless-n only setting.  Then have my iPhone connect to the Motorola router in 11b/11g Standard mode.  Even though the iPhone gets +4 Mbps connecting to the Cisco in Mixed B-G mode, the tradeoff on the bandwidth on my MacBook and iPad is simply not worth it.


IETester – Internet Explorer Web Site Testing

Link

After using a virtual machine to run windows xp and then ie 6, I have finally found a very good solution to working with every version of Internet Explorer.  It is a free download called IETester.

IETester is a free WebBrowser that allows you to have the rendering and javascript engines of IE8 RC1, IE7 IE 6 and IE5.5 on Vista and XP, as well as the installed IE in the same process.

Download IETester

WordPress for iPhone

Aside

Today I downloaded the wordpress for iPhone app and I am currently writing this post from my iPhone. I am able to upload photos from my iPhone’s photo library and make edits to existing posts. All I can say is wow and go download it yourself.

RegExr – Regular Expressions Tester

Grant Skinner created an amazing regular expressions tester which is available as a web application or as a desktop air application.

This application allows you to create regular expressions and then test them on the fly. I highly recommend downloading this application for testing your regular expressions. I used this to successfully debug some regex parsing errors taking an SVG into flex.

Download RegEx Desktop AIR Application
Live Web Application

Low Profile Video Card for Dual Monitors

At work we ordered a Inspiron 530S as an upgrade to my previous machine. Dell tech support stated that the system would be able to support dual monitors with an extended desktop.

Here’s what happened:
Once the Inspiron arrived, we purchased a PCI Nvidia 5500 GeForce MX card. This NVidia card overpowered the ATI Radeon 2400 Pro due to a setting in the bios that gives preference to PCI over PCIe. So in short, I could never get both video cards to play together. Once I removed the NVidia card from my computer, the ATI Radeon 2400 started functioning properly for the first time. (Dell Tech Support took over my computer and they couldn’t figure out why).

Next, talked to Dell Tech Support on the phone. Their sales rep claimed that a DVI Splitter cable would support dual monitors with extended desktop. We ordered two of them. There is no setting on the ATI drivers to support a DVI Splitter cable with extended desktop. Don’t have faith in Dell Sales Reps. Do your homework before you purchase something from them.

After this failed, I noticed a black cap on a VGA port. I took it off and tried plugging in my second monitor into it and rebooted. At start up an warning message displayed stating that my video card configuration wasn’t supported and I had to press F1 to continue. I continued. The integraded graphics card on the motherboard took control over my PCIe ATI Radeon 2400. I couldn’t even get the PCIe card to show up in device manager.

I talked to a senior tech support over at dell, let’s call him, Rasheem, and after dissecting what he was saying, he stated that the only way to get dual monitors with extended desktop was to purchase a video card with a DMS-59 connector. This DMS-59 connector outputs two DVI outputs to a dongle which you can connect two DVI cables to, to support two monitors. Some even support up to four monitors.

Solution:
Purchased an ATI Radeon X1300 PCIe card that comes with a dongle for $125.

Shoot me an email if you come up with a better solution or if this saved you a few hours.

Flex 3 – How to load a complied css swf

When attempting to load external compiled css swfs that have an embedded font into my flex application I was getting this error: Unable to load style(SWF is not a loadable module). This is reported as an official bug on adobe’s site at: Enable Local App to load RunTime CSS.swf from Server

To solve this, you require two things.

  1. Crossdomain Policy
  2. Local Apache Web Server

Regardless if this is a bug, the host server still needs a crossdomain policy at the root of the domain. Here’s an example crossdomain.xml policy.

The next problem is that you cannot load external compiled swfs from a
document root (c:/my documents/flex projects/myProject/myProject.html) until the bug is fixed.

PC Users:
What I did is installed easyphp. Next, I set up an alias in easyphp. Right click on the ‘easyphp’ icon in the taskbar -> administration. I set the alias to my bin folder of my project so that when I access the url http://127.0.0.1/myProject/myProject.html it loads up my bin directory. Also in my debug settings in flex I set the default debug and run path to launch as http://127.0.0.1/myProject/myProject.html.

Now my css/style swfs are loading great remotely. The only downside is having to run easyphp on top of everything just to load in my external compiled font swfs.

Mac Users:
Thanks to Bryce Barrand

  • go to system preferences
  • click on sharing
  • click on “web sharing” (this will turn on the automatically installed version of apache)
  • edit apache’s httpd.conf file (should be found at disk/private/etc/apache2/httpd.conf)
  • Find the line that says /Directory>
  • Just after that, add an Alias for each project that you want to test such as this:

    Alias /nameOfAlias /pathToYourFlexBinFolder

  • Set your directory node attribute to “/pathToYourFlexBinFolder”. Set the directory node value to:

    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all

  • Restart the webserver by unchecking and rechecking the “web sharing” checkbox

should be good to go after this. you can see the results by going to http://localhost/nameOfAlias in your browser

Is it legal to use your neighbor’s wireless internet?

For anyone that is confused about whether or not it is legal to use your neighbor’s wireless internet access point (router), please read this. It is illegal. After being annoyed out of my mind by an acquaintance claiming that it is legal to use your neighbor’s wireless access point if it is unsecured, I did one google search to find this:

Is It Legal to Use Open Access Wi-Fi Internet Connections?

He claimed that the “Internet Privacy Act” made it legal to use your neighbor’s wireless access point if it wasn’t secured. Too bad the “Internet Privacy Act” was a hoax.

Just because your neighbor’s front yard isn’t being used, it doesn’t mean you can go play football on it.

Before you go on educating the general public about topics like this, please do one google search.

Easy Google Sitemap with PHP

Tonight I needed a fast php google sitemap created for my site. Here’s how I did it.

  1. Go to: http://enarion.net/google/phpsitemapng/download/
  2. Download phpSitemapNG
  3. Upload the folder to your web site
  4. Go to that folder on your web site, i.e.: http://www.mysite.com/phpSitemapNG/
  5. Click create sitemap, you now have a sitemap in your root folder ( http://www.mysite.com/sitemap.xml )
  6. Submit it to google using webmaster tools. Done.

Sitemap it up.