Musical chairs

If some­thing starts going right, some­thing else has to break. At least, that’s how it seems at the minute — as soon as one PC starts behav­ing, another falls to a most mis­er­able state of exis­tence. It’s all about the dis­tri­b­u­tion of “lucky points”, a bril­liant friend remarked…

My SuSE desk­top isn’t boot­ing into X (or, is, but the pro­ceeds to become unus­able… go fig­ure — the num­lock key still works, and it’s fine in run­level 3, but as soon as X starts, out go the net­work inter­faces and display!) — which wouldn’t be a prob­lem on any nor­mal sys­tem, but I’m fairly sure I’ve whinged in the past about how stu­pidly stu­pid SuSE is when it comes to doing things in any stan­dard way… even binary stuff like NVidia’s Linux dri­vers it man­ages to man­gle, which is the prob­lem here — I can’t unin­stall them, and I can’t rein­stall them, because SuSE appar­ently requires spe­cial treat­ment. Sort of. The NVidia guide says you can man­u­ally install it but it won’t han­dle ker­nel upgrades on its own (e.g. you’ll have to rein­stall the dri­vers every time, like on all other distros!) — except, this prob­lem was caused by a ker­nel upgrade and SuSE’s fail­ure to deal with it on its own, and now I’m up the prover­bial creek because man­ual inter­ven­tion isn’t an option (or rather, it’d be faster just to rein­stall another oper­at­ing sys­tem, or something.)

There is good news, though (not that this has substantial/any impact on the rest of the world — it’s good for me, and this web­site is all about my sta­tus as a “cheap exhi­bi­tion­ist”! — plus the fact that you’re read­ing this implies that you’re either bored enough to be inter­ested, or objec­tively inter­ested… but I digress even more!).

I’ve thrown Fedora from the third floor of this house (I love being able to do that!!), and replaced it with FreeBSD (I could say it’s all Dale’s fault — yes, click the link, he’s run­ning his blog on a snazzy new domain!), but that’s hardly true… hav­ing said that, his good reports cer­tainly played a part in that deci­sion). It’s not going to han­dle rout­ing any­more, but will be prox­y­ing as soon as I get that ade­quately setup, if only for the pur­pose of ad block­ing (and pos­si­bly band­width — I’ve used a ridicu­lous amount thus far this month, to the point that I’ll actu­ally be going over the 10GB soft-limit if things con­tinue this way… meh! Shouldn’t be a big issue.). Its pri­mary func­tion is as a Samba server, func­tion­ing as a domain con­troller and file/print server. It’ll also be han­dling scan­ning, although that’s com­pletely sep­a­rate from Samba functionality.

The rout­ing aspect of things is now being han­dled by a D-Link DI-624 wire­less router, which does 802.11g, and has an inbuilt BPA client (which, inci­den­tally, sucks. Work­ing on that prob­lem, too — it seems as though dif­fer­ent firmware might make the world a bet­ter place, but exactly which firmware remains to be seen…) — it’s also got 4 wired ports, only two of which are in use — one uplinked to the main switch, the other directly into the server.

FreeBSD is fun, but it took me a while to fig­ure out how to get root via remote access. There’s some­thing mildly depress­ing yet strangely funny about jump­ing up and down shout­ing “g0t r00t!!!” in ref­er­ence to a com­puter you have phys­i­cal access to, but I did, nonethe­less :-P Shrug, it wasn’t a prob­lem I’d had before… learn­ing experience? ;-)

I’m cur­rently hav­ing fun with ports, which is great, because I haven’t really got the fog­gi­est idea if I’m doing this right. I feel like I should have updated the ports index when I first installed, because I know for a fact some of the stuff listed here is old­ish… but whether that’s for secu­rity rea­sons or what­ever else I hon­estly couldn’t say. It mat­ters less now, because I’m not using this thing as a directly-Internet con­nected device, which is good. I con­tem­plated stick­ing one inter­face of it onto a DMZ, but fig­ured that prob­a­bly wasn’t be best of ideas, see­ing I’m the one respon­si­ble for patch­ing and oth­er­wise DoingStuff™ with the sys­tem… shrug!

