Sunday, August 05, 2007

Vista Wireless DHCP Problems with SonicWall TZ170w

The title bar link will not work for you if you do not have a SonicWall forum login. Nonetheless, here's an interesting problem I ran into and the solution.

I've been running Vista with various wireless access points just fine; Vista's WiFi stack seems OK to me. Then, we had a client running Vista who could not connect wirelessly to the firewall/access point we sold to them. That was a problem.

The Problem:
This Vista laptop was not able to obtain an IP address via DHCP from the SonicWall TZ 170w. It was able to associate itself (it showed up in the mac/ARP table) to the access point, but instead of getting an IP adress it kept reporting an IP address conflict. The same Vista laptop acquired a DHCP address just fine when connected through wired Ethernet.

Other symptoms included the laptop mac address showing up multiple times in the DHCP lease table on the SonicWall, the event viewer recording DHCP errors on differing IP addresses all reporting conflicts, and finally the wireless NIC falling back to an automatically assigned private IP address. I think that, if our DHCP pool has been small, this single laptop would have used up every available IP address in the DHCP pool.

The Solution:
According to Microsoft, a network trace revealed that Vista client is doing gratuitous ARP while losing the IP.

One of the usages of ARP is to provide duplicate IP address detection through the transmission of ARP Requests known as gratuitous ARPs. A gratuitous ARP is an ARP Request for a node’s own IP address. In the gratuitous ARP, the SPA and the TPA are set to the same IP address.

If a node sends an ARP Request for its own IP address and no ARP Reply frames are received, the node can assume that its assigned IP address isn’t being used by other nodes. If a node sends an ARP Request for its own IP address and an ARP Reply frame is received, the node can determine that its assigned IP address is already being used by another node.

After obtaining an IP address from the SonicWall TZ 170w firewall, the Vista client issues an auto-ARP to assure no conflict; in doing so it expects an answer from the DHCP server confirming the IP address. Without the confirmation the client will decline the IP address received via DHCP.

The core of the issue seems to be the ARP request sent out by the Vista client. The wireless Vista client issues out a Version A ARP request with a source IP address of 0.0.0.0. This is non-standard behavior (whatever that means). Future SonicWall TZ 170w firmware will address the issue.

The Resolution:
The ArpRetryCount registry setting sets the number of times that a gratuitous ARP is sent when initializing IP for a specific IP address. If no ARP Reply is received after sending ArpRetryCount gratuitous ARPs, IP assumes the IP address is unique on the network segment.

In the mean time, runas REGEDIT as administrator, then go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters and add a new REG_DWORD named “ArpRetryCount” with a value of 0 and reboot.

Again, according to Jean-Marc of SonicWall (as of May 2007), a future firmware will address the issue.

Saturday, August 04, 2007

Vista: Five-Month Impression

OK, it's been five months since I first started using Windows Vista. I started off using Vista Ultimate, but frankly I did not find the additional features of Ultimate to be compelling. I tried using Media Center a couple of times and never used BitLocker. As I said previously, there's no compelling reason to upgrade from XP.

If you do upgrade, however, make sure that Vista has been available on similar hardware for a few months. My Toshiba laptop required a BIOS update to make all the hardware appear correctly in Vista, and drivers were not completely available until May. I would check for both drivers, firmware, and BIOS updates for your platform before upgrading.

Speaking of upgrading... my opinion on Vista editions is as follows:
  • Vista Home Basic: Why bother? It's just Windows XP with annoying UAC prompts.
  • Vista Home Premium: get a decent graphics controller
  • Vista Business: if you don't need Media Center, this is a better choice because of the advanced backup feature of disk imaging
  • Vista Ultimate: You better have top-of-the-line hardware and actually want to use Media Center, otherwise just use Vista Business
  • All Editions: get 2GB memory (1GB is bare minimum)
If you just want the graphical improvements, check out this article and this utility.

Friday, August 03, 2007

Returning to normal

Well, life seems to be returning to normal for me.

Do you know that feeling, if you take a vacation, where you have difficulty relaxing for the first few days after a stressful time? It's August, and I'm beginning to feel like a normal human being again.

