Crumpled Thoughts

July 2nd, 2009

Why Qwest DSL is better than CableOne for an ISP (for now)

Posted by Chris in Technology, Linux, Sysadmin, Rant

I’ve used a lot of different broadband Internet service since 2000. In 2000 I got DSL from Micron.net at an apartment. I got Qwest DSL in 2000 when I bought my house. Switched to cable in 2004 when it became available at my house. Switched back to Qwest DSL in 2008. I’ve also supported Clearwire wireless, Satellite ISPs, and data T1s from numerous providers for local businesses.

Qwest DSL is the best option right now for a residential ISP, for the following reasons:

Price: 

If you can get Qwest’s fiber service, you can get 12M down, 896k up for $55/month. Qwest offers 7M down, 896k up for $38/month. CableOne charges $49 for 5M down, 500K up, or $59/month for 10M down, 1M up. I know it doesn’t seem like a big difference on the higher plans, but what CableOne doesn’t make obvious is how they throttle bandwidth. It’s the thing that made me move back to Qwest. After you download a couple of gigabytes in a day, CableOne will drop your speed significantly. It will stay slow until midnight, then go back up. Say a new Linux distro comes out that you want to download, and you’re on the 5M plan. After you download 3GB CableOne will drop you from 5M download to about 1.5M. Keep downloading, it keeps falling. At Midnight it goes back up. Even on the 10M plan, they drop your speed after downloading 5GB. At 10M you can download 5GB in about an hour. Say hello to slow until midnight. With Qwest, you get your 1.5M, 7M, 12M, or 20M all day, every day as long as you have service. I’ve downloaded over 40GB in a day and not slowed down.

Uptime:

In the past 10 months of having Qwest fiber 12M service, I have had zero downtime. DSL is typically more stable than cable. With CableOne at least every 2—3 months I would have an outage. I have actually had better uptime with my DSL than we have had with our 3 data T1s at the office (thunderstorm took out a repeater and we had 2 circuits go down). Cable is more finicky.

Network tampering/management:

CableOne tampers with your internet access. They won’t let you connect to TCP port 25 on any mail server but theirs. If they think your bandwidth is being used for BitTorrents, or newsgroups they will restrict your speed. They decide what traffic gets priority. Qwest doesn’t do that. If you pay for your service, they’ll provide it. I think CableOne has a right to do that, it is in their Terms of Service. I, as a customer, have a right to think it sucks and go to another provider.

Acceptable Use:

If someone complains to CableOne about how you’re using the Internet, they will shut you off before asking you about it. It can take from several hours, to several days to get service back. I had just travelled to Portland to set up a remote office for a client when CableOne shut off my Internet connection at home. Someone had hacked a Linux box on my home network and was using it for bad things. I called from my hotel in Portland, but couldn’t do anything about it because they shut the connection down. I was going to be there for 3 days before returning home. It really pissed me off. If they had at least emailed me before shutting down the connection I could have remotely powered down the box and still had internet at the house. Their policy of terminate first, ask questions later bothers me.

I’ve been very happy with Qwest DSL since switching back. It is the only Qwest service I use, even though my girlfriend works there. I run Asterisk at home for phone service and pay $1.50/month plus 1 penny per minute for my calls. It’s usually about $4 per month.

That is my opinion. Feel free to leave a comment if you think I’m wrong :)

February 15th, 2007

Wish Me Luck

Posted by Chris in Technology, Life, Sysadmin

I’m driving up to Portland, Oregon tomorrow to do an install for work on Friday. Oliver Russell & Associates is doing a major technology upgrade and we’re rolling out over eight terrabytes of storage in new servers at the Boise and Portland offices. This project has kind of been my baby, and the Portland piece is the final part. We’re implementing some cool new replication technology and linking the sites via a point to point T1. Exciting Stuff :) . Friday I get to set up the server in Portland and configure the Cisco routers between the sites. I’m hoping I don’t hit any major storms on the drive… I’ll be picking up some chains just in case before I head out of town. The forcast is a bit borderline… my route is the little red squiggle in the upper left.

Weather

October 31st, 2006

Cable Modem Woes

Posted by Chris in Technology, Sysadmin, Rant

A couple of months ago I started having some serious issues with my cable modem. The modem would randomly disconnect and reconnect throughout the day. I called my ISP, and they would tell me everything seemed fine. Then sent a guy to the house who redid some of the connectors on the outside of the house, but it did not help at all.

