**** BEGIN LOGGING AT Tue Dec 09 02:59:57 2008 Dec 09 04:22:54 anyone here? Dec 09 04:39:13 yes, good after noon from Taipei Dec 09 04:40:40 how to pronounce fonosfera? Dec 09 06:29:33 hi Dec 09 06:29:46 how to enable firneds and family in fon2.0? Dec 09 09:27:20 bonjour inouk Dec 09 09:29:25 SoukoussMan, hi! Dec 09 09:30:54 OK guys let me introduce SoukoussMan, he is one of the mastermind behind the FrancoFON firmware Dec 09 09:31:24 he is working right now on a proxy plugin for the Fonera 2.0 Dec 09 09:31:42 blogic, maybe you can give him a hand Dec 09 09:32:02 he wonder were he should put his conf files Dec 09 09:32:11 does the Fonera 2.0 have enoug memory to store some pages, or will it not cache pages? Dec 09 09:32:47 no i want only make a plugin who permit to redirect all request on the 80 port to a external proxy Dec 09 09:33:44 this permit to add a fonera in enterprise with a protected navigation, log with a proxy and protected by a antivirus and/or blacklist Dec 09 09:35:11 ah ok Dec 09 09:35:41 would be nice if a realy proxy can be build with it... could be done if USB storage is available... Dec 09 09:38:25 i've already make test on a fonera 1 with tinyproxy...but this proxy is very lite...but in a first time i can make just a forward and after purpose a local proxy...i look if i can compile a squid proxy or other on La Fonera 2.0 who is not so big Dec 09 09:40:10 i checkout actually the trunk on the fonosfera svn...This is fully usable ? Dec 09 09:45:10 yes, it is Dec 09 09:46:13 ok thanks Iurgi...do you have already the plugin structure ? Dec 09 09:46:46 SoukoussMan: can we proxy over DNS like OpenDNS as well (to filter out unwanted content?)? Dec 09 09:49:01 @iurgi: I saw some issues in trac with printersharing in rc1 (port9100), which prevents me from updating to rc1. Has this been confirmed or adressed? Dec 09 09:49:32 voorstad> yes proxy over dns is possible like many other solution...but i don't know if it's possible to analyse the content with this proxy mode Dec 09 09:49:44 voorstad: not yet Dec 09 09:50:39 SoukoussMan: OpenDNS will do this I assume :-) Dec 09 09:51:01 voorstad> many enterprise use already some proxy like squid or bluecoat for example. I want permit to use this existent structure to deploy La Fonera 2.0 in a secure office Dec 09 09:51:21 but this is a solution to look with opendns Dec 09 09:51:42 do you have a link who explain this function on opendns ? Dec 09 09:52:14 SoukoussMan, I think the opendns.com account allow you to filter content thru dns Dec 09 09:52:24 ok i look this Dec 09 09:52:53 it's not really like a proxy, just prevent to resolve url Dec 09 09:53:06 nothing to do with squid capabilities Dec 09 09:53:22 ok, just don't resolt ip like fon use in france for the orange domain Dec 09 09:53:34 exactly Dec 09 09:53:51 it's not a proxy then Dec 09 09:54:01 its not even a security measure Dec 09 09:54:05 at all Dec 09 09:54:06 :) Dec 09 09:54:24 it's only useful for filtering porn etc Dec 09 09:54:29 iurgi, no that has nothing to do with a proxy Dec 09 09:54:33 and only if they offer a service of blacklisted domains Dec 09 09:54:53 and only if the pr0n surfer does not know how to use their own DNS Dec 09 09:55:43 yes i search to use a real proxy to permit all it's possible with squid for exemple ( squidguard or havp antivirus ) or other free or commercial proxy Dec 09 09:57:09 yup, but as long as the kids don't know what a DNS is, it is very usefull Dec 09 09:57:56 voorstad: nothing but wasted system resources Dec 09 09:59:12 just adds a feeling of filtering and security which in reality does not exist Dec 09 10:00:11 indeed Dec 09 10:00:54 voorstad, anyone can set a opendns as the dns server in the Fonera 1,+ and 2.0 Dec 09 10:01:07 no other feature are needed Dec 09 10:01:34 it nothing to do with what SoukoussMan is talking about ;) Dec 09 10:02:18 SoukoussMan just talks about DNAT if I have understand him correctly Dec 09 10:02:23 *understood Dec 09 10:02:47 inouk> yes, exactly that Dec 09 10:04:22 and it's really easy to bypass opendns protection...use another dns that the Fonera on the user pc and the protection is bypass because it's another dns server who is request Dec 09 10:05:05 we use this in france to bypass the Orange domain protection use by fon Dec 09 10:09:44 iurgi> do you have already the plugin structure ? Dec 09 10:10:45 Well, if you have a much better option, I'll be happy! Dec 09 10:11:10 SoukoussMan: yes Dec 09 10:11:17 they are tarballs Dec 09 10:11:23 impossible to make it easier Dec 09 10:11:25 :) Dec 09 10:12:04 why don't use ipk format ? Dec 09 10:12:24 because it's old, crappy and buggy Dec 09 10:12:27 why use it? Dec 09 10:12:28 :) Dec 09 10:12:36 ok :) Dec 09 10:12:55 and in the tarball, you have already define a structure ? Dec 09 10:13:14 in the tarball? well, that's up to the plugin maker Dec 09 10:13:21 :) Dec 09 10:13:35 I can't tell everyone where the configuration files or their binaries go Dec 09 10:14:04 the only interesting part is the web pages to control the plugins Dec 09 10:14:10 those need some 'organization' Dec 09 10:14:18 blogic can tell you where to put these Dec 09 10:14:26 but you need to write them first ;) Dec 09 10:14:40 one line question and you get a one line answer Dec 09 10:15:43 you can define for exemple, the same structure that ipk this the folder data who contain the file openwrt structure no ? Dec 09 10:17:04 this question is only to have the maximum information on howto make a plugin Dec 09 10:17:43 yes Dec 09 10:17:45 ok Dec 09 10:22:02 @iurgi: and what about the printersharing issue on port 9100? Dec 09 10:23:08 voorstad: I already told you there's no news Dec 09 10:23:09 sorry Dec 09 10:26:37 but it's confirmed that is doesn't work? In that case I stay on beta2. Dec 09 10:27:38 I hope there is some functionality left once we are at the official release :-D Dec 09 10:29:02 voorstad: how am i supposed to understand that comment ? Dec 09 10:29:10 constructive or obselete ? Dec 09 10:29:18 and please stick to reality Dec 09 10:29:29 ever release so far has had features added Dec 09 10:41:10 voorstad: so, how does the printer not work ? Dec 09 10:41:17 i mean what are the symptoms ? Dec 09 10:51:54 I don't know exactly. I am running beta2. I have not upgraded yet because: 1. there is no udate possible via web & ssh is gone. 2.There seemd to be an issue with printersharing, which is my number 1 priority for using the Fon2.0 Dec 09 10:52:36 As I understand, printer is recognized, but port 9100 is not listening Dec 09 10:56:46 @blogic: constructive (see wink) Dec 09 10:57:16 voorstad: you're dutch? Dec 09 10:57:23 I really support the FON community, I advertise to friends and family. Dec 09 10:58:35 yup, Saludos, I'm dutch. Does it matter? Dec 09 10:59:01 ;-) Dec 09 11:00:43 not really Dec 09 11:00:53 well, it does matter Dec 09 11:01:08 hehe Dec 09 11:01:13 you have your own culture Dec 09 11:01:19 no, seriously, what I meant Dec 09 11:01:25 for my experience Dec 09 11:01:34 dutch people tend to be very direct Dec 09 11:01:54 which sometimes sounds rude/unconsidered to mediterranean people ;) Dec 09 11:02:00 which is not bad Dec 09 11:02:06 only that one needs to get used to it Dec 09 11:02:07 :) Dec 09 11:04:02 yup, I know. I have lived in Spain a few months. We are not good in wrapping. Sorry for that. Dec 09 11:04:16 hehehe Dec 09 11:04:17 no prob Dec 09 11:04:51 I guess blogic is getting used to mediterranean taste and that's why you sounded "non constructive" Dec 09 11:04:55 ;) Dec 09 11:05:08 ? Dec 09 11:05:17 iurgi: please refrain from commenting on me :) Dec 09 11:05:31 "I hope there is some functionality left once we are at the official release :-D" is unconstructive Dec 09 11:05:44 and getting used to the mediterreain way is something i wont ever do :) Dec 09 11:09:43 "@some functionality left" don't get me wrong, I was just referring to leaving out some features to be added as plugin, and now to some bugs in the core features. Dec 09 11:09:56 sure Dec 09 11:09:59 i am not pissed :) Dec 09 11:10:14 no worries :) Dec 09 11:11:58 Let's get the core stable asap. And let's have all the functionalities working as listed on fonosfera. Dec 09 11:12:53 voorstad: its stabke imho Dec 09 11:12:57 i have rc2 running here Dec 09 11:13:05 did a full test last 2 days Dec 09 11:13:18 including language files :) Dec 09 11:14:53 to be honest, language files I don't mind yet. Does it talk with fon.com (settings, friends& family access)? Dec 09 11:15:06 settings yes Dec 09 11:15:13 friends&family , ask iurgi Dec 09 11:15:14 does printersharing work? Dec 09 11:15:24 well, that is the only missing thing Dec 09 11:15:26 ask iurgi Dec 09 11:15:59 wan-lan? Dec 09 11:16:22 question consist out of several words Dec 09 11:18:02 well, the option to bypass the 2,4Mbps Dec 09 11:18:04 voorstad: no friends and family Dec 09 11:18:19 the rest will be online in a few days (communication with fon.com) Dec 09 11:25:58 atftp Dec 09 11:26:10 Why no friends&family? I guess the official releaase at least has all the "classic fonera" functions? Or? Dec 09 11:27:21 no Dec 09 11:27:33 friends and family was created for the linksys Dec 09 11:27:41 and we kept it on the fonera for no real reason Dec 09 11:27:45 we will get rid of it Dec 09 11:27:52 friends and family should use MyPlace Dec 09 11:41:36 family&friends gives them internet access without giving me a virus; I can hardly ask my friends 5 euro to use my internet access can I ? Dec 09 11:41:39 I do use it. I can grant visitors an easy acces, without giving away my pw Dec 09 11:42:00 and my network Dec 09 11:42:19 It's even the only reason for La Fonera ... If we have to use our wpa key to family&friends I can better use DeviceScape Buddies :-) Dec 09 11:42:52 then at least I don't have to change my WPA key afterwards but just block them from my friends list :-) Dec 09 11:52:43 http://ubnt.com/products/loco.php : 49$ , 10km wifi range, outdoor, openwrt compliant Dec 09 11:53:43 well, not many users use it Dec 09 11:54:00 not many people have visitors they mind giving their password Dec 09 11:54:16 and if they do, then it's better to tell them, use the 15min free access ;) Dec 09 12:04:21 hello guys! Dec 09 12:04:37 iurgi you are here? i need you :( Dec 09 12:06:52 I am Dec 09 12:16:37 good! Dec 09 12:17:03 you remember, that i have some problem to install printer to fonera 2? Dec 09 12:17:11 hmm Dec 09 12:17:13 kind of, yes Dec 09 12:17:32 so i have installed it, following your istructions Dec 09 12:17:44 the ones on the wiki I guess Dec 09 12:17:50 I didn't write or review them ;) Dec 09 12:17:51 when i print, my printer print white pages Dec 09 12:17:59 :S Dec 09 12:18:21 where i have wrong? Dec 09 12:19:39 it print the exact pages that i have to print, but all blank XD Dec 09 12:26:16 lol Dec 09 12:26:24 do you have the correct driver on your computer? Dec 09 12:27:31 oooh! the ink-save feature Dec 09 12:28:00 lol Dec 09 12:28:50 lol Dec 09 12:29:04 is the same driver that i use to print Dec 09 12:29:15 so what i have to do? XD Dec 09 12:30:50 no idea :( Dec 09 12:30:55 it's really weird Dec 09 12:31:44 i guess somehow your printer changes the ink thinkness (between plugin the printer to the computer to doing it over the network) Dec 09 12:31:59 the fact that your printing assistant can connect to he printer but not print properly is weird Dec 09 12:32:03 if the driver is correct Dec 09 12:32:14 as if the setting could only be setup by usb Dec 09 12:33:07 surely some other have the same problem when printing with the same model you have over a "network printer port" Dec 09 12:33:28 search for it in printer throubleshooting forums Dec 09 12:33:29 :/ Dec 09 12:33:43 :)? Dec 09 12:33:47 so i have to configure it by usb? Dec 09 12:33:47 ? Dec 09 12:34:26 no, i meant that probably the ink thikness is sent to your printer along with each job, and the printer stores no configuration on itself (as it happens with most today printers) Dec 09 12:35:03 so somehow when plugged through usb the driver is sending the parameters and it is not doing it when connected through the network port Dec 09 12:35:46 and that somehow have already try your same model with another printing server (not necesary la fonera) and found the same problem Dec 09 12:35:54 wich model the printer is? Dec 09 12:36:34 hp photosmart c5280 all-in-one Dec 09 12:37:14 the hp all-in-one drivers for windows are a really piece of shit Dec 09 12:37:16 :( Dec 09 12:37:23 40MB of download Dec 09 12:37:40 lol Dec 09 12:37:56 *bump* iurgi Dec 09 12:37:58 no way to use the windows assistant (oh god... what I'm saying) but need to install using th ehp assistant (oh well, this justifies my previous complain, lol) Dec 09 12:38:25 ok i try Dec 09 12:39:47 another question in the actual firmware there is the download manager? Dec 09 12:40:15 there's not Dec 09 12:40:16 :) Dec 09 12:41:29 ok :P Dec 09 12:42:27 i have listen some notice that you can turn the fonera into a radio, is possible? XDD Dec 09 12:42:37 i have find a usb audio Dec 09 12:42:46 for attach to fonera Dec 09 12:43:32 yes, some people are working on it Dec 09 12:43:35 and fon is also Dec 09 12:43:41 (blogic is ;D) Dec 09 12:44:01 so is coming out a plugin in future? :D Dec 09 12:44:17 can be cool Dec 09 12:46:06 because i put fonera in my bedroom for listen radio ahahah Dec 09 12:46:38 family&friends is used " a lot" hence the "fonero-id" can only be used on 1 device at thesame time; even if you own several devices Dec 09 12:47:03 also why buy a fonera if you "share" your wpa key? then there is no reason for a fonera... Dec 09 12:48:07 checked a few active foneras family & friends have used more than >100 hours ; while paid sessions only for 47 cents; owner allready said he will replace it back with the linksys wrt if this feature disappears... Dec 09 12:49:04 barbon: you can try to compile mplayer for your fonera and just use some of the shoutcast stations at http://www.shoutcast.com Dec 09 12:49:49 barbon: the bad part is that it will probably not fit into the flash, you would have to mount an external harddrive/pendrive and put the executables there Dec 09 12:51:21 I tried the audio tutorial of pm2046 this weekend; but the mplayer gives a failure... i mentioned it in trac/mailinglist I believe... Dec 09 12:51:39 probably trac Dec 09 12:52:46 ok gonna to try now =) Dec 09 12:52:52 skynetbbs: your family and friends should be foneros already! xD Dec 09 12:52:52 ty all ^^ Dec 09 12:53:04 cya babes Dec 09 12:56:49 although I installed more than 160 foneras... they mostly forget even their foneroid/password ... or grow tired of resettign their fonera to get it working again :( Dec 09 12:57:05 14dec visiting parents place... fonera is working...except heartbeat Dec 09 12:57:29 so their roaming priviledges are gone :-) Dec 09 12:57:36 so they used family&friends last weekend here :-) Dec 09 13:07:06 new fonspot in Drenthe : http://www.cc-zuid-oost-drenthe.nl/index.php?option=com_content&task=view&id=34&Itemid=37 Dec 09 13:07:30 only "president" and the club building have bought a fonera so I guess the members will use family&friends in the meantime... Dec 09 13:24:15 chihchun: ping Dec 09 13:24:18 blogic: olpc for mesh wifi thing ? Dec 09 13:24:22 yes Dec 09 13:24:24 olpc ... Dec 09 13:24:32 has a marvell based wifi mesh usb stick Dec 09 13:24:33 blogic: "usb" ? Dec 09 13:24:41 it does mesh in a hardware based firmware Dec 09 13:24:51 yes, i have a usb dongle from laptop.org Dec 09 13:24:57 they deploy these units in peru etc Dec 09 13:24:58 I though it's software-based Dec 09 13:25:01 no Dec 09 13:25:03 well Dec 09 13:25:05 it will be Dec 09 13:25:12 but at the moment it is hw based Dec 09 13:25:45 so, there is a driver for the special marvell-based usb stick ? Dec 09 13:26:21 it might be more interesting to do batman or open80211s Dec 09 13:26:38 well Dec 09 13:26:43 marvell uses 8ß2.11s Dec 09 13:26:54 but the kernel is not ready to do it in sw yet Dec 09 13:28:05 hum.. Dec 09 13:28:16 so Dec 09 13:28:28 reading http://wiki.laptop.org/go/Mesh_Network_Details for learn more about OLPC's mesh protocol Dec 09 13:28:29 laptop.org and google are paying the 80211s guys Dec 09 13:28:33 * chihchun I meant I am reading Dec 09 13:28:34 ok Dec 09 13:28:37 hehe Dec 09 13:28:38 :) Dec 09 13:29:38 80211s guys means open80211s.org, correct? Dec 09 13:30:00 yes Dec 09 15:15:04 hello Dec 09 15:15:25 any one here that can give me a help... Dec 09 15:15:39 i'm trying to do a script to download from rapidshare.com premium accounts Dec 09 15:17:08 hi Dec 09 15:18:05 so... when i try to run the script Dec 09 15:18:14 i get a -ash: download.sh not found Dec 09 15:18:28 but the file is there... Dec 09 15:18:36 whith 7777 permissions Dec 09 15:20:04 is the path correct? Dec 09 15:20:10 yes Dec 09 15:20:16 invoke the file with the full path Dec 09 15:20:29 lets try Dec 09 15:21:59 to me, it sounds like inside the script you change directory or something using cf Dec 09 15:22:03 cd Dec 09 15:22:11 and then the path to download.sh is incorrect Dec 09 15:22:37 btw, is donwnload.sh fon's old download script? or is it something you made? Dec 09 15:24:06 humm Dec 09 15:24:09 something i made Dec 09 15:24:54 ok Dec 09 15:24:59 but you're using alfred, right? Dec 09 15:25:12 or to be more correct, Dec 09 15:25:52 http://www.markontech.com/2006/12/22/downloading-content-from-rapidsharecom-using-wget-and-bash/ Dec 09 15:25:55 yes alfred Dec 09 15:26:30 the script change path Dec 09 15:26:35 so probably this is the problem Dec 09 15:27:45 no Dec 09 15:27:56 fitsr line of your script is /bin/ash ? Dec 09 15:28:06 it's not mine Dec 09 15:28:17 its something i found in the www Dec 09 15:28:19 fitsr line of the script is /bin/ash ? Dec 09 15:28:43 its /bin/bash Dec 09 15:28:53 change it to /bin/sh Dec 09 15:28:58 then it shoud work Dec 09 15:29:05 unless it uses bash specific stuff Dec 09 15:29:06 :) lets try Dec 09 15:29:09 :) Dec 09 15:29:11 ok Dec 09 16:03:53 i've a little question, it's possible to create a firewall rule by uci with multiport dest_port? Dec 09 16:04:25 600:1000 Dec 09 16:05:56 thanks, i test this Dec 09 16:10:36 blogic> thanks...that work Dec 09 16:11:22 SoukoussMan: :) i love people that can understand info Dec 09 16:11:25 nice 1 :) Dec 09 16:13:56 $ nice 1 Dec 09 16:13:56 nice: 1: No such file or directory Dec 09 16:15:25 pablo_bz:) Dec 09 16:15:32 pablo_bz: i tested the failsafe20 Dec 09 16:15:33 thx Dec 09 16:17:40 worked? Dec 09 16:18:12 yes Dec 09 16:18:13 then we can build the first .tgz image for reflashing the current version Dec 09 16:19:12 the only thing to take into account is, that there is no restriction mechanism embedded into the "upgrade" file, and i think we should do at least some check. for example, that the failsafe version is the one we are about to release Dec 09 16:19:34 yes Dec 09 16:19:45 i will do the whole verification, once the rest is out the way Dec 09 16:20:04 i mean, the .tgz should check if it is running on that failsafe image. Not for people who wants to crack their foneras, since now they don't have to Dec 09 16:20:20 i mean, i am not thinking in people downgrading to take advantage of a known exploit, Dec 09 16:20:50 but just to protect naive users from getting old .tgz's from who-knows-where and install them over, say, the wrong hardware Dec 09 16:21:33 i mean, the check is not for _the current only failsafe_, but to be sure that reflashing .tgz's we release don't break future platforms that use the same upgrade format Dec 09 16:29:16 any ideas about this http://fonosfera.org/pipermail/development/2008-December/000170.html ? Dec 09 16:30:16 sure: I replied to that Dec 09 16:30:25 these module is not supported by luci yet Dec 09 16:30:28 it needs to be added Dec 09 16:30:45 monossido: we currently use the uvc based cams Dec 09 16:30:47 now Dec 09 16:30:59 linux has a video subsystem called video4linux Dec 09 16:31:11 there are streaming apps for it but the are no good Dec 09 16:31:19 i can't do anything? only wait? Dec 09 16:31:28 the uvc uses video4linux also, but has has a very good streaming app Dec 09 16:31:31 we use this Dec 09 16:31:48 the new lucittp webserver will get a plugin to enable all video4linux cams Dec 09 16:31:56 there is already code in testing for it Dec 09 16:32:09 can i dev directly a cbi on La Fonera in the folder /usr/lib/lua/luci/model/cbi ? I need to restart something to see the page after ? Dec 09 16:32:10 monossido: rest assured, i will make all cams work, but i need a little time :) Dec 09 16:32:22 ok very thanks ;) Dec 09 16:32:26 SoukoussMan: where yre you from ? if i may ask ? Dec 09 16:32:32 french Dec 09 16:32:36 SoukoussMan: lcui does hot deploy Dec 09 16:32:46 he's the leader of francofon, right? Dec 09 16:32:51 or founder or summin like that Dec 09 16:32:52 right Dec 09 16:32:59 SoukoussMan: did you see the luci howtos ? Dec 09 16:33:16 SoukoussMan: you can also run luci native on your pc for testing Dec 09 16:33:20 i've read quickly the documentation on freifunk website Dec 09 16:33:22 inouk: can we add a link to luci howtows on the wiki? Dec 09 16:33:32 SoukoussMan: ok Dec 09 16:33:40 SoukoussMan: cd fon-ng/luci/ Dec 09 16:33:49 make runhttpd Dec 09 16:33:53 however Dec 09 16:34:08 if you do a make in the openwrt folder, you need to make hostclean in luci first, Dec 09 16:34:22 ok Dec 09 16:34:26 otherwise it somehow fails to recompile some stuff Dec 09 16:34:39 some pages might not work, as uci state etc is missing Dec 09 16:34:41 also Dec 09 16:34:52 hostfiles/ has files only used when testing on host Dec 09 16:35:00 root/ is used for host & target Dec 09 16:35:22 SoukoussMan: any questions regarding luci, just ask :) been using it every day for 2 months now Dec 09 16:35:25 and i love it Dec 09 16:35:41 once you get the whole lua thing in your head .... Dec 09 16:35:52 i mean, the whole webif took 2 months to make :) Dec 09 16:36:18 luci seens to be easy but before, i need make a test with it... :) Dec 09 16:36:30 sure Dec 09 16:36:48 SoukoussMan: http://www.lua.org/manual/5.1/manual.html :-) you will need this page Dec 09 16:36:57 thanks...if i've other question, i call back ;) Dec 09 16:37:06 i bookmark it Dec 09 16:45:03 blogic> i'vz a problem with the make runhttpd. Can you help me ? http://pastebin.ca/1280791 Dec 09 16:45:53 SoukoussMan: you need to install lua devel packages for your distro Dec 09 16:46:10 oh ok...sorry Dec 09 16:46:14 in debian it's "liblua5.1-0-dev" Dec 09 16:46:38 i'm on gentoo Dec 09 16:46:58 okay, look for a lua-dev or liblua-dev package Dec 09 16:47:06 i think this is this package on gentoo : dev-lang/lua Dec 09 16:47:09 make sure to grab version 5.1 (not 5.0 or 4.0) Dec 09 16:47:25 Latest version available: 5.1.3-r3 Dec 09 16:47:33 all it's ok Dec 09 16:48:00 thanks xMff Dec 09 16:48:07 yw Dec 09 16:50:40 i've another error : collect2: ld returned 1 exit status. Dec 09 16:51:15 Hi... anyone here have tested an UMTS modem with La Fonera 2.0?... I'm testing a Huawei E220 and usb led keeps off... :( Do I need an usb hub? Dec 09 16:58:19 i've this error now :http://pastebin.ca/1280803 . Someone can help me ? Dec 09 17:00:14 hi all ;) Dec 09 17:01:40 hi pm2036 Dec 09 17:01:48 hi SoukoussMan ^^ Dec 09 17:04:33 SoukoussMan: run make hostclean Dec 09 17:05:03 i have already make hostclean or clean :( Dec 09 17:06:15 hmm, looks like a linker problem Dec 09 17:06:18 ask blogic Dec 09 17:08:05 i use the trunk for information Dec 09 17:11:38 if blogic come back, i'm really happy if he can help me :( Dec 09 17:12:30 for me it looks like a -llua is missing somewhere in the LDFLAGS Dec 09 17:13:45 xMff, i've look in the makefile. I've this : LDFLAGS+=-luci -llua5.1 Dec 09 17:14:08 try to replace -llua5.1 with -llua Dec 09 17:14:27 ok Dec 09 17:15:04 i've the same error Dec 09 17:18:52 SoukoussMan: look in /usr/lib ... how is you liblua called? Mine is called "liblua5.1.so" Dec 09 17:20:08 i just look this Dec 09 17:20:43 my is /usr/lib/liblua.so.5.1.3 Dec 09 17:21:15 but i've a symlink /usr/lib/liblua.so Dec 09 17:21:24 to /usr/lib/liblua.so.5.1.3 Dec 09 17:21:34 okay so -llua -llualib would be the correct ldflags Dec 09 17:21:48 -llua5.1 is wrong in your case Dec 09 17:21:59 it's debian-specific :-/ Dec 09 17:24:13 xMff, you are sure...-llualib and not -lliblua ? Dec 09 17:24:42 yes there is a liblualib.so and a liblua.so :) Dec 09 17:24:58 link both without version specific suffix Dec 09 17:25:55 i need to make this : LDFLAGS+=-luci -llua -llualib ? Dec 09 17:26:48 SKaRCHa: yes Dec 09 17:27:07 usb led always stays off for umts Dec 09 17:27:14 only goes on for usb sticks etc Dec 09 17:36:04 i've test with LDFLAGS+=-luci -llua -llualib or LDFLAGS+=-luci -llua without success Dec 09 17:39:09 i've test to create a symlink /usr/lib/liblua5.1.so to /usr/lib/liblua.so.5.1.3 same problem Dec 09 17:42:30 blogic> iurgi > you have i idea to help me ? Dec 09 17:42:36 i am reading it Dec 09 17:42:38 1 sec Dec 09 17:42:45 no problem of course Dec 09 17:43:14 CyrusFF: http://pastebin.ca/1280791 Dec 09 17:43:46 http://pastebin.ca/1280803 Dec 09 17:44:30 aptitude install liblua5.1-dev Dec 09 17:44:39 gentoo :) Dec 09 17:44:41 the first past is corrected Dec 09 17:44:47 only the second persist Dec 09 17:44:55 liblua is already install Dec 09 17:45:08 /usr/lib/liblua.so.5.1.3 Dec 09 17:45:12 lua headers also? Dec 09 17:45:19 ah gentoo... Dec 09 17:45:41 yes Dec 09 17:46:09 where are your lua headers? /usr/include or /usr/include/lua5.1 ? Dec 09 17:47:08 /usr/include/lua.h Dec 09 17:47:59 ok I will have a look at this later this evening Dec 09 17:48:56 ok thanks CyrusFF , you need other informations to do this ? Dec 09 17:52:05 I have got the same problem as SoukoussMan when I try a "make runhttpd" Dec 09 17:52:16 I'm on a Mandriva Dec 09 17:52:20 yes one more thing: what does: `pkg-config --silence-errors --cflags lua5.1` return Dec 09 17:52:54 nothing Dec 09 17:53:03 nothing too Dec 09 17:53:45 and without the 5.1 meaning: --cflags lua Dec 09 17:54:00 a blank line Dec 09 17:54:20 a blank line too^^ Dec 09 17:54:25 lol ok Dec 09 17:54:42 i will try to implement a fallback to /usr/include if pkg-config fails Dec 09 17:56:36 ok...you commit this on the trac fonosfera after ? Dec 09 17:57:14 yes, will do Dec 09 17:57:53 perfect..thanks Dec 09 18:04:04 hmm http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lua/lua-5.1.3-r3.ebuild ... it install a lua.pc to /usr/lib/pkgconfig/lua.pc Dec 09 18:05:22 yes i've this file Dec 09 18:06:01 strange that pkg-config doesn't seem to pick it up Dec 09 18:07:09 pkg-config --libs lua reply this : -llua -lm Dec 09 18:47:16 Hi all Dec 09 19:14:23 SoukoussMan, pm2036: i commited a possible fix to fonosfera Dec 09 19:18:09 please tell me if it works Dec 09 19:39:41 ok, guys Dec 09 19:39:53 who is here? Dec 09 19:40:46 if it is true that the collaborative common whatever mind goes further than the individual one, maybe you can help me on something Dec 09 19:42:06 i was thinking about the different package formats in different distributions/operating systems. see, that most of the time there are two variants: the keep-track-of-everything-accept-everithing asyncronously, as in the rpm and .deb systems Dec 09 19:42:33 and the "this is the reference system and everythin is built upon this" approach of, for example, OpenBSD and Slackware packages Dec 09 19:43:03 with all kind of different things in between Dec 09 19:44:05 in another axis, we can find the "i keep track of dependencies and install all the things neede along the way" of apt Dec 09 19:44:26 vs the "all the dependencies are left to you, and, at most, notified" of openbsd Dec 09 19:45:27 vs (yet) the "I have all needed for this to work in the package, even if it is redundant" of macosx .img's Dec 09 19:47:05 in this quadrant, being left 'no releases, but packages' and right 'one package for one release, no binary compatibility whatsoever' Dec 09 19:47:34 and top 'complete dependency tracking and installation' and down 'no tracking at all' with 'notification of files that are needed in between' Dec 09 19:47:47 we can find all the package distribution systems for linux today Dec 09 19:48:47 being down left, say, GP2X, where there is no central database of packages installed nor anything, just .tgz files or .zip files being decompressed in sd cards and run using relative paths everywhere Dec 09 19:50:04 down right slackware, in wich no packages for different systems work since there is almost no dependency tracking, being "the release" the only incompatibility Dec 09 19:51:17 top left debian, in the broad sense, where having the right repositories you can just upgrade from one release to other just by installing a package that needs it (letting apt follow the thread) Dec 09 19:52:51 and top right... top right being debian just with one repository for one release, when you just use dependency tracking to install everything that is needed, but you don't are between releases or whatever (same with ubuntu), and actually packages _expect_ to be installed in a certain version Dec 09 19:54:19 and what is the question, you will be asking? Dec 09 19:54:43 the question is what fit us better, following the next premises Dec 09 19:54:49 1) simpler is better Dec 09 19:55:42 2) not having to do unnecesary work (repackaging things between releases just to change a dependency version number) and focusing on making things work is better Dec 09 19:57:02 3) the main critical task of a package management system is not letting the installation of one package break the system or other (think about windows installers rewriting over system .dlls...) Dec 09 19:58:00 which philosophy in the quadrant i talked above do you think is better for ease of installation of addons in lafonera20 Dec 09 19:58:03 ? Dec 09 19:58:44 you are all dining? Dec 09 19:59:13 hmm personally as a linux users who tried several different distributions with different package managers I always ended up using debian with a main reason being aptitude Dec 09 19:59:26 me like "apt" as a ubuntu user Dec 09 19:59:37 and i'm not sure but isn't opkg similar? Dec 09 19:59:55 yeah opkg is kind of light-version of aptitude Dec 09 20:00:04 almost, yes, but we are not talking about file formats, but philosophy or work-flow Dec 09 20:00:42 do you use apt with different repositories? Dec 09 20:00:55 yes Dec 09 20:01:00 i mean, not just the one that comes with the package's release, but other ones? Dec 09 20:01:04 aha Dec 09 20:01:15 so you take advantage of the fully fledged dependency tracking Dec 09 20:01:19 currently i'm using Rwhitby's repository because it's the biggest... Dec 09 20:01:54 wich are in your opinion the main differences between a general purpose distribution for the desktop/server and lafonera? Dec 09 20:02:00 But i could wget a specific package that could indeed use dependancies found on his repository... eg installed tcpdump few days ago on fon2; and it went & fetched the pcap library as well Dec 09 20:02:18 limited memory on a fonera... Dec 09 20:02:41 someone might try "all available plugins"... and in the end need to press reset button... Dec 09 20:02:49 yes, yes Dec 09 20:03:03 the idea of "tasks" vs. "programs" Dec 09 20:03:04 I think memory and CPU is not the problem if you think in an abstract way Dec 09 20:03:22 an option would be interesting to mount an usb stick where one can install in /opt Dec 09 20:03:33 imagine now that there is an hypothetic format in wich you can just throw a package in the stick Dec 09 20:03:39 if they somehow remove the usb stick they will loose the "extra" plugins Dec 09 20:03:50 and it uses a loopback device file so you magically have all the extra MB you need Dec 09 20:03:53 ok Dec 09 20:04:00 the main difference between fonera and desktop distributions is that foneras is one piece of hardware not even one architecture its a very specific board with one processor, a defined amiunt of ram etc. pp Dec 09 20:04:08 then you will be using the libraries the addon need _inside the package_ Dec 09 20:05:39 and you woul'dn even care if, for example (as a user), if a plugin to download using emule needs the libglib library and link statically to it or even if it is just inside the package Dec 09 20:05:41 I only remember about compiling against big endian or little endian... is that too limited thinking? Dec 09 20:05:43 no? Dec 09 20:06:11 because as a user you just want to put a pair of checks and get the package installed in the stick Dec 09 20:06:39 i think that fonera addons will be more like GP2X programs, you know Dec 09 20:06:51 but creating virtual loopback-images does not really have an effect on the workflow of the package manager Dec 09 20:07:19 when i install a NES emulator in my GP2X i don't care if they are spreading all the libs in one dir (as long as they don't overwrite the system ones), because i am using it ony for one thing at one time Dec 09 20:07:32 a gigabyte stick doesn't cost much....and I dislike these dependencies that need extra symbolic links to be backward compatible :-( Dec 09 20:08:01 and i just unzip a file in the sd card and get my nes emulator working. the only thing gp2x packages agree upon Dec 09 20:08:08 is the SDL library and the kernel Dec 09 20:08:43 the only hard dependencies our packages will have are actually luci, as the interface to the user is there Dec 09 20:08:46 and little more Dec 09 20:09:27 the rest can be inside the package, since the package is a task, not a program with dependencies. if an "emule task" need a thousand libraries, they can be linked against and put upon their own library Dec 09 20:10:18 CyrusFF: no, but the packages must be compiled to run inside their own directory, not /, so --prefix=/addons/ Dec 09 20:12:19 skynetbbs: what do you mean by extra symbolic links? Dec 09 20:13:17 see, the GP2X paradigm (no rules whatsoever) runs surprisingly well, and i think it is because of the reason CyrusFF said above Dec 09 20:13:26 I remember vagely once trying to install something but I believe my glibc was too new...and it required an older version...so I had to make a symbolic link as if the older one was still arround Dec 09 20:13:39 it is just one architecture, one amount of ram, one processor and one "distribution" Dec 09 20:14:03 developers can expect to test things in a directory in their gp2x, and if it runs, just pack it and distribute Dec 09 20:14:13 just like in the IBM-compatible + MSDOS 5.0 days Dec 09 20:14:35 i'd still be tempted to install it on a fonera+ or try to compile it against the linksys Dec 09 20:14:55 of course Dec 09 20:15:04 untill you tried pc dos or a cyrix/amd :-) Dec 09 20:15:29 yes, thats antiportability all around Dec 09 20:15:45 :) but in the end, portability is in the source and build system itself Dec 09 20:16:12 so the ability of doing configure --whatever arch --prefixwhatever is in the source itself, and it is package-agnostic Dec 09 20:16:25 so you can just recompile and get it run in the new architecture Dec 09 20:17:11 the "luci" pages of the addon would they reside together on the stick or on the fonera with this gp2x scenario? Dec 09 20:17:23 on the stick, of course Dec 09 20:17:45 OMG! Dec 09 20:17:56 i have a great name for this package format! Dec 09 20:18:23 have you ever see Jeff Dunham? Dec 09 20:18:29 you should at first decide whether you want to have 1 package format (a combined loopback and "standard" installation package format) or 2 different formats for "standard packages" and "loopback packages" Dec 09 20:18:30 the ventriloquist?!! Dec 09 20:18:37 hi there... just unbricked my fonera ;) -> see here: http://www.vollkornpapier.de Dec 09 20:18:42 thanks a lot!! Dec 09 20:18:42 Cyrus: just one Dec 09 20:19:11 CyrusFF: whatever package format we use, just one Dec 09 20:19:15 where to place a script to evaluate after inet-connection is up? Dec 09 20:19:28 (a buggy script) ... Dec 09 20:19:29 because having two would break the first and seccond rule Dec 09 20:20:25 itona: you are looking for a way to check if inet is up inside the fonera, or you are asking about bootup scripts order? Dec 09 20:20:50 but how do you want to handle the different prefixes with a single package Dec 09 20:21:14 i would like to have a script which is started after the internet connection is up... Dec 09 20:22:46 CyrusFF: there will no be different prefixes. The package will run in /addons/ will be /addons/package a real directory or a mounted directory Dec 09 20:23:54 ok so you don't want to have "shared" libraries Dec 09 20:24:18 itona: so you want to put the script right after the networking one in la fonera, supposing that after that network is up? Dec 09 20:24:41 cyrusff: why? Dec 09 20:24:52 and how do i do this? Dec 09 20:25:07 you can have a binary in /addons/package/bin/whatever and it will still use /usr/lib/whatever.so Dec 09 20:25:23 ld.so will load it if it is needed Dec 09 20:25:53 a package can depend in other one, but then it will setup LD_LIBRARY_PATH=/addons/library/lib before running Dec 09 20:25:56 but this way you cannot have loopbackimages for these libraries Dec 09 20:26:04 ah ok Dec 09 20:26:18 you depend on the library loopback to be mounted for the executable loopback to run Dec 09 20:26:25 but that would be nonsense, see? Dec 09 20:26:36 why don't you just put the library in your jalapeno? Dec 09 20:27:04 then no external dependencies but the base installation itself :) the GP2X way :D Dec 09 20:27:45 i mean, there will be some times where the duplication of RAM wasted in the two loads will be a no-no Dec 09 20:28:10 but even then Dec 09 20:28:35 we can implement a simple layer to detect that those libaries are the same and make ld.so just link against one of them Dec 09 20:28:39 and, sincerely Dec 09 20:28:51 in that situation it is not probable that the two addons can run together Dec 09 20:29:05 for memory/cpu/whatever constraints in the first place Dec 09 20:30:00 itona: the question is that if your script needs to run _only_ and _when_ there is networking, you will need more than just put it after the network startup routines Dec 09 20:30:13 because the network can be eventually down, and then ? Dec 09 20:30:14 :) Dec 09 20:30:40 why don't you just start your script in the background and check for inet connection yourself Dec 09 20:30:53 taking the fonera networking chunks as a blackbox Dec 09 20:30:54 i mean Dec 09 20:30:58 doing pings :) Dec 09 20:31:20 then you can just do whatever you want when the ping succedes and you will be certain that you have inet connection Dec 09 20:32:08 of course that is valid for testing. if it where a serious plugin it would have to hook in the real network up/down detection, and not do pings to wherever and make a DoS with 100k foneras :D Dec 09 20:33:34 ping www.fon.com ? :-) Dec 09 20:33:41 * pablo_bz is looking for those hooks Dec 09 20:35:43 skynetbbs: that will be rejected by the pfsense-cisco-whatever machines in the datacenter Dec 09 20:38:08 okay that sounds good... but how to run the script in background? Dec 09 20:39:00 place in a init.d file with & in the end? Dec 09 20:39:22 no, no Dec 09 20:39:44 make the /etc/init.d/whatever script run something that plug itself into the background Dec 09 20:39:52 nevermind thatt... currently looking at both lua 5.1 reference; the tarbal (trunk/luci/applications) and the current fonera2 ssh Dec 09 20:39:55 or, ok, put the & in the whatever script Dec 09 20:41:02 lua :), such a compact languaje, such a compact manual :) it's the C of interpreter languajes Dec 09 20:41:04 ok... Dec 09 20:41:09 say Dec 09 20:41:17 inside /etc/init.d/whatever Dec 09 20:41:21 and how may i do a loop in sh? Dec 09 20:41:23 you do /usr/bin/whatever & Dec 09 20:41:31 a loop? Dec 09 20:41:53 while true; do Dec 09 20:41:58 Dec 09 20:41:59 done Dec 09 20:42:01 for init.d use fonstated Dec 09 20:42:02 ;) Dec 09 20:42:39 you better exit inside or change true for another less certain condition :) Dec 09 20:42:54 ok... Dec 09 20:43:12 but Dec 09 20:43:13 say Dec 09 20:44:00 if you just want to do something when you know that you will have connection, and you don't need to do it Dec 09 20:44:03 anymore Dec 09 20:44:03 so sth like while true; ping google.com && break; done; my_inet_dependent_script Dec 09 20:44:19 ping on itself never ends :) Dec 09 20:44:36 so you better make sure to send only one package on each invocation Dec 09 20:44:44 is it normal that there are "many" instances running of lucittpd? Dec 09 20:45:11 ping -t 1 Dec 09 20:45:16 ping -c 1 Dec 09 20:46:02 itona: but you do that in the /usr/bin/whatever script, not in the /etc/init.d/whatever, because if you do in the later Dec 09 20:46:03 ok Dec 09 20:46:18 you're faster than my fon2 :-) Dec 09 20:46:23 you will be blocking your fonera until the ping succedes Dec 09 20:46:55 skynetbbs: my gateway Dec 09 20:47:25 so better Dec 09 20:47:35 darn ksoftirqd ... it's running at 18% Dec 09 20:47:41 fon2 slow as hell :( Dec 09 20:48:26 while true; do ping -c 1 google.com && break; done; my_inet_dependent_function Dec 09 20:48:50 but then you will probably want to run it again after regaining connection Dec 09 20:49:07 then you have to keep track of the states "online" and "offline" Dec 09 20:49:24 and call my_inet_dependent_function again as soon as you get from offline to online Dec 09 20:51:19 itona: probably the canonical way to know if you have connection is through fonstated, as inouk said Dec 09 20:52:11 itona: can you cat /tmp/run/fonstate in your fonera Dec 09 20:52:21 itona: and tell me what does it say? Dec 09 20:54:14 Online Dec 09 20:54:16 ;) Dec 09 20:54:34 is there a fonstated howto? Dec 09 20:55:29 http://hak5.org/forums/index.php?s=458ec5e309eefeede275eb316d745217&showtopic=11040&pid=113252&st=0&#entry113252 very nice graphics about a wireless robot powered by a fonera shooting darts to your co workers :-) Dec 09 20:57:39 itona : http://wiki.fon.com/wiki/F2_MgtConsole_tweaks#Fonstated Dec 09 20:57:56 itona: no, but i guess what it would say when la fonera is offline :) Dec 09 20:58:10 itona: then you don't need pings, better this Dec 09 20:58:45 ah! Dec 09 21:00:48 thanks!! and good night ;) Dec 09 21:13:06 thank you Dec 09 21:13:17 i didn't knew wiki had something about fonstated Dec 09 21:13:22 i am leaving, see you all Dec 09 21:13:39 if I read something interesting in mailinglist or irc... i copy&paste it on the wiki... Dec 09 21:13:50 so I don't have to reread all irc logs to reread something later on Dec 09 21:14:47 seeya Dec 09 22:18:55 iurgi> blogic > if CyrusFF come back can you tell him that correction for "make runhttpd" work great...i big thank for him Dec 09 23:08:57 pablo_bz: the /addons/ idea you had above is exactly what optware has implemented for the last three years. Dec 09 23:09:07 http://ipkg.nslu2-linux.org/feeds/optware/ Dec 09 23:09:43 where /addons/ is /opt/ Dec 09 23:10:31 and the compiled-in run-time loader path (-rpath to the linker) is how executables in /opt/bin and /opt/sbin find the corresponding libraries in /opt/lib Dec 09 23:11:11 therefore there is no change to the main OS in internal flash, other than a single init script which goes and executes all init scripts in /opt/etc/init.d/... **** ENDING LOGGING AT Wed Dec 10 02:59:57 2008