Samba’s just been com­piled and installed, and I’m grab­bing vim before attempt­ing any­thing fur­ther, sim­ply because I find myself lost with­out being able to type “vim file­name” and hav­ing it DO some­thing, instead of just giv­ing me errors. I’m a long long way from being any kind of vim guru, and it’s overkill con­sid­er­ing how I use it (open file, press Insert to edit, press escape, :wq), but using “edit” just doesn’t feel right. As soon as that’s done com­pil­ing (it’s still down­load­ing patches painfully slowly from some US server — is there any way to change the source of down­load for ports??), I’ll start get­ting Samba up and run­ning, which involves installing OpenL­DAP, set­ting up users and stuff in there, then fig­ur­ing out how to make Samba a nice happy domain con­troller, point­ing Win­dows clients to it, set­ting up login scripts to make the clients mount dri­ves nicely, and then fix my other SuSE desk­top (haha, don’t think it’ll stay SuSE much longer… sug­ges­tions any­one? :)) with a view to get­ting it to authen­ti­cate users with the domain con­troller (pre­sum­ably using… some Linux thing… Ker­beros? Shrug. I’ve got no idea what I’m talk­ing about, as should be plainly clear to any­one who does by now!). Fol­low­ing that, I get to setup Squid, and then AMP which’ll be fun. And then an email server. I’ve dis­cov­ered I can send out­bound mes­sages on my own SMTP server with­out any prob­lems (cue applause), but I don’t know if Tel­stra is stu­pid by default with inbound MTA stuff… I’m sure if it doesn’t work you’ll read all about how ter­ri­ble they are here as I jump up and down and cry about it, before call­ing Tech­ni­cal Sup­port, lis­ten­ing to their groooovy hold music (seri­ously, it’s great — no crappy “Your call is impor­tant to us” rub­bish, just cool jazz… at least, it was last night. I nearly plugged my phone into the new amp to hear it bet­ter, coz the speak­er­phone wasn’t doing it jus­tice!), and then resolv­ing the whole thing with a few mouse clicks.

Oh, and I would take pho­tos, but there isn’t really any­thing that looks new and inter­est­ing that I haven’t posted already, so… I won’t yet :P That means don’t ask for less talk and more pic­tures, Steve :P

Solid Linux RSS reader

I’ve been look­ing for a nice, stand­alone feed reader for Linux recently, and I think I’ve finally found one that fits the bill. Read the rest of this entry »

Not quite the end of the month

…but close enough for me to engage in a favorite past-time!  Yay for log spec­u­la­tion!  The game where Josh picks ran­dom facts and fig­ures from log files and tries to make him­self feel impor­tant because of it!!

Muwa­ha­haha.  Yes.  So, whilst Google and cer­tain MSN search engines strug­gle to find my web­site when I type “Joshua Street” into them (I have an unfor­tu­nate last name, it’d seem), it would appear that con­tent around these parts *IS* attract­ing atten­tion… even if that atten­tion is ill-founded and soon ignores this web­site and heads off elsewhere.

At the top of the search list are var­i­ous ref­er­ences to php­Sys­Info CVS ver­sions, and how to down­load it, etc.  After that, it’s more php­Sys­Info stuff (pop­u­lar one, that), then ref­er­ences to using SuSE with my onboard sound card (the Real­tek thing — ALC650 chipset) which I don’t think was the main focus of that arti­cle (the other card was — the Real­tek onboard stuff was an aside — actu­ally, it was quite irri­tat­ing), but hey!

Things just go down­hill from there, with some peo­ple appar­ently find­ing this web­site by search­ing for mug warm­ers (regard­ing com­ments made pre­vi­ously about cer­tain USB gimmicks).

That said, though, I must be doing *some­thing* right, as I got a hit or three from CSIRO this month!  Hey, that’s cool.  I hope they’re not tak­ing any­thing said here as author­i­tive, though, in the inter­est of inter­na­tional science ;)