In a fit of frustration, after it had done this ten times in a 30 minute period, I ran off to Walmart and bought a new modem. Things seemed to be better for a couple weeks, then it started again. When the cable company was of little help, I found that Motorola modems provide some data through a web interface at http://192.168.100.1. I started plotting graphs of Power Level, and Signal/Noise ratio using rrdtool. I was hoping to find a correlation between the disconnects and these values. Today I was looking at the graphs and noticed a strange boost in the upstream power level:

Daily Graph

Daily SNR Graph

Weekly Graph

Weekly SNR Graph

I’m not sure what these values mean, but I would think that higher is better. I didn’t notice any disconnects during the period of improved upstream power level. Anyone know what these values mean?

August 24th, 2006

Persistent IP Routes in Mac OS X Tiger

Posted by Chris in Technology, Sysadmin

One of the clients I work for has a Mac OS X server which handles most of the file shares on the network. They have two internet connections, one on their T1, and a secondary DSL connection for redundancy. The Mac OS X server has two network interfaces; one with an internet IP (behind a BSD firewall) and another on the private network. The default gateway on the Mac server is on the internet interface, and a seperate router on the internal network routes traffic to 5 local IP subnets for remote offices, and co-located servers.

Since the default gateway points to the internet, routes have to be added for the four other local subnets to send traffic for those subnets to the router on the internal network. These routes need to survive a reboot— they need to be persistent.

On a Windows box it is simple to add a persistent IP route. Along with your ‘route add’ command, you add a ‘-p’ to make it persistent. Easy enough. Not so simple on Mac OS X. On Linux you could just add the ‘route add’ statements to the /etc/rc.local file and they would be executed at startup, effectively making them persistent. Easy enough. This is not so easy on Mac OS X… but I found a way to do it.

Let me add my standard disclaimer that you do this at your own risk. I won’t be held responsible for any trouble you experience trying to do this. It is working great for me though :)

Open up terminal, and switch to the root user:

sudo su -

You’ll have to type in your password, and have ‘Administer the Server’ rights.

Change to the /Library/StartupItems directory

cd /Library/StartupItems/

The way I created my script was by copying one that was created by a MySQL 4 installer. You should be able to copy any of the directories in /Library/StartupItems to give you a starting point. Just substitute the one you’re using where you see me use ‘MySQLCOM’.

cp -rp MySQLCOM PersistentRoutes

Now change to the PersistentRoutes directory.

cd PersistentRoutes

If you list the contents of this directory you should see two files, one named for the service you copied, and StartupParameters.plist. We need to rename the service you copied to ‘PersistentRoutes’

mv MySQLCOM PersistentRoutes

Now we edit PersistentRoutes with your favorite text editor… mine’s vi.

vi PersistentRoutes

Go ahead and empty the file. If you’re using vi type ‘1000dd’ (no quotes) and it will delete 1000 lines. That should empty it :) . This is the contents of my PersistentRoutes file:

#!/bin/sh
. /etc/rc.common
ConsoleMessage "Adding Persistent IP Routes"
/sbin/route add 10.0.0.0/24 10.1.2.1 #Route to Boise Colo Facility
/sbin/route add 10.1.3.0/24 10.1.2.1 #Route for SonicWall L2TP Group VPN
/sbin/route add 10.1.4.0/24 10.1.2.1 #Route to Portland Office
/sbin/route add 192.168.69.0/24 10.1.2.1 #Route to Chris' House 

Save, and exit your text editor. ‘:wq’ in vi (write, quit)

Now we need to edit the StartupParameters.plist. Mine looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC “-//Apple Computer//DTD PLIST 1.0//EN” 
“http://www.apple.com/DTDs/PropertyList-1.0.dtd”>
<plist version=”1.0″>
<dict>
        <key>Description</key>
        <string>Persistent Routes for VPN Tunnels</string>
        <key>OrderPreference</key>
        <string>Last</string>
        <key>Provides</key>
        <array>
                <string>PersistentRoutes</string>
        </array>
        <key>Uses</key>
        <array>
                <string>Network</string>
                <string>NetworkExtensions</string>
        </array>
        </dict>
</plist>

That’s it! Now your routes will be added when you reboot. Need to add a new route?.. manually add it from the terminal using ‘/sbin/route add…’ then update the /Library/StartupItems/PersistentRoutes/PersistentRoutes file. Easy!

