altivo: Geekish ham radio pony (radio)
2015-08-04 07:10 pm
Entry tags:

Gentoo...

On the Alpha, Gentoo is only slightly less frustrating than OpenBSD. While it's clear that the system is (or can be) much more functional and usable than OpenBSD, the documentation is about equally poor.

Review/critique under cut )

Not giving up yet, because I really do want this to work. But: I've been managing UNIX and Linux systems since 1989 or so. I used Slackware, which is almost as geeky a distro as Gentoo, on my own desktop for many years. If I'm having this much trouble getting Gentoo running, there's definitely something wrong and it isn't just with me.
altivo: My mare Contessa (nosy tess)
2011-07-10 08:59 pm
Entry tags:

And the evening and the morning

...were the weekend.

Saturday was pleasant. Sunday started to get too steamy for comfort, so in the end we closed the windows and turned on the air. That will make it easier to sleep tonight. Tomorrow is supposed to be downright nasty, probably with an excessive heat alert and maybe an air quality warning too.

Tess was out in the pasture for the longest she has been this year, about four hours. Even though I had sprayed and anointed her with fly stuff, the flies were after her by then and she was eager to come in. We've been over two weeks without any rain now, so the grass is getting tough and dry. Not as tasty and nice I suppose, but a lot safer for her since it now starts to resemble hay. She's still eating it with apparent relish, but I'm not worried about grass founder now until we get enough rain to start some new growth.

Gary's starting to talk about a second dog, as I predicted. He's looking at older golden retrievers, which should be fine. I told him it was up to him, since he will be primary caregiver anyway, but probably we don't want a puppy with teething and chewing issues. Just about any dog over two years old should be fine, and dogs over about six often go begging for new homes, so I'm encouraging him to look in that direction.

As for me, I'm still looking for Simon in all the places he isn't any more. Not seeing ghosts, just not seeing him. This morning in the spot where I would have to be careful to step over him I found instead a dead meadow vole brought in by one of the cats. It was not a suitable substitute, though I did in fact step over it.

DECnet workarounds seem to be stable now, but I still have to fix the last few steps so that they happen automatically at boot time rather than requiring manual intervention on my part. I know how to do that, and Ubuntu's "upstart" system be damned. Since they can't be bothered to adequately map it out and explain it, I can't be bothered to use it. Ubuntu gets dumped next time I upgrade. They had promise, but they're heading off a cliff as far as I'm concerned rather than building a usable future.
altivo: Geekish ham radio pony (radio)
2009-03-20 10:22 pm
Entry tags:

Squidery, sans ink

Today, besides cataloging a stack of stuff, I configured the squid cache on the new server. Squid's a useful tool, but horribly complex. Fortunately I don't need many of its features.

Supposedly the old proxy server (still running, but not for much longer) that was configured and installed by an outside agency, had bandwidth controls and a squid cache. It was a black box to me for the last two years because it seemed to be working and the network architecture was such that I couldn't easily communicate with it or look inside. Even though I have the requisite passwords, they left me no documentation whatsoever on their setup, so I had to reverse engineer it by hunting down all the configuration files and such.

Turns out it was doing nothing except DHCP and pass-through. Squid was running but not actually getting any traffic because the IPtables weren't set up. Bandwidth control was supposed to be happening in squid, but since no traffic was going through it there was no bandwidth monitoring either.

This new setup is actually functional. Web traffic goes through the cache. Bandwidth is monitored independently using kernel enforced queue disciplines. There is no other way for that subnet to reach the outside except by going through this gateway. Just goes to show once again, if you want something done right, you have to do it yourself.

There may need to be some cache tuning, but we're functional now. To be absolutely sure, I'll probably install portsentry and tripwire on the machine even though it has no real exposure to the internet. (There's a hardware firewall between it and the real internet, so no inbound connection from outside can reach it.It's not set up to respond to anything but SSH from that direction in any case.) Probably the whole thing can go live on Monday.
altivo: Geekish ham radio pony (radio)
2009-02-13 07:30 pm
Entry tags:

Swatting weird cron bugs

Earlier this week I installed a bandwidth monitoring tool on the Alpha DS10 at work because it came highly recommended by a couple of people. The Debian installation with synaptic, for whatever reason, was a flop. It didn't all get in the right places, wasn't functional, and I couldn't tell what exactly was wrong, so I "uninstalled" it. I figured I'd download the source, compile, and reinstall next week.

A couple of days later, I realized that my mailbox on that machine had hundreds of messages. Huh? There's no mail service to there, so they had to be internal. It turned out they were coming from crond, the scheduler that runs batch jobs at preset intervals. It was trying to run a reporting job from the uninstalled package, every five minutes. And failing, and failing, and failing...