Hmm.  What else?  I’ve been over­run by Swedes!!  Hehe.  Com­ments made on Lizette &‘s web­site sent a few hits fly­ing this way, as well as some com­ments by var­i­ous band mem­bers — I’m still impressed by that level of involve­ment on their part!!  Yes, Swedes and Cana­di­ans (okay, .com and .net name­space ranked higher, but that’s so generic I can hardly call it US hits) were the high­est inter­na­tional vis­i­tors this month, which is pretty funky stuff.

The world dom­i­na­tion is well under­way, but I’ve been kindly informed that between eight and six­teen MB of traf­fic needs to hit this web­site this month in order to push traf­fic over the amaz­ing psy­cho­log­i­cal bar­rier, the “1GB mark!!”.  How that’ll hap­pen, I have no idea!  Maybe MSN will let their crazy search bots out of the cage again, that’d do it nicely.  So far this month, they’ve thrown over 750 hits this direc­tion… aaaaaaaaaaannnnddd they then seem to be send­ing that infor­ma­tion to /dev/null, or what­ever the crappy Win­dows equiv­a­lent is ;)  Why do I make this hor­ri­ble accu­sa­tion?  Well, last time I checked (only briefly, to be fair), my web­site wasn’t show­ing up at ALL on MSN search, but was com­ing up on Google (less than 20 hits this month) just fine.

World dom­i­na­tion, one step at a time.  World dom­i­na­tors don’t need MSN, anyway.

Sydney, the new Alaska!

I decided at around lunchtime today that Syd­ney is the new Alaska. Ran­dom MSN con­ver­sa­tions whilst doing “data entry” are an enthralling way to pass time… hehe. That’s about the only rel­e­vance of the news title to this post, although I still main­tain it to be true. Tori was wear­ing 6 lay­ers, not count­ing the cat worn (or endured?) as a scarf (n.b. I assume the cat was still alive. The LIVE cat was the scarf, she hadn’t killed one, so no-one go call­ing the RSPCA;)), whilst I was in an uberly heated office, yet still wear­ing 4… that means it’s cold, by my reckoning.

In my pro­cras­ti­na­tion today, I dis­cov­ered a cool app in PC Author­ity which is kind of like Bochs, only actu­ally fastish.  Appar­ently. I couldn’t get it to com­pile out-of-the-box on my SuSE baby, but I’ll tin­ker with some libraries and com­pile options later, and post if a) I remem­ber to and b) It’s worth “writ­ing home” about.

The appli­ca­tion is called qemu, and can be found at http://bellard.org/qemu/ (redi­rects to a free­host) to any­one who cares to look. Just for the record, there ARE ver­sions avail­able for Win­dows, so don’t go call­ing me an elit­ist Linux snob who only cares about Linux soft­ware. Just think it. Because it’s true. I couldn’t give a stuff about Win­dows soft­ware, unless it does some­thing incred­i­bly cool that I haven’t been able to do for years over here ;)

Yeah. This thing is being touted as the OSS VMWare alter­na­tive in PCAU, so we’ll see what tran­spires in days to come, I’d imagine.

Any­way. Enough about emu­la­tion plat­forms which may or may not work on my com­puter. There’s a lot to be said for pre-compiled soft­ware that just works, you know ;) (note to the clue­less — not pre-compiled soft­ware with a fif­teen page list of depe­den­cies. I don’t enjoy that.). That, how­ever, doesn’t appear on my newly released wish­list, because really, it’d take half the fun out of run­ning Linux.  I might expe­ri­ence an increase in productivity!

Hmm. Pro­duc­tiv­ity == achieved wish­list. Per­haps I should add bina­ries that Just­Work™ to that list…

Any­way, take a look at it, even if just for fun. It’s all geek stuff, but that’s not the whole list… I was think­ing in geek-mode when that list was writ­ten, tis all ;)

World’s biggest system monitor?

My cur­rent project (as of a few days ago, noth­ing long term ;)) is get­ting a work­ing php­Sys­Info page with trippy tem­per­a­ture mon­i­tor­ing and other such kah-razy features.