Hope this helps someone. It was causing me a bit of aggravation. Perhaps someday Apple will make this a bit easier. Use ‘netstat -r’ to display your routing table.

Cheers,
Chris

June 13th, 2006

Treo Exchange ActiveSync Hell

Posted by Chris in Technology, Linux, Windows, Sysadmin, Rant
Treo + Apache + Exchange 2003 = HELL

Today I had to set up a Treo 650 to access a user’s Exchange mailbox over the web. I did not imagine it would be as difficult as it turned out to be.

At this site we run a Linux router/firewall that handles all traffic coming into, and leaving the network. We use Apache’s mod_proxy to proxy web connections from the internet to IIS servers on the private network. Having had more than a couple 36+ hour days cleaning up viruses due to exploited IIS servers, I feel much more comfortable having Apache handle the web requests.

One of the “Gotcha’s” to using mod_proxy is that you have to disable “Integrated Windows Authentication” on any sites you proxy with Apache. Apache doesn’t understand the headers involved. No big deal, because these requests are typically coming from the internet over SSL.

I started the setup at about 12:00 noon today. The first thing I did was add the following bits of code to the Apache configuration file to Proxy the ActiveSync connections:

#ActiveSync
ProxyPass /Microsoft-Server-ActiveSync https://webmail.example.com/Microsoft-Server-ActiveSync
ProxyPassReverse /Microsoft-Server-ActiveSync https://webmail.example.com/Microsoft-Server-ActiveSync

I then put the appropriate settings into the Treo, and tested connectivity. This is where things started to piss me off.

The software on the Treo has terrible, non-intuitive error codes. The documentation is even worse. This is what I discovered (over about 4 hours of trying to get it to work):

  • For the ProxyPass directives to work, you can not use Integrated Windows Authentication on the IIS site.
  • For the Treo VersaMail app to use Exchange ActiveSync it must use kerberos authentication, which requires enabling Integrated Windows Authentication.
  • Palm’s software engineers don’t really give a shit whether the error message you get is in any way helpful, just as long as you understand it’s not working.

So the thing that sucks about this is that we run “stuff” on the gateway which requires us to use Apache on Linux. It provides remote access for employees through a web interface, and dynamically modifies iptables firewall rules when folks need access.

This was my fix, which I think is as good of a fix as is possible.

  • Exported the IIS web site that handled OWA, OMA, and ActiveSync to a file.
  • Created a new web site from the exported file.
  • Changed the TCP ports for HTTP and HTTPS to obscure, high ports.
  • Modified the document root on the IIS site, as all the magic happens in Virtual Directories.
  • Requested/Installed a new SSL certificate from an internal enterprise CA with a common name matching the internet FQDN.
  • Enabled “Integrated Windows Authentication” on the “Exchange” virtual directory in this new web site.
  • Forwarded the obscure, high SSL port from the firewall into the Exchange server.

Now the Treo works… just had to set the obscure high port in the advanced settings on the Treo. I didn’t want to go down the forwarded port road, because it seems like a compromise in security. All too often I see people bypass security measures in order to get things to work, and I hate it. This seems like a small compromise I’ll have to settle for.

Got a better solution? Let me know.

-Chris

January 28th, 2006

Installing Symantec AntiVirus 10.x using a Group Policy Object (GPO) installation

Posted by Chris in Windows, Sysadmin

Ever need to install or upgrade Symantec AntiVirus on a large number of machines rapidly? Check this out. Much easier than using a login script, or messing with transfom files for the installer.

Installing Symantec AntiVirus 10.x using a Group Policy Object (GPO) installation

January 27th, 2006

Mass Change Local Admin Password on Windows Domain Computers

Posted by Chris in Windows, Sysadmin

Yesterday I was at a client’s site and was tasked with changing the password for the local administrator account on approximately 200 MS Windows domain computers. Typically if I have to change the local admin password on a few domain computers I’ll just use the computer management MMC snapin, connect to a remote computer, change the password, lather – rinse – repeat. This would take forever though to do on 200 computers.

I came across a Visual Basic Script file which allowed me to complete the task in about 15 minutes. I just had to create a text file with the netbois computer names of each machine I wanted to change the password on, then run one command. This little script is going to come in handy. I found it published here, at VisualBasicScript.com.
(more…)