Yes, school starts in a few weeks. But, frankly, I'm feeling ready for it, finally.

Cathy just had her birthday, and we went to Las Vegas for a time-share vacation (I'll post on that later). I bought her a really nice set of knives (don't laugh) -- she threw the set we got after our wedding into the trash about three weeks ago out of sheer frustration; they were 10 years old, I suppose.

We had a good time in Las Vegas, but I keep feeling like I'm forgetting something really important, like a birthday... but I think I was just nervous about Cathy's birthday going well. Still, I've got this nagging feeling...

I've written my parents a few times; it is no secret that I struggle with being a good son. I've offered to send some money home, but I have not heard back from my parents. I am growing concerned, but I do not yet wish to call them on the phone; my last conversation did not go well, and I yelled at my mother. I regret it, but I feel my apology would be insufficient. Perhaps that is why I have not heard from them.

Work is good. I am still hoping and praying for a transfer to Georgia. I'm looking forward to serving in Cathy's dad's church, along with whatever else God has planned for me.

Oh, that's right! My pastor called while he was on vacation and told me there's an opening to preach as a guest in L.A. for a ministry we support there. I'm looking forward to that, too.

Cathy took a few really nice pictures of Bubba, our new adoptable kitten. Man, is he cute! I suppose I ought to post a picture... later. I've got a wedding to get to!

Wednesday, July 18, 2007

Harry Potter, Loud Music, and Vocabulary

Harry Potter: I'm not very current on what's popular from day-to-day. I have yet to see "The Passion of the Christ" and I have yet to read a single "Harry Potter" book (although I watched two movies, I think). Nonetheless, I found this article in the Washington Post both interesting and sad (sorry about the print-preview version, the main article requires subscription). The line that hit me was the author's daughter asking, "Do we have to keep reading this?" Frankly, it doesn't sound like a children's story to me (comparisons to Narnia and Middle Earth seem to me, at best, a reach), and even the movies don't interest me. The recent Newsweek review of the latest film doesn't make me reach for my mail-order DVD queue, either.

Ripping Music: I've ripped almost all of our CDs and burned them as data discs for my wife; she has just about every album we own in her car, right now, neatly in a 10-CD case. As I was listening to some of the music, attempting to hit them into logical collections on a single CD, it struck me that some music just didn't sound good. Not that the musicians were bad, but the music just didn't "strike a chord," as it were. Then I came across this video, which argues that today's record companies use too much compression; makes sense to me. This is probably why I prefer live performances.

Nonetheless: I first used the word "nonetheless" when I was required to do a paper in 4th grade (I think; his initials were W.W.W.) of a certain length, so I looked up big words in the thesaurus. My teacher chided me for using words in my paper that I wouldn't use in everyday conversation; little did he know that paper sparked an interest in expanding my vocabulary. I find it ironic, then, that I don't like Harry Potter, and struggle to use shorter words when composing sermons.

Tuesday, July 17, 2007

Eternal Life Starts Now

Now this is eternal life – that they know you, the only true God, and Jesus Christ, whom you sent. John 17:3
This is eternal life. ...It is not just unending life in the sense of prolonged duration. Rather it is a quality of life, with its quality derived from a relationship with God. Having eternal life is here defined as being in relationship with the Father, the one true God, and Jesus Christ whom the Father sent. The use of "Christ" (Χριστός, Cristos) is not characteristically attached to Jesus’ name in John’s Gospel... here in 17:3 enables us to correlate the statement made in 1:18 of the prologue, that Jesus has fully revealed what God is like, with Jesus’ statement in 10:10 that he has come that people might have life, and have it abundantly. These two purposes are really one, according to 17:3, because (abundant) eternal life is defined as knowing (being in relationship with) the Father and the Son. The only way to gain this eternal life, that is, to obtain this knowledge of the Father, is through the Son (cf. 14:6). ...For John this knowledge is not intellectual, but relational. It involves being in relationship. (From the NET Bible)

Saturday, July 14, 2007

Friday, July 13, 2007

Music Thoughts