So, I grabbed the lat­est from the SF CVS server (2.3-cvs) and installed it, because my old ver­sion (2.2-release) has some seri­ous issues with SuSE’s way of doing things — it “worked”, sans Mem­ory Usage and miss­ing much of the Hard­ware Infor­ma­tion.  Not that that is really rel­e­vant any­way, see­ing I (of course!) wanted to try out the latest.

I’m not sure if 2.2 sup­ported the trippy hard­ware mon­i­tor­ing thing, but even if it did, I’m over it already ;)  2.3 has a nicer ver­sion num­ber :p

Yeah.  So.  Hard­ware mon­i­tor­ing.  I down­loaded a few (it sup­ports 4 dif­fer­ent back­end pro­grams) and tried to com­pile — xmb­mon down­loaded and com­piled fine (well, okay — mbmon com­piled fine, the x exten­sion didn’t… not that it mat­ters, because for my pur­poses I only want the CLI ver­sion)… except it’ll fail except when run as root.  It’s a doc­u­mented prob­lem, although the only ref­er­ence to it was in rela­tion to *BSD sys­tems, and the fix refers to some kernel-related file which appar­ently doesn’t exist.

So I gave up on that… it was prob­a­bly a sur­mount­able prob­lem, but still, other peo­ples code scares me off.  Mov­ing on to the next (non-BSD-only) option!

LM Sen­sors… hey, that’s okay.  Relies on ker­nel hooks, which prior to 2.6 ker­nels involved rolling your own with an i2c exten­sion com­piled in.  I am, for the first time, as great­ful as I should be for SuSE’s lean towards the cutting-edge!  Hmm.  That said, LM Sen­sors appar­ently won’t com­pile with­out ker­nel source.

So.  I want to install a 780KB app, and wind up down­load­ing ~700MB of stuff!  Hmm.  This works, really it does.  Ker­nel sources are only ~180MB (at least, the SuSE respir­i­tory RPM’s are that big… last time I checked the size of the ker­nel (admit­tedly, that was back when 2.4 was the new thing), it was about 60MB!), but I got dis­tracted in package-selection, and saw that a newer ver­sion of Opera was avail­able, so I grabbed that.

Appar­ently the old ver­sion of Opera had no prob­lems at all with­out a cer­tain depen­dency, but this lat­est one requires Eclipse… a ~170MB Java library thingo.  At least, I think that’s what it was… OSS is way too trust­ing with depen­den­cies!  Hehe.

So after hav­ing down­loaded all that, I’m think­ing the com­pile still isn’t going to work!  Doh!

Ah well.  php­Sys­Info is still cool ;)

# by Josh on July 16th, 2004 Tags: , , , , ,
| No Comments »

Calm is good

Ahh­h­h­h­h­h­h­hhh.  The bliss­ful sound of Apache work­ing.  Don’t say any­thing.  That’s right, it’s SILENT!  Admit­tedly, it made no noise before, but hey… all is good!  IT WORKS!!!

The prob­lem?  Yeah, it was yet another PEBKAC error… that said, I’m still a lit­tle peeved at SuSE — the rea­son I screwed up was sim­ply because I mis­esd a very sim­ple detail amongst all the Include’ings of other files… by default, their httpd.conf denies access to the entire filesys­tem.  Won­der­ful!  Any­way.  It’s work­ing now, so I’m happy :)

Only one thing left to setup, and that’s Samba and my won­der­ful WORKING HP printer!  Yay!  You have no idea how sexy a test page can look until you strug­gle with a printer for a few hours… a few re-compilations later and all was good.  Shar­ing is car­ing, though, and appar­ently that is also going to chew my time.

Before I sit down and hack at that one, though, I think I’ll kick back to some ran­dom inter­face tweak­ing, sim­ply because I can, and it’s some­thing which is relax­ing — yes, relax­ing!  Hehehehehe.

I’m a geek, watcha going to do about it?

# by Josh on July 13th, 2004 Tags:
| No Comments »

SuSE and Apache weirdness…

I’m in one of those really frus­trated geek moods, so if you don’t understand/enjoy these rants, skip read­ing this post.

