**** BEGIN LOGGING AT Fri Mar 03 10:59:57 2006 Mar 03 14:20:35 hi can anyone tell me how i can tell syslog to put cron.info outputs to /dev/NULL?? Mar 03 14:28:53 syslog-ng? Mar 03 16:35:53 hi anyone here? Mar 03 16:36:16 i need help with my syslog? Mar 03 16:41:01 hi. have you looked at a syslog-ng.conf example file? Mar 03 16:43:42 it's pretty straight forward... i haven't done what you are asking, but if you either change the file destination, or update the file for cron, you should be golden. Mar 03 16:45:33 yes but my problem is that i am not running syslog-ng i am running syslog? Mar 03 16:48:25 yeah, i see that... where does syslog come from? I'm looking... Mar 03 16:48:38 busybox, probably Mar 03 16:49:55 yep. Mar 03 16:51:05 on my slug, syslog-ng actually uses less memory... Mar 03 16:51:42 Are you sure about that? busybox syslog probably shares memory with sh Mar 03 16:51:45 (and init) Mar 03 16:52:15 can i change syslog so that the cron.info posting go away? Mar 03 16:53:08 i don't know busybox syslog... sorry Mar 03 16:53:33 and you NAIL? Mar 03 16:53:44 can i change from syslog to syslog-ng? Mar 03 16:54:20 No idea Mar 03 16:54:41 I don't think there are ways to specify "facility" in busybox syslog Mar 03 16:55:03 i'm looking at the source - it's only 700+ lines... Mar 03 16:58:23 installing syslog-ng might be a solution ;) Mar 03 17:00:23 i am testing it Mar 03 18:01:31 hi noch jemand da? Mar 03 18:01:40 habe das syslog problem gelöst Mar 03 18:05:45 sorry anyone still there? Mar 03 18:05:55 i have solved the syslog problem Mar 03 18:06:12 but got now a question for the HDD LEd? Mar 03 18:07:34 ok? Mar 03 18:07:44 they are not blinking? Mar 03 18:08:02 well, what openslug are you running? Mar 03 18:08:08 2.7 Mar 03 18:08:45 Hmm Mar 03 18:08:50 Can't remember how that worked anymore Mar 03 18:08:56 self compiled Mar 03 18:08:57 there's been a few changes to the leds since that time Mar 03 18:10:09 mhh how can i fix this? Mar 03 18:10:32 There's is a leds-binary available, isn't there? Mar 03 18:10:40 I don't have a slug nearby atm Mar 03 18:13:54 ohh i will look Mar 03 18:14:21 the leds won't flash like they do on unslung Mar 03 18:14:24 (I think) Mar 03 18:22:06 okay i will try Mar 03 18:22:08 thanks Mar 03 18:24:34 hmm Mar 03 18:24:52 There's 7 wireless APs I can access from where I sit... fun :-) Mar 03 18:51:45 OT: what's the proper way in a linux userspace program to define a timer (ms) and wait for it to timeout? Mar 03 18:52:27 kind of msleep? Mar 03 18:54:33 well, that's what I'm currently using but I want to be able to have my program loop run at a precise time. Mar 03 18:55:10 As in: { start timer; do some work (that varies in lenght); wait for timer to timeout } Mar 03 18:55:30 This way it's consistent time-wise as opposed to my current use of msleep Mar 03 18:56:20 I'm currently using usleep(45000L); Mar 03 18:56:36 aha Mar 03 18:56:59 This is for my main program loop that has to poll sensors at a precise time. Mar 03 18:57:42 * philpem is reinstalling opendebianslug... Mar 03 18:58:01 i have had enough of busybox to last a lifetime... Mar 03 18:58:48 heh Mar 03 19:39:09 philpem: let me ask a stupid question: if the text of libraries is shared, how does busybox save on memory? Mar 03 19:40:21 kami22: did syslog-ng work out for you? Mar 03 20:00:12 HopsNBarley: Because busybox is a single program and therefore shares much more code than just what exists in the libraries. Mar 03 20:08:28 like getopt parsing? I was just asked this, and didn't have a good answer... guess I'll read the source (-; Mar 03 20:14:37 Everything, really! All text segments can be shared with busybox. This is a big advantage in "the real world" where even two very similar programs might have much very similar code that's private in each executables text segment. The nature of busybox is such that anything that can be shared is, without requiring it to be placed in a shared library. (I hope that made some sense!) Mar 03 22:21:40 ok, maybe debian isn't as bad as i thought.. :) Mar 03 22:22:21 debianslug's eciadsl package is bugged to hell, but it can be made to work pretty well... (see http://eciadsl.flashtux.org/doc/eciadsl_hotplug_en.html) Mar 03 22:22:53 I just committed eciadsl to 2.7-beta Mar 03 22:27:26 thanks Mar 03 22:27:48 committing to 3.6-beta right now Mar 03 22:28:07 it probably needs a few dependencies adding to it.. it doesn't like busybox's grep for some reason. Mar 03 22:28:46 the workaround is "ipkg install grep" :) Mar 03 22:29:07 ok, so I should just add RDEPENDS grep then ;) Mar 03 22:29:15 yup Mar 03 22:29:56 i'm using a full-blown debian install anyway. got sick of busybox breaking stuff :) Mar 03 22:30:28 ok, updated RDEPENDS too Mar 03 22:30:52 spent two hours trying to figure out why postfix was silently dropping my mail into a black hole. gave up, installed debian and it just works :) Mar 03 22:31:02 hehe Mar 03 22:31:03 yeah Mar 03 22:31:10 I'm running debian on one of my slugs too Mar 03 22:31:35 openslug is nice if you're only using the slug as a server, but if you want to use it as an eci router, debian is a necessity. Mar 03 22:32:29 There's a few annoyances with debian on the slug though Mar 03 22:32:37 like? Mar 03 22:33:02 the slug doesn't have a FPU, and debian is compiled without softfloat support. So all FP is handled by the in-kernel FP emu, which is a really slow solution Mar 03 22:33:33 that's ok, i don't think i'll be playing mp3s on it. i've got Cheetah (the athlon64 box) to do that :) Mar 03 22:33:41 hehe Mar 03 22:33:57 as long as it can pump data to my FDX310 fast enough to keep the adsl connection up, i'll be happy. Mar 03 22:35:01 i'm actually getting better pings through the nslu2, which is exactly the opposite of what i expected. i've gone from a 400MHz k6-based router to a 266MHz ARM-based router and it doesn't feel any slower. bet it'll crawl when i install spamassassin though :) Mar 03 22:35:23 ouch, yes Mar 03 22:35:27 spamassassin is heavy Mar 03 22:35:52 i noticed it took about 3 seconds per email on the k6, and its false-positive rate was a little mad. Mar 03 22:41:22 hey, what's the relationship between the PACKAGE var and the various do_install_append_splat routines. I thought i understood this, but then base-files throws me a curve by using do_install_append_something thats not listed in PACKAGES. Mar 03 22:48:01 today's lesson: if postfix throws up "unknown error" messages when you run newaliases, check that your swap partition is mounted... Mar 03 23:02:09 NAiL: see you checked in r59 of zd1211. it's not working on my trendnet 429UB. i "see" packets coming in via ifconfig, but it never answers a ping. Mar 03 23:02:40 Could you ask on the zd1211-devs mailinglist? Mar 03 23:03:02 sure. that was just FYI - not asking you to debug it for me (-; Mar 03 23:03:27 Tell me if you get it working ;) Mar 03 23:04:30 sure. i might try r52 just for fun. Mar 03 23:04:56 any idea on my PACKAGES question? Mar 03 23:05:13 not quite Mar 03 23:05:38 thanks anyway. figuring the guts of this out is pretty hard work! Mar 03 23:05:54 Yeah, there's unfortunately not very much documentation Mar 03 23:09:37 with python and all the examples, it's "nearly" self documenting. that and nice folks here. Mar 03 23:09:46 yeah Mar 03 23:10:35 I don't think it took long from I started to work on OE until I was openslug package manager :-P Mar 03 23:10:49 'twas a steep learning curve though ;) Mar 03 23:11:00 how long? Mar 03 23:11:24 I think it was in the order of a couple of weeks Mar 03 23:13:29 i'm two weeks in... Mar 03 23:14:14 if it's not too long of an answer, what does 'inherit autotools' do for you? looks like it overrides oe_runconf, among others... Mar 03 23:15:23 ok, i made a real mess of the postfix install... now when i do an 'apt-get install postfix' none of the /etc/postfix files get installed... Mar 03 23:15:33 hmm Mar 03 23:15:47 which is a bit of a problem because postfix puts two shell scripts in there and it won't start without them. Mar 03 23:16:23 are you back on openslug, or are you doing debian still? :) Mar 03 23:16:26 debian Mar 03 23:18:21 it seems to be getting the configuration i gave debconf from somewhere, then reusing it. i guess its assuming that since it's already been configured (as far as its concerned), i don't want /etc/postfix clobbering.. Mar 03 23:20:46 ugh, confusion... night all. Mar 03 23:25:40 "apt-get remove --purge postfix" worked nicely :) Mar 04 00:20:01 ls Mar 04 05:30:34 i have this problem i'm not sure how to fix Mar 04 05:31:25 in order for my bluetooth dongle to work, i have to unplug it from the slug then plug it back in Mar 04 05:31:32 it won't pick it up right off boot Mar 04 05:37:48 doh. hci_usb isn't loading on boot Mar 04 05:37:55 fixed Mar 04 07:50:49 Hey guys! Mar 04 07:51:24 Can I upgrade the kernel on my slug like this: dd if=zImage.ok of=/dev/mtdblock2 ? Mar 04 10:48:28 well this is interesting. i can consistently crash my slug by running 'bogoutil -p /var/spool/bogofilter/wordlist.db .MSG_COUNT'. **** ENDING LOGGING AT Sat Mar 04 10:59:57 2006