Except, there was nothing in the crontab. Neither root nor my own account (the only two real non-daemonic users on that machine) had anything in crontab at all. The man pages for crontab suggested that the crond had its own internal storage that was updated only when crontab was updated. OK, so I figured the bad package had installed a crontab, and the uninstall had erased it, but crond never caught on and was still trying to run the now dead crontab. What to do?

Reboot? Stop the daemon and restart it? Neither one did anything. Hmm, how about if I make a new crontab, either empty or with some innocuous thing like "display the time at midnight each day" and let crond realize that the other job was no longer there? Nope, that didn't stop it either. Literal clockwork kept sending me the same error every five minutes. I purged the mailbox twice a day because it was getting so large.

Finally, today, I found it. Debian's man files are not always the best. The crond was using not just the crontabs in /var/spool/cron but also reading manually supplied tables in /etc/cron.d and of course, that's where the culprit command was coming from. Deleted it (as the uninstall should have done,) and the error mails finally stopped coming.

I'm inclined to think such an ill-behaved daemon should instead be named Crom, like Conan's god who lives on a mountaintop and ignores the prayers and lives of mortals. Or maybe I just should have called in Drax, that Timelord technician who was an expert in fixing disordered chronostats?
altivo: Geekish ham radio pony (radio)
2008-12-28 05:22 pm
Entry tags:

Linux and a UPS

This is something about Linux that even I find inexcusably complex, though a good portion of the responsibility falls on the manufacturers of the more popular battery backup UPS units. Because these things invariably come with software to be installed on Windoze to check the status of the power and automatically shut down the system in case of power failure, it does seem reasonable that the same should be possible on a Mac, or BSD variants, or Linux, or even OpenVMS. However, the makers of the hardware are incredibly obtuse about it. Most refuse to "reveal" the details of their control interface, forcing Linux developers to reverse engineer in order to create any software to work with these devices. It has always been hit-or-miss when buying a new UPS whether Linux will be able to communicate with it. I've dealt directly with three manufacturers over this: APC, Tripplite, and CyberPower. Their responses have been incredibly arrogant and snotty, essentially "run Windows if you want to use our hardware." Apparently they just don't believe that Macintosh and Linux now have a significant and growing portion of the marketplace. Tough for them.

Long story under cut )
altivo: The Clydesdale Librarian (Default)
2007-04-23 06:47 pm
Entry tags:

A night off

What a concept. I'm turning the computer off as soon as I post this.

Spent much of the morning battling a recalcitrant Travan tape drive. I picked that machine for the mail server specifically because it had a backup drive on board. Linux recognized it, the commands that should be able to use it make a valiant effort, but... it keeps getting I/O errors. Tried several tapes with similar results. I'm hoping it's just dirty, since it's been sitting unused for several years. Couldn't find a cleaner cartridge, so I have to order one. Meanwhile, backup is by making tarballs and storing them on another machine that does daily backups to tape.

Script kiddies and spammers are still after the machine, but I'm more confident now that it can resist them. The one who keeps trying thousands of usernames and passwords against ssh is certainly never going to get in that way, but I'm about ready to close the ssh port to outside traffic entirely in any case. The spammers in Taiwan and Norway who keep trying to use it as an open relay are getting dumped each time. I ran the prescribed checks against sendmail and it passed them all. So, I'm going to turn down the concern and get my other work done for a while.

Tess was frantic to get to the grass yesterday, but today she was better behaved mostly. She got 45 minutes and came back in without too much urging. (Well, I waved a peppermint alfalfa treat under her nose, but she had to come all the way in to her stall before she got it.)

Car report: Gasoline prices are back up. In fact, they are now the highest they've been in almost a year, higher than when I bought the car. Filled the tank this evening on the way home, and when I ran my spreadsheet, found that for this tank I got 28 mpg, including the day of that awful slushy snow storm. My running average for the last five fuel purchases is 27.05 mpg. As the weather improves, the mileage is climbing again. Hit 6000 miles at the end of last week, though, so I've got to take it in for maintenance.

Weather has been threatening all day, but no rain. Now they seem to have dropped it from the report, but it is still air and damp, with looming clouds. If it were a little warmer I'd be expecting tornado watches.

Anyway, off to do other things.
altivo: Clydesdale Pegasus (pegasus)
2007-03-25 05:05 pm
Entry tags:

The endless upgrade

Soooo... Having no car at my disposal other than Gary's, which I prefer not to drive, I stayed home all weekend. Much of Saturday was spent updating my Linux here.

Linux stuff cut for the uninterested )

The weather has been really springlike, maybe the lion read my post of earlier in the week. Not that I want to chase lions away, not at all. But I much prefer that they be, shall we say, gentle and sexy rather than fierce and angry. Made it into the 60s yesterday and the 70s today. The windows are open now, revealing all the dust that has clogged the screens since last year. I'm going to have to clean windows and screens, Yuck.

