Category Archives: Linux

Linux

Forgot to mention – I was wrong about the VPN

A couple of days ago, I thought I’d managed to get the pptp vpn client working under Linux. No luck. The next morning, I found out that it would let ping packets pass through, but wouldn’t the Watchguard firewall at our office wouldn’t send back any other packets. Great. Lovely.

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

Day 6? 7? Who cares, Linux doesn’t work yet

birdfeeder.jpgSo I’m several days into working on my VPN connection, and I just flat out gave up last night. I’m doign my work inside a VMware window, which lets me run Windows XP inside of Linux. I have my easy VPN connection in the Windows session – it takes just a few mouse clicks to set up – and I can take my time getting things like VPN and multiple displays running under Linux.

The most frustrating part is the finger-pointing: when you ask for help, it’s like talking to a level 1 tech support person at AOL. People seem to actively look for reasons why your stuff would’t work. I started with a $200 NVidia dual head video card I already owned, but several distros crashed during installation, and people kept telling me how bad NVidia drivers were, so I figured I should replace it. I asked around, nobody had any serious opinions but people agreed that a single dual head card is more stable than a pair of cards, so I grabbed a $100 ATI dual-head card. All of the distros successfully detected it, but none activated the second head. So I manually shuffle around through text files making manual changes per various faqs, since there’s no one definitive correct faq. The closest I came was a Xinerama howto, and it got me close enough to activate the second display, but it’s just a simple clone of the first one. The howto doesn’t mention anything about cloning versus spanning.

So then people started pointing fingers at the card: they say well, maybe a single card won’t actually work – your best bet is probably two cards. Wha?

This will be the fourth trip I’ve made to Fry’s trying to get a working machine for Linux. Every time, people say my hardware is the problem, or I’m using the wrong distro, or I must be dumb. Or maybe it’s all three. Who knows. Who cares. I’ve got birds and squirrels.

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

Must….get….sleep….

I started working on getting PPTP VPN working at 5:30 this morning. I was determined to be able to VPN into our office Watchguard Firebox from my Linux desktop, because I can’t get work done without it. I struggled and struggled, and finally got it via an obscure command line switch. Pptp wasn’t returning an error, but the first solution under http://pptpclient.sourceforge.net/howto-diagnosis.phtml#running_pppd_after_connection troubleshooting tips turned out to be right. I added the nopcomp switch, and bam, I’m in business.

Tomorrow, it’s back to my regularly scheduled development. I’ve already got the Java SDK, NetBeans, and the basics going. It’d be nice to have Outlook running under Wine, but I’m not going to get greedy. Yet.

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

Still installing Linux apps

It’s Sunday morning, and I’ve already been plugging away at this for more than two hours. My only goal this morning was to get VMware up and running. Sounds simple – it’s literally a two minute process under Windows. You run the installer, and you’re done. Should be straightforward, right? After all, this is a pretty expensive application – it ain’t OpenOffice, and if OpenOffice can manage a simple install, then this should, right?

Wrong. At the moment, the installation program is telling me: “The path “/usr/src/linux/include” is a kernel header file directory, but it does not contain the file “linux/version.h” as expected. This can happen if the kernel has never been built, or if you have invoked the “make mrproper” command in your kernel directory. In any case, you may want to rebuild your kernel.”

Yeah, right. I may just wanna spend my Sunday morning doing that. Then again, Mr. VMware, I may ***NOT***, because I shelled out $90 to Xandros so that I wouldn’t have to bother with stuff like that, and your installation program should be able to get by. After all, I’ve already had to go download the source code, lay it out in a way that VMware prefers (because it didn’t recognize a lot of the directory names), and go back and forth with the install program.

When they say Linux isn’t ready for the desktop, this is the kind of thing they’re talking about. And come to think of it, “they” includes ME. I’m not giving up, though: I still get the feeling the payoff is coming. Three or four years from now, I’ll be glad I did this, because the OS will be mainstream, and I’ll have the same ground-up knowledge that I gained by walking Windows from the DOS/Win3 days til now.

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

Basic setup in progress

I’m back at home after a week in Dallas, and I’m in the process of setting up my basic development tools under Linux. At first I thought it’d be easy, but it quickly became so overwhelming that I’ve had to create a text file with all of my to-doos.

The first line in the text file, “VPN connection to work,” is turning into a mess. We have a PPTP VPN at work using hardware firewalls. Xandros, based on the Debian distribution of Linux, doesn’t ship with support for the particular type of VPN encryption we use, MPPE128. If I want to VPN into the office, I have a few options, none of them particularly enjoyable. I can recompile the kernel with MPPE support (thereby losing Xandros’ proprietary enhancements), pick a different flavor of Linux with MPPE support, take a stab at IPsec VPN, or get my SMC Barricade firewall to act as a PPTP VPN client. I’ve struggled with the last one before, and I just spent another twenty minutes on it without any luck.

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

Got my Linux on

Growing up, Dad took me to the Indianapolis 500 several times. He worked in the tire business for quite a while, and we got some neat seats and had great experiences. The whole spectacle still impresses me, and I try to watch it every year. I don’t watch any other car races live, but I love this one. I’m watching it as we speak.

There’s a lot of cautions this year, so I decided to play around with the Red Hat 9 installation on my Thinkpad. Patrick Glennon suggested I install Apt and Synaptic to make system updates and installations easier. I’d tried it the day I got RH9 installed, but I wasn’t able to get it done in half an hour or so, so I gave up. Today, I gave it another shot, and it was a piece of cake. As a Windows user, I’d think when I double-click on an RPM, it would install. No dice – I had to do the install in a terminal, and then it fired right up. Nifty.

Still haven’t been able to get my Lucent Orinoco working, but there’s a lot of laps left in the 500…

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

Well, that was short-lived

Linux worked for a few minutes on the laptop, and I left to go get some coffee and eggs. When I came back it was locked up with a grid of boxes on the screen. Luvly. Guess the screen saver’s got a bug, or maybe something in the power management systems. Of course, I didn’t actually *configure* anything – it just came like this out of the box from RH, so it’s not like I can blame myself for picking a fancy screen saver. The only thing I’d loaded was Mozilla.

Ah, that explains it.

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

Watson, come here. I need you.

Unbelievable – it’s a breakthrough. Red Hat 9 installed on my Thinkpad and detected (almost) everything automatically. Most importantly, on the very first boot, the video worked correctly. What a difference. So now I’m sitting on a Linux desktop, viewing my site in Mozilla, and adding blog entries. Only in America. Okay, well, maybe not.

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube