**** BEGIN LOGGING AT Tue Mar 31 02:59:57 2009 Mar 31 05:02:22 * Bartman007 chanserv deop #openwrt-devel Mar 31 05:02:33 * Bartman007 chanserv deop #openwrt-devel Mar 31 05:02:43 * Bartman007 chanserv deop #openwrt-devel Bartman007 Mar 31 05:02:57 did you mean /msg ? Mar 31 05:03:32 nope Mar 31 05:11:00 not quite sure how I could mistakenly op myself then type /topic either :) Mar 31 05:23:15 :) Mar 31 05:23:59 hey Bartman007, I still think that apache patch of mine is the right way to go - any chance of getting it applied? Mar 31 05:25:27 frogonwheels: aw crap, another thing that fell through the cracks Mar 31 05:25:56 oh - and I've put my zoneinfo module into the luci development svn Mar 31 05:26:04 - it's kinda useful for asterisk Mar 31 06:59:00 phaidros: ping Mar 31 11:58:22 i am trying to debug an issue with build. Apparently, when i run mipsel-openwrt-linux-uclibc-g++ -lcurl .... , implicit dependencies from libcurl are not loaded(like libssl etc)., if i pass explicitly -lssl, the compilation gets through, any idea how to fix this without explicitly passing the dependent shared library list? Mar 31 11:58:40 here is o/p: http://pastebin.com/m2712e10b Mar 31 13:02:39 <[g2]> Kaloz, and all congrats on the "Gateworks" win ! :) Mar 31 13:12:55 [g2]: ? :) Mar 31 14:11:02 <[g2]> Kaloz: I saw that Gateworks is shipping OpenWrt as the default BSP now :) Mar 31 14:11:11 <[g2]> for newer product Mar 31 14:11:56 * [g2] knows that didn't happen by itself :) Mar 31 14:43:04 <[g2]> bbl Mar 31 18:36:49 OH GOD WHY IS SHIT STILL DOWN Mar 31 18:38:55 * Kaloz slaps Weedy Mar 31 18:51:07 What packages should I use for 7.09, it's the latest supported by my target :( Mar 31 18:51:13 er, package source Mar 31 18:52:48 i don't remember dropping support for any targets.. Mar 31 18:52:58 nvm Mar 31 18:52:58 http://downloads.openwrt.org/kamikaze/7.09/packages/mipsel/ Mar 31 18:53:04 the 7.09 doesn't ship with that link right Mar 31 18:53:12 Kaloz: The wifi on bcm4710 Mar 31 18:53:17 bcm4306 Mar 31 18:54:00 i see Mar 31 18:56:30 I tried packing the 7.09 kernel + modules (notable broadcom-wl*) with 8.09, but it wasn't trivial so I stopped Mar 31 19:20:01 * Weedy throws dongs at Kaloz Mar 31 19:22:08 Can I reset the asus wl500gp somehow with the reset pin on the serial socket? Mar 31 19:26:00 Weedy: why? Mar 31 20:04:20 i miss trac Mar 31 20:06:13 trac is working for me Mar 31 23:31:35 Bartman007: Known when svn over https will be back up? Mar 31 23:31:41 s/Known/Know/ Mar 31 23:46:16 as svn-serve can now handle ACLs I don't think we plan to implement svn over webdav (https) on the new server. this way we can ditch apache completely Mar 31 23:46:47 very cool Mar 31 23:47:08 Maybe I'll document the "svn switch" command somewhere for migration Mar 31 23:47:24 (unless someone has already done so) Mar 31 23:49:26 I don't know if there is much to document, but I'm trying it right now for my (only) svn checkout Mar 31 23:50:07 git-svn makes things more interesting because of how it works, and behavior varies depending on the version of git Mar 31 23:52:52 To switch from https:// to svn:// I used Mar 31 23:52:54 svn switch --relocate {svn,https}`svn info | grep URL | awk '{ print $2 }' | sed 's/https//'` Mar 31 23:52:56 in the root dir Mar 31 23:53:30 ^^ unix numchucks Mar 31 23:56:18 switch --relocate {https,svn}`svn info | grep URL | awk '{ print $2 }' | sed 's/https//'` Mar 31 23:56:19 :) Mar 31 23:56:40 uh oh... now you've done it. Mar 31 23:56:51 I have to make it better Mar 31 23:56:56 I'm only white belt :P Mar 31 23:56:58 *a Apr 01 00:02:01 svn switch --relocate {https,svn}$(svn info | awk '/URL/ { sub(/https/,"",$2) ; print $2}') Apr 01 00:02:15 if you can do it with grep or sed, you can probably do it with awk :) Apr 01 00:03:10 I find awk a little to awkward :P Apr 01 00:03:17 s/to/too/ Apr 01 00:06:56 it certainly can be, but for some weird reason I enjoy reducing the number of processes spawned in repetitve tasks Apr 01 00:10:12 Because you've worked with embedded systems longer than I :P Apr 01 00:21:09 Bartman007: try this one then Apr 01 00:21:24 tail -n5000 /var/log/apache2/error_log| awk '/Rejecting\ client\ at/ {print $12}' | sed s/.$//| sort | uniq -c |sort -n |tail Apr 01 00:26:40 Weedy: done: rm -rf /var/log/apache2 Apr 01 00:26:49 :3 Apr 01 00:27:33 it's possible, I'm not going to waste my time doing it Apr 01 00:28:30 in the case of something involving sort I expect the unix tools will be massively faster than awk. Apr 01 00:29:44 awk is slower than the standard unix tools, so it's typically only productive to rewrite things in awk if the "awk overhead" of processing the data is less than the time required to spawn the additional processes. Apr 01 00:30:10 but you could at least cut out the single sed process :) Apr 01 00:31:30 i know there should be a better way of printing only the IP Apr 01 00:31:38 but i couldn't figure it out Apr 01 00:31:43 so i was like fuck it Apr 01 00:33:53 My favourite way to list ethernet interfaces on a *nix box with gcc Apr 01 00:33:55 (and headers) Apr 01 00:34:05 a=~/.lsif;b='#include ';c=if_nameindex;echo -e "$b\n$b\nmain(){int a;struct $c*b=$c();for(a=0;b[a].if_index!=0;a++)printf(\"%s\\\n\",b[a].if_name);}"|gcc -xc -o$a -;$a;rm $a Apr 01 00:34:25 nasty, eh? Apr 01 00:39:18 ........ Apr 01 00:39:24 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF WHY Apr 01 00:40:20 mostly for that reaction ^^ Apr 01 00:46:11 ;) Apr 01 00:49:12 kupesoft: here's a fun little toy Apr 01 00:49:15 echo "int getuid() { return 0; }; int getgid() { return 0; }; int geteuid() { return 0; }; int getegid() { return 0; }" > x.c; gcc -shared x.c -o x.so; export LD_PRELOAD=$PWD/x.so; sh Apr 01 00:50:25 you'll probably have to add -fPIC to the gcc bit on most modern distros to make it work, and it still yells at me (on lenny) Apr 01 00:50:54 but once it spawns the shell, try running any command to query what user you are :) Apr 01 00:51:03 Why install fakeroot ? Apr 01 00:51:05 :P Apr 01 00:52:32 Bartman007: still awake or already awake ? Apr 01 00:53:02 blogic: already awake **** ENDING LOGGING AT Wed Apr 01 02:59:57 2009