**** BEGIN LOGGING AT Wed Sep 08 02:59:59 2010 Sep 08 11:31:58 Hi, I am planning to bridge my Fon2.0N to my FON2.0g router, to have shared access to USB drive, printers and Music Sep 08 11:32:17 Any specific precautions I need to take before doing so? A Sep 08 11:33:38 I guess it should just work Sep 08 11:34:05 be careful with connecting them before you enabled bridge mode, because of the shared 192.168.10.x network, though Sep 08 11:37:12 Sorry, I don't get your remark Sep 08 11:37:29 ah, first unplu all USB stuff Sep 08 11:37:37 then bridge Sep 08 11:37:48 and then plug in USB hub Sep 08 11:38:12 No, I mean you could have connection problems when you plugin the 2.0n into the 2.0g before you enable bridge mode Sep 08 11:38:23 since both WAN and LAN of the 2.0n will be in 192.168.10.x then Sep 08 11:39:12 Ok, so first set to bridge, then plugin the wan to the 2.0g LAN and then reboot the 2.0N for the MyPlace access Sep 08 11:43:41 yeah, I guess that should work Sep 08 11:44:16 Not sure what avahi will make of this, btw (duplicate hostnames). Won't matter unless you actually use it, though Sep 08 11:54:14 avahi? Sep 08 11:56:46 voorstad: Zeroconf / multicast dns Sep 08 12:01:12 But does it mean: "possible troubles"? Sep 08 12:08:56 It means zeroconf might not work, but it's not required for anything AFAIK Sep 08 12:16:11 You just scaring me of a little :-) Thanks! Sep 08 13:58:48 Hi all :) I'd like to start looking into how to implement some of the tickets I've been raising for OpenVPN support... but I don't really know where to start. I'm more of a PHP guy, and most of that is inline PHP than MVC or OO, so I'm already pretty lost! Sep 08 14:01:08 Does anyone have any advice on starting out with lua? Sep 08 14:02:27 Thanks for the detailed tickets, btw, it's always good to have a new user write down his thoughts :-) Sep 08 14:03:04 There are some pretty decent lua tutorials out there, overall it's not a really complicated language Sep 08 14:03:27 as for luci, you should be looking in trunk/luci/applications/luci-openvpn/luasrc Sep 08 14:03:48 that's where the sources for the openvpn app are Sep 08 14:04:17 I started having a poke around in there, but got really lost straight off. Sep 08 14:04:27 the "controller" decides which pages are present, the "view" contains the template for the HTML (using PHP-style inline stuff as well) Sep 08 14:05:18 What about the model? Sep 08 14:05:21 The "model/cbi" directory contains the forms used. They are described using lua and generate HTML automatically Sep 08 14:05:34 Oh ok. Sep 08 14:05:37 Hmmmm Sep 08 14:05:47 * JonTheNiceGuy scratches his head Sep 08 14:06:06 and on the other side they either write to uci (/etc/config) right away (with the "Map" class) or they offer the values for processing by code in the model / controller (with the "Form" class) Sep 08 14:06:15 it's a bit complex and magical, yes :-) Sep 08 14:07:01 JonTheNiceGuy: Perhaps the best thing to do is compile your own firmware first, so you get a full toolchain Sep 08 14:07:19 I'm as far as make menuconfig :) Sep 08 14:08:21 I'm also on my phone in a waiting room right now, so if I drop out in a hurry, this is why :) Sep 08 14:08:23 JonTheNiceGuy: I take it you saw the "build" page on trac? Sep 08 14:08:28 Yep Sep 08 14:08:28 JonTheNiceGuy: hehe Sep 08 14:09:03 JonTheNiceGuy: You might want to set the luci build target to "full source" as well (in Luci -> Libraries) so you can hack on the lua sources on the device right away Sep 08 14:09:25 Building the firmware will take a while (hours) Sep 08 14:18:16 OK, I've just kicked off the Make now. Sep 08 14:18:52 It'll probably be tomorrow before I can look at the output properly. Sep 08 14:19:07 Is the make fairly stable? Sep 08 14:22:40 Yeah, usually it Just Works :-) Sep 08 14:23:01 As in, the Fon2.0n is my main internet router... I can't risk the wrath of TheWife if the Internet breaks. Sep 08 14:23:04 :) Sep 08 14:23:10 ah, like that Sep 08 14:23:42 If you don't want to take any chances, you could checkout the 2.3.6 branch or 2.3.6.1 tag, but I don't think we've committed very experimental stuff lately Sep 08 14:25:01 I can't remember if it was Fon or DDWRT where you could run it up in an emulator... would that be possible with this? Sep 08 14:26:09 I don't know about any such thing for Fon Sep 08 14:26:25 I think DDWRT might have an x86 build that you can run in qemu or something Sep 08 14:26:38 Bbiab Sep 08 15:29:16 hi Sep 08 16:28:15 hi HelloKitty Sep 08 16:55:45 hi Barbon Sep 08 17:45:59 Awesome, just used git-svn for a commit :-) Sep 08 17:46:11 (After hacking libsvn-perl and git-svn to support gnome-keyring :-) Sep 08 17:56:53 blathijs: are you of the perl side of the world ? :-p Sep 08 18:00:50 occasionally, when need be Sep 08 18:01:09 git-svn is implemented in perl Sep 08 18:01:33 and it suggested I type my subversion password by hand, which is not why I started using gnome-keyring Sep 08 18:01:41 (The password is massive, so I'd rather not type it) Sep 08 18:01:56 And then the svn-perl bindings turned out to be lacking :-) Sep 08 18:14:40 reasonable Sep 08 18:14:44 :-D Sep 08 18:14:48 time to lunch Sep 08 18:14:51 see you Sep 08 20:44:58 hello Sep 08 21:53:29 * webchatting in bridged mode on 2.0N wireless, bridged on a 2.0g * :-) Sep 08 22:16:53 Trying to install mpd mpc with "opkg install mpd mpc" Sep 08 22:17:26 but get: "* Could not obtain administrative lock" Sep 08 22:26:38 created /usr/lib/opkg and set full access rights with chmod Sep 08 22:26:53 now I get: * opkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -P /tmp/opkg-fycnCj http://downloads.openwrt.org/snapshots/fonera2n/packages/Packages' Sep 08 22:27:06 When updating opkg Sep 08 22:27:39 installing mpd mpc gives: An error ocurred, return value: 716563936. Sep 08 22:47:16 hello Sep 08 22:47:27 is there a way to install ipkg in my fonera? Sep 08 22:47:40 i'm trying to do https://forum.openwrt.org/viewtopic.php?id=7584