hanging out in ##woodchucks, rob0 makes a comment that he’s: “editing apcupsd stuff. I cannot let it power off the machine in a shutdown. I made a special runlevel 2 which is like 1, but has network and sshd and syslogd”. this is a classic example of something that makes me go.. “huhhhh?” so i go looking things up to try to understand.
[And usually, i enter what i'm beginning to call "Acronym hell" (like dependency hell, but with acronyms). take the apcupsd. I put it into google, and i get the website for it straight away, which is good, but its not terribly informative to someone who is very new to stuff. "Apcupsd can be used for power mangement and controlling most of APC's UPS models on Unix and Windows machines. Apcupsd works with most of APC's Smart-UPS models as well as most simple signalling models such a Back-UPS, and BackUPS-Office." uhhhhh... huh? and no links as to what most of this means. so i go to wikipedia. which is better, in that i can follow links where i don't understand.]
Anyway. apcupsd is a program, a daemon (a background process program) that works with APC (a company) uninterruptible power supplies (which is the thing that saves your computer going up in smoke when there’s a power spike or cut).
runlevel is the thing that describes where the computer is in any stage.. so when you’ve just turned your computer on, its in one run level, when its in the XWindows its in another. Slackware has six levels. level 1 is single, level 2 is full multi-user with no display manager. (whatever that is). ahah… just spotted on the wikipedia page: “Lower run levels are useful for maintenance or emergency repairs, since they usually don’t offer any network services at all.”.. so.. maybe what rob means is he’s making a special thing that runs the computer at the minimum level possible, that keeps the stuff he needs running, running, in the event of a powercut, so that the UPS keeps the machine running for as long as possible before that runs out too.
[and yes, I'm well aware it would be far easier to actually ask rob what he meant by it all but that's missing the point: by doing this and going and looking stuff up i'm learning. and i probably will ask him at some point cos he's got no idea i'm doing this right now.]
sshd = secure shell. i guess so he can run some command stuff. that would be pretty necessary i guess. syslog.. hm. ahhh ok i think i see why this is necessary, so it can record what was going on with the computer so if there’s a problem, rob can see what it is. that makes sense too.
so i get it. i think. i’ll ask him later if i was right.. i think he’s a bit busy atm.. !!
Posted by kethry
Posted by kethry
Posted by kethry