**** BEGIN LOGGING AT Fri Aug 15 02:59:56 2008 Aug 15 04:13:34 thepeople * r12316 /trunk/package/opkg/files/postinst: fix symlinks when installing opkg into a image Aug 15 05:16:13 thepeople - I just selected opkg into the image - and then saw that - Aug 15 05:20:17 i saw that too, but thought it was a fluke Aug 15 05:21:01 there should be an "ipkg" symlink in the pkg, too, in case busybox is built without it Aug 15 05:21:31 yes - most probably Aug 15 05:21:40 vim-full is slightly broken in a similar way Aug 15 05:21:46 oh? Aug 15 05:21:54 as is webif Aug 15 05:22:26 sn9: you mean there should be a symlink to vi ? Aug 15 05:22:59 apache is broken worse - it actually removes the symlink - which then breaks webif! Aug 15 05:25:06 no, to ipkg Aug 15 05:25:21 sn9: sorry - I mean on vim-full Aug 15 05:25:38 (I added the vim-full package) Aug 15 05:26:21 so it should create the symlink if there isn't one there Aug 15 09:44:58 package/broadcom-wl/files/lib/wifi/broadcom.sh is broken! can someone please fix it? Aug 15 09:45:13 look at lines 149-150 Aug 15 09:45:21 there is a line missing Aug 15 09:46:01 with vif_do_up Aug 15 09:47:08 should have: append vif_do_up "vif $_c" "$N" Aug 15 09:47:55 otherwise, only the last virtual interface is operated on Aug 15 09:48:44 it took me quite some time to track that down Aug 15 09:49:26 send a patch on -devel please Aug 15 09:54:15 great, i gotta deal with e-mail at this hour? Aug 15 09:54:24 it's just one line Aug 15 09:54:41 add it to trac then Aug 15 09:54:47 thats only 2 clicks Aug 15 09:55:12 then i gotta search for existing tickets... Aug 15 09:55:19 nope Aug 15 09:55:24 just throw it in there Aug 15 09:56:20 what's so bad about just adding the line to svn? Aug 15 09:56:34 i would have to test it first Aug 15 09:56:43 and i have no brcm hw at hand Aug 15 09:56:58 * sn9 grumbles some more Aug 15 09:57:41 i noticed Aug 15 09:58:26 sn9: you might want to repeat your question now Aug 15 09:58:40 ok Aug 15 09:58:47 package/broadcom-wl/files/lib/wifi/broadcom.sh is broken! can someone please fix it? Aug 15 09:58:55 look at lines 149-150 Aug 15 09:59:07 there is a line missing Aug 15 09:59:24 should have: append vif_do_up "vif $_c" "$N" Aug 15 09:59:48 otherwise, only the last virtual interface is operated on Aug 15 10:00:28 mb___: ? Aug 15 11:01:26 blogic: are you here? have a question Aug 15 11:01:41 sure Aug 15 11:01:56 blogic: how do you flash an olpc image Aug 15 11:02:18 ah, good question Aug 15 11:02:22 you have an olpc ? Aug 15 11:02:24 yes Aug 15 11:02:32 B or C rev ? Aug 15 11:02:37 C Aug 15 11:02:42 developer key ? Aug 15 11:02:45 yes Aug 15 11:03:29 ok Aug 15 11:03:34 in that case ... Aug 15 11:04:15 currently we test with usb stick. there is a new guy from germany, that has been really active with the olpc over the last few weeks and managed to get sugar running Aug 15 11:04:30 he is working on the avahi, networkmanager, python f00 atm Aug 15 11:04:32 boot directly from usb? Aug 15 11:04:36 yep Aug 15 11:04:42 so ... Aug 15 11:04:46 ah, that would explain some things Aug 15 11:05:20 do you by chance know how to fix the flash bad-block table, semi-related? :) Aug 15 11:05:32 somehow it got messed up and everything shows up as bad Aug 15 11:05:35 (it's not) Aug 15 11:05:41 weird Aug 15 11:07:56 http://kwzs.be/~kevin/pic2/p1110001.jpg :/ Aug 15 11:08:27 1 sec Aug 15 14:19:00 hi Aug 15 14:19:06 arosch1: huh? Aug 15 14:19:27 hi russell_ Aug 15 14:19:33 hi Aug 15 14:20:02 hi arosch1 Aug 15 14:20:09 hey Aug 15 14:23:59 anybody tested the mac8011 in master mode on atheros ? does it work well enough? Aug 15 14:28:33 arosch1: [florian] has been playing with it, i know he tested ralink and b43 Aug 15 14:28:36 dunno about ath Aug 15 14:48:08 thx Aug 15 14:57:19 <[florian]> arosch1: you mean ath5k or ath9k ? Aug 15 16:01:13 [florian]: you tested b43? Aug 15 16:02:36 <[florian]> sn9: yes I did, it works fine without encryption Aug 15 16:02:50 <[florian]> and most of the time requires manual starting of hostapd Aug 15 16:02:59 <[florian]> other than that it is fine, with a bit of packet loss Aug 15 16:03:14 [florian]: would you be able to put a 2.4 image back on whatever hardware you tested b43 on? Aug 15 16:03:18 <[florian]> so I would not recommend using it for production setups, but for testing, that is good Aug 15 16:03:38 <[florian]> sn9: using mtd yes, so should you :) Aug 15 16:03:53 [florian]: i mean, to test something Aug 15 16:04:05 <[florian]> sn9: not right now, but if you wait for 2-3H yes Aug 15 16:04:14 [florian]: read the log of this channel from six hours ago Aug 15 16:05:10 <[florian]> so between line 149 and 150 "append vif_do_up "vif $_c" "$N"" should be inserted ? Aug 15 16:05:34 right Aug 15 16:05:51 <[florian]> this might be the cause of the bugs I met Aug 15 16:06:12 i tested it with a 350n, but it needs to be verified on a 54gl or something Aug 15 16:06:12 <[florian]> allright, will test that when I get back home Aug 15 16:06:17 <[florian]> sure Aug 15 16:06:27 <[florian]> 54g, wl500deluxe should be fine for testing Aug 15 16:07:11 yes, anything non-mimo Aug 15 16:07:48 <[florian]> right Aug 15 16:08:09 <[florian]> did you read my question about you having ssb-gige enabled in your kernel config ? Aug 15 16:08:14 <[florian]> (for 2.6) Aug 15 16:09:04 [florian]: i did, but i didn't quite understand what you asked. could you please rephrase? Aug 15 16:09:55 tg3 refuses even to compile if ssb-gige is turned off, btw Aug 15 16:10:22 <[florian]> sn9: sure, 2.6.25 for brcm47xx has CONFIG_SSB_DRIVER_GIGE which is a bridge between the tg3 driver and ssb, which should make your ethernet work on wrt350n Aug 15 16:11:13 [florian]: reread my last line Aug 15 16:11:24 <[florian]> sorry, did not see it Aug 15 16:18:30 [florian]: anyway, it turned out that b43 refuses to do anything at all with 11n hardware atm, so whatever is causing the tg3 failure is far from the most pressing issue with brcm47xx Aug 15 16:19:39 so i built a 2.4 image, and ran into the problem i complained about six and a half hours ago Aug 15 17:25:12 hi Aug 15 17:25:18 hello Aug 15 17:25:29 cyrusFF: (trunk) + luci feeds give me: Safari can’t open the page. Aug 15 17:25:29 Safari can’t open the page “http://172.16.1.1/cgi-bin/luci” because the server unexpectedly dropped the connection, which sometimes occurs when the server is busy. You might be able to open the page later. Aug 15 17:26:17 cyrusFF: is that a well know bug in trunk right now? Aug 15 17:26:48 only in Safari? Aug 15 17:27:19 nope Aug 15 17:27:21 same in firefox Aug 15 17:27:31 which platform? Aug 15 17:27:36 or any other piece of software that connects to port 80 :) Aug 15 17:27:40 i386 Aug 15 17:27:44 alex Aug 15 17:27:46 alix Aug 15 17:28:52 I selected the full luci-admin-core server (not the mini) in make menuconfig... Aug 15 17:29:05 aroscha_: could you please do the following: open a telnet/ssh console and type /www/cgi-bin/luci and have a look at the output Aug 15 17:29:11 try to run /www/cgi-bin/luci on the shell and look if it prints a backtrace or sth. like that Aug 15 17:29:17 oops, same idea Aug 15 17:30:08 ok. pastebin is slow... Aug 15 17:30:52 but you haven't selected the experimental single-threaded server? Aug 15 17:31:26 no Aug 15 17:31:28 http://pastebin.com/m263934d5 Aug 15 17:31:47 so seems like lua is missing Aug 15 17:31:52 aroscha, ok known problem, fixed some time ago Aug 15 17:31:52 or it did not pull it in Aug 15 17:32:00 ok Aug 15 17:32:16 did I not have the correct feed update? Aug 15 17:32:20 hmm please do the following; ./scripts/feeds update luci; ./scripts/feeds install bitlib; make menuconfig; make Aug 15 17:32:26 ahh Aug 15 17:32:27 ok Aug 15 17:33:09 on fresh checkout this is done automatically but dependency is sometimes lazy with updated dependencies Aug 15 17:33:21 *dependency checking Aug 15 17:33:36 i see Aug 15 17:33:53 because I actually did make an scripts/feeds update -a before Aug 15 17:34:51 yep, but this doesn't detect new packages Aug 15 17:35:13 sometimes at least Aug 15 17:38:32 if you don't want to reflash your board, it should be enough to locate the bitlib ipk and install it manually Aug 15 17:42:02 hi CyrusFF Aug 15 17:42:08 loswillios: what? Aug 15 17:42:14 loswillios: hey Aug 15 17:42:56 I noticed some escaping error in luci with my wireless psk-key Aug 15 17:43:29 that's the key Aug 15 17:43:40 thanks I will have a look at it Aug 15 17:43:57 thanks Aug 15 17:44:54 I setted it via commandline and when I looked at it with luci, it was only the first x characters Aug 15 17:52:04 cyrusFF: works ! thanks. LuCi is really cool Aug 15 17:52:23 nice to hear ;-) Aug 15 17:52:26 thanks Aug 15 17:53:25 yeah. the work is very much appreciated! Aug 15 18:14:40 cyrusFF: I get another error (dont know if it is important): when I set the wifi -> networks tab to some other value (something, like the WPA key) , then I get lots of red error lines: "Error: This field is mandatory" next to actually filled out fields Aug 15 18:14:50 but it seems to work anyway Aug 15 18:15:33 arosch1: yes i have just noticed this one by myself, it is caused by missing ( ) in a condition, will also be fixed n a moment Aug 15 18:18:02 ok, no prob. just wanted to report Aug 15 18:19:08 arosch1, loswillios: both issues should be fixed now Aug 15 18:19:25 thanks CyrusFF Aug 15 18:56:06 http://openwrt.pastebin.com/d7b380d0 -- any idea what's wrong with uci firewall? Aug 15 18:57:27 Yanira: what error do you get ? Aug 15 18:57:36 ah sorry Aug 15 18:57:42 the dport module is missing Aug 15 18:57:56 i will fix this later today or tomorrow Aug 15 18:58:04 okie Aug 15 19:09:10 blogic: seems like either -p tcp or -p udp is missing Aug 15 19:09:16 blogic: --dport doesn't need special matching modules Aug 15 19:10:38 i know Aug 15 19:10:43 i am looking at it now Aug 15 19:10:53 :) Aug 15 19:16:37 nbd: CONFIG_NETFILTER_XTABLES=y Aug 15 19:16:41 don't get it Aug 15 19:16:47 ? Aug 15 19:16:59 leaving out --dport and the line works Aug 15 19:17:01 wtf Aug 15 19:36:17 re: firewall Aug 15 19:36:47 I would *love* to have a global setting: firewall_default_policy={ACCEPT, DROP} or something like that Aug 15 19:44:56 arosch1: there is Aug 15 19:46:51 thepeople: ah! where? I did not see it in uci_firewall.sh or in package/firewall/files Aug 15 19:47:55 arosch1: config defaults, the first rule Aug 15 19:49:04 sorry, /me is removing the tomatoes from my eyes Aug 15 19:50:05 :-P Aug 15 20:18:24 blogic * r12317 /trunk/package/firewall/files/uci_firewall.sh: trigger error if dport is used when no proto is defined Aug 15 20:37:41 blogic: i changes /lib/firewall/uci_firewall.sh but i get the same error Aug 15 20:40:21 cyrusFF: bug in status -> wifi scan: Aug 15 20:40:23 Status: 500 Internal Server Error Aug 15 20:40:38 ok Aug 15 20:40:40 /usr/lib/lua/luci/util.lua:202: attempt to index local 'value' (a nil value) Aug 15 20:42:20 fixed. Aug 15 20:43:14 CyrusFF: does port forwarding with uci firewall and luci works for you? Aug 15 20:43:16 <_trine> can someone fix firstboot cos that's not working Aug 15 20:44:05 cyrusFF: ok, thx, will test Aug 15 20:46:04 Yanira: i haven't tested it with the latest builds but it worked a few days ago, I will retry with the latest UCI firewall revisions Aug 15 20:48:27 i have latest fix from blogic, but still Unknown arg `--dport' Aug 15 20:51:56 blogic: I think you messed up something with protocol and proto, especially when i look at fw_redirect Aug 15 20:53:21 and i did the same thing in LuCI -.- Aug 15 20:58:54 cyrusFF: feedback - wifi scan "sort of" works now . It at least does not throw an error . But there are no scan results. Do I have to put the device into monitor mode first? Aug 15 20:59:34 hmm the webif just parses the ouput of iwlist sc Aug 15 21:01:55 hm lets test that then Aug 15 21:02:56 Yanira: i have fixed a typo in LuCI firewall page but I think there is still something wrong with the UCI firewall itself Aug 15 21:03:18 CyrusFF: ok Aug 15 21:06:35 arosch1: was any wifi mode (ap/client/ad-hoc/...) enabled when you scanned? Aug 15 21:06:46 jup Aug 15 21:06:48 ap Aug 15 21:07:07 okay, we had the same problem in the old FF firmware Aug 15 21:07:08 CyrusFF: with your and blogic's fix /etc/init.d/firewall restart runs without an error now Aug 15 21:07:26 fix was to temporily switch to client mode while scanning Aug 15 21:07:40 hm, let's try that now then Aug 15 21:07:41 but I'm not sure whether this behaviour is desired... Aug 15 21:07:51 Yanira: ok fine then Aug 15 21:08:40 hmm, but the port is still stealth according to grc.com > shields up! Aug 15 21:09:04 xMff: yeah, when I change to sta mode, it scans Aug 15 21:09:40 but it seems it needs a ifconfig ath0 down; wlanconfig ath0 destroy; wlanconfig ath0 create wlandev wifi0 wlanmode sta; iwlist scan Aug 15 21:10:02 argh Aug 15 21:10:40 <_trine> wlanconfig ath0 create wlandev wifi0 wlanmode sta works but opton Aug 15 21:10:55 <_trine> opps Aug 15 21:11:02 but opton? Aug 15 21:11:17 hard to code around this Problem, at least without introducing quirks for different chip types Aug 15 21:11:20 <_trine> option sta does not Aug 15 21:11:41 jup Aug 15 21:11:53 scanning also works when it is in adhoc mode Aug 15 21:12:03 btw Aug 15 21:12:12 yes, afair ap mode is the only one affected Aug 15 21:12:27 well, xMff: does that apply to *all* atheros chips? Aug 15 21:12:54 if so -> if $DEVICE_NAME ~= ath* then switch mode Aug 15 21:12:57 ugly but works Aug 15 21:12:57 <_trine> using option mode sta crashes my fonera on the snapshot Aug 15 21:13:07 hmmm Aug 15 21:13:08 since it applies to broadcom too i believe its a general thing Aug 15 21:13:51 <_trine> and if very annoying when that happens that fisrtboot is not working Aug 15 21:14:11 <_trine> because then I have to reflash the router Aug 15 21:15:13 <_trine> if=it's Aug 15 21:15:30 xMff, cyrusFF: suggestion for at least the easy user interface: if you can show some "wlan strength" symbols next to the scan results it will be easier for folks to understand Aug 15 21:16:26 general wifi interface improvements are definitely on the roadmap Aug 15 21:16:33 k Aug 15 21:16:49 i might have a cool script for streaming out the SNR to the userinterface Aug 15 21:18:01 ok, then what is it? Aug 15 21:21:56 ahm.. it will need some glue Aug 15 21:22:29 but basically the SNR is continually checked and thus you can draw graphs in the client. sort of AJAX thingy Aug 15 21:22:33 still very beta Aug 15 21:23:14 hmm, you could just use collectd, enable its network plugin and stream the snr data to a local collectd installation Aug 15 21:23:38 grml btw interestingly on my wgt634u it does scan in master mode oO Aug 15 21:24:07 broadcom can scan in ap mode Aug 15 21:24:12 atheros can not Aug 15 21:24:18 currently anyhow Aug 15 21:24:42 but the wgt634u is atheros Aug 15 21:24:48 and it scans ^^ Aug 15 21:24:51 o...O Aug 15 21:25:15 hmmm Aug 15 21:25:19 hmmm Aug 15 21:25:21 but don't ask me how and why Aug 15 21:25:31 could the bgscan iwpriv have anything to do with it? Aug 15 21:25:54 xMff: ok, sounds like that would fit in better Aug 15 21:25:58 arosch1: that is only valid in client mode I believe Aug 15 21:28:06 jup. now the CM9 also scans in ap mode Aug 15 21:28:50 hmm to be sure it did not cache things i rebooted the wgt634u (its actually a broadcom board with an atheros wifi) and it is up in ap mode and still scans Aug 15 21:28:58 jup Aug 15 21:29:14 I /sbin/wifi started' again and it stopped scanning in ap mode Aug 15 21:29:49 *mad*wifi Aug 15 21:30:00 arosch1: but we also plan a rpc like api which you can use to retrieve data, perhaps this is the thing you need as "glue" Aug 15 21:30:06 I just confimed it here as well on my NS2 Aug 15 21:30:19 * thepeople wonders when that changed Aug 15 21:30:44 arosch1: sry for x-topic Aug 15 21:31:40 xMff: yeah, sounds good Aug 15 21:32:09 hmmn ok so I think we can leave this wlan-scan page as it is and maybe add a notice that it sometimes "just doesn't work" Aug 15 21:32:21 ^^ Aug 15 21:32:26 * xMff say ok :) Aug 15 21:32:59 at least for now Aug 15 21:33:05 cyrusFF: great idea ;-) Aug 15 21:33:49 CyrusFF: or just detect if it doesn't work and create a sta interface if one doesn't exist and can be made Aug 15 21:34:23 cyrusFF: actually that is pretty essential for all the community free networks for tuning antenna directions etc. Very often we need to scan while we are actually connected to that device via wlan Aug 15 21:34:37 just my 2 cents/experience Aug 15 21:35:26 arosch1: i know that, i am also part of such a community wifi network Aug 15 21:35:33 ;-) Aug 15 21:35:41 thepeople: yes seems like a good idea Aug 15 21:36:05 cyrusFF: I know :) Aug 15 21:37:29 thepeople, cyrusFF: that is what I just did . created a adhoc ath1 in addition and scanned there. works Aug 15 21:38:01 grml why is wifi always such a pita Aug 15 21:38:20 yeah Aug 15 21:38:33 actually: it works when you type in iwlist ath1 scan Aug 15 21:38:36 wireless freedom .. lol Aug 15 21:38:42 CyrusFF: what fun would it be if it just worked? Aug 15 21:38:50 but not when you go "iwlist sc" Aug 15 21:39:17 cyrus: ok... maybe that is a compromise: Aug 15 21:39:26 for i in $INTERFACES; do Aug 15 21:39:33 iwlist $i scan Aug 15 21:39:38 present the result Aug 15 21:39:39 done Aug 15 21:39:59 then the user can (for atheros) create another interface when he/she wants to scan Aug 15 21:40:04 without changing the main interface Aug 15 21:40:19 hmm ok Aug 15 21:40:46 thepeople: grml hmm you unfortunately are right Aug 15 21:40:58 :-P **** ENDING LOGGING AT Sat Aug 16 02:59:56 2008