Archive for the ‘Networking’ Category

Three Reasons Why I Never Use Wi-Fi on my Android Smartphone

Tuesday, May 17th, 2011

Hey everyone.  If you’re like me, you love your Android-powered smartphone.  If you’re lucky to have a great data plan, you probably won’t stop watching, reading, and accessing websites.  You may even tether your computer to your phone!

But did you know that many problems plague Wi-Fi networks?  And did you know your Android phone may be susceptible to yet-undiscovered problems with security?  Did you even know how Wi-Fi affects battery?

That’s why I wrote this post.

#1: Wi-Fi drains the battery, and you’re likely to not be needing it.

So, let’s think about this.  How often are you driving?  Do you visit many places in a day, or only a few?  If you’re not on the streets or road often, why would you leave GPS on?  And this follows:  If you’re not using the internet, why would you leave Wi-Fi on?

Let’s face it.  You either want to browse the net or email for a specific period of time, or suddenly when it hits you.  When you’re with the former, it’s easy to turn Wi-Fi on if there’re networks nearby.  But with the latter, you can’t rely upon wireless.  So, if you have a data plan, why even need to use a local Wi-Fi?

#2: Accessing an unsecured Wi-Fi network is asking to be violated.

Did you know that black-hat hackers can steal your login privileges if they’re on an unsecured network with you?  It’s really easy.  Everything you do with an unsecured network is shouted over the airwaves.  Furthermore, a lot of websites don’t use https:// encryption.  So, imagine:  you’re shouting your password in a non-encrypted format, and then the website shouts back all the login settings and passes.  All somebody has to do is be listening to hear it all.

Furthermore, even savvier hackers may set up a lure by creating their own fake, wireless networks.  It’s like telling the robber your PIN and Bank Account # while thinking he’s a bank teller.  And then telling him your Facebook password.  And so on.

This last paragraph is where #3 comes in.

#3: A recently-discovered vulnerability affects 99% of running Android operating systems– only 1% of phones have the security update.

I just recently found out about this, and it cements my belief in never trusting a network besides Sprint’s.  To reiterate, 99% of running Android phones have an un-updated vulnerability in the Android OS.

What’s the bug?  In summation, when you connect to a wireless network, your phone checks for all its updates through it.  This means to access Facebook updates or GMail updates, your phone sends the GMail or FB credentials across this network.  This could make sense on a network you trust. However, Google found a way to prevent such a leak and applied it to an update to the Android operating system.

Only problem is, 99% of Android phones have yet to get this update from their phone’s manufacturer.

 

 

In summation, what can you do to avoid snafus with wireless networks?  Don’t trust them. Especially with the wallet of the future– your phone.

How to Listen on Multiple (More) IP Addresses on Linux

Friday, October 9th, 2009

One of the best articles that discussed how to bind or listen on multiple IP addresses is this article:

Bind Multiple IP Addresses to a Single Network Interface Card (NIC)

Amazing!  Useful!

Recent BIND release has bugs — causes (host map: lookup (domain): deferred)

Monday, August 3rd, 2009

I had a problem on a server where a recent update to Red Hat Enterprise Linux 5 (RHEL5) caused all sendmail mail to be:

  1. Inserted into the queue
  2. Never sent
  3. Never sent with message “(host map: lookup (domain): deferred)
  4. Only sent when the mail queue is pushed ( sendmail -v -q )

I found an old post from 2006 that gave me an idea about what to do when sendmail constantly defers mail. I ran yum update and found BIND had some udpates.

After that, all I had to do was restart the sendmail server and we were good to go.

Good news!

Need to get NetGear WG111v2 running on Linux / Debian ?

Tuesday, May 5th, 2009

Here are some helpful links I used to fix my Debian-running-a-USB-wireless-stick problem:

This thread on NDiswrapper, a way of using Windows XP drivers on Linux, helped me a lot with my NetGear WG111v2 Problem on Debian Linux..

Afterwards, this article at the Debian Wiki on how to use WIFI / Wireless utilities helped me out afterwards with my NetGear WG111v2 problem.

Anyways, Make sure to apt-get install openssh-server and configure it to your needs. Did you get IPtables, too? Should come with your package of Debian.

Me? Well, I’m fine. Just playing some indie games, drawing, etc. :)

Edit: Update as of 11/24/2009: It’s been working fine. I wanted to leave a bit more information about this.

  1. Here’s a copy of my /etc/network/interfaces file:
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    # The primary network interface
    allow-hotplug eth0
    iface eth0 inet dhcp
    
    # My secondary, Wireless Iface
    
    auto wlan0
            iface wlan0 inet dhcp
            wpa-ssid WirelessNetworkNameExactly
            wpa-psk password
    
  2. Keep in mind I got NDisWrapper installed with apt-get, got the drivers for the WG111v2. When NDisWrapper was working with the windows drivers for the WG111v2, it detected the wireless device.
  3. A GREAT idea would be to configure the router/wireless router to do a “DHCP Reservation” for each Mac Address that requests an IP Address from DHCP. this is because DHCP will change the IP address of your server in your local network once in awhile! This means that the IP address it had before may not be valid at the next time it reboots! Ergo, you should either ALWAYS find the IP address of your server from your router’s DHCP clients table page, log into the server manually and do ifconfig to find out what the IP address is, or you should set up a DHCP reservation so the IP will never change.

EDIT Mar 18 2010:

The following debian page also helped on NDISWRAPPER: http://wiki.debian.org/NdisWrapper

Sick of Spam, oi vey!

Tuesday, December 16th, 2008

So I went and downloaded the WordPress ReCaptcha plugin.  I hope you don’t mind.