**** BEGIN LOGGING AT Fri Dec 12 02:59:57 2008 Dec 12 06:33:55 2 webcam connect together would explodes the FON???????? Dec 12 06:34:18 does it mean physically explodes? or the firmware? Dec 12 06:35:22 physically Dec 12 06:35:39 or it eats ur refrigerator empty Dec 12 06:35:50 ;) Dec 12 06:36:33 i dun understand Dec 12 06:36:44 what do u mean eats ur refrigerator empty? Dec 12 06:37:12 all your food will be lost Dec 12 06:38:24 still dun understand. sorry. Dec 12 06:39:41 fon__: they rae joking Dec 12 06:39:43 are Dec 12 06:40:02 o......... thx Dec 12 06:40:05 that's scare Dec 12 06:40:20 if you connect 2 webcams nothing happens :) no boooom and all your food stays at the refrigrator :) Dec 12 06:40:39 so.... what would really happen if i connect two webcam ? only one webcam can be seen? Dec 12 06:41:10 yes only one cam (i think the frist connected) can be seen Dec 12 06:41:38 o....ic. thanks Dec 12 06:42:06 btw, any idea when will be rc2 or any plugin out? Dec 12 06:42:42 dont know sry Dec 12 06:43:32 no worry, but thx anyway Dec 12 07:03:33 if anyone know how can i manual add localuser to fon2.0? Dec 12 09:18:09 fon__: localusers can be added from fon.com now Dec 12 09:18:52 cool, so has not been cancelled. Dec 12 09:22:41 well Dec 12 09:22:46 it might be cancelled later Dec 12 09:22:50 but it works now, imho Dec 12 09:23:06 try it and let me know if it works, please Dec 12 09:23:16 doing it now Dec 12 09:24:20 when it say, 2 mins, does it really meant 2 mins or longer? Dec 12 09:24:45 2mins or shorter Dec 12 09:24:53 the fonera 2.0 checks the commands every minute Dec 12 09:25:11 so, maximum wait time is 59sec+processing time Dec 12 09:27:29 would it be longer if i'm using "repeater" mode? Dec 12 09:38:51 hmmm Dec 12 09:38:55 I don't think so Dec 12 09:47:36 yes, it works Dec 12 09:49:13 but i also find something strange behavior of it. Dec 12 09:50:51 what? Dec 12 09:51:23 i was using repeater mode. and i change it back to dhcp, it does not getting IP from router. Dec 12 09:51:29 which i need to reboot. Dec 12 09:52:18 and after i reboot, it get a IP and able to go on internet, but i can't see both private and public network ssid until i change the name of the ssid Dec 12 09:56:21 also, the mobile login page does not work with the friends and family account. Dec 12 10:06:02 hmm Dec 12 10:06:08 the problem with the signals is known Dec 12 10:06:39 when you change the something on the webpage, fon.com, sometimes, when applying the commands, the fonera breaks the wifi and needs reboot Dec 12 10:06:42 :( Dec 12 10:07:56 will that be fix in rc2? Dec 12 10:08:40 hmmm Dec 12 10:08:48 we're working on it, it's not trivial Dec 12 10:08:57 but well,it's not critical either Dec 12 10:09:28 as long as its clearly say in wiki, its cool Dec 12 10:12:23 btw, when will the rc2 and first plug-in out? Dec 12 10:12:41 don't know yet Dec 12 10:15:20 morning Dec 12 10:26:10 hi Dec 12 10:26:34 rwhitby: http://ipkg.nslu2-linux.org/feeds/openwrt/fon-ng/mips/ Dec 12 10:26:45 that's allopenwrt packages compiled for F2? Dec 12 10:26:58 all that build, yes. Dec 12 10:28:18 good Dec 12 10:28:22 how many failed? Dec 12 11:30:42 morning Dec 12 11:31:13 hey Dec 12 11:33:05 wazzup Dec 12 11:33:10 muhahahaha Dec 12 11:33:17 i actually slept 12 hours last night Dec 12 11:33:21 \o/ Dec 12 11:33:35 * blogic does not feel tired, which is starnge Dec 12 11:33:47 I slept only 2 :( Dec 12 11:34:24 and i have no interesting mails Dec 12 11:34:27 nice :) Dec 12 11:34:35 i like not reading mails in the morning Dec 12 11:34:55 reading is okay, answering is annoying :P Dec 12 11:35:59 lol Dec 12 11:36:02 hey theres nothing better than reading flamewars on mailinglist with a good coffee Dec 12 11:36:08 haha Dec 12 11:41:52 hahaha Dec 12 12:02:39 hi all! Dec 12 12:02:56 xMf1, from which freifunk city are you? Dec 12 12:14:12 hi blogic Dec 12 12:14:14 hi inouk Dec 12 12:14:38 hello :) Dec 12 12:17:53 inouk: i think he is located in berlin Dec 12 12:18:20 inouk: halle Dec 12 12:18:24 i think Dec 12 12:26:22 myby $§"%&T$§%&Z$§/%"$&"$§&!!! Dec 12 15:15:13 hi there Dec 12 15:30:39 lo Dec 12 15:51:46 lalala :) Dec 12 15:58:27 ppl in span drink mulled wine? Dec 12 16:04:07 dunno Dec 12 16:04:09 I'm drunk Dec 12 16:04:16 * iurgi is drunk Dec 12 16:04:31 I'm leaving the office, it's the best thing I can do for fon right now Dec 12 16:05:34 ;) Dec 12 16:05:48 :-P Dec 12 16:12:28 hrhrhr Dec 12 16:20:07 someone know the function writefile in luci.fs ? Dec 12 16:20:35 do you know if with writefile i can write multiline data in a file ? Dec 12 16:20:58 it just writes a string into a file Dec 12 16:21:16 a string in lua can contain any characters (also NULL-Bytes) Dec 12 16:21:49 if a want to create with lua a uci file, how can i do that ? Dec 12 16:22:16 atm you cannot create new uci files, you can only write to existing uci files Dec 12 16:22:23 (with the uci API) Dec 12 16:23:20 ok.. for the moment no way Dec 12 16:24:10 but the uci file is a file like other Dec 12 16:24:12 you could do something hackish like: io.open("/etc/config/foobar", "w"):close() this would create an empty textfile "foobar" and then use the UCI api to write to it Dec 12 16:24:29 oh yes Dec 12 16:24:33 good idea Dec 12 16:25:40 doesn't it at least need a package statement? Dec 12 16:25:49 nope Dec 12 16:25:55 or i can do a os.execute to create file with touch Dec 12 16:26:01 with the best method ? Dec 12 16:26:06 io.open Dec 12 16:26:30 os.execute is yet another fork, subshell and extra process that can be avoided Dec 12 16:26:33 you could do a touch but with os.execute you would do a fork and spawn a shell and then a new touch-process which has 100 times the overhead of io.open Dec 12 16:26:48 * CyrusFF is too slow Dec 12 16:27:02 i don't find io.open in the documentation : http://dev.luci.freifunk-halle.net/luci-doc/index.html Dec 12 16:27:11 its a lua core function Dec 12 16:27:19 ok Dec 12 16:27:24 thanks Dec 12 16:27:34 http://lua-users.org/wiki/IoLibraryTutorial Dec 12 16:27:39 www.lua.org/manual/5.1/ www.lua.org/pil Dec 12 16:28:17 thanks Dec 12 16:28:51 with all the links i've collected, i think now i've all the documetation available on the web :) Dec 12 16:32:27 :D Dec 12 17:04:27 hello everyone Dec 12 17:04:41 just successfully installed Alfred .-) Dec 12 17:04:55 great Dec 12 17:05:31 jus wondered why the ddns service is not included in Alffred? Dec 12 17:06:15 FON don't compil firmware with this but you can add manually Dec 12 17:06:39 ddns will come as a plugin very soon Dec 12 17:06:58 is it not available today yet ? Dec 12 17:07:09 no Dec 12 17:07:25 is there a place where the plugins can be downloaded ? Dec 12 17:08:45 the plugin isn't publish actually Dec 12 17:09:06 are there others available today like torrents etc ? Dec 12 17:09:25 no plugin available for the moment Dec 12 17:11:14 ok so we just have to wait :_) Dec 12 17:15:44 so what is this helo world think about ? Dec 12 17:15:48 Hello World * cd FON/fon-ng/trunk/luci/applications * ls -lrt o you will see many examples like luci-ddns, luci-azareus, luci-openvpn, luci-youtube, ... * mkdir luci-hello * cd luci-hello * cp -r ../luci-ddns/* . * cd luasrc * cd controller * rm ddns.lua * vi hello.lua Dec 12 17:17:54 where do you have read this ? Dec 12 17:33:26 -- MARK -- Dec 12 17:42:52 on the wiki under Hello World ... Dec 12 17:54:21 it's a new page no ? Dec 12 18:23:59 someone know good the logical operator in lua ? Dec 12 18:24:08 i've a little question Dec 12 18:24:57 just ask Dec 12 18:25:40 if i do this : return (plugins[a].order or 100) < (plugins[b].order or 100) Dec 12 18:26:00 if the pligin[a].order don't exist this is equal to "nil" no ? Dec 12 18:26:13 but with the or, this equal to 100 no ? Dec 12 18:26:15 it is nil then Dec 12 18:26:20 yes Dec 12 18:26:27 nil or 100 Dec 12 18:26:30 -> 100 Dec 12 18:27:33 yes..if plugin[a] don't exist and plugin[b] = 999, this do 100 < 999 no ? Dec 12 18:27:45 exactly Dec 12 18:28:04 but i've make a test who don't work with this Dec 12 18:28:14 it's do nil < 999 and i've a error Dec 12 18:28:26 the error is on this file : http://trac.fonosfera.org/fon-ng/browser/trunk/luci/modules/admin-fon/luasrc/controller/fon_admin/fon_index.lua?rev=4 Dec 12 18:29:32 i've this error : attempt to compare string with number Dec 12 18:29:44 compare nil with 999 Dec 12 18:30:00 but it's not normal that nil is, it should be 100 Dec 12 18:30:08 do you have a idea ? Dec 12 18:30:24 which file which line? Dec 12 18:30:49 fon_index.lua - line 56 Dec 12 18:31:31 if i add the order in the uci order, this work Dec 12 18:31:49 but for me the code is ok Dec 12 18:32:07 what do you mean by " if i add the order in the uci order, this work"? Dec 12 18:32:42 SoukoussMan: can you post the code to trigger the error in pastebin? Dec 12 18:32:47 in the uci section, i add a option order, i don't have the error Dec 12 18:33:16 plugfons.foo.order is missing --> error Dec 12 18:33:36 you have find the error blogic ? Dec 12 18:33:46 not yet Dec 12 18:33:49 but this is the cause Dec 12 18:33:54 yes of course Dec 12 18:33:55 and i will leave now, sorry Dec 12 18:34:01 no problem Dec 12 18:34:04 i like search Dec 12 18:34:10 but for me the code is ok Dec 12 18:34:14 I think there's an empty string returned again Dec 12 18:34:39 ah Dec 12 18:34:39 '' or 100 is '', not 100 in Lua Dec 12 18:35:16 but the order option in the section don"'t exist if don't exist = nil no ? Dec 12 18:35:35 there's a subtile difference between non-existing and empty options Dec 12 18:36:07 what's the return on a non-existing option request ? Dec 12 18:36:14 maybe some place in the code does something like get('foo') or '' Dec 12 18:36:25 SoukoussMan: nil Dec 12 18:36:38 and nil or 100 => 100 Dec 12 18:37:00 ahh! Dec 12 18:37:06 okay Dec 12 18:37:14 the stuff is pulled straight out of uci Dec 12 18:37:21 propably never casted as integer Dec 12 18:37:31 so in reality there are always strings comapred Dec 12 18:37:51 if the options is really undefined, then it gets substituted by a number Dec 12 18:38:11 like a return code ? Dec 12 18:38:13 which will be then compared against another existing option witch is a string Dec 12 18:39:15 SoukoussMan: I belive the code must be Dec 12 18:39:15 return (plugins[a].order or "100") < (plugins[b].order or "100") Dec 12 18:39:15 - or - Dec 12 18:39:15 return (tonumber(plugins[a].order) or 100) < (tonumber(plugins[b].order) or 100) Dec 12 18:39:40 yep Dec 12 18:40:20 i test the two solution Dec 12 18:40:36 /quit Dec 12 18:41:50 bah you know what I think of typecasting :-P Dec 12 18:42:36 yeah Dec 12 18:43:10 the first solution work Dec 12 18:44:25 plugin.order return 1 of the uci entry don't exist ? Dec 12 18:44:36 uci option * Dec 12 18:44:57 local plugins = uci:get_all("plugfons") Dec 12 18:45:09 that will return an array of arrays Dec 12 18:45:18 the whole uci contents in fact Dec 12 18:45:22 yes Dec 12 18:45:31 uci contents are always returned as string or nil Dec 12 18:45:37 but never as number Dec 12 18:46:02 if you want to use a uci option as number (like in comparisations) you have to cast it first Dec 12 18:46:06 if the content is 1, is already the string one and not the number Dec 12 18:46:13 yes Dec 12 18:46:20 ok 1 understand Dec 12 18:46:28 option order 1 will become "1", not 1 Dec 12 18:46:48 uci return always string... Dec 12 18:46:56 i've learn this today Dec 12 18:46:58 yep Dec 12 18:46:58 thanks Dec 12 18:47:16 can sb. with commit rights fix that? Dec 12 18:48:36 not me...but i don't think this resolv all. With this, all plugin have order 100 and appear in the dashboard Dec 12 18:48:46 i think this is a error Dec 12 18:49:23 did you tried the second solution? Dec 12 18:49:30 i think if order is 100, this don't appear in dashboard but this is another history :) Dec 12 18:49:42 no...i test the second solution now Dec 12 18:50:11 the usual problem when comparing strings as numbers: Dec 12 18:50:12 > return "100" < "2" Dec 12 18:50:12 true Dec 12 18:50:56 in contrast to: Dec 12 18:50:56 > return 100 < 2 Dec 12 18:50:56 false Dec 12 18:52:31 i've a error with the second solution : attempt to call global 'tonumber' (a nil value) Dec 12 18:52:40 return (tonumber(plugins[a].order or 100)) < (tonumber(plugins[b].order or 100)) Dec 12 18:53:28 i've see my error Dec 12 18:53:37 you need to add this before line 21 (the module declaration): Dec 12 18:53:38 local tonumber = tonumber Dec 12 18:53:59 otherwise this functions won't be "imported" in the module namespace Dec 12 18:55:33 i've the same result (work ) but show plugin on dashboard Dec 12 18:55:45 i send a email to blogic to explain this Dec 12 18:55:49 thanks for all Dec 12 18:55:50 okay Dec 12 18:55:55 np Dec 12 18:57:14 SoukoussMan: I will take care of it Dec 12 19:10:11 CyrusFF> you modify this on the svn ? Dec 12 19:10:51 sure Dec 12 19:11:32 ok but i inform blogic about the plugin show on dashboard who is another problem..i think Dec 12 19:11:49 yup Dec 12 19:11:57 i broke it, i fix it ;-) Dec 12 19:13:11 what solution u will use to fix it ? Dec 12 19:13:20 the first or the second ? Dec 12 19:13:42 cast to integer Dec 12 19:14:58 ok cool Dec 12 20:51:34 how often is the router log renewed on the fon page? Dec 12 23:50:11 good evening Dec 12 23:51:15 can anyone tell me what luci-ddns is ? Dec 13 00:06:38 hi all Dec 13 00:06:58 still "can't load library 'libcrypto.so.0.9.8'" Dec 13 00:07:03 any one can help? Dec 13 00:27:06 hi onofff Dec 13 00:27:28 mib_byl3gy> luci-ddns is the dynamic dns package Dec 13 00:33:17 ok and can I add it to alfred ? Dec 13 00:40:53 solved my problem Dec 13 00:41:08 just install libopenssl_0.9.8h-1_mips Dec 13 00:44:43 mib_byl3gy> yes of courses..but if you wait a little, this will be include in the next release i think Dec 13 00:44:56 onofff> yes..great Dec 13 00:47:25 ok cool when do you think will the new version including ddsn be released ? Dec 13 00:48:38 need some help here... probably noob question Dec 13 00:48:56 if i want to run a script, everytime my fonera starts up Dec 13 00:49:11 how should i do? is there any startup script already? Dec 13 00:49:35 mib_byl3gy> i don't know..before the end of year ? Dec 13 00:50:31 onofff> you need to make a init script ( /etc/init.d/xyz ) Dec 13 00:50:53 humm i see Dec 13 00:51:42 onofff> look here to have more information : http://forum.openwrt.org/viewtopic.php?id=11301 Dec 13 00:51:44 all the files in the init.d folder are startup scripts already ? Dec 13 00:52:49 just got my transmission web up Dec 13 00:52:56 and running Dec 13 00:54:06 all file in /etc/init.d are execute at the start and the stop Dec 13 00:55:10 look in this directory : /etc/rc.d/ you have the boot order Dec 13 00:55:59 humm just get errors downloading from on transmission web Dec 13 00:56:07 does the original firewall blocks any torrent port? Dec 13 00:56:35 in input or output ? Dec 13 00:57:12 i think both ways... Dec 13 00:57:19 it gives me a connection error Dec 13 00:57:19 :S Dec 13 00:57:39 in input, all is deny and in output all is allow Dec 13 00:57:55 to show rules : iptables -L Dec 13 01:05:06 not shure if its a firewall problem Dec 13 01:06:15 does the firewall block a port that is acessed by the ssh ? Dec 13 01:06:26 or... to a service running inside de fonera? **** ENDING LOGGING AT Sat Dec 13 03:00:03 2008