All of the sudden Facebook for Android stopped working [U-Verse]

Starting this week, Facebook for Android stopped working while under my home network. At first I thought it was just an issue with my Access Points, and rebooted. It did not fix the problem, so I went ahead and rebooted my main router running DD-WRT. Still with the same issue, I decided to reboot the U-Verse gateway. Unfortunately nothing seemed to fix the problem.

I performed some research online and found out that by changing the MTU size of my main router, it might fix the problem. I went ahead and plugged in 1492 instead of the default 1500; done. It fixed the issue immediately.

I wonder why it started happening all of the sudden as it never gave me any problems with the MTU size of 1500 for at least a couple of years. My guess, AT&T made some changes.

Go to this link for instructions on how to get the best MTU size.

Ping Test

Spotify does not play track links from Facebook [Solved]

I never had a chance to figure out why I couldn’t play tracks  from Facebook or Spotify Play Button at home. After further research I found out that my DD-WRT flashed router had the “Deny DNS Rebinding” option enabled. Spotify needs to resolve *.spotilocal.com to 127.0.0.1.

In order to resolve it, I added this command to the DD-WRT startup options:

sed -i ‘s/stop-dns-rebind//g’ /tmp/dnsmasq.conf
killall dnsmasq
dnsmasq –conf-file=/tmp/dnsmasq.conf

Everything is good now, fortunately.

 

Netflix on iPad/iPhone does not work when connected to a router running DD-WRT [Fix]

I was pretty frustrated when I realized that for firing up my new iPad I needed to install iTunes to my desktop. On top of that, I needed to add a credit card number to download a free application from the App Store. I worked it around by generating a one-time number from citicards.

I decided to install Netflix and did not work, even tried resintalling and changing SSIDs. The only way to make it work was by using a backup SSID from the U-Verse router.

After researching I found out that the DNSMasq package from DD-WRT thinks that the connection from Netflix on the iPad looks like a DNS Rebinding attack.

There are a couple of workarounds:

  1. Use a different DNS server in the iPad/iPhone wireless configuration, like the one provided by OpenDNS: 208.67.222.222
  2. Add a startup rule to DD-WRT to stop DNS rebinding:
1
2
3
killall dnsmasq
sed -i -e 's/^stop-dns-rebinding/#&/' /tmp/dnsmasq.conf
dnsmasq --conf-file=/tmp/dnsmasq.conf

I pursued the second workaround as it allowed me to keep the wireless connection “stock”. Netflix is now working properly on my iPad.

Stop DNS rebinding

Stop DNS rebinding

Cisco E2000 Router is solid when flashed with DD-WRT [Networking]

Over a year ago I owned a Linksys WRT-54G V4 router configured as the main and a Netgear WNR8348 configured as a repeater bridge. Both running DD-WRT on wireless G. The solution was rock solid.

After several months, I decided to go the N route and got a Trendnet TEW-637AP and sold the Linksys. A very bad move. The Trendnet would not work as a repeater bridge (or client bridge), so I installed it as main router instead. The Netgear WNR8348, then configured as repeater bridge, started dropping packets and lost connectivity consistently.

Later I replaced the Netgear with an Asus RT-N12 and gave it away. I ended up in worse shape as the Asus lost connectivity every 15 minutes when copying large files; Netflix streaming was just impossible. I tried all kinds of configs (N, G, mixed, 20 Mhz, 40 Mhz, different power settings, you name them). It just did not work.

I was frustrated to the point of thinking about running physical cable but did not execute as it was going to be a very challenging task.

Last attempt to migrate to Wireless N:

I decided to give it a try to a pair of Cisco E2000 routers to replace my repeater bridges which got flashed with DD-WRT as soon as they arrived. I was really surprised with the positive results they gave me after transferring ISO files over wireless, to the point that they were maxing out my PC LAN port consistently. The only change I made was to lower the TX rate to 50 mW (default is 70 mW). The main Asus streaming wireless router is configured to serve N Only connection at channel 7 (2.4 Ghz) and Turbo Channel Width (40 Mhz).

Maxing out the LAN port

Maxing out the LAN port

From now on, I will stick with Cisco or Linksys for my networking needs.

This is how my home network is configured currently:

Home Network

Home Network