So it turns out...

The picture is taken from the [relevant website

](http://www.downshifting.ru/) I learned about this phenomenon from BOR’s quote It seems to me that this sermon against shoddy work and philistinism was at the same time a sermon in favor of downshifting. More precisely, in favor of choosing between a life model based on living and a model based on experiencing. And since it is hard to keep experiencing the purchase of a refrigerator or a pay raise for long, the choice seems obvious. The only question is when it will be made, and how much time we will have left after that.

There are three kinds of lies: lies, damned lies, and statistics

Today is that one day of the year when the general public remembers the Chernobyl tragedy. Even Yandex Pulse clearly shows a spike in activity. Chart for the year: Chart Interestingly, it turns out that on this day the words “Chernobyl” and “ass” are used equally often. Meanwhile, “money” remains consistently popular. Chart for 2 months, for a closer look:

Chart

2008-04-26 21:54:36

Seems I was wrong to blame the seventh version. Installed 6.3 and the problem remained โ€” the ADSL connection refused to come up. Turned out the card was acting up; after a wipe with alcohol and moving it to a different slot, it started working. Hooray, we have a gateway, two networks โ€” old and new โ€” both running, all systems go! (knock on wood…) Next tasks: a) SSH authentication without a password, using a key b) Sending mail from a different address. This is caused by the fact that the mail setup in the organizational hierarchy is configured in a somewhat odd way, and a local user needs to send mail on behalf of our organization’s address, which is registered on the upstream mail server… something’s off here, but we’ll have to adapt to the existing rules :( c) And the dyndns questions remain. Fortunately, there’s now an extra machine for experiments. Instead of Hamachi I’ll probably try either Kerio or OpenVPN, because Hamachi lags terribly.

The second snag and plans.

Reporting season has arrived, which means I have less and less time for network tuning. For now I’ve given up on the wall sockets (figuratively speaking), plugged a patch cord into one of them leading to one of the old switches, and I’m working like that. The plan is this: to end up with a “model” network as a result of all this work. Beautifully and thoughtfully configured according to a pre-designed scheme. Reliably protected from external interference, and regularly backed up against internal mishaps. With documentation โ€” both ongoing and final. Something pleasant to look at. Since the existing server runs Windows, I โ€” as an enthusiastic if not particularly skilled OpenSource advocate โ€” want to build a gateway on FreeBSD. Both for security reasons and out of love for it. So while the girls are putting together reports that I’ll later have to shove into a buggy and glitchy program, a spare machine has been chosen, a second network card has been plugged in, and FreeBSD 7.0 has been installed (with a patched OpenSSH). Without overcomplicating things, I copied the configs from my home machine (ppp.conf and rc.conf), adjusted the login/password/interface names in them, and at a convenient moment I give it a try. What do I see? Instead of connecting to the internet and working productively for the good of the organization, I get an error message saying: **WARNING: attempt to net_add_domain(netgraph) after domainfinalize() ** Well, damn. Googling around on Google, Yandex, and opennet showed that I’m not the only one who’s seen that line, but other people mostly have issues with mpd, while mine is with PPPoE. A quick fix wasn’t found; it seems I’ll have to do a lot of reading again, and the behavior looks quite strange. And since the whole network design theory hinges on this gateway, tomorrow I’ll reinstall it with FreeBSD 6.3 instead, and if that doesn’t help either โ€” then I’ll start reading. Because to set up a proper working machine (with internet, ICQ, a proper LAN), I need to remove the current services from it โ€” mail and proxy. And to move those to a new server (as per my plan), I need a working gateway. Blasted nuisance.

The First Snag

The first glitch was rather unexpected. I decided to set up remote access to the server so I wouldn’t have to walk across the hallway. I plug a patch cord into the socket and watch as the server refuses to respond to pings, while the port indicator light on the switch blinks at a steady interval. I suspected the cable, the socket, the quality of the crimping… Until I thought to check the cable’s wiring scheme. Turned out they had been crimped according to an arbitrary scheme, as long as both ends matched. Why cables crimped the same way worked fine in the old network with simple switches but refused to work with the fancy new one remained a mystery. But I did get plenty of practice re-crimping cables to the standard wiring scheme. It’s not the connectors I feel bad about so much as the 15 wall sockets. They’re installed in hard-to-reach spots, the wires keep breaking off โ€” over the course of a week I only managed to redo 6 of them.

First Results

So, about work.

A typical mid-sized government-owned office. A motley collection of PCs, network cabling running along the floor, no documentation, two cheap Surecom hubs/switches. However, the guy who managed all this before me is a very smart fellow. No irony intended. Antivirus software is installed, users work with Total Commander (all of them!), The Bat, and a local messenger. On top of that โ€” there's the aforementioned server, which sits in a rack cabinet together with a 24-port **3COM** switch. Fifteen UTP lines (run through cable ducts) lead into the cabinet and terminate in wall outlets at the workstations. My job is to migrate the local network from its current state to the new equipment.
The server is a decent piece of iron from **DELL**, configured either at the factory or by the resellers. It runs Windows 2003 RC2 (licensed, mind you). So the question of configuring RAID arrays has (fortunately or unfortunately) been taken off my plate. It's powered on, it works, it hums away.

2008-04-10 22:07:18

Changed jobs. Going to do sysadmin work (well, general IT grunt work :) at a small office. Currently figuring out how everything is set up. Once things settle down, I’ll get back in touch with everyone. In brief โ€” the network is ~15 machines. There’s a server that has never been turned on. It should be working (2ร—2000 Intel, 4GB RAM, 2ร—70GB + 3ร—120GB SATA or SAS, rack, cooling, a solid UPS). I need to turn it into a domain controller + file server + application server + possibly a terminal server. Chances are Windows is installed on it and it’ll probably stay that way for now. Because what software will be running there is still unknown. And I’m wary of Samba โ€” I won’t be able to configure it quickly. Either way, first things first โ€” figure it all out. Hope the UPS batteries haven’t died over the past year; that would be a shame. Among other things, there should be a local MTA and a proxy. Right now Courier Mail Server (looks pretty weak) and HandyCache (also a rough piece of work) are installed. Looking into what they can be replaced with. On the Windows side I know Kerio; for Linux I’m thinking of checking out Postfix and Squid. The problem is that if anything changes, it has to be done carefully and transparently for the users, because the organization is budget-driven โ€” mistakes will be punished. Hoping a stable state will be reached soon; will be bragging about achievements. Thoughts and suggestions are welcome.

security in VNC

I’d be grateful if someone could point me to a guide on how to run VNC over SSH (on FreeBSD).

I tried to build Hamachi LogMeIn under FreeBSD โ€” it started pulling in Linux packages and choked. I figured I didn’t know how to launch vncserver bound to a specific interface anyway, so I decided to go a different route and drop Hamachi (also tried it under Windows, opened the incoming RDP port in the firewall โ€” it connected, but dropped after a minute. Never figured out why).

This is InternEEEEET!!!!!!

Today is a very good day. I found a person I had lost long ago and missed terribly.

A wonderful guy with whom I have, you could say, been through thick and thin. We fought and made up, got offended and worked hard together. We learned โ€” probably, I learned much more from him than the other way around. We ate from the same plate and drank from the same glass. I get the feeling he is basically a childhood friend, even though we have only known each other for a couple of years. But apparently the harsh everyday life of the dorms allowed us to live through quite a lot in such a short time.