ARGGGGGGGGGGGGGGGGGGGGGHHHHHHHHHH!!!qvaorentfq34iogfaenrgnoaerg~!!!!!

WHY CAN’T SUSE JUST BE NORMAL?! I mean, I know it’s Ger­man and all that, but still!  HISSSSSSSS!!!!  You know what?  Tech­ni­cally, the way it’s setup the whole Apache con­fig­u­ra­tion thing is prob­a­bly FAR bet­ter than any­thing else I’ve ever seen!  No, more than that… it IS bet­ter setup.  It is struc­tured VERY nicely, and, despite the lack of YaST con­fig­u­ra­tion options (who needs GUI’s any­way?), very easy to use.  Except for some bloody impos­si­ble issue it seems to have with access­ing files!

So, set­ting up a vir­tu­al­host has never been so sim­ple and quick and… yeah, just gen­er­ally nice.  Admit­tedly, I think it still needs a restart, but hey, what’s new?

All is good.  Until, of course, you try and point the Doc­u­men­t­Root to some­where vaguely use­ful.  In my case, some­where inside my home user direc­tory (/home/josh) — I have a devel­op­ment folder setup, which I pre­vi­ously had an IP-based vhost setup to point to for all local devel­op­ment and test­ing (/home/josh/MyDocs/webdevelopment — /home/josh/public_html also sym­links there).  This is where it all starts to become some­what flaky.

By default (yeah, who­ever built the RPM was a bit of an odd one…), mod_userdir is ENABLED… not for vhost­ing or any­thing spe­cial, just acces­si­ble via http://servername/~*/ — and that will point to /home/*/public_html where * is the user­name.  Okay.  So, I’ve gen­er­ally got about three accounts setup on my desk­top.  Root, which is never logged into (although su’d into often enough that per­haps I should actu­ally login prop­erly…), my user account, for every­thing under the sun, the home direc­tory of which resides on a sep­a­rate phys­i­cal vol­ume (40GB ext3), and a (pass­word­less) guest account for use of mis­cel­la­neous oth­ers.  No, I’m not too wor­ried about leet hax0rs read­ing this and com­pro­mis­ing my b0xen… sit­ting com­fort­ably behind another IP fil­ter­ing bun­dle of joy, and I’m not too scared of the other machines on my own net­work, at least, not most days of the week.

So.  The guest user works inter­est­ingly.  /home/guest/public_html cor­re­sponds to http://localhost/~guest/, which suc­cess­fully pro­duces a direc­tory list­ing (albeit one with­out any actual files — the direc­tory is cur­rently empty).  Try the same with MY account, and all I get is a schnazzy 403 for­bid­den page.

That is, of course, when I have the sym­link to my devel­op­ment folder there.  Were I to sim­ply have a folder there, all works per­fectly.  So why don’t I just be a big boy, get over it, and move the devel­op­ment folder?  Hmm.  Well, there’s about 1.5GB of data in there (1,585,358,110 bytes, to be exact), and cer­tain edit­ing appli­ca­tions would prob­a­bly try to hang me out on a tree if I just moved it with­out inform­ing them.  And I could inform them, but it’d take time.

Oh, yeah, and it’s like admit­ting defeat.  Yeah, it’s a com­puter, but I can be more stub­born, so there!

Hmm.  So it’s look­ing like it has some kind of ran­dom oppo­si­tion to sym­links, as of right now… but that shouldn’t be a prob­lem!  Grrrr!

Per­son­ally, I’m sus­pi­cious of all this wizard-driven crap SuSE is try­ing to pull… there is an extent to which I’d like to be able to do things for myself, with­out hav­ing to give the prover­bial fin­ger to a bunch of auto­mated mech­a­nisms which attempt to do it for me and fail mis­er­ably.  Case in point, the YaST printer setup tool and ptal/hpoj configuration.

Hmm.  If any­one has any ideas, feel free to throw them this way… I know what the REAL solu­tion is, but I don’t par­tic­u­larly want to setup another com­puter just for the pur­pose of web-serving, because that would involve buy­ing another hard-drive with money I don’t have.

</rant>