Cathy's new car, Izzy (she named it "Izzy," although "Indie" was a close second), is a Hybrid with all sorts of new technology. We didn't get the navigational package (neither one of us liked it), so we got a CD player instead. One nice thing about the CD player is that it can read MP3 / WMA CDs as well as traditional Red Book.

I personally find WMA a somewhat better audio format than MP3 (though of course opinions differ); the WMA licensing is also less restrictive than MP3. And, since the CD player cannot read Ogg Vorbis, WMA will do.

I'm ripping all our CD's to WMA v9.2 variable bit rate (VBR) at 90%, which produces files about 192kbps. Unfortunately, the car stereo cannot handle anything higher than 240kbps, so I cannot use 98% VBR. That's alright - I doubt I could tell the difference even with great speakers.

So, I'll be creating compilation CDs with all of our Third Day albums on one disc, all of my Beethoven on another disc... you get the idea.

Weird thing... I came across a 2001 album by Tait entitled "Empty." It's autographed; I seem to recall that I won the Michael Tait autographed album from Air1 (great station, by the way).

Monday, July 09, 2007

Fat Ninja!

There I am, the fat ninja (the ninja who is fat, not the ninja of fat; anyway...). That's Malachi's tail as she runs away from the strange man.

Remember how I mentioned swords in a previous post? Well, I had one of their ninja swords shipped to my office.

It was actually quite entertaining; I unpacked the box without reading the label first, and found myself holding a sword. My coworker, Mike, looked at me a little nervously and asked if it was a butter knife (dulled edge) or not. For the record, it is dull. I did get some inquisitive looks, but nobody else asked me about it. (Funny...)

I had previously lent my telescoping nunchucks to the son of one of our church elders. He's into swords and other martial arts weapons. Oddly enough, they are heading to Ecuador for a missions trip to visit the Wadani tribe (yes, the same tribe from the movie, "The End of the Spear").

Odd... my last post about weapons also involved movies...

Team Work, Tithes, and Responsibility

Did you ever have a teacher who made you work in teams, and everybody gets the same grade? This is the "one-for-all" approach that is supposed to foster team work and be effective in the workplace. By extension, this should be true in churches, as well.

I have a philosophy about working in a church (and sometimes for the church). Ideally, each person understands that our work is more than a job function; it is a work unto the Lord. As such, working on a team in a church should be easier, since we're trying to please one and the same Lord, instead of advancing ourselves or our own agendas.

Therein lies the struggle for me; on the one hand, I have been contracted to organize and set policy for technology at my church, so I have an obligation to do it to the best of my ability, both as a Christian and as a job requirement. On the other hand, there are objectives and goals to be reached, and each person or ministry has their priorities. Some of these are complimentary, some are are contradictory.

Budgeting, however, has been an issue for me. Some people are understanding, others push for what they want me to buy for them, regardless of need. It bothers me when other staff purchase computer accessories or software without shopping around. This is because every dollar we don't save, when we could have saved it, is spent wastefully, no longer available for other purposes. I feel like I am spending God's people's money.

With every laptop or monitor I buy, I spend someone's gift to God, or tithe. It is a large responsibility, being responsible with God's money.

I wish I would feel that way about my time, my talents, and my thoughts.

Thursday, July 05, 2007

Cathy's Georgia Trip

So, we had a relaxing Independence Day. (I always feel like there should be an "a" in independence.) Basically, we went to a coffee shop in a bookstore to escape the hottest part of the day, bought a drink and read our diet books in the air-conditioned store. Then we sat on the front lawn and watched neighbors light fireworks before retiring for the evening. I'm very glad to have Cathy home.

While on her trip, Cathy saw some neat stuff. She pull over in Utah and saw these pretty rock formations. While driving through Illinois, she passed the Air Force base my father was stationed at when I was born. There's an obligatory picture of my cute nephew (that's Cathy's new car behind them). And, finally, Cathy got a picture of the Cross on the High Plains.

Cathy also checked out my employer's Georgia office... it would be nice to get a transfer.

Now that I am out of school, I find myself busy with church work. Oddly, I'm at my least talkative and more pensive. Go figure. Oh, my knee is getting better.