**** BEGIN LOGGING AT Wed Dec 10 02:59:57 2008 Dec 10 10:20:07 ls -lrt Dec 10 10:20:12 oops Dec 10 10:24:39 drwxr-xr-x 3 pablo pablo 4096 2008-09-29 18:38 patches/ Dec 10 10:24:39 drwxr-xr-x 3 pablo pablo 4096 2008-09-29 18:38 tests/ Dec 10 10:24:39 drwxr-xr-x 4 pablo pablo 4096 2008-09-29 18:38 doc/ Dec 10 10:24:53 rw-r--r-- 1 pablo pablo 6 2008-09-29 18:38 version Dec 10 10:24:53 -rw-r--r-- 1 pablo pablo 2181 2008-09-29 18:38 TODO Dec 10 10:24:53 -rw-r--r-- 1 pablo pablo 2763 2008-09-29 18:38 README Dec 10 10:24:53 -rw-r--r-- 1 pablo pablo 13783 2008-09-29 18:38 Makefile.am Dec 10 10:24:53 -rw-r--r-- 1 pablo pablo 3335 2008-09-29 18:38 configure.in Dec 10 10:24:55 drwxr-xr-x 7 pablo pablo 4096 2008-09-29 18:38 client/ Dec 10 10:25:24 rwhitby: stop doing that Dec 10 10:25:51 pablo_bz: did you see my reply about Optware? Dec 10 10:26:23 rwhitby: yes, i saw it Dec 10 10:26:59 rwhitby: it is exactly the same idea Dec 10 10:27:31 rwhitby: but i think it will be easier for the user and for the maintainer to just have tasks packages instead of .deb packages Dec 10 10:27:54 what are "tasks packages"? Dec 10 10:28:19 focused on the task done by the package, not the software on it Dec 10 10:28:32 like apt vs tasksel Dec 10 10:28:44 have you ever used "tasksel" Dec 10 10:28:50 saying "i want a mail server" Dec 10 10:28:55 "i want to see movies" Dec 10 10:28:59 "i want to..." Dec 10 10:29:15 and the underlying system install things for you Dec 10 10:29:52 so, emule-whatever.tgz, not amule-package1.ipkg dependence for amule.ipkg, etc Dec 10 10:30:30 see, usually packages in portable distribution go to further ends to achieve the maximum portability Dec 10 10:30:47 here that is not needed Dec 10 10:30:50 so Dec 10 10:30:55 again the GP2X paradox Dec 10 10:31:10 http://archive.gp2x.de/cgi-bin/cfiles.cgi Dec 10 10:31:49 no package system whatsoever, copy and run. of course, the only thing that prevent it from being a nightmare of non-working things Dec 10 10:31:59 is that all the gp2x are exactly the same Dec 10 10:32:24 tasksel can be done by a thin layer on top of ipkg. Dec 10 10:34:06 yes, but it is the developer audience wich is different in la fonera and nslug2 Dec 10 10:34:24 developers for nslug2 and for openwrt are more like debian maintainers Dec 10 10:34:37 absolutely not Dec 10 10:34:40 developers for lafonera2.0 outside there, or the ones i guess we can gather Dec 10 10:35:02 want more to be like gp2x ones, taking care of their packages and offering them to the enduser Dec 10 10:35:07 nslu2 optware users range from developers to people who cannot even begin to use a linux command line Dec 10 10:35:27 rwhitby: developers was i talking about Dec 10 10:35:37 "< pablo_bz> yes, but it is the developer audience wich is different" Dec 10 10:36:44 of course users are users Dec 10 10:39:33 we don't have a centralized developer base that can take care of the maintenance of a package repository proper Dec 10 10:39:50 as nslug does or openwrt Dec 10 10:40:24 so we can only release the firmware and make it easy for enthusiastic package makers to put all they need in the .tgz so the enduser gets it and have the feature running Dec 10 10:40:52 the small firmware team doing the gp2x software probably had the same problem Dec 10 10:41:13 and they lack any kind of package management, they don't even have a buildroot proper Dec 10 10:41:43 but look how many packages people make. as .zips uncompressed in an sd card, as whatever Dec 10 10:42:27 they just want to do it and be able to say, hey, i made this fancy emulator run in gp2x! of course visual feedback is encouraging :) Dec 10 10:42:58 but that gives value to the gp2x without putting burden in the shoulders of gp2x firmware guys Dec 10 10:43:11 it is a directly-from-the-developer scheme Dec 10 10:43:46 i always wondered how it didn't go havoc, and as you told me yesterday Dec 10 10:44:09 the main difference is that the package can expect exactly the same architecture in all devices it is going to be installed in Dec 10 10:45:44 lo Dec 10 11:04:40 pablo_bz: fonosfera can create the developer base needed. Dec 10 11:05:25 for optware, the main thing was to make it easy for people to create a new makefile fragment, and to *push* svn commit access onto people. Dec 10 11:05:47 (and keep the package maintaners svn access separate from base firmware maintainers access) Dec 10 11:06:59 why do you assume fon2 developers want to be like gp2x developers instead of nslu2 or openwrt developers? I think it's all about what example the project leaders set. Dec 10 11:07:44 embrace the developers, bring them into the fold, give them resources and commit access immediately, let them edit wiki pages, give them praise on the mailing list when they add a package to the repository instead of maintaining it themselves. Dec 10 11:07:44 hello everybody Dec 10 11:07:57 hi Dec 10 11:08:02 rwhitby: i dont know :) it is just ranting Dec 10 11:08:03 when you see a separate repository, contact that developer and personally invite them to have svn access. Dec 10 11:08:05 someone have a documentation with all possible uci datatype ? Dec 10 11:08:21 it's all about building a community. Dec 10 11:08:41 rwhitby: I agree with that Dec 10 11:08:45 we're inviting communities Dec 10 11:08:59 but we don't either want just anyone to have write access Dec 10 11:09:04 this would mess things up Dec 10 11:09:05 make the feeds automatically build packages as soon as a developer checks in a new revision. Dec 10 11:09:20 francofon, freewlan, yourself... are invited to have access Dec 10 11:09:30 iurgi: that's wrong. you want *anyone* who has made the effort to write a package Makefile to have svn commit access. Dec 10 11:09:52 just that small a barrier is enough to keep the unwanted out. Dec 10 11:10:08 hmmm Dec 10 11:10:19 anyone who's made a package is not anyone Dec 10 11:10:30 that's what I mean Dec 10 11:10:40 anyone who has done something is elligible Dec 10 11:10:59 but not just anyone that shows up on IRC and says: I want to have access Dec 10 11:11:10 no, they have to send in a makefile first Dec 10 11:11:21 as soon as they do that, then you *push* svn access on them. Dec 10 11:11:39 yes of course. why open access on svn to all the world if all the world don't work on this project ? Dec 10 11:11:56 if you see someone create a package on another site, reach out to them and invite them to get svn access Dec 10 11:12:22 you want everyone in the world who takes the effort to write a package makefile for the fon2 to have svn access Dec 10 11:12:45 your developer base is too small to exclude anyone who makes that effort Dec 10 11:13:16 3 years of experience with nslu2 project has shown that not one developer who got svn access this way ever did anything wrong. Dec 10 11:13:50 sure, someone made an innocent mistake, and were gently educated on the packaging standards, and became an even better contributor after that cause they felt that the project cared about what they did. Dec 10 11:14:10 but never any malicious acts. Dec 10 11:14:36 I am not concerned that much about malicious acts Dec 10 11:14:44 I agree with you it's VERY unlikely to happen Dec 10 11:14:58 I'm 100% confident on the community behavior Dec 10 11:15:02 and easy to spot and fix. Dec 10 11:15:16 (since the core developers will see the commit messages of every commit) Dec 10 11:15:17 in any case, it's a boring place to go f**ck people Dec 10 11:15:44 bbiab (family calls) Dec 10 11:16:29 blogic> do you have a documentation where i can find all the uci schema datatype ? Dec 10 11:16:47 SoukoussMan: let me see Dec 10 11:17:04 ok thanks Dec 10 11:17:23 http://dev.luci.freifunk-halle.net/docsrv/index.xml Dec 10 11:17:27 this is for stock luci Dec 10 11:17:32 we do not have it for fon yet Dec 10 11:17:47 ah wait Dec 10 11:17:54 i miss understood the question Dec 10 11:17:55 1 sec Dec 10 11:18:44 fon-ng-trunk/luci/libs/uvl/luasrc/uvl/datatypes.lua Dec 10 11:19:01 if you need new ones, just drop a new function in the file Dec 10 11:19:40 ok thanks Dec 10 11:20:04 the uvl files can be a bit of an arse to get going properly Dec 10 11:20:12 took me a while to get the hang of it Dec 10 11:20:39 also, there are still a few things that are not 100% and need work arounds, like defaults for fields with miltuiple deps dont work Dec 10 11:20:55 fon_inet has an example for the mtu and mtu2 fields Dec 10 11:21:23 although mut and mtu2 match to te same uci option i had to add 2 schemes for it to get defaults Dec 10 11:23:03 hi Dec 10 11:23:07 hi Dec 10 11:23:18 hi Dec 10 11:23:28 can I ask you for help? Dec 10 11:23:38 you're in the right place, probably Dec 10 11:23:39 I just tried to install alfred Dec 10 11:23:42 ask, and do not ask to ask ;) Dec 10 11:23:44 after installation Dec 10 11:23:56 the fonera does not boot up correctly Dec 10 11:24:00 ? Dec 10 11:24:04 what error do you get ? Dec 10 11:24:07 tried to get into redboot but cant login Dec 10 11:24:15 I am stuck at Dec 10 11:24:25 control c Dec 10 11:24:32 then nothing happens Dec 10 11:25:08 using telent or serial ? Dec 10 11:25:44 telnet over lan Dec 10 11:25:47 I mean wan Dec 10 11:25:53 i get to this point Dec 10 11:25:55 == Executing boot script in 1.920 seconds - enter ^C to abort Dec 10 11:26:12 I enter control C immeditely then nothing hapens Dec 10 11:26:21 mib_zdvnc1: use LAN, not WAN Dec 10 11:26:35 thats what I am doing Dec 10 11:26:47 I succeed to connect to 192.168.1.1 9000 Dec 10 11:26:50 which telnet client ? Dec 10 11:26:52 but cant get further Dec 10 11:26:58 terminal on mac os Dec 10 11:27:02 hmm Dec 10 11:27:11 do you have a linux box ? Dec 10 11:27:17 i am not a osx man Dec 10 11:27:21 no only mac and windows Dec 10 11:27:25 ok Dec 10 11:27:32 can you try using putty under windows ? Dec 10 11:27:37 i know putty works Dec 10 11:27:40 osx is based on linux and the terminal is quite powerful Dec 10 11:27:46 it has to do with the ctrl c thing Dec 10 11:27:52 well Dec 10 11:27:54 well I can try putty with the pc Dec 10 11:28:00 ok, great Dec 10 11:28:05 you think its ctrl c issue right ? Dec 10 11:28:06 otherwise tell me Dec 10 11:28:09 yes Dec 10 11:28:20 this is the common problem when using telent Dec 10 11:28:30 am I right to hit ctrl c immeditely after connect to 192.168.1.1 9000 ? Dec 10 11:28:44 yes Dec 10 11:28:46 == Executing boot script in 1.920 seconds - <--- when you see this message Dec 10 11:29:06 iurgi: i want to add a new madwifi patch Dec 10 11:29:07 this means I should push ctrl cwithin 1 point 920 seconds ? Dec 10 11:29:14 less then 2 seconds right ? Dec 10 11:29:17 it considerably improves the automatic channel selection Dec 10 11:29:23 yes Dec 10 11:29:31 mib_zdvnc1: yes Dec 10 11:29:32 okay understood Dec 10 11:29:49 well I will try with putty this afternoon and let you know if it worked out Dec 10 11:30:03 at least you will have the information for other osx users Dec 10 11:30:25 thanx for now I am reconnecting for feedback Dec 10 11:30:30 thanks!! Dec 10 11:30:32 enjoy your day ;-) Dec 10 11:46:08 CyrusFF> i've test yesterday your modification, all i'ts ok now..thanks Dec 10 11:47:11 SoukoussMan: thats fine Dec 10 12:19:54 someone can explain me that's exacty the uci schema and his job ? Dec 10 12:33:58 it is the validation Dec 10 12:34:30 so, if you use a uci field inside a luci model, then you can get it to automatically check if the parameter given by the user is valid Dec 10 12:34:45 if not, you get a red highlighted bix in luci and the data is not accepted Dec 10 12:37:36 ok thanks blogic...I've other question, i've make my luci, this work great and this update the uci config...but in my module, i need add a redirect rule...can i add directly in my luci or not ? Dec 10 12:39:09 ?!? Dec 10 12:39:13 Hi all Dec 10 12:39:15 you mean firewall ? Dec 10 12:39:42 or a httpd redirect ? Dec 10 12:39:49 Hi TeigneuX Dec 10 12:40:04 yes i need to add a redirect rule in the firewall to redirect 80 to another server Dec 10 12:40:13 ok Dec 10 12:40:20 in that case, the cleanest way is .... Dec 10 12:40:28 Just in case I have made a little sh to make links from the usb to the filesystem Dec 10 12:40:38 So all things are installed on the usb unit Dec 10 12:40:40 /etc/firewall.fon ist started by the firewall after it has started Dec 10 12:40:45 and useable from the fonera Dec 10 12:40:48 so make a /etc/firewall.myruke Dec 10 12:40:59 and make a new include ? Dec 10 12:41:07 and add a call to /etc/config/firewall (use firewall.fon as an example) Dec 10 12:41:09 yes Dec 10 12:41:18 this way it stays nice and seperate as a plugin Dec 10 12:41:19 :) Dec 10 12:41:37 and inside your script you can check uci to see what you have to do Dec 10 12:41:40 etc Dec 10 12:41:44 this is how i would do it Dec 10 12:41:55 you could directly edit the uci firewall Dec 10 12:42:01 but a script seems cleaner Dec 10 12:43:09 ok...in the firewall.XXX i can make a sh script with many check ? Dec 10 12:43:14 look at fon/fonstated/files/etc/fonstated/Redirect Dec 10 12:43:24 you can put what you want in there Dec 10 12:43:36 however, port 80 is already redirected when the fonera is offline Dec 10 12:43:47 so we have to add some magic to not interfere Dec 10 12:45:19 ok i look in this...and how can i add dynamicly the include in firewall..in the lua with luci.model.uci ? Dec 10 12:46:14 yes Dec 10 12:46:17 ok, 1 sec Dec 10 12:46:44 ok thanks..i make a test Dec 10 14:17:43 blogic> to use a variable un lua, we use #. it's right ? Dec 10 14:18:05 ? Dec 10 14:18:09 ah Dec 10 14:18:11 # is the length operator Dec 10 14:18:13 local a = 1 Dec 10 14:18:24 local a = "1" is a string Dec 10 14:18:41 bad example Dec 10 14:18:46 a = "foobar"; print (#a) --will output 6 Dec 10 14:18:49 local a = "2" Dec 10 14:18:55 print(a) --> 2 Dec 10 14:19:07 print(#a) --> 1 its the length Dec 10 14:19:16 ah CyrusFF was faster :) Dec 10 14:19:37 and what is this : local a = {} ? Dec 10 14:19:45 empty array Dec 10 14:19:46 it creates an empty table Dec 10 14:19:49 ok Dec 10 14:20:04 to call a vaiable ? Dec 10 14:20:18 http://www.lua.org/pil/ Dec 10 14:20:44 you mean function? (call a variable) Dec 10 14:20:45 thanks Dec 10 14:21:01 no only use a variable Dec 10 14:21:08 ah, just use it's name Dec 10 14:21:31 yes to check it's content for example Dec 10 14:21:33 local a = 1; local b = a + 1; printb) -- 3 Dec 10 14:21:41 local a = 1; local b = a + 1; print(b) -- 3 Dec 10 14:21:51 2 lol Dec 10 14:22:24 i can do this : local a = 2 ; if a > 2 ; then .... Dec 10 14:22:26 ? Dec 10 14:23:08 yes Dec 10 14:23:33 ok thanks Dec 10 15:22:29 hi Dec 10 15:22:52 anyone here ? Dec 10 15:23:08 hi mib_9wyvgb Dec 10 15:23:59 i am here Dec 10 15:24:00 hello Dec 10 15:24:04 hi mib_9wyvgb Dec 10 15:24:05 can you help me ? Dec 10 15:24:17 i hope, depends on the problem really :) Dec 10 15:25:43 I try to redboot Dec 10 15:25:51 and I am stuck at the level of the loader Dec 10 15:25:51 yes Dec 10 15:25:55 ok Dec 10 15:25:58 telnet ? Dec 10 15:26:00 or serial ? Dec 10 15:26:09 i get the message tftp time out operation timed out Dec 10 15:26:16 telnet over wan Dec 10 15:26:16 ah ok Dec 10 15:26:20 ok Dec 10 15:26:34 "tftp time out operation timed out" means your tftp is not running Dec 10 15:26:38 which os are you using ? Dec 10 15:26:48 windows xp Dec 10 15:26:54 putty and tftp Dec 10 15:27:31 hmm Dec 10 15:27:35 ip set correctly ? Dec 10 15:28:00 I set 192.168.1.254 in tftp Dec 10 15:28:16 and the xp has 192.168.1.254 aswell ? Dec 10 15:28:45 my network card has 192.168.1.254 and I am connected to the fonera under redboot Dec 10 15:28:58 but stuck at the level of the loader Dec 10 15:29:07 do I need to start the tftp someow ? Dec 10 15:29:39 the tftp server needs to run Dec 10 15:29:45 do you have a firewall iunstalled on the xp ? Dec 10 15:30:04 no firewal but how can I start tftp then ? Dec 10 15:30:19 hmm Dec 10 15:30:26 i have never used windows Dec 10 15:30:27 1 sec Dec 10 15:30:29 iurgi: ? Dec 10 15:30:41 ok thnx Dec 10 15:30:51 hi Dec 10 15:30:53 what? Dec 10 15:31:07 iurgi: can you help mib_9wyvgb i have no idea how flashing from windows works Dec 10 15:31:07 hi Dec 10 15:31:29 or send a mail to inouk ? Dec 10 15:31:36 I have no idea either, but inuok does Dec 10 15:31:41 inouk Dec 10 15:32:00 yes? Dec 10 15:32:07 hello Dec 10 15:32:12 hi Dec 10 15:32:18 can you help me out flasing under windows ? Dec 10 15:32:20 hi inouk Dec 10 15:33:21 well I don't know much of the window tool but I tryied once with the one advised on the wiki Dec 10 15:33:30 I cant get the loader to be loaded ... operation timeout Dec 10 15:33:44 seems that my tftp server is not well configured Dec 10 15:34:32 do you use the tftp server advised on wiki? Dec 10 15:34:57 tftp32 by PH Jounin Dec 10 15:35:04 is that the right one ? Dec 10 15:35:34 http://tftpd32.jounin.net/ Dec 10 15:35:35 not sure, the one on wiki... Dec 10 15:35:44 ok I ll check Dec 10 15:35:46 yes its the one on the wiki Dec 10 15:35:51 yes Dec 10 15:36:20 OK did you put the loader.bin in the right folder? Dec 10 15:36:40 yes thats ok under c: folder fonera Dec 10 15:36:41 done Dec 10 15:36:56 ip address 192.168.1.254 Dec 10 15:37:27 OK and you pointed out that folder in tftpd32? Dec 10 15:37:57 tftp servers tend to use c:\tftpboot Dec 10 15:38:30 I can chage it ti tftpboot Dec 10 15:38:49 this one you can set a folder Dec 10 15:39:05 then it appear in a drop down menu at the top Dec 10 15:39:13 of the main window Dec 10 15:40:13 i search the prerouting_rule on F2 and i don't find..this table don't exist ? Dec 10 15:45:23 I have done it but still the problem remains .... Dec 10 15:45:40 SoukoussMan: 1 sec Dec 10 15:45:58 ok Dec 10 15:47:53 SoukoussMan: http://trac.fonosfera.org/fon-ng/browser/trunk/fon/fonstate/files/etc/fonstated/Redirect Dec 10 15:49:36 blogic> yes but i want include it in the /etc/firewall.proxy Dec 10 15:54:00 blogic> sorry, it's a error of me Dec 10 15:54:02 i've find Dec 10 15:54:54 ok Dec 10 15:56:26 hi all Dec 10 15:58:11 hi pm2036 Dec 10 15:58:57 the public_dhcp_lan is staticly define ? Dec 10 15:59:03 hi Soukoussman :) Dec 10 16:00:13 hi all Dec 10 16:00:15 lol Dec 10 16:00:58 hi iurgi! Dec 10 16:01:14 (i've decided to say "hi" to everybody^^) Dec 10 16:01:48 mib_9wyvgb, please send a mail to the mailinglist with a full log of what you have done on redboot Dec 10 16:02:16 and a screenshot of the conf of the tftpd Dec 10 16:02:24 and main window Dec 10 16:02:37 you can host it on imageshak.us Dec 10 16:02:50 *imageshack.us Dec 10 16:02:58 mib_9wyvgb: are you sure, when you connect your fonera directly to your computer that your ethernet interface is up? Dec 10 16:03:16 I look at every settings and reply today Dec 10 16:03:37 this chat stuff is unproductive Dec 10 16:04:34 hello again Dec 10 16:04:38 sorry for the delay Dec 10 16:04:43 inouk;: bad day :p Dec 10 16:04:46 I tried another tftp server Dec 10 16:05:04 seems to be the same problem Dec 10 16:05:18 pm2036, no why? Dec 10 16:05:19 yes all other configs are ok because I am already under redboot Dec 10 16:05:40 inou: nothing ;) Dec 10 16:05:43 but I can't succeed to load the bootloader Dec 10 16:05:55 getting to operation time out message Dec 10 16:06:10 mib_9wyvgb: ping -h 192.168.1.254 Dec 10 16:06:15 after 10 secons Dec 10 16:06:20 CTL^C Dec 10 16:06:25 and see if there's any reply Dec 10 16:06:27 this should work Dec 10 16:06:31 since you're using telnet Dec 10 16:06:34 but just in case ;) Dec 10 16:06:49 if so, to me, it's 100% sure that your tftp program is not running properly Dec 10 16:07:05 either not listenning on the correct port or on no port at all Dec 10 16:08:09 yes seems so Dec 10 16:08:20 I do not have a lot of experience with tftp servrs Dec 10 16:08:39 I understund it should be liteing to address 192.168 .1.254 right ? Dec 10 16:08:47 port ?? Dec 10 16:10:01 port 63 right ? Dec 10 16:10:26 m tftp server says connected to local host and I have a redboot command line Dec 10 16:10:27 69 Dec 10 16:11:22 does your computer reply to pings? Dec 10 16:13:11 yes it does Dec 10 16:13:28 and redboot available without any problems Dec 10 16:15:45 iurgi, he can connect to redboot the problem is with the tftp server Dec 10 16:16:03 inouk, you couldn't tell that only by using telnet Dec 10 16:16:04 imho Dec 10 16:16:15 <_bluetouff> hey iurgi :) Dec 10 16:16:17 reboot accepts connections from any valid IP Dec 10 16:16:25 mib_9wyvgb, did the tftp server came with default port 63? Dec 10 16:16:32 but will only connect to the correct tftp sserver Dec 10 16:16:35 no with 69 Dec 10 16:16:38 I checked it Dec 10 16:16:40 it is ok Dec 10 16:17:02 so, mib_9wyvgb did you try what I told you? Dec 10 16:17:05 the ping? Dec 10 16:17:09 yes Dec 10 16:17:16 what was the outpu? Dec 10 16:17:17 t? Dec 10 16:17:54 mib_9wyvgb, check this out http://tftpd32.jounin.net/ Dec 10 16:18:35 ping received 0 of 10 expected ?? Dec 10 16:18:36 where the guy got D:/... you have to have the path of the loader Dec 10 16:18:42 and firmware Dec 10 16:19:10 yes the path is correct put the loader and the firmware unde c:/fonra Dec 10 16:19:14 in "server interface" you need 192.168.1.254 Dec 10 16:19:20 mib_9wyvgb: so the ping didn't work Dec 10 16:19:34 inouk: did you see the "received 0" ? ;) Dec 10 16:19:35 no ping did not work Dec 10 16:19:42 so, your IP is incorrect Dec 10 16:19:50 server interface set to 192.168.1.254 Dec 10 16:20:06 which IP Dec 10 16:20:13 the one of the network card ? Dec 10 16:20:14 the one on your PC Dec 10 16:20:17 yes Dec 10 16:20:18 iurgi, no :( Dec 10 16:20:25 inouk: why? Dec 10 16:20:29 mib_9wyvgb: yes Dec 10 16:20:30 ;) Dec 10 16:21:04 my network card ip is 192.168.1.254 Dec 10 16:21:09 mask 255.255.255.0 Dec 10 16:21:12 hmmm Dec 10 16:21:14 default gateway Dec 10 16:21:16 192.168.1.1 Dec 10 16:21:24 are you in redboot? Dec 10 16:21:31 please type: ip_address Dec 10 16:21:37 and paste the output Dec 10 16:21:52 iurgi, I mean I missed the "received 0" thing Dec 10 16:22:20 ah Dec 10 16:22:22 :) Dec 10 16:22:34 let check back... Dec 10 16:22:43 god I so time ineficient Dec 10 16:23:14 ip_address ok Dec 10 16:23:39 I get default server 192.168.1.254 as a response Dec 10 16:23:57 seems fine Dec 10 16:24:44 and ip is 192.168.1.1 Dec 10 16:24:47 from yout laptop Dec 10 16:24:49 ping 192.168.1.1 Dec 10 16:25:24 I get a reply from 192.168.1.1 Dec 10 16:25:26 no prob Dec 10 16:25:39 ok Dec 10 16:25:45 power off and on the fonera Dec 10 16:25:48 and start over Dec 10 16:26:02 sometimes, on my experience, the network acts weird Dec 10 16:26:06 veeeeeeeeeeery little times Dec 10 16:26:07 ok doing it now Dec 10 16:26:10 but happened to me Dec 10 16:26:29 ok fonera up gain Dec 10 16:26:45 and get e reply from ping 192.168.1.1 Dec 10 16:26:53 what shall I do now Dec 10 16:27:10 telnet quick Dec 10 16:27:12 :) Dec 10 16:28:00 ok Dec 10 16:28:04 BTW: I don't understand a thing I thought you were in redboot already :S Dec 10 16:28:29 successfully entered redboot Dec 10 16:28:43 ok Dec 10 16:28:44 great are in now? Dec 10 16:28:47 ping -h 192.168.1.254 Dec 10 16:28:49 sure but I restarted the fonera now Dec 10 16:28:58 ha ok Dec 10 16:29:00 ping -h 192.168.1.254 and wait for 10sec Dec 10 16:29:06 then CTL^C Dec 10 16:29:56 response ping from 192.168.1.1 to 192.168.1.254 Dec 10 16:30:00 did control c Dec 10 16:30:06 then I am back to redboot Dec 10 16:30:24 but, did you get any reply from 192.168.1.254? Dec 10 16:30:48 no Dec 10 16:30:51 no reply Dec 10 16:31:05 RedBoot> ping -h 192.168.10.2 Dec 10 16:31:05 Network PING - from 192.168.10.1 to 192.168.10.2 Dec 10 16:31:05 PING - received 1 of 10 expected Dec 10 16:31:12 this is the normal output Dec 10 16:31:13 ping received 0 out of 10 expected is the response Dec 10 16:31:20 hmmm Dec 10 16:31:24 ok then it worked Dec 10 16:31:26 does your windows blogk pngs? Dec 10 16:31:31 :) Dec 10 16:31:41 probably Dec 10 16:31:44 what sorry ;-) Dec 10 16:31:45 ok Dec 10 16:31:57 so it's probably not a network problem Dec 10 16:31:59 it's tftp Dec 10 16:32:06 ok Dec 10 16:32:17 can you tell me line by line to configure tftp ? Dec 10 16:32:22 no idea Dec 10 16:32:33 I haven't used windows for the last... 8 years Dec 10 16:32:34 :) Dec 10 16:33:42 I hav a libe current dirctory pointing to the loader and the image Dec 10 16:33:45 no prob here Dec 10 16:33:46 then Dec 10 16:33:53 server interface Dec 10 16:33:55 is set to Dec 10 16:34:04 192.168.1.254 right ? Dec 10 16:34:15 then under tftp client Dec 10 16:34:27 ok Dec 10 16:34:35 I have host port local file remote file and block size Dec 10 16:34:48 the commands get and put Dec 10 16:35:01 tftp client? Dec 10 16:35:08 your pc should be the tftp server Dec 10 16:35:10 imho Dec 10 16:36:12 yes sure Dec 10 16:36:23 mib_9wyvgb, do you use a firewall on your window machine Dec 10 16:36:27 but in the prog there is also a client integrtated Dec 10 16:36:34 or any security program? Dec 10 16:36:36 not sure maybe yes Dec 10 16:37:09 no security programs no I am sure Dec 10 16:37:19 maybe the built in windows firewall Dec 10 16:37:38 deactivate it please then Dec 10 16:38:23 you can't host a server of anykind if a firewall running Dec 10 16:38:44 and blocking the port your server uses Dec 10 16:38:59 I just typed again Dec 10 16:39:27 load -r -b ox80100000 loader.bin Dec 10 16:39:38 then got no error message anymore but a ctrl c Dec 10 16:39:46 then redboot cmd line Dec 10 16:39:51 think it worked Dec 10 16:40:04 then I tried Dec 10 16:40:08 fis create loader Dec 10 16:40:16 so you deactivated the firewall and it worked? Dec 10 16:40:17 and got the next error message Dec 10 16:40:26 yes the firewall bocked Dec 10 16:40:35 \o/ Dec 10 16:40:51 god that was painfull but we got it :) Dec 10 16:42:02 on fis create loader I get the error invalid fis commans ?? Dec 10 16:42:11 eheh painful yes I agree Dec 10 16:42:44 full output please Dec 10 16:43:37 mib_9wyvgb: that's normal Dec 10 16:43:48 you probably had a hidden char in the buffer Dec 10 16:43:51 do it again Dec 10 16:43:53 it will work Dec 10 16:43:55 BUT Dec 10 16:43:59 that command is incorrect Dec 10 16:44:08 first of all: DON'T reflash loader Dec 10 16:44:14 it's unnecessary Dec 10 16:44:23 but ig you ever need to, that is not the way to do it Dec 10 16:44:27 where did you read that? Dec 10 16:44:37 on the wiki Dec 10 16:44:46 what comes next then ? Dec 10 16:44:48 uh oh Dec 10 16:44:49 :) Dec 10 16:44:54 you only need this Dec 10 16:45:07 load -r -b %{FREEMEMLO} image_name Dec 10 16:45:29 where image name is probably 200812004_FON2202_2.2.0.0_alfred.image Dec 10 16:45:31 or similar Dec 10 16:45:32 then Dec 10 16:45:35 fi de image Dec 10 16:45:38 fi cr image Dec 10 16:45:45 - OR - Dec 10 16:45:49 fis delete image Dec 10 16:45:52 fis create image Dec 10 16:45:56 - it's the same - Dec 10 16:46:23 ok and that's it ? Dec 10 16:46:36 what happes then will the fonera restart ? Dec 10 16:47:17 mib_9wyvgb, fis creat image should take around 20 min Dec 10 16:47:22 or more Dec 10 16:47:45 do not disconnect the fonera before having an output Dec 10 16:47:52 of the command Dec 10 16:48:08 iurgi, the loderit is in the wiki in case guys need it Dec 10 16:48:38 yes I have downloaded the loader from the wiki thanks Dec 10 16:48:44 I will try all this guys Dec 10 16:48:49 and will let you work now Dec 10 16:48:59 thank you for the hints Dec 10 16:49:16 maybe the wiki should be udated because without your help i would net have managed it Dec 10 16:49:47 updated with what Dec 10 16:49:48 ? Dec 10 16:50:00 deactivate your firewall? Dec 10 16:50:16 no the Dec 10 16:50:17 load -r -b %{FREEMEMLO} image_name Dec 10 16:50:19 command Dec 10 16:51:39 I haded the firewall Dec 10 16:51:49 load command is in the wiki Dec 10 16:53:19 * I added the firewall in the wiki Dec 10 16:53:40 * the load command was already in the wiki Dec 10 16:54:05 mib_9wyvgb, if you have any problem during the redboot procedure Dec 10 16:54:08 * remove the loader part Dec 10 16:54:12 or move it somewhere else Dec 10 16:54:24 nobody should need that execpt for troubleshooting situations Dec 10 16:55:07 "how do I know if I broke redboot? try fis list. If you get something different than: then run fis init." Dec 10 16:55:16 and there we put the full process, including loader Dec 10 16:55:23 but for the rest, it's totally unnecessary Dec 10 16:56:14 plus, inouk Dec 10 16:56:24 could you do this changes in the trac wiki? Dec 10 16:56:34 iurgi, done Dec 10 16:56:50 trac not now Dec 10 16:57:56 ok Dec 10 17:15:57 thanks .-) Dec 10 17:16:05 worked? Dec 10 17:16:26 btw, if the fonera is rebooted in the middle of the flash process: nothing happens Dec 10 17:16:30 start over from redboot Dec 10 18:04:22 still struggling ... but trying hard :-) Dec 10 19:31:17 anyone knows a good "hello world" example ? and where do i put the "helloworld.lua" on a fonera2? Dec 10 19:33:40 eg where should i put #!/usr/bin/lua print ("Hello World!") Dec 10 19:33:48 in /etc/plugin? Dec 10 19:36:00 skynetbbs> you need use sdk to make test Dec 10 19:37:22 darn I assumed it also worked without binary compilation? Dec 10 19:39:05 i use the sdk and it's easy and quickly Dec 10 19:40:01 and it all went good with just the instructions from yesterday evening from Cirrus? Dec 10 19:41:18 yes Dec 10 19:41:25 okay booting to sdk operating system... :-) Dec 10 19:41:47 it's not a OS but only a dev env Dec 10 19:42:55 i think i do a small tuto on Francofon wiki in the week Dec 10 19:58:13 ok back....f2 needed a few reboots Dec 10 20:06:17 doing a recent checkout of svn Dec 10 20:17:41 make runhttpd (on ubuntu with liblua5.1-0-dev installed ) stops with an error when trying to do a patch on "boa".... is this "good"? Dec 10 20:18:46 installing "patch" Dec 10 20:19:24 better install "build-essential" Dec 10 20:19:32 that will pull all those commonly used tools Dec 10 20:22:15 okay except lua-dev also lua itself was required :-) Dec 10 20:23:49 okay got the interface on port 8080 Dec 10 20:24:04 now how does one exactly proceed for eg a "helloworld" introduction? Dec 10 20:25:12 eg where to put : http://icculus.org/~theoddone33/lua/ Dec 10 20:28:56 they all seem to sleep ;) Dec 10 20:29:47 a simple helloworld.lua is not enough, as the code needs to be embedded in the framework, so you need at least two files: a controller and a model. The controler cares for the menu entry, the model for the actual content Dec 10 20:30:00 instead of the model you could call a template as well Dec 10 20:30:27 the template is more ore less a html file with some special markup to include stuff or execute embedded code (like php...) Dec 10 20:31:07 in the folder where you called make runhttpd, the should be a sub-folder "applications" Dec 10 20:31:43 with entries like luci-azureus, luci-ddns, etc. Dec 10 20:32:01 each of this folders represent a complete addon Dec 10 20:33:23 did you already read this document? http://luci.freifunk-halle.net/Documentation/ModulesHowTo Dec 10 20:36:16 no i was at http://luci.freifunk-halle.net/Documentation/DevelopmentEnvironmentHowTo Dec 10 20:36:39 ah okay, well the document I linked would be the next step Dec 10 20:36:56 it explains howto actually add stuff Dec 10 20:37:08 means new pages/menu items Dec 10 20:38:11 reading Dec 10 20:38:24 okay, just ask if stuff is unclear Dec 10 20:38:46 I can only tell you the general luci way, if you need fon specific advice you might want to ask blogic Dec 10 20:39:01 where to locate Reopen "lucidir/controller/myapp/mymodule.lua" Dec 10 20:39:03 ? Dec 10 20:39:30 lucidir = /path/to/your/luci/checkout/applications/myapplication Dec 10 20:39:52 so from the folder wher you did "make runhttpd" in "./applications/myapplication" Dec 10 20:41:33 I ran "make runhttpd" in /trunk/luci ... Dec 10 20:41:52 okay so it would be trunk/luci/applications/myapplication Dec 10 20:41:52 localhost:8080 thus ran something "fon" Dec 10 20:42:23 first thing to know is that the urls you see in the browser a purely virtual Dec 10 20:42:32 they don't correspond to actual directory paths Dec 10 20:44:32 yes but how does "http://localhost:8080/luci/click/here/now" point to the physical /trunk/luci/applications/myapplication? Dec 10 20:45:09 this function index() should be somewhere else than in myapplication? Dec 10 20:46:02 myapplication is just a sample module, but it is afaik not included in the fon repos Dec 10 20:46:10 every module has its own index function Dec 10 20:48:59 http://pastebin.com/m6b001ed6 <-- sample directory tree layout for a new module "helloworld" Dec 10 20:52:58 mybe have a look at applications/luci-ddns, its a relatively simple application Dec 10 21:06:18 i notice it's reffering to luci-static for "png" ... so part of our stuff is not residing inside /luci/applications/... ? Dec 10 21:07:08 it is Dec 10 21:07:24 in applications/app/ there can be a folder "htdocs" Dec 10 21:07:35 yes found it in the meanwhile thnx! Dec 10 21:07:43 which represents the webroot (/www on the device) Dec 10 21:07:45 oh okay Dec 10 21:23:04 http://pastebin.com/d746a620 Dec 10 21:23:21 is the problem in the cbi folder (as the error indicates) or should I look elsewhere (in the controller?) Dec 10 21:24:22 don't use a cbi map for a hello world, maps are used for manipulating UCI (OpenWrt configuration) files Dec 10 21:25:46 go to your controller and replace cbi("foobarxy") with call("helloworld") and then write a function helloworld() print("hello world") end also in the controller Dec 10 21:25:52 and delete the cbi model Dec 10 21:28:27 sth like http://pastebin.com/m9b4932c Dec 10 21:29:08 just with your old module(...) line Dec 10 21:30:01 in this case: "hello" is the adress, meaning the page will appear under /luci/hello, and if you request it, luci will CALL the function helloworld Dec 10 21:32:16 ..red/trunk/luci/host//usr/lib/lua/luci/dispatcher.lua:518: attempt to call field '?' (a nil value) Dec 10 21:32:28 pastebin plz Dec 10 21:33:41 okay found the issue... Dec 10 21:34:13 SOMEEXAMPLE had to be "hello".... and output is on "cli" Dec 10 21:34:21 okay...i'm getting the picture :-) Dec 10 21:34:38 luci.http.write Dec 10 21:34:43 instead of print Dec 10 21:34:54 writes to webbrowser Dec 10 21:40:20 that works as well... any idea how I can link to "hello" from the "fon" menu? Dec 10 21:40:45 where do you want to put your application? Dec 10 21:41:07 under "fon_services" probably Dec 10 21:42:01 or how I can enable the existing applications there... hence "localhost:8080/luci/fon_services/azareus" works.... but it's not mentioned when going to localhost:8080/luci/fon_services Dec 10 21:42:35 I expected to see these in the following file but couldn't see them :( /FON2202_2.2.0.0_rc1_alfred/trunk/luci/modules/admin-fon/luasrc/controller/fon_admin/fon_services.lua Dec 10 21:43:49 the first parameter of entry() specifies the path, so change it to {"fon_services", "hello"} and specify a third parameter after call("helloworld") containing the name of your page maybe also "Hello" Dec 10 21:44:50 you don't have to touch the modules/admin-fon/... files, because applications can be self-contained Dec 10 21:45:26 it would not be very intelligent if every module had to write a line into the fon_services.lua Dec 10 21:52:34 indeed... very nice.... okay i'm getting the hang of it... added a "local page=" before entry... and added page.icon_path & page.icon Dec 10 21:53:21 next time I hope to get something more intelligent on the screen except "hello world"... :-) Dec 10 21:53:28 hehe Dec 10 21:53:35 btw do you know anything about this "fonstated"? Dec 10 21:54:22 eg if I want to just "restart" the chillispot services? how to proceed the best? Dec 10 21:58:54 local event = require "luci.fon.event"; then call either event.new/event.runnow/event.runnow_nowait with parameter "RestartChilli" Dec 10 22:00:29 libs/fon/luasrc/fon/event.lua Dec 10 22:04:29 hi Dec 10 22:04:51 someone can help me. In my lua, i want reload firewall when i click on save. It's possible ? Dec 10 22:05:39 pastebin plz Dec 10 22:07:11 CyrusFF> pastebin what ? my lua ? Dec 10 22:08:20 ummn wrong channel sry Dec 10 22:11:42 CyrusFF> are available for a quick question ? Dec 10 22:13:17 ask Dec 10 22:14:00 In my lua, i want reload firewall when i click on save. It's possible ? Dec 10 22:14:34 i had think this work with events but this don't work in my code Dec 10 22:15:48 it should work with events Dec 10 22:16:32 if the event you want to fire exists of course Dec 10 22:17:16 yes, in fact, this work but not at each change Dec 10 22:17:56 events are not handled immediately Dec 10 22:18:25 or better to say it is not guaranteed that they are handled immediately Dec 10 22:18:44 ok...i've do multiple test, i this seens work now Dec 10 22:18:46 thanks Dec 10 22:25:53 :) Dec 11 00:57:30 hi Dec 11 00:58:28 Hello Lurgi still online ? **** ENDING LOGGING AT Thu Dec 11 02:59:57 2008