**** BEGIN LOGGING AT Thu Oct 01 02:59:56 2009 Oct 01 06:41:06 Buongiorno! Oct 01 07:32:03 Morning Oct 01 07:56:37 Hah, the torrent downloader worked after all Oct 01 07:56:44 Apparently I got the port forwards right :_) Oct 01 07:58:27 iurgi: It seems that Transmission is installed in the firmware already on Flipper? No need to install it seperately on the USB disc? Oct 01 08:00:23 Now let's upgrade to Elan Oct 01 08:01:28 blogic: What's the idea behind the version of this firmware, btw? 20090909_FON2303_2.3.0.1_RC2.tgz Looking at the datestamp, shouldn't that ben 2.3.0.0 ? Oct 01 08:04:16 hi Oct 01 08:04:44 ey iurgi Oct 01 08:04:54 blathijs: yes, that file has a wrong name Oct 01 08:05:56 Perhaps rename it to prevent confusion? Oct 01 08:08:09 blathijs: no Oct 01 08:08:23 iurgi: it is not wrong Oct 01 08:08:28 it is 100% how i wanted it Oct 01 08:08:40 In that case, I don't understand it :-) Oct 01 08:08:54 Since it's between 2.3.0.0_RC1 and RC3, looking at the date Oct 01 08:11:26 Hmm, something went wrong with that upgrade (power led stayed orange, Fonera didn't boot...) Oct 01 08:11:50 blathijs: what do you mean? that file was named by me, not you Oct 01 08:12:26 I can hardly think of a way for you influencing my typos Oct 01 08:12:27 lol Oct 01 08:12:50 s/blathijs/blogic/ Oct 01 08:12:56 iurgi: I meant that if the 2.3.0.1 should have been 2.3.0.0, perhaps you should correct it, so that people looking at the /RC listing don't get confused. But apparently it is not wrong (which doesn't make it less confusing) Oct 01 08:13:01 Ah Oct 01 08:13:07 That makes even more sense :-D Oct 01 08:13:31 blogic: it is 2.3.0.0 Oct 01 08:13:58 blogic: I was referring to the 2.0n version here, not the 2.0g version Oct 01 08:14:02 he is refering to a fonera 2.0n firmware from november before even launch, so it's 2.3.0.0RC2 Oct 01 08:14:13 s/november/september/ Oct 01 08:14:30 looks like I'm sleepy still. will grab a huge coffee now Oct 01 08:14:44 Actually, it seems that the 2.0g version should be 2.3.0.1, according to blogic's last commit :-) Oct 01 08:14:52 (but it's 2.3.0.0) Oct 01 08:14:52 bbl, I have a meeting now Oct 01 08:14:55 iurgi: hf Oct 01 08:15:01 lol Oct 01 08:15:04 Don't forget the coffee :-) Oct 01 08:16:24 Hmm, did the Torrent icon change? I think it is different between my handcompiled version and the one from /RC... Oct 01 08:16:48 Ah, nice, there is now a "Do you really want to reboot" dialog. I was considering complaining about the lack of that :-p Oct 01 08:23:13 iurgi: Installing Transmission after an upgrade doesn't work, it says "There is already a installation in progress, please try again in a few minutes" Oct 01 08:23:49 iurgi: But I think I also saw that on a clean Elan install before I downgraded Oct 01 08:25:45 iurgi: I did create all three files under FoneraApps Oct 01 08:26:55 Hmm, perhaps it is actually installing, I just saw a dd and a mkfs in the process list Oct 01 08:27:33 Ah, nice, now it's installed Oct 01 08:28:59 Perhaps it's started the installation automatically then, or I've clicked twice or something Oct 01 08:32:24 Ah, and apps need to be installed and started, I see :-) Oct 01 08:34:24 iurgi: Is it me, or is the torrent client completely different? I think it was ctorrent in Flipper, and is now Tranmission? Oct 01 08:34:58 iurgi: Anyway, Transmission seems to run fine after an upgrade from Flipper, since there was nothing installed to the flash disk Oct 01 08:35:21 iurgi: It does not preserve running torrents, though, since the torrent files are stored in a different place Oct 01 08:50:03 it is new, yes Oct 01 08:52:25 iurgi: Then what was your point about the filename being changed? Since the Flipper version didn't use Transmission or .fng files at all? Oct 01 08:54:15 hmmm Oct 01 08:54:26 the users that had 2.2.6.0RCx Oct 01 08:54:40 not flipper but pre-cheeky Oct 01 08:55:28 Ah, so I tested the wrong upgrade? :-) Oct 01 10:04:24 blogic: Do you know if the final (non-rc) cheeky version (from /Cheeky ) is supposed to work? It's failing to boot for me (tried flashing it twice) Oct 01 10:04:51 Trying rc5 now Oct 01 10:05:07 c! Oct 01 10:05:11 crap Oct 01 10:05:14 ok a 20g or 20n ? Oct 01 10:05:24 g Oct 01 10:06:19 there is no 2.3.0.0 for 20g Oct 01 10:06:27 what file are you flashing ? Oct 01 10:06:28 2.2.6, cheeky Oct 01 10:06:34 ah ok Oct 01 10:06:41 should work, yes Oct 01 10:06:42 20090727_FON2303_2.2.6.0_DEVELOPER.tar.gz Oct 01 10:06:51 erm Oct 01 10:07:01 iurgi: what is fon2303 Oct 01 10:07:10 can we start naming them with real names please :) Oct 01 10:07:17 i think 2303 is 20n Oct 01 10:07:21 not sure though Oct 01 10:08:39 oh wait Oct 01 10:09:00 I've been trying to flash the 20n version indeed Oct 01 10:09:09 Ah, that explains Oct 01 10:09:13 hehe Oct 01 10:09:22 I've used SSH flash first, so I bypassed the version check Oct 01 10:09:56 And then I used the failsafe mode, which probably had the version check, so it just didn't do anything Oct 01 10:10:10 Right, flashing rc5 now, which is available for 20g Oct 01 10:10:45 Interestingly enough the failsafe page did say the upgrade was succesful just now, even though it hadn't done anything Oct 01 10:11:01 might be Oct 01 10:11:07 failsafe is pre my time at fon Oct 01 10:11:22 i have no idea who made it :) Oct 01 10:11:30 Is there any known bug with disc mount on 2.3.0.1 rc1 for Fon2.0g. Yesterday I successfully installes transmission, but this morning seems like the disc disapeared. Oct 01 10:11:55 ? Oct 01 10:12:35 blogic: Actually, it seems the cheeky 2303 / 20n version doesn't even check if it's really a 20n, so it did actually do the flashing Oct 01 10:13:03 Not sure why it didn't reboot afterwards, since it does contain mtd -r Oct 01 10:13:06 oh well Oct 01 10:13:23 blathijs: use 2.3.0.x Oct 01 10:13:26 :) Oct 01 10:13:29 hello! Oct 01 10:14:04 blogic: I'm trying to test the upgrade :-) Oct 01 10:14:45 blathijs: ah ok Oct 01 10:16:20 Hmm, but rc5 doesn't boot either... Oct 01 10:35:02 Why if i try to access via WAN on the fonera2 (http) the normale user and pass that i use via ssh doesn't work?? Oct 01 10:35:26 iurgi: I think you need to use "fonera" as username Oct 01 10:35:38 Haven't tested that yet, though Oct 01 10:35:47 mmm Oct 01 10:35:55 fonera and the root password? Oct 01 10:35:57 root is only for ssh now, I think Oct 01 10:36:25 and now it says always Unauthorized Oct 01 10:39:26 as of 2.3.0.0 all users are fonero apart form ssh Oct 01 10:41:07 oh ok :) Oct 01 10:41:31 and as password the root password? Oct 01 10:41:41 admin Oct 01 10:43:20 iosonoio: I think so, yes, that should be the only password used Oct 01 10:43:41 lol but doesn't work :D Oct 01 10:43:41 iosonoio: But I think it locks you out after a few attempts, so wait a bit until you can try again :-) Oct 01 10:43:44 so weird :D Oct 01 10:43:56 yes right Oct 01 10:44:03 it locks me out some minutes Oct 01 10:45:07 iosonoio: over wan ?! Oct 01 10:45:11 we have port hammering :) Oct 01 10:45:19 you get 3 tries every 2 minutes i think Oct 01 10:45:26 yes over wan Oct 01 10:45:31 o make sure ssh cannot be bruteforced Oct 01 10:45:44 miss type your password 3 times and you are locked out for 2 minutes Oct 01 10:47:40 ok Oct 01 10:47:49 anyway the user is fonero Oct 01 10:47:55 and the password is the root password Oct 01 10:48:13 doesn't work Oct 01 10:48:15 :D Oct 01 10:50:00 it does Oct 01 10:50:04 Interesting :-) Oct 01 10:50:04 :D Oct 01 10:50:20 iosonoio: does fonero/your_pass work on lan? Oct 01 10:50:30 sorry Oct 01 10:50:32 on lan it doesn't ask me Oct 01 10:50:33 on lan there's no fonero Oct 01 10:50:34 nothing Oct 01 10:50:37 yes Oct 01 10:50:38 :) Oct 01 10:50:41 hmm Oct 01 10:50:46 I'm pretty sure this was tested Oct 01 10:50:48 I tested it Oct 01 10:50:50 and it worked Oct 01 10:50:52 hmmm Oct 01 10:50:53 On lan there is no password prompt Oct 01 10:50:55 uh Oct 01 10:50:56 username Oct 01 10:50:59 no username :-) Oct 01 10:51:01 and other users confirmed it, imo Oct 01 10:51:04 lol Oct 01 10:51:07 will try to test later Oct 01 10:51:41 i'm on v2.2.5.0 Oct 01 10:51:42 firmware Oct 01 10:52:00 I would test it right now, but Cheeky again failed to flash... Oct 01 10:52:28 iurgi: It seems I can't test the 2.2.6-rc5 -> 2.3.0 upgrade for you, since the former won't boot... Oct 01 10:52:47 why? Oct 01 10:53:00 iosonoio: on 2.2.5.0 it's root, not fonero Oct 01 10:53:33 iurgi: Dunno, the power led stays orange, the internet led is blink... Oct 01 10:53:34 oh wait Oct 01 10:53:38 Now it did come up Oct 01 10:53:46 ok i tried as user: root and as pass: myrootpassword Oct 01 10:53:49 Apparently the reboot failed somehow Oct 01 10:53:49 and doesn't work Oct 01 10:54:10 iurgi: I'm pretty sure root/root_pw didn't work on WAN for Flipper, I've tried that before Oct 01 10:54:56 where this basi auth is written? Oct 01 11:09:11 blathijs: i tried all the combination i really can't access via WAN and i can't fine nothing on the wiki any help? Oct 01 11:09:41 iosonoio: Dunno, it never worked for me either :-) Oct 01 11:09:46 lol Oct 01 11:10:04 iosonoio: I thought that using "fonera" for the username was the magic solution, since I haven't tried that yet Oct 01 11:10:16 but apparently not :-) Oct 01 11:11:36 no it doesn't work :( Oct 01 11:11:46 but somewhere must be the configuration right? Oct 01 11:13:12 Yeah, but I haven't found where yet (haven't really looked either) Oct 01 11:13:17 ok Oct 01 12:37:06 Hmm, it seems the FON wiki doesn't support using an image as a link :-) Oct 01 12:43:59 hi! Oct 01 12:44:09 how i can stop the respawn of chilli process? Oct 01 12:44:10 hey iosonoio Oct 01 12:44:26 Perhaps disable it in /etc/config/services? Oct 01 12:44:33 (Just a wild guess) Oct 01 12:45:02 mm i'll try Oct 01 12:47:17 in that file there is under http section the "option 'fwall' '1'" maybe is smething relative to the password from the wan? Oct 01 12:47:53 I think that that option makes that service appear in the firewal configuration in the first place Oct 01 12:48:04 ok Oct 01 12:48:08 though it might also mean that it is allowed in the wan interface, not sure Oct 01 12:49:36 Oct 1 12:49:00 Fonera user.crit syslog: finished running /etc/fonstated/RestartChilli Oct 01 12:50:07 it keeps restarting :D Oct 01 12:50:13 it's immortal Oct 01 12:50:14 :D Oct 01 12:50:34 Perhaps you can see if RestartChilli has some hints? Oct 01 12:50:48 Or grep around in /etc/fonfig for "RestartChilla", to see what calls it? Oct 01 12:53:31 i thing is the foncmd script Oct 01 12:53:36 that is called regulary Oct 01 12:53:39 from fonstate Oct 01 13:02:21 it is the chillispot watchdog Oct 01 13:02:29 does it keep on popping up on your fon ?! Oct 01 13:02:41 if so, the fonera has problems reaching fon.com Oct 01 13:02:54 iurgi: can you check if iosonoio's heartbeats arrive ?! Oct 01 13:05:20 blogic: what fonscmd do? and wich is his file configuration? Oct 01 13:10:58 fonsmcd.conf Oct 01 13:11:14 it is the heartbeat to tell fon if the spot is on or not, so we can put the icon on the google map Oct 01 13:11:15 ok Oct 01 13:11:48 Hmm, but this chilli thing was something not fon-specific, right? Oct 01 13:12:17 Or is chillispot used to implement fon's authentication stuff? Oct 01 13:12:48 chillispot is the software which opens the fonspot and allows radius auth of foneros on the spot Oct 01 14:13:11 blogic_: sure I can Oct 01 14:13:22 I think you got kicked by netsplit or something Oct 01 14:13:28 your nick is weird ;) Oct 01 14:14:16 iosonoio: but what is your problem? Oct 01 14:14:33 do you have a 'clean' firmware or the one with the changes we suggested yesterday? Oct 01 14:14:44 i have a clean one Oct 01 14:14:49 2.2.5 Oct 01 14:14:57 and chillispot is resterting all the time? Oct 01 14:14:58 hmm Oct 01 14:14:59 but i made a script for turn off wifi Oct 01 14:15:07 well Oct 01 14:15:08 and in logread Oct 01 14:15:10 then chilli might not work Oct 01 14:15:12 i have a lot of error Oct 01 14:15:16 if the interfaces are not up Oct 01 14:15:16 by chilli Oct 01 14:15:20 yes right Oct 01 14:15:22 it might restart all the time+ Oct 01 14:15:23 that's why Oct 01 14:15:30 i wanna kill it Oct 01 14:15:38 well, it is triggered by fonstated Oct 01 14:15:40 or maybe don't start it at all Oct 01 14:15:49 you can kill fonstated, for a test Oct 01 14:16:01 but it is not usable after reboot Oct 01 14:16:02 but fonstated Oct 01 14:16:05 it will come up again :) Oct 01 14:16:07 it's like cron? Oct 01 14:16:09 it controls the fonera Oct 01 14:16:11 with events? Oct 01 14:16:11 hmmm Oct 01 14:16:14 yes Oct 01 14:16:16 and more things Oct 01 14:16:26 ok Oct 01 14:16:41 you can always delete the chilli script from /etc/fonstated/ or so, I guess Oct 01 14:16:48 welcome blogic Oct 01 14:17:15 and what fonsmcd Oct 01 14:17:16 do? Oct 01 14:19:04 i killed fonscmd and fonstated Oct 01 14:21:23 blogic: Is there any particular reason /etc/profile does HOME=/root, while /etc/password has /tmp as homedir? Oct 01 14:21:25 iurgi: without fonstated and fonscmd if i kill chilli it doesn't respawn Oct 01 14:21:50 blogic: It's slightly confusing, since "cd" does not go to the same place that sh thinks is ~ currently :-) Oct 01 14:21:59 iosonoio: why dont oyu just turn of chilli in the webui ?! Oct 01 14:22:21 where in the webui? Oct 01 14:22:32 blogic: Can Flipper do that already? Oct 01 14:22:32 settings->fonspot->sharewifi Oct 01 14:22:38 mmm Oct 01 14:22:44 flipper doesn't have that option Oct 01 14:23:13 that option came with 2.6.0 Oct 01 14:23:15 iurgi: I've tried upgrading from Cheeky to Elan, with Transmission installed. On Elan, the existing install is completely ignored, so I'm offered to install afresh Oct 01 14:23:31 iosonoio: why odn't you upgrade? Oct 01 14:23:48 blathijs: yeah, and when you install, it's broken Oct 01 14:24:05 to which one? RC5? Oct 01 14:24:13 2.3.0.0RC1 Oct 01 14:24:33 RC1 has some issue on the wan side Oct 01 14:24:38 what issue?? Oct 01 14:24:54 i can't access via webui throught wan side Oct 01 14:25:18 iosonoio: ???? Oct 01 14:25:19 whay? Oct 01 14:25:21 why? Oct 01 14:25:40 yesterday i tried with 2.3.0 and i can't do it Oct 01 14:25:55 !! Oct 01 14:25:58 i'll try to reinstall it if tell me that is ok Oct 01 14:26:01 but do yo uget the ssl certificate? Oct 01 14:26:13 well, let me just try it Oct 01 14:26:15 give me 5min Oct 01 14:26:17 ok Oct 01 14:27:22 iosonoio: Does the WAN http thing work on Flipper for you? Oct 01 14:27:36 iurgi: I haven't tried installing Transmission yet, I'm trying to find the code that does that first :-) Oct 01 14:27:48 Think I've found it, though Oct 01 14:28:30 on flipper it ask me user and pass Oct 01 14:28:41 but i tried all the combination without success Oct 01 14:29:06 user: fonero root fonera null pass: myrootpassword null admin Oct 01 14:29:09 iosonoio: So it's not working on flipper either? Oct 01 14:29:23 yes i discover it toay... Oct 01 14:29:27 today* Oct 01 14:29:41 So you might as well upgrade, then :-p Oct 01 14:29:46 lol Oct 01 14:30:26 but on flipper it ask me something :D Oct 01 14:30:37 on 2.3.0 nothing :P Oct 01 14:31:47 someone can try if the wann access works on 2.3.0? Oct 01 14:32:02 iosonoio: Did you change the password after upgrading to Elan? Oct 01 14:32:10 iosonoio: I'll check in a minute Oct 01 14:32:21 iosonoio: Did you try SSH over WAN on Elan Oct 01 14:32:21 ? Oct 01 14:32:25 i changed it with the webinterface Oct 01 14:32:52 i don't remember Oct 01 14:32:53 Because the upgrade throws away the pass_good variable (not sure if I discussed that with you yesterday?) Oct 01 14:32:58 webinterface for sure Oct 01 14:33:09 blathijs: yes tou did Oct 01 14:33:18 ah :-) Oct 01 14:33:22 and after i changed it with webui the pass_good came up Oct 01 14:33:41 But still no webgui on the WAN port? Oct 01 14:34:15 iosonoio: did you try port 443 on the 2.3.0.0RC1?? Oct 01 14:35:58 yes but after have done a lot of changes and the fonera didn't answer Oct 01 14:37:33 Hmm, where are the templates for the luci interface stored in the source tree? Oct 01 14:38:13 blathijs: /luci/ Oct 01 14:38:15 haha Oct 01 14:38:24 iurgi: And then? Oct 01 14:38:34 well, each application has it's own Oct 01 14:38:43 what do you mean with templates? Oct 01 14:38:46 anything specific? Oct 01 14:39:13 Ah, in the view directory :-) Oct 01 14:39:22 view == template Oct 01 14:39:27 it's a model, control, view system Oct 01 14:39:36 model-view-ocntroller Oct 01 14:40:01 I'm used to django, which uses the term "view" to denote the code that drives the view (which would be controller here), and "template" for what's a view (or also template) here Oct 01 14:40:07 This is more RoR like I think Oct 01 14:40:17 So, found 'em :-) Oct 01 14:41:23 RoR? Oct 01 14:43:19 Ruby on Rails Oct 01 14:43:45 blathijs: talking aout luci ? Oct 01 14:43:47 it is a MVC Oct 01 14:44:22 blogic: Yeah, I know the concept Oct 01 14:44:53 blogic: I was just confused by the templates/views, mainly because I'm used to Django (a python framework that uses the concepts slightly different) Oct 01 14:45:02 ok Oct 01 14:45:09 what confuses you exactly ?! Oct 01 14:45:21 luci is made by cyrusFF Oct 01 14:45:28 he helped me make it work on the fonera Oct 01 14:45:29 I was looking for templates, and they are stored in a dir called "views" Oct 01 14:45:35 ah ok Oct 01 14:45:36 yes Oct 01 14:45:59 models are a cbi or a simpleform Oct 01 14:46:02 And I think that is similar to how RoR has its terms, that's all I wanted to say :-) Oct 01 14:46:03 dont ask me what cbi means Oct 01 14:46:08 hehe Oct 01 14:46:23 basically a cbi model is a mapping onto a uci section (/etc/config/*) Oct 01 14:46:34 a simpleform is a form that has a non uci based backend Oct 01 14:46:45 so you can "intercept" the data before the commit and do magic Oct 01 14:46:57 models can append views Oct 01 14:47:11 well, a model can treat a view like any item it can load Oct 01 14:47:25 so you can make up a model of several cbi, simpleform and views Oct 01 14:49:27 right.. Oct 01 14:50:30 so, any questions ... just ask, luci is really simple Oct 01 14:51:32 Does this: entry({"torrent", "install"}, ...) mean that this entry / template / view is used for the url .../torrent/install ? Oct 01 14:52:29 (I'm looking at the torrent app, which has an index function that, depending on the current install state and other factors, calls "entry" a bunch of times, for different urls I guess) Oct 01 14:52:53 yes Oct 01 14:52:56 the node Oct 01 14:53:07 entry() and node() do the same Oct 01 14:53:11 Ah, yes, before all this iffing, there's a bunch of entry calls to setup start, stop, del, etc. that actually do stuff Oct 01 14:53:16 node is an abstraction layer Oct 01 14:53:35 in the controller we setup the dispatch tree Oct 01 14:53:51 What does setup_base do? Oct 01 14:53:57 and each node()/entry() has an action it calls, which can be a view, model or function Oct 01 14:54:10 torrent controller ? Oct 01 14:54:24 its just a function i call to set the defaults on all nodes of the controller Oct 01 14:54:34 that is not luci api, just how i coded that controller Oct 01 14:55:06 Ah, yes, I see its definition Oct 01 14:55:26 like the icon used etc etc Oct 01 14:55:30 where the i18n is Oct 01 14:55:39 and if it has a subindex etc etc Oct 01 14:55:43 It's not used on all pages, though Oct 01 14:55:46 basically the properties Oct 01 14:55:48 no Oct 01 14:55:51 Does that mean not all pages are auth'd? Oct 01 14:55:54 just where it makes sense Oct 01 14:55:56 s/pages/urls/ Oct 01 14:56:00 aHHH+ Oct 01 14:56:02 hehe Oct 01 14:56:17 if i auth protect a node, all nodes below it are auth automatically Oct 01 14:56:25 torrent/ is on the root node Oct 01 14:56:27 Ah, yes Oct 01 14:56:30 which is not auth'd Oct 01 14:56:38 Uh, it is I think? Oct 01 14:56:40 most stuff is under fon_dashboard/ Oct 01 14:56:47 well Oct 01 14:56:50 is special Oct 01 14:56:50 :) Oct 01 14:56:54 hehe Oct 01 14:57:19 luci has some features you can run on / Oct 01 14:57:33 for example the wizard pages have no auth Oct 01 14:57:38 and the sysuth page Oct 01 14:57:40 and the sysauth page Oct 01 14:57:46 sysauth is the login screen Oct 01 14:57:59 Ah, yes Oct 01 14:58:02 also, luci has many bindings Oct 01 14:58:05 we have Oct 01 14:58:07 1) uci binding Oct 01 14:58:18 2) nixio (unix io, sockets,.....) Oct 01 14:58:49 3) luanet (ifconfig,vconfig,route,bridge,iwconfig,df,uptime,........) Oct 01 14:58:49 i have to go i leave the fonera to flash 2.3.0 Oct 01 14:58:50 That's just lua bindings right, not luci specific? Oct 01 14:58:56 well Oct 01 14:59:00 we made lua bindings in c Oct 01 14:59:05 and hook them into luci Oct 01 14:59:13 then there is the httpclient api Oct 01 14:59:24 What's uci exactly, btw? Oct 01 14:59:31 configuration management? Oct 01 14:59:33 you have ssh open on a fonera ? Oct 01 14:59:35 yes Oct 01 14:59:41 1 sec Oct 01 14:59:42 Yeah, I have SSH Oct 01 14:59:46 my gf just walked in Oct 01 14:59:51 type uci show Oct 01 14:59:53 uci help Oct 01 15:01:05 Ah, nice Oct 01 15:02:44 and walked out again Oct 01 15:02:50 cat /etc/config/fon Oct 01 15:02:52 Less nice :-; Oct 01 15:02:56 s/;/p/ Oct 01 15:03:01 uci show fon Oct 01 15:03:07 its the same data Oct 01 15:03:14 blogic: I've seen /etc/config, and the shell calls to uci config stuff Oct 01 15:03:19 yes Oct 01 15:03:24 Does uci do more than store configs? Oct 01 15:03:26 uci show fon.private Oct 01 15:03:34 nope Oct 01 15:03:46 its our "database/registry/repo/..." Oct 01 15:03:51 whatever you wanna call it Oct 01 15:04:00 Just a bunch of utils to access configs in convenient ways :-) Oct 01 15:04:01 its flat files with typed/named sections Oct 01 15:04:06 yes Oct 01 15:04:11 c, shell, lua :) Oct 01 15:04:15 It's a nice and readable format :-) Oct 01 15:04:22 also Oct 01 15:04:28 option can be a list Oct 01 15:04:33 config foo bar Oct 01 15:04:39 option a 1 Oct 01 15:04:42 list b 2 Oct 01 15:04:45 list b 3 Oct 01 15:04:45 list b 4 Oct 01 15:05:07 so, uci get x.bar.b will list 3 vals Oct 01 15:05:23 Ah, fancy Oct 01 15:05:31 What does env.uci_state:get refer to? Oct 01 15:05:57 Some runtime state? Oct 01 15:06:53 ok Oct 01 15:07:06 we have a global uci read cursor on the run state Oct 01 15:07:07 :) Oct 01 15:07:12 /var/state/ Oct 01 15:07:14 :) Oct 01 15:07:26 we use uci also on a non persistent ram folder to store runtime info Oct 01 15:07:38 so you get cursor() and cursor_state() Oct 01 15:08:00 env is a global every controller gets passed, to make sure not every controller creates a uci instance Oct 01 15:08:35 uci_state is the cursor instance, created with require("luci.model.cbi").cursor_state() Oct 01 15:08:59 and :get is a property just like :set :revert :delete :commit ........ Oct 01 15:09:04 Ah, /var/state was the pointer I needed :-) Oct 01 15:09:13 http://dev.luci.freifunk-halle.net/luci-doc/modules/luci.model.uci.html Oct 01 15:09:21 i am not sure how current that doc is Oct 01 15:09:30 all the stuff is valid, but there is much more Oct 01 15:09:55 ah no, that is the latest luci api doc without the libs from fon Oct 01 15:09:57 It looks autogenerated? Oct 01 15:10:17 yes Oct 01 15:10:18 luadoc Oct 01 15:10:26 there is also "UVL - UCI Validation Layer" Oct 01 15:10:33 it is the validation layer for uci Oct 01 15:10:38 and is defiend in uci :) Oct 01 15:10:47 blogic: Any pointers as to where the "fmg" section of the state is filled? Oct 01 15:10:52 so there is a uci validation that defines the validation Oct 01 15:10:54 I'd expect somehwere after mount? Oct 01 15:11:03 so it is fully selfcontained and the file can validate itself :) Oct 01 15:11:18 hmmm Oct 01 15:11:23 /bin/fon_image.sh Oct 01 15:11:36 fon_image.sh start torrent /tmp/mounts/Disc-A1/ Oct 01 15:11:44 fon_image.sh stop torrent Oct 01 15:11:58 this is a hack still :) Oct 01 15:12:05 i need to make it again in c and add it to mountd Oct 01 15:12:24 But this stuff is called from luci, right? Oct 01 15:12:37 nope Oct 01 15:12:37 mountd Oct 01 15:12:41 well Oct 01 15:13:00 there is also a lua binding so the "start/stop" button in lcui works Oct 01 15:13:26 fon/mountd/files/usr/lib/lua/luci/fmg.lua Oct 01 15:13:45 mountd deploys the lua binding and the shell script Oct 01 15:13:56 Ah, but things are autostarted on mount? Oct 01 15:14:20 yes Oct 01 15:14:30 well, there is a uci option you can set to prevent it i think Oct 01 15:14:35 right (I think Cheeky didn't do that yet?) Oct 01 15:14:36 but luci does not expose it Oct 01 15:14:41 indeed Oct 01 15:15:01 i sometimes loose track of when i added feature to be honest Oct 01 15:15:02 :) Oct 01 15:15:12 Might be useful, since starting an app prevents you from safely unplugging a device Oct 01 15:15:25 Okay, this stuff is starting to make sense :-) Oct 01 15:15:29 yes Oct 01 15:15:35 there are a few usability things Oct 01 15:15:40 what i want to have is .... Oct 01 15:15:51 on the hard-disc page and icon of each app that is accessing a disc Oct 01 15:15:58 and then a "force unmount" Oct 01 15:16:05 so you could use the switch on the back Oct 01 15:16:07 :) Oct 01 15:16:20 walk to your fon, set the switch, wait 5s and all discs are unmounted Oct 01 15:16:24 that would be ideal Oct 01 15:16:30 and i know exactly how to make it work Oct 01 15:16:39 just need the time for it :) Oct 01 15:16:40 haha Oct 01 15:16:43 switch? Oct 01 15:16:55 on the fon20n you have a on/off switch Oct 01 15:17:02 which is hooked to a gpio Oct 01 15:17:09 we use it for wifi on/off atm Oct 01 15:17:22 for the fon20g there will be a button "unmount now" Oct 01 15:17:43 (And in hindsight, I wasn't really looking for the state vars, but for the implementation of luci.fmg.find_discs :-) Oct 01 15:18:47 oh dear Oct 01 15:18:50 ok..... erm Oct 01 15:18:55 this code is really dirty Oct 01 15:19:01 i hacked it as a proof of concept Oct 01 15:19:12 there is luci.util.exec() perversion Oct 01 15:19:20 dont think bad of me when you read it :) Oct 01 15:19:20 haha Oct 01 15:19:26 \o/ Oct 01 15:19:40 blathijs: xMff is also rsponsible for luci Oct 01 15:19:54 lo xMff Oct 01 15:27:55 blogic: Any particular place in the source three to find this stuff? Oct 01 15:28:29 what stuff ? Oct 01 15:28:45 find_discs, or luci.util.exec ? Oct 01 15:28:46 1 sec Oct 01 15:30:14 /openwrt/fono/fon/mountd/files/usr/lib/lua/luci/fmg.lua Oct 01 15:30:16 well Oct 01 15:31:07 http://trac.fonosfera.org/fon-ng/browser/trunk/fon/mountd/files/usr/lib/lua/luci/fmg.lua#L50 Oct 01 15:31:50 blogic: Ah, thanks Oct 01 15:32:00 (I have a local source tree, so ther first one was fine :-) Oct 01 15:33:10 All the files are very much fragmented it seems, I had recently decided that the fon/ directory only contained openwrt packaging files :-) Oct 01 15:35:25 yes Oct 01 15:35:31 its the overlay Oct 01 15:35:41 openwrt/ is a almost unmodified owrt snapshot Oct 01 15:35:46 fon has our packages Oct 01 15:35:55 luci/ is the luci snapshot we use Oct 01 15:36:01 which is almost in sync with upstream luci Oct 01 15:39:59 Ah, right Oct 01 15:40:48 But the fon/ dir contains packaging stuff as well as some actual source files, which confused me a bit Oct 01 15:43:21 ok Oct 01 15:43:43 a openwrt package can either define a url where the src is loaded from or a src/ folder where the src resides Oct 01 15:44:39 blogic: Is there any logic for upgrading somewhere? e.g., if I installed a .fmg on a previous version, should I get a different message? Oct 01 15:44:49 (different from "it's not installed"?) Oct 01 15:45:26 no Oct 01 15:45:33 not yet Oct 01 15:45:41 fmg needs to be reworked Oct 01 15:46:01 hehe Oct 01 15:46:13 Ok, let's see if Transmission wants to install now then Oct 01 15:46:16 Seems like it should Oct 01 15:46:29 (Are there any other .fmgs apart from Transmission?) Oct 01 15:47:40 not yet Oct 01 15:47:44 there wil be though Oct 01 15:47:48 openvpn for example Oct 01 15:48:32 Perhaps I'll try to get my pulsaudio port into one Oct 01 15:48:51 though I was already looking forward to reducing 7MB to under 1MB :-p Oct 01 15:50:46 blogic: It's kinda confusing now that you get "There is already an installation in progress" when you click install, btw Oct 01 15:52:55 Probably just changing the entire message to "Installation is in progress" will make it better Oct 01 15:53:10 Since you shouldn't be able to click the "install" icon when installation is already running Oct 01 15:53:11 blathijs: i am not responsible for language files :) Oct 01 15:53:26 as i said fmg needs work Oct 01 15:55:05 blogic: As for upgrading, I think it should be possible to simply replace the .fmg file and rename / copy the .var file, right? Oct 01 15:55:26 blogic: Also, is there any particular reason there is per-application swap? Wouldn't just a single swap file make more sense? Oct 01 15:56:20 single swap will come with next fmg update Oct 01 15:56:33 it is a bit tricky to make it understanable for the user Oct 01 15:56:42 Yeah, I can imagine :-) Oct 01 15:57:04 swap is not like a usb port to expalin :) Oct 01 15:58:27 Automatically growing .var for apps would also be nice, since having 150MB for storing a few .torrent files is a bit much :-) Oct 01 15:59:34 indeed Oct 01 15:59:39 and also all in 1 file Oct 01 15:59:54 lop devices an be mounted with an offset Oct 01 15:59:58 loop Oct 01 16:01:12 Ah, like that Oct 01 16:01:23 Is that worth the trouble? What will you gain? Oct 01 16:01:32 Ah, use less loop devices Oct 01 16:01:58 OTOH, it makes applications less self contained, now you can just throw away one app's files and it's gone Oct 01 16:02:03 Perhaps 1 file per app? Oct 01 16:03:24 iurgi: Anyway, Transmission works fine after an upgrade from Cheeky, I haven't had any problems. Doesn't preserve settings and running torrents, but I understand that that is somewhat by design (or rather, lack of time) Oct 01 16:03:58 well Oct 01 16:04:03 settings are stored ?! Oct 01 16:04:07 what is not stored ?! Oct 01 16:06:18 blathijs: hmmmm it should keed the downloads too Oct 01 16:06:18 but Oct 01 16:06:27 only if the .fmg it's using is the same imo Oct 01 16:06:44 I mean, the fact that you had to do a new installation, loses the torrents because we changed the .fmg Oct 01 16:07:08 if you keep the .fmg (for instance, reflash with 2.3.0.1RC1 again) it should keep the torrents too Oct 01 16:07:22 blogic: Settings are in the .var file, which is not reused after an "upgrade" Oct 01 16:07:32 blathijs: it is reused Oct 01 16:07:40 only not this time because of the .fmg filename change Oct 01 16:07:48 but it should be saved Oct 01 16:07:51 exactly Oct 01 16:08:00 once you are at 2.3.0.0 all is good Oct 01 16:08:06 yes Oct 01 16:08:10 prior 2.3.0.0 torrent was a bit turbulent :) Oct 01 16:08:15 iurgi: Yes, if I would downgrade, I'd get everything back Oct 01 16:08:21 torrent was the biggest nightmare i ever had Oct 01 16:08:37 still, blogic: when we come to 2.4.0.0 what will happen with the filename that contains 2.3.0.0 in it? Oct 01 16:08:39 blogic: But even 2.3.0 still doesn't have any upgrade logic for .fmg's right? Oct 01 16:08:53 But that's planned for the next release? :-) Oct 01 16:09:05 blathijs: no, I mean if you upgrade to the same or next version you currently are on, it will keep the downloads Oct 01 16:09:11 but only starting at 23..0.0 Oct 01 16:09:28 iurgi: "upgrade", asin, reflash the same version? Oct 01 16:09:41 yes Oct 01 16:10:08 now you have 2.3.0.1RC1 if you reflash with 2.3.0.1RC1 (emulating an upgrade) the torrents should be saved Oct 01 16:10:09 blathijs: i dont think the fmg will be upgraded Oct 01 16:10:21 blathijs: the fmg only has the transmission client Oct 01 16:10:26 and it is not working Oct 01 16:10:31 Currently, I think nothing happens to any of the files in FoneraApps Oct 01 16:10:35 anything we need to change, we can do on the fly Oct 01 16:11:15 I could try flashing Cheeky again and then Elan to see what happens, but I'm pretty confident that will give me two different sets of torrents Oct 01 16:11:33 yes Oct 01 16:11:38 blathijs: yes Oct 01 16:11:44 that's what we are trying to explain Oct 01 16:11:45 :) Oct 01 16:11:57 blogic: I was using .fmg to describe the concept of fmg apps in general, btw :-) Oct 01 16:12:04 yes Oct 01 16:12:16 cheeky->elan: fundamental changes happened, torrent requires reinstall and status is lost Oct 01 16:12:32 Yes, that's what I confirmed just now Oct 01 16:12:37 Elan->next: no fundamental changes (not planned), torrent will not require reinstall and status will be kept Oct 01 16:12:40 ah Oct 01 16:12:41 haha Oct 01 16:12:43 It works, but status and settings are lost Oct 01 16:12:43 ok Oct 01 16:12:57 cheeky->elan: yes Oct 01 16:13:02 elan->next: no Oct 01 16:13:02 yes Oct 01 16:13:08 true Oct 01 16:13:14 lots of yes and no haha Oct 01 16:13:18 haha Oct 01 16:13:23 false Oct 01 16:13:27 iurgi: But to keep the status from elan -> next, I think some (fundamental?) changes are needed :-p Oct 01 16:13:34 blathijs: no Oct 01 16:13:42 blathijs: no i will be prepared :) Oct 01 16:13:53 2.3.0.0 needed to be ready for 20n release :) Oct 01 16:14:04 blathijs: i am not sure yet how, but it iwll work Oct 01 16:14:20 If we would take 2.3.0.1 and release it without changes as 2.3.0.2, it would break Transmission status again, AFAICS Oct 01 16:14:21 haha Oct 01 16:14:32 blogic: Yes, that's what I meant. It needs changes :-) Oct 01 16:14:53 But all those changes can happen in elan+1, nothing required in Elan itself Oct 01 16:15:16 yes Oct 01 16:15:22 we can do it on upgrade Oct 01 16:15:23 (By courtesy of never having released Cheeky :-p) Oct 01 16:15:37 blogic: Not exactly, since you can Oct 01 16:15:41 having 2 devices is a nightmare :) Oct 01 16:15:45 its a lot of testing Oct 01 16:15:52 blogic: Not exactly, since you can't be sure that the USB disk is plugged in on upgrade Oct 01 16:16:01 so we decided to get 2.3.0.0 fully working on 20n and then test it on 20g Oct 01 16:16:08 blathijs: haha Oct 01 16:16:22 blathijs: newer .var files will have a version.txt in them Oct 01 16:16:26 Yes, I understand your release schedule, it even makes sense Oct 01 16:16:31 if it is missing i know it is pre elan+1 Oct 01 16:16:38 hehe Oct 01 16:16:40 and i can then handle it Oct 01 16:16:44 tat is my plan anyway Oct 01 16:16:50 But, there's already the version in the filename, right? Oct 01 16:16:59 so ? Oct 01 16:17:04 users can change the name := Oct 01 16:17:06 users can change the name :) Oct 01 16:17:15 inside it is not that easy to change a file Oct 01 16:17:19 True Oct 01 16:17:39 Just make a list of all .var files, fetch version.txt from them (which should also contain the appname then!) and make a list Oct 01 16:17:50 Do some upgrades if needed, and tada! done :-) Oct 01 16:18:05 Or perhaps only upgrade on user request through the dashboard Oct 01 16:18:07 might be better Oct 01 16:18:10 yeah Oct 01 16:18:30 (Were you also planning on putting a version tag inside the .fmg files?) Oct 01 16:19:45 yes Oct 01 16:19:50 Some of the WebUI stuff from the torrent app probably needs generalizing as well, I think. There's a lot of overhead for the installation stuff in there... Oct 01 16:19:59 yes Oct 01 16:20:12 you picked out the really shitty part of the code to look at :) Oct 01 16:20:37 Enough to do, it seems :-) Oct 01 16:20:47 ehe Oct 01 16:20:51 its opensource :) Oct 01 16:21:03 i am always busy Oct 01 16:21:06 :D Oct 01 16:21:12 Yeah, I know, patches welcome :-P Oct 01 16:21:20 lol Oct 01 16:22:22 If only I had some extra time... :-) Oct 01 16:23:02 Hmm, bah, read errors on my USB device Oct 01 16:23:15 Transmission handles that nicely, it pauses and says "read only filesystem" Oct 01 16:36:18 hmmm Oct 01 16:36:21 lost my name Oct 01 16:36:42 hmm Oct 01 16:56:33 Hello Oct 01 16:56:39 cuao Oct 01 16:56:41 ciao Oct 01 16:56:50 hola Oct 01 16:57:13 I have tried to see the webcam on VLC with this address http://myipaddressexsternal/luci/fon_devices/fon_webcam/mjpeg/ but it doesn0t work Oct 01 16:57:30 blogic: i flashed 2.3.0 Oct 01 16:59:23 iosonoio: does it work? Oct 01 16:59:29 I have tried it and it didn't work for me Oct 01 16:59:32 ssh over wan doesn't work Oct 01 17:00:00 actually I didn't see any process listening on port 443 although there was an iptables rule for accepting the packages Oct 01 17:00:16 webgui doesn't work on wan Oct 01 17:00:34 timeout, right? Oct 01 17:00:57 I can see the webcam from exsternal on the webgui, but not on VLC Player Oct 01 17:00:59 safari say: it can't connect to the server Oct 01 17:01:23 iptables -L | grep 80 Oct 01 17:01:28 returns nothing Oct 01 17:01:39 i think is a webgui problem Oct 01 17:02:07 iosonoio: it's not port 80 Oct 01 17:02:08 it's 443 Oct 01 17:02:21 iosonoio: wan only opens https Oct 01 17:02:25 oh with 443 works Oct 01 17:02:29 ah Oct 01 17:02:33 wait Oct 01 17:02:34 then I tested it wrong Oct 01 17:02:34 lol Oct 01 17:02:37 i check with safari Oct 01 17:02:40 fonero/pass Oct 01 17:03:22 mmm user e pass doesn't work Oct 01 17:03:33 have i to re-change the password? Oct 01 17:03:57 cause after the upgrade i didn't change it Oct 01 17:04:39 well, it shouldn't be necessary... Oct 01 17:06:18 waittt Oct 01 17:06:20 it works!! Oct 01 17:06:23 with firefox Oct 01 17:07:23 good Oct 01 17:07:25 iurgi: with firefox it works like a charm Oct 01 17:07:25 safari also ?! Oct 01 17:07:38 safari keeps asking the user and apssword Oct 01 17:07:39 :D Oct 01 17:08:25 ok i fixed it Oct 01 17:08:33 you have to save the user and password Oct 01 17:08:34 :D Oct 01 17:08:36 in safari Oct 01 17:08:41 i'm in!!! Oct 01 17:08:43 yesss Oct 01 17:09:22 ok last Oct 01 17:09:26 why: iptables -L | grep 22 Oct 01 17:09:34 return nothing? Oct 01 17:10:02 iosonoio: is it dev mode ? Oct 01 17:10:08 iosonoio: do you have a safe password Oct 01 17:10:08 yes Oct 01 17:10:21 i think yes... Oct 01 17:10:28 ssh only opens on wan if you have 8 chars + a number or more Oct 01 17:10:31 hi iurgi, busy? Oct 01 17:10:32 digit and number Oct 01 17:11:16 yes it respect what you wrote Oct 01 17:11:25 hi all, i'm having problems with the WIFI-WAN bridge of the latest fonera 2.0 , the ssh has internet, but the fonera doesn't give any Oct 01 17:11:43 i am out eating Oct 01 17:11:48 back in 30 Oct 01 17:11:50 ok Oct 01 17:11:54 i'll try to change Oct 01 17:11:54 it Oct 01 17:11:57 yesterday worked Oct 01 17:11:58 ;) Oct 01 17:13:12 ivangarcia: ssh? Oct 01 17:14:19 iosonio, if I login inside the fonera with ssh, i can see that i can do ping and get DNS Oct 01 17:14:23 from the WIFI-bridged Oct 01 17:16:00 oh ok got it! Oct 01 17:17:01 blogic: changing the password with same have solved the problem now i can access in ssh too via WAN Oct 01 17:17:09 iosonoio, and I'm able to connect to the fonera, but when i put the browser to www.google.com or somewhere else, it always say that is internet is miscconfigured Oct 01 17:17:31 wich firmware do you have? Oct 01 17:18:11 the latest official in the developer version Oct 01 17:18:37 hmmmm Oct 01 17:18:38 I'm here Oct 01 17:18:54 iurgi: hello! Oct 01 17:18:55 I will upload the developer version for RC1 in a moment Oct 01 17:19:02 noooooooooo Oct 01 17:19:09 i just flashed :D Oct 01 17:19:11 haha Oct 01 17:19:12 sorry Oct 01 17:19:24 but you already have developer mode, right? Oct 01 17:19:26 eheh no problem :) Oct 01 17:19:30 yes Oct 01 17:20:11 it's just with ssh no fix right? Oct 01 17:20:27 xactly Oct 01 17:20:34 ok Oct 01 17:23:35 done Oct 01 17:23:43 ivangarcia: I would suggest you upgrade to that version Oct 01 17:23:48 just in case Oct 01 17:23:51 is it a problem? Oct 01 17:24:05 it will keep your configuration Oct 01 17:24:08 or it should Oct 01 17:25:04 iurgi, where will u post it? Oct 01 17:25:45 http://download.fonosfera.org/RC/20090922_FON2202_2.3.0.1_RC1_DEV.tgz Oct 01 17:25:46 I think Oct 01 17:25:49 just typed it Oct 01 17:25:51 :P Oct 01 17:28:37 u are still uploading? cause that link doesn't work yet Oct 01 17:29:31 iurgi: what about printers on 2.3.0? Oct 01 17:32:39 ivangarcia: I typed it manuyally Oct 01 17:32:44 look for something similar Oct 01 17:33:06 ok Oct 01 17:33:09 found the problem Oct 01 17:33:11 it0s Oct 01 17:33:14 in that folder has nothing uploaded today of 2.3.0.1 Oct 01 17:33:16 http://download.fonosfera.org/RC/20090922_FON2202_2.3.0.0_RC1_DEV.tgz Oct 01 17:33:22 heheh Oct 01 17:34:03 iurgi: printers application isn't present anymore on 2.3.0? Oct 01 17:34:10 it will be Oct 01 17:34:15 iosonoio: this is a release candidate Oct 01 17:34:20 the plugins will be available soon Oct 01 17:34:25 obviously before the release ;) Oct 01 17:34:27 can't i install it manually? Oct 01 17:34:29 sorry, but we didn't have the time Oct 01 17:34:36 maybe on developer mode Oct 01 17:34:46 i'm in developer mode i have ssh access Oct 01 17:35:00 try to download it from http://download.fonosfera.org/plugins/printer_1.5_fonera20_2.2.5.0_fon.tar.gz Oct 01 17:35:05 maybe it will work Oct 01 17:35:11 on the applications page you can upload it Oct 01 17:35:13 no need for ssh Oct 01 17:35:15 ok Oct 01 17:35:19 but I'm not 100% sure it will work Oct 01 17:35:47 ehehe ok got it :D Oct 01 17:36:06 at least now i can see in the application :D Oct 01 17:39:24 iurgi: Having the dev version won't solve the pass_good problem, of course (just FYI) Oct 01 17:40:04 iosonoio: Your problem with SSH just now was the same one you had yesterday, it's a known upgrade bug (changing the pw works as you found) Oct 01 17:40:14 yes Oct 01 17:40:21 now everything works fine Oct 01 17:40:31 i just need to test Oct 01 17:40:34 * blathijs is off again Oct 01 17:40:36 printer over wan Oct 01 17:40:37 :D Oct 01 17:42:17 and it works like a chram :D Oct 01 17:42:19 greeeeaatt Oct 01 17:42:19 :D Oct 01 17:43:03 blathijs: right, but some users that have enduser and want to switch to developer might find it useful Oct 01 17:44:13 Yeah, it would have saved me a trip through failsafe mode before I think :-) Oct 01 17:44:42 iurgi: Also, shouldn't these files be named 2.3.0.1 ? I think blogic upped the revision to 1 in svn already? Oct 01 17:44:58 blathijs: yes Oct 01 17:45:09 but I would need to fix the blnog links Oct 01 17:45:12 and it's boring... Oct 01 17:45:17 but yeah.. Oct 01 17:45:20 let's do it Oct 01 17:45:46 transmission works on 2.3.0.1? Oct 01 17:46:44 done Oct 01 17:46:46 yes Oct 01 17:46:48 it does Oct 01 17:46:52 but you ned to reinstall it Oct 01 17:48:32 i never installed before Oct 01 17:49:29 then install it Oct 01 17:49:30 :) Oct 01 17:49:34 yes yes :D Oct 01 17:49:34 it takes a little while Oct 01 17:49:53 yes there is a file of 28mb and is grwing up in my usb pen :d Oct 01 17:50:06 75mb Oct 01 17:50:09 .swp? Oct 01 17:50:13 it's a swap file?? Oct 01 17:50:23 yes Oct 01 17:50:27 126MB in total Oct 01 17:50:31 you will have 2 files Oct 01 17:50:35 /bin/dd if /dev/zero of /tmp/mounts/Disc-A1/FoneraApp Oct 01 17:51:11 yes Oct 01 17:51:15 ;) Oct 01 17:53:44 mmm but it enable swap only when i start transmission Oct 01 17:54:32 yes Oct 01 17:55:12 smart solution the swap solution :) Oct 01 17:55:24 thanks Oct 01 17:58:38 iurgi: Three files, actually (4MB .fmg, 125MB .swp and 125MB .var IIRC) Oct 01 18:04:08 yes Oct 01 18:04:24 I was refering to 2 125MB files Oct 01 18:04:25 :P Oct 01 18:19:31 Ah, right :-) Oct 01 18:20:36 iurgi, the the 2.0.3.1 DEV .tgz can I install from the foner dashboard? Oct 01 18:21:00 i installed it from dashboard Oct 01 18:21:03 cause I uncompress the .image inside and try to replace firmware but it says INVALID Oct 01 18:21:21 iosonoi, do u installed the whole .tgz directly? Oct 01 18:21:26 yes Oct 01 18:21:27 from dash Oct 01 18:21:34 you have to use .tgz Oct 01 18:21:36 the 2.0.3.1 DEV ? Oct 01 18:21:50 2.0.3.1 without dev Oct 01 18:21:54 but it's the same Oct 01 18:22:04 cause dashboard need .tgz format Oct 01 18:22:09 i upgraded from flipper Oct 01 18:23:24 ivangarcia: with the dev Oct 01 18:23:27 but do not untar Oct 01 18:23:35 directly the tarball Oct 01 18:25:09 yeah, ok, it's uploading... , maybe a progress bar will be useful. Oct 01 18:30:05 you should have a progress bar Oct 01 18:30:16 hmm Oct 01 18:30:19 maybe not on flipper Oct 01 18:30:20 dunno Oct 01 18:30:34 when did you buy the fonera? Oct 01 18:30:36 No, not flipper Oct 01 18:30:44 ok Oct 01 18:30:54 Elan has one, but it's pretty useless, it just counts 30 minutes Oct 01 18:31:06 blathijs: well, some foneras take 28mins Oct 01 18:31:15 iurgi: Yes, but if yours doesn't... Oct 01 18:31:27 it's safer like this Oct 01 18:31:27 It's not really a progress bar, more a prevent-people-from-panicking-bar :-) Oct 01 18:31:32 iurgi, I had the 2.0.2.5 dev version Oct 01 18:31:36 So, it's not completely useless :-) Oct 01 18:32:03 ivangarcia: He meant when did you buy it, to estimate flash chip speed, I think :-) Oct 01 18:32:12 yup Oct 01 18:32:29 pff, like 1month after fonera2.0 for betatesters Oct 01 18:32:41 progressbar is working Oct 01 18:32:48 takes long time Oct 01 18:32:51 yes Oct 01 18:32:56 but it's ok Oct 01 18:35:23 iurgi: i set up the /etc/config/openvpn file with option enable to 1 but vpn doesn't start Oct 01 18:35:37 do you know if i have to enable the services somewhere? Oct 01 18:35:46 iosonoio: the key is not generated Oct 01 18:35:50 /etc/init.d/openvpn enable Oct 01 18:35:58 xMff: ?! Oct 01 18:36:01 init.d ? Oct 01 18:36:04 what is that ?! Oct 01 18:36:07 init.d? Oct 01 18:36:10 :) Oct 01 18:36:11 blogic: he uses the openwrt package iirc Oct 01 18:36:14 is not handles by uci? Oct 01 18:36:15 ahhh Oct 01 18:36:19 sorrry Oct 01 18:36:48 i have all the configuration Oct 01 18:36:53 i mean keys .conf file ecc Oct 01 18:37:07 previous i started it with a custom script but now Oct 01 18:37:14 iosonoio: what is in "logread" ` Oct 01 18:37:15 ? Oct 01 18:37:32 about openvpn Oct 01 18:37:34 nothing Oct 01 18:37:34 :d Oct 01 18:38:04 and you changed the path to your config file as well? Oct 01 18:38:15 yes Oct 01 18:38:44 http://pastebin.com/m35297e62 Oct 01 18:38:53 my /etc/config/openvpn file Oct 01 18:39:05 have i to set something else in another file? Oct 01 18:39:12 have you tried to manually start openvpn with that config? Oct 01 18:39:17 yes Oct 01 18:39:19 it works Oct 01 18:39:33 anmd how does your openvpn config looks like? Oct 01 18:39:53 you mean the .conf file? Oct 01 18:39:57 yes Oct 01 18:40:59 http://pastebin.com/m984d14f Oct 01 18:41:23 it's not a path problem Oct 01 18:41:39 maybe i have to tell to uci that there is a new service? Oct 01 18:42:04 hmm looks okay Oct 01 18:42:05 or it automatic parse all the file in /etc/config Oct 01 18:42:06 ? Oct 01 18:42:20 is there a "start-stop-daemon" command on the fonera? Oct 01 18:42:25 nope Oct 01 18:42:29 i dont think so Oct 01 18:42:30 well then Oct 01 18:42:37 i dropped lots of useless stuff Oct 01 18:42:44 ssd is not useless Oct 01 18:43:26 at least it is the only clean way to spawn background processes I know of Oct 01 18:43:35 (with shell scripts) Oct 01 18:43:37 anyway i can still start it with a custom script, it was just to do the things in a clean way :) Oct 01 18:43:53 xMff: for fon-ng it is useless Oct 01 18:43:56 imho Oct 01 18:44:16 blogic: it introduces unneeeded incompatibilities imho :) Oct 01 18:44:42 iosonoio: sine "start-stop-daemon" is missing on the fonera you can't use the openwrt init script Oct 01 18:44:59 ok Oct 01 18:45:25 xMff: okok Oct 01 18:45:48 so have i to use the fonstate? Oct 01 18:46:00 blogic: problem is that it was advertised as "best practise" for openwrt init scripts, that is what I mean Oct 01 18:46:07 and add it in fonstate like "config fonboot" Oct 01 18:46:09 ? Oct 01 18:46:15 iosonoio: exactly Oct 01 18:46:32 ok got it i'll do with fonstate Oct 01 18:48:51 and it works :) Oct 01 18:55:03 cu later Oct 01 19:08:11 hi iurgi, so I've upgrade to 2.0.3.1 , my dashboard shows that was IP from the WIFI-WAN, but browser has no internet Oct 01 20:19:47 iosonio, have u tried the WIFI-WAN of the fonera-dev ? Oct 01 20:40:21 iurgi? **** ENDING LOGGING AT Fri Oct 02 02:59:56 2009