**** BEGIN LOGGING AT Sun Jan 16 02:59:58 2011 Jan 16 03:22:55 build #51 of ifxmips is complete: Success [build successful] Build details are at http://tksite.gotdns.org:8010/builders/ifxmips/builds/51 Jan 16 13:07:39 bud * r25020 /packages/utils/ntfs-3g/Makefile: bump ntfs-3g to latest stable Jan 16 14:06:25 build #54 of uml is complete: Failure [failed shell] Build details are at http://tksite.gotdns.org:8010/builders/uml/builds/54 Jan 16 15:40:31 xMff: Lots of SPAM posts by Pritam1192 (https://forum.openwrt.org/profile.php?id=44946). Jan 16 16:02:24 mazilo: fixed Jan 16 17:10:58 build #61 of gemini is complete: Failure [failed shell_9] Build details are at http://tksite.gotdns.org:8010/builders/gemini/builds/61 Jan 16 21:21:05 xMff: ping Jan 16 21:22:00 I'm looking at http://wiki.openwrt.org/doc/uci/network#options.valid.for.all.protocol.types ... and wondering, "how does one specify the bridge name"? Jan 16 21:25:34 can't be specified Jan 16 21:25:53 bridge names are always br-foo where foo is the name of the corresponding config interface section Jan 16 21:26:13 ports are given in the ifname fields Jan 16 21:26:18 *field Jan 16 21:40:04 ah... so I can have multiple bridges in a vlan environment. that's a loss. Jan 16 21:40:09 *can't Jan 16 21:40:29 why not? Jan 16 21:41:28 http://paste.openwrt.org/d17d64cd3 - or do you mean something else? Jan 16 21:43:39 was looking at http://wiki.openwrt.org/doc/uci/network#bridge.without.ip and it wasn't clear that Jan 16 21:43:49 that 'example' becomes the bridge name. Jan 16 21:46:24 ok Jan 16 21:58:24 updated openwrt/upstream, https://home.comcast.net/~sdwalker/uscan/uscan.shtml Jan 16 22:00:33 btw, where is using uci-defaults to pre-configure your network documented? Jan 16 22:04:56 there is no dedicated documentation for it. Jan 16 22:05:12 its basically throwing some uci batch commands into an /etc/uci-defaults/foo Jan 16 22:05:27 it gets executed once on firstboot and is then deleted by the system Jan 16 22:14:56 is there a way to build host binary for uci so that I could run it on a script file in my checkout and see what file it would touch and how... without actually modifying a host file, of course. Jan 16 22:15:20 it would be faster than repeatedly burning CF's and rebooting. :-) Jan 16 22:16:18 yes, just clone uci.git from nbd.name Jan 16 22:16:22 and compile it Jan 16 22:16:36 you might need to patch it for another directory root Jan 16 22:16:59 unless you want to install an /etc/config/ symlink on your host Jan 16 22:17:21 hmm... taking a --destdir=/tmp arg would be handy. Jan 16 22:17:28 it has this afaik Jan 16 22:17:38 why not just build host binaries with the version in-tree? Jan 16 22:18:01 you can do that too Jan 16 22:18:26 ah, there it is: uci -c some_dir/etc/config ... Jan 16 22:18:54 stage is always in /tmp/.uci though Jan 16 22:19:07 and state always in /var/state Jan 16 22:19:08 who owns uci? I'd like to request that they have the option to build it for the host... Jan 16 22:20:28 philipp64|laptop: uci builds on linux Jan 16 22:20:57 I know... I'm saying I'd like the makefiles for it to build both target and host versions. Jan 16 22:21:33 philipp64|laptop: because u want to run it on ur desktop/servers ? Jan 16 22:21:53 jow * r25021 /trunk/tools/ipkg-utils/ (Makefile patches/180-add_installed_size.patch): tools/ipkg-utils: calculate installed size from embedded data.tar.gz, makes opkg space checking more precise Jan 16 22:22:24 bbecause I want to be able to debug my target/linux/x86/geos/default-files/etc/uci/wireless Jan 16 22:23:38 jow * r25022 /trunk/include/package-ipkg.mk: [include] set Installed-Size to 0 when preparing control, its substituted by ipkg-build later on Jan 16 22:24:25 how do I generate a wifi-iface section without an instance name using UCI? Jan 16 22:24:36 uci add wireless wifi-iface Jan 16 22:24:49 uci set wireless.@wifi-iface[-1].foo=bar Jan 16 22:24:50 ,,, Jan 16 22:25:24 or: id=$(uci add wireless wifi-iface); uci set wireless.$id.foo=bar Jan 16 22:25:35 but thats not suitable for uci batch Jan 16 22:28:25 no wonder I couldn't figure it out. :-( Jan 16 22:28:45 get a chance to review the cs5535 patch? Jan 16 22:28:55 not yet Jan 16 22:30:41 jow * r25023 /branches/backfire/tools/ipkg-utils/ (Makefile patches/180-add_installed_size.patch): [backfire] merge r25021 Jan 16 22:32:04 jow * r25024 /branches/backfire/include/package-ipkg.mk: [backfire] backport r25022 Jan 16 22:49:33 and "uci delete network lan" do delete the default lan interface section? Jan 16 22:53:02 yes Jan 16 22:53:09 but you have to specify it with dot Jan 16 22:53:14 network.lan Jan 16 22:57:22 weird... my etc/uci-defaults/wireless file had no effect. Jan 16 22:57:30 was it executable ? Jan 16 22:58:37 in the source tree it wasn't. but neither was my "network" file, which was executed. Jan 16 22:58:42 true Jan 16 22:58:45 since it got deleted, I can't tell if it was... Jan 16 22:58:55 should still be in /rom Jan 16 22:59:13 however, keep in mind that the wifi config is generated after uci-defaults ran Jan 16 22:59:22 unless it exists already Jan 16 22:59:49 so you should create an /etc/config/wireless from your uci-defaults/wireless Jan 16 23:02:54 what's the point of generating later? Jan 16 23:04:32 it is not known in advance which wifi might be present on the system Jan 16 23:15:14 xMff: gpio loaded, and I'm running 2.6.37 on geos. Jan 16 23:24:14 hmm... how come there's no /var/log/messages file? Jan 16 23:24:39 syslog is using an in-memory ring buffer by default Jan 16 23:29:42 no output Jan 16 23:29:53 see logread Jan 16 23:31:24 nothing. Jan 16 23:31:50 did I need to enable anything to build ppp? Jan 16 23:32:21 pppd is a default package but ppp-mod-pppoa is not Jan 16 23:32:26 did you select it? Jan 16 23:32:47 yup. Jan 16 23:33:15 so no info in logread and no running pppd ? Jan 16 23:33:21 and no error in ifup either? Jan 16 23:34:40 correct. Jan 16 23:35:19 thats odd Jan 16 23:35:32 want to look in the box? Jan 16 23:35:40 would help, yes Jan 16 23:35:45 I'm wondering if our PPP changes broke something... Jan 16 23:36:02 I never had access to a pppoa setup Jan 16 23:36:49 do I have your ssh public key? Jan 16 23:56:50 working on it. Jan 16 23:58:13 what's the default root password? Jan 16 23:58:20 its empty Jan 16 23:58:27 telnet Jan 16 23:58:32 passwd Jan 16 23:58:43 eh? Jan 16 23:58:46 I'm trying to ssh. Jan 16 23:58:54 there is no root password Jan 16 23:59:02 you need to telnet first set one with passwd Jan 16 23:59:08 this disables telnet and allows you to ssh Jan 17 00:01:46 ok now. Jan 17 00:02:26 okay. connection works but now it wants a apssword Jan 17 00:03:40 not sure why it's ignoring the .ssh/authorized_keys file. Jan 17 00:05:51 /etc/dropbear/authorized_keys Jan 17 00:05:56 for root Jan 17 00:11:35 found it Jan 17 00:11:51 we did indeed broke it Jan 17 00:11:55 but no biggie Jan 17 00:14:21 what do I need to do? Jan 17 00:14:36 I patched it locally, send you a diff in a few seconds Jan 17 00:14:50 and I lost access, might be due to pppoa being established Jan 17 00:15:54 patch: http://paste.openwrt.org/d1d8ef965 Jan 17 00:16:08 we need to fake a .device option since "ifup" needs it Jan 17 00:17:41 one could workaround it by adding "option device foo" in the network config but thats ugly Jan 17 00:17:50 therfore I synthesize it in the script Jan 17 00:17:59 its set to a real value later on if pppd is done Jan 17 00:18:41 I've been arguing with Karl that dsl needs to always have a kernel net_device... for various reasons... including this. Jan 17 00:18:57 plus it's nice to have a net_device to send netlink messages from. Jan 17 00:19:23 jow * r25025 /trunk/package/ppp/ (Makefile files/pppoa.sh): [package] ppp: synthesize a .device option to make ifup work on pppoa interfaces again Jan 17 00:20:55 well, the 6in4, 6to4 etc. packages have the same problem Jan 17 00:21:26 they create a layer 3 tunnel which is not connected to any physical iface, so they have no netdevice either and need to fake one too to make the script machinery happy Jan 17 00:21:53 thats the whole purpose of the scan_$proto() fook Jan 17 00:21:55 *hook Jan 17 00:22:05 foo+hook = fook Jan 17 00:24:14 ok, now if I just knew why wireless wasn't coming up. Jan 17 00:24:56 how do I force my bridge to be renamed from br-br1 to 'lan'? Jan 17 00:25:29 config interface br1 -> config interface lan Jan 17 00:26:39 jow * r25026 /branches/backfire/package/ppp/ (Makefile files/etc/hotplug.d/atm/20-atm-modem files/pppoa.sh): [backfire] merge r23530, r23531, r23551 and r25025 Jan 17 00:26:43 the bridge code seems to want to add a prefix. Jan 17 00:26:53 yes Jan 17 00:27:08 grr. Jan 17 00:27:25 same with the pppoa stuff. Jan 17 00:27:29 pppoa-$name Jan 17 00:28:17 yes, it simplifies a lot of scripts. otherwise one needs to lookup arbritary names every time Jan 17 00:29:04 sigh. it makes other configs need to be more topology-aware, though. Jan 17 00:29:23 true Jan 17 00:29:37 anyway, how do burn a new flash image onto a running system? Jan 17 00:30:10 on x86 you can usually just dd it from within /tmp to /dev/sda or however the storage presents itself Jan 17 00:30:47 I'm using openwrt-x86-geos-combined-squashfs.img... so I can just ssh host "dd if=- of=/dev/sda ..." Jan 17 00:31:00 yes Jan 17 00:31:06 leave out the if=- Jan 17 00:31:17 I'm unsure whether busybox dd supports this notation Jan 17 00:31:22 it will read from stdin by default Jan 17 00:35:51 what do I need to do to fix that? Jan 17 00:36:10 iptables -I INPUT -p 22 -j ACCEPT for example Jan 17 00:37:03 the "official" way is here: http://wiki.openwrt.org/doc/uci/firewall - but you're free to stick arbritary commands into /tc/firewall.user Jan 17 00:38:12 ok, so no config knobs for the firewall. Jan 17 00:38:19 see link Jan 17 00:38:32 http://wiki.openwrt.org/doc/uci/firewall#opening.ports Jan 17 00:39:22 unless I misunderstood your remark Jan 17 00:48:09 yup, that did it. opened the port and burning a new image. Jan 17 00:48:51 indeed, key works too now Jan 17 00:49:03 it looks fine to me Jan 17 00:50:13 yeah... forgot to add uci-defaults file for firewall to image... rebuilding and reburning... Jan 17 00:50:20 heh Jan 17 00:50:42 seems wifi isn't up... Jan 17 00:51:29 yep Jan 17 00:52:05 you need to set option type mac80211 Jan 17 00:52:11 and option phy phy0 Jan 17 00:52:23 you specified atheros but thats only valid for madwifi Jan 17 00:52:50 ah. Jan 17 00:54:37 I knew what you meant. btw, I rebuild via: Jan 17 00:59:44 build #66 of ubicom32 is complete: Failure [failed compile_4] Build details are at http://tksite.gotdns.org:8010/builders/ubicom32/builds/66 Jan 17 01:03:43 ^ anyone want to terminate that struct? Jan 17 01:04:38 psst, qanyone is busy ignoring this error :P Jan 17 01:06:01 yep Jan 17 01:11:40 ep93xx: missing 2.6.36 KEYBOARD_EP93XX symbol, gemini: transient prep_logs.sh failure, cris: gcc 4.3.5 assembler complexity, pxcab, ps3: gcc 4.3.5 ICE, ubicom: missing pata_artop struct pci_device_id termination, uml: rm -fvr non zero return Jan 17 01:13:41 some of them can be only fixed by thepeople Jan 17 01:14:03 I already suggested to protect the scripting steps with || true Jan 17 01:17:56 das-Iro: expect is missing on your first buildslave Jan 17 01:27:50 and the second one and thepeople's buildslave2 fwiw Jan 17 02:18:12 jow * r25027 /trunk/package/ppp/files/pppoa.sh: [package] ppp: remove pppoa coldplug, the hotplug handler has been confirmed for ueagle and solos Jan 17 02:18:42 gr +working Jan 17 02:19:37 jow * r25028 /trunk/package/ppp/Makefile: [package] ppp: bump pkg revision after latest changes Jan 17 02:20:34 jow * r25029 /branches/backfire/package/ppp/ (Makefile files/pppoa.sh): [backfire] merge r25027 and r25028 Jan 17 02:50:47 xMff: The lib/xmlrpc_c package failes to compile on r25018. Here is the compilation dump (http://pastebin.com/WbbWPPZ2). See line #352 **** ENDING LOGGING AT Mon Jan 17 02:59:57 2011