Archive for February, 2007

Stupid things thought on a cruise ship

Monday, February 19th, 2007

We just got back from our 5-day cruise on the Carnival Holiday. One of the highlights for me was when the cruise director, Steve Cassel, read his list of stupid questions that cruise directors get asked. I must add my own foible to the mix:

After dinner on the final sea day, I saw two people walking down the stairs wearing heavy winter coats. I said, “Hmm… they must be getting off the ship early!” Then I realized that they weren’t wearing wetsuits.

Backing up OpenWRT

Thursday, February 8th, 2007

I recently got a Linksys WRT54GL router, and I installed OpenWRT, an open-source Linux firmware. But I ran into a sticky problem - how do I back it up? Using scp doesn’t work because scp doesn’t have a way to ignore symlinks. Heavier tools (like rsync) would be great, but they are too heavy for a tiny embedded system like this. This might seem obvious to some, but this way worked quite well:

ssh user@domain.com "tar cv /bin /etc /lib /sbin /tmp /usr /www" > openwrt.tar

Why not gzip the output? Well, remember that the WRT54GL is a tiny embedded system - 16M of RAM and 4M of flash memory. You can’t zip the whole thing up because piping tar to gzip on my router because it would use up all of the available free RAM. By only using the bare minimum (tar) you can successfully get this to run in about 600K of free memory.

Why enumerate all of those folders? OpenWRT routers have /jffs and /rom, among other things, which are overlayed to give you the image you have of the root filesystem. Excluding those (and /dev and /proc) skips a lot of unnecessary file copying.

The resulting file size was 6.5M, and when gzipped it was 2.6M, which agrees quite well with the 2.9M that I expected based on the disk usage in the compressed JFFS filesystem.

I’m planning an extensive “Asterisk on WRT54GL” tutorial soon, so if you’re interested in what you can do with a little bit of Linux and a tiny, in-expensive wireless router, check back with me in a few weeks.

Giving Up

Sunday, February 4th, 2007

Luke 5:1-11: The Calling of the First Disciples

One day as Jesus was standing by the Lake of Gennesaret, with the people crowding around him and listening to the word of God, he saw at the water’s edge two boats, left there by the fishermen, who were washing their nets. He got into one of the boats, the one belonging to Simon, and asked him to put out a little from shore. Then he sat down and taught the people from the boat.

When he had finished speaking, he said to Simon, “Put out into deep water, and let down the nets for a catch.”

Simon answered, “Master, we’ve worked hard all night and haven’t caught anything. But because you say so, I will let down the nets.”

When they had done so, they caught such a large number of fish that their nets began to break. So they signaled their partners in the other boat to come and help them, and they came and filled both boats so full that they began to sink.

When Simon Peter saw this, he fell at Jesus’ knees and said, “Go away from me, Lord; I am a sinful man!” For he and all his companions were astonished at the catch of fish they had taken, and so were James and John, the sons of Zebedee, Simon’s partners.

Then Jesus said to Simon, “Don’t be afraid; from now on you will catch men.” So they pulled their boats up on shore, left everything and followed him.

As Jennifer and I listened to the Gospel Reading this Sunday morning, we both thought of it in a new way:

These fishermen were men who worked hard to accomplish their goals, but often times their lives were still difficult and their futures still uncertain. After a long, frustrating night, Jesus tells them to try one last time - and when they do, they are rewarded with success beyond what they could possibly imagine.

The story doesn’t end there, though.

Their reaction is to realize that Jesus was the source of their earthly success, that their fulfillment was in him, not in what they could ever do for themselves, and they left the fish on the beach. Jesus had shown that he had power to give them what they needed most, but instead of clinging to the stuff he had given them, they clung to the Giver.

Jennifer and I see that in our lives. Jennifer was given admission to medical school and the intellectual ability to finish, even despite her medical difficulties, if she had so desired. I’ve had a short but successful career in computer science. We recognize that both of these things are fulfillment of long-held dreams, but we are turning and following the Fulfiller. I’ll take an uncertain future with a faithful God who has already given me satisfaction and purpose over any life I plan for myself - even if that means I have to leave everything on the beach.

Super Boring?

Sunday, February 4th, 2007

I’ll be honest - I really didn’t care who won Super Bowl LXI, and the only reason I watched it was because it would be fun to spend some time this weekend with my parents munching on homemade pizza. But am I the only one who that that the Super Bowl was a Super Yawn?

The game’s true MVP was the Bears’ QB, Rex Grossman, who was clearly most valuable to the dominating Colts. The game was amusing because of all of the turnovers. (Yes, I understand that it was raining.) But the real question is: what’s with the (disturbing lack of good) commercials?

The truck assembling itself slowly in midair was pretty cool. Jennifer liked the Ford (?) car driving with one edge on city balconies. But there was a surprising lack of funny beer ads. Where was Pepsi, for crying out loud?! Coke ran a few new ones, but the longest time spots were dedicated to the Grand Theft Auto-themed commercial where everyone is singing and dancing because the character is drinking Coke. That’s great, but I don’t even own a television - I watch about an hour of television a week, tops - and I still have seen that commercial too many times. And this is what they’re paying $2M+ to run during the Super Bowl?

Billy Joel was an embarassment. He had serious flubs - did he even practice? Prince was… Prince. Fine. Not my thing, but fine. The halftime show was pretty tame, altogether. Maybe they were compensating for last year.

Altogether, this was a really boring Super Bowl.