Frogs are shouting "Sex! Sex! Sex!" from every nearby wet spot. Cardinals, red-wing blackbirds, and chickadees join in with their own courting songs, and the woodpeckers are drumming furiously on anything they can find. I'm studiously avoiding the work I should be doing, finishing up a story for submission, cutting and sewing that shirt, or my spinning. The weather is too nice, and enjoyable even indoors now that the windows are all open. Last year's fox appears to have returned to the same spot, digging the den out again where the neighbor's chickens were disappearing. I hope to spot him again with any luck. Inspected the apple trees yesterday, and they had no deer damage, even though we failed to put the portable cages back around them this winter. I think the deer have fled the area since the subdivision construction began to the north of us. They used to come into and exit from our land over that route. Dogs and horses are shedding, and the sheep are sitting around looking distinctly uncomfortable this afternoon. We need to get the shearing guy out soon.
altivo: Rearing Clydesdale (angry rearing)
2007-03-15 03:37 pm
Entry tags:

Grrr!

Gotta go do chores in a few minutes because we're going to dinner and then to an Irish music performance and lecture.

Still I need to vent about lousy documentation, on three sides: Windows (nothing new there), Linux (you mean there even IS documentation?) and Watchguard Systems (no excuse there guys, people pay big bucks for your trash.)

A couple of years ago, I had VPN working from home to the Watchguard Firebox II at work. This let me log in over an encrypted tunnel to tweak things or check on a problem if someone called me, rather than having to drive 15 miles to work on my day off.

Last year the Firebox was upgraded to an X700. VPN has never worked since. I figured it was because the consultants never put my definitions back in, and didn't get around to it for a while because it's a tortuous process only partly described by Watchguard's documents. However, I finally decided I do need it, so this week I've been trying to reinstate it.

No joy. I've followed Watchguard's instructions step by step, defining the connection, enabling it, defining the user, loading all to the firewall box. Since they only provide client setup for Windows, I set up my test client at home on my mate's Windows XP. According to both Microsoft and Watchguard, everything is set up properly. Except, it won't connect. There's a negotiation all right, the Firebox opens a connection when requested, but after a couple of packets are exchanged, it shuts down. So far nothing appears in the log there. The debugging logs on the client station indicate that the connect request is acknowledged, a handshake is exchanged, and then the server closes the connection. I can't see that they even get as far as the authentication sequence. I thought the Norton Firewall on Gary's machine was perhaps interfering, so I disabled it briefly, but with the same result.

Windows produces an error number 619, which is supposed to mean that the port was not available. This makes no sense, because I can see the connection take place and then break. A port unavailable yields either no response or a single denial message.

The Linux VPN client (pptp-client) is messy to set up, but I do understand how it is supposed to work. It doesn't, though. Again, the debug log indicates that the server acknowledges the connection but then closes the socket before asking for authentication. Who knows what Watchguard is doing? I don't. I'm not sure they do either.

I've turned on the debug logging at the server end, but haven't been back there yet to see if it says anything. I don't have high expectations though. I can find several other people over the past two or three years posting similar questions on various linux and security forums. I have found no case where an answer was provided, or where the original poster came back and said he/she got it to work and here's how. As far as I can determine, Watchguard's RUVPN is just broken and doesn't work at all.
altivo: The Clydesdale Librarian (Default)
2007-03-05 08:11 pm
Entry tags:

Cold

It's in the teens again.

And I think I'm catching the cold Gary had all last week. Yuck.

At least the flood level outside has dropped, severely in fact. All over the place we have huge cracked slabs of ice where the water underneath has receded and the ice floating on top of it collapsed under its own weight.

Woven fabric is washed, dried, and ironed ready for the next study session tomorrow morning. I worked like mad this afternoon to catch up stuff piled on my desk, which may be a good thing between taking half the day off tomorrow and the sick sneezing and coughing I'm afraid I feel coming on.

<rant>You know, I'm tired of reading cracks about how Linux or BSD or OSX can't do any 'real' work and aren't ready for 'prime time'. I've been doing 100% of my daily work on Linux for a good three years now, including some very hefty database operations and all the usual spreadsheets and document creation. I do image processing there too, and web browsing, and all my e-mail. A year ago I switched all the public computers in the library to Linux and hardly anyone noticed. They still do the same things they always did, only they don't need twelve software licenses payable annually to do it and they don't keep crashing because some kid found another loophole in the patched together Windows security. Next time you feel like faulting Linux, consider this: maybe its just that you couldn't figure out how to use a real multiuser/multitasking OS. A lot of us do use it without difficulty.</rant>