Speeding up wireless internet on Crunchbang 11

On a recent new install of Crunchbang 11 I was having major problems connecting to my router with a Ralink RT3370 wireless USB dongle from my main tower. After investigating and playing around, this is my list of changes which got me sorted:

1. AES vs TKIP Encryption:
Connect to the router and change the WPA2 encryption from AES to TKIP. My first suspicon about the lack of connection was the encryption method and maybe the latest RT3370 drivers and wpasupplicant. After changing to TKIP I could connect, allbeit with a slow connection due to packet loss.

2. Move Adapter from USB2 to USB3:
Moved the Dongle from the front USB2 connector to a blue USB3 connector at the back, and I noticed a slight speed increase. After these hardware changes, it was time to go for some terminal-fu and edit a few files to get some extra internet speed.

3. Firstly I edited /etc/nsswitch.conf:
sudo vim /etc/nsswitch.conf
I commented out the original line:
#hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
And changed it to:
hosts: files dns

4. Next I disabled ipV6 in Iceweasel:
In the address bar I typed “about:config” and changed “network.dns.disableIPv6” to “true” with a double-click.

5. Next up was to disable ipV6 system wide:
echo "#disable ipv6" | sudo tee -a /etc/sysctl.conf
echo "net.ipv6.conf.all.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
echo "net.ipv6.conf.default.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf

6. Adaptor Power Management:
Another thing I had heard is that sometimes powercontrol can interfere with wireless speed as well so I disabled it for the USB dongle:
sudo iwconfig wlan0 power off

7. Swap nm-applet and network-manager for a Manual Static Wireless Connection:
First I disabled nm-applet from autostarting:
sudo mv /etc/xdg/autostart/nm-applet.desktop /etc/xdg/autostart/BKPnm-applet
Then I stopped Network Manager:
sudo /etc/init.d/network-manager stop
And completely Disabled it:
sudo echo "manual" | sudo tee /etc/init/network-manager.override

8. Just needed to add my manual network config:
sudo vim /etc/network/interfaces
Added my wifi info:
auto wlan0
iface wlan0 inet static
address 192.168.1.136
netmask 255.255.255.0
gateway 192.168.1.1
wpa-ssid ROUTER_ESSID
wpa-psk MYPASSWORD

Then manually added the Google dns addresses:
sudo vim /etc/resolv.conf
And add these:
nameserver 8.8.8.8
nameserver 8.8.4.4

Rebooted into a system with awesome internet cow-power-fu speeds!!

Top 20 Most Popular Social Networking Websites

Here are the 20 Most Popular Social Networking Websites ranked by a combination of Inbound Links and Alexa Rank. I regularly check out http://www.ebizmba.com for stats and top 10’s etc.

I wasn’t surprised that Facebook was top, however I was surprised that Orkut (Google Facebook) was so far down the table. Personally I can’t stomach MySpace and steer well clear of it, but who’d a thunk that Classmates was so high? I must admit that even though I spend a lot of time on the net, I had never heard of Ning, so there ya go, you learn something new every day.

Check out the Top 20 below:

1 | facebook.com
722,434,829 – Inbound Links | 122,220,617 – Compete Monthly Visitors | 4 – Alexa Ranking.


2 | MySpace
345,130,806 – Inbound Links | 55,599,585 – Compete Monthly Visitors | 11 – Alexa Ranking.


3 | twitter
628,750,806 – Inbound Links | 23,579,044 – Compete Monthly Visitors | 13 – Alexa Ranking.


4 | LinkedIn.com
29,370,378 – Inbound Links | 11,228,746 – Compete Monthly Visitors | 113 – Alexa Ranking.


5 | classmates.com
997,666 – Inbound Links | 14,649,224 – Compete Monthly Visitors | 544 – Alexa Ranking.


6 | Ning.com
13,032,000 – Inbound Links | 5,881,943 – Compete Monthly Visitors | 108 – Alexa Ranking.


7 | Bebo.com
14,368,423 – Inbound Links | 3,120,062 – Compete Monthly Visitors | 138 – Alexa Ranking.

8 | HI5.com
8,491,287 – Inbound Links | 2,176,014 – Compete Monthly Visitors | 20 – Alexa Ranking.


9 | Tagged.com
399,111 – Inbound Links | 3,731,972 – Compete Monthly Visitors | 74 – Alexa Ranking.


10 | myyearbook.com
921,983 – Inbound Links | 3,025,772 – Compete Monthly Visitors | 483 – Alexa Ranking.


11 | Multiply.com
16,629,000 – Inbound Links | 1,442,885 – Compete Monthly Visitors | 165 – Alexa Ranking.


12 | friendster.com
6,896,127 – Inbound Links | 1,454,029 – Compete Monthly Visitors | 47 – Alexa Ranking.


13 | Meetup
1,764,287 – Inbound Links | 2,533,191 – Compete Monthly Visitors | 688 – Alexa Ranking.


14 | BlackPlanet
418,032 – Inbound Links | 1,473,081 – Compete Monthly Visitors | 1,338 – Alexa Ranking.


15 | Gaia Online
528,287 – Inbound Links | 1,000,070 – Compete Monthly Visitors | 892 – Alexa Ranking.


16 | Piczo
4,676,287 – Inbound Links | 444,457 – Compete Monthly Visitors | 1,360 – Alexa Ranking.


17 | orkut.com
9,396,000 – Inbound Links | 494,781 – Compete Monthly Visitors | 102 – Alexa Ranking.


18 | FotoLog.com
6,382,000 – Inbound Links | 199,838 – Compete Monthly Visitors | 124 – Alexa Ranking.


19 | Skyrock.com
8,185,000 – Inbound Links | 154,991 – Compete Monthly Visitors | 43 – Alexa Ranking.


20 | badoo.com
228,287 – Inbound Links | 106,885 – Compete Monthly Visitors | 161 – Alexa Ranking.