**** BEGIN LOGGING AT Wed Aug 11 02:59:57 2010 Aug 11 09:31:25 blathijs: moin Aug 11 09:34:04 hey arcsky Aug 11 09:34:10 arcsky: Got your serial cable yet? :-) Aug 11 09:34:16 yeah Aug 11 09:34:27 but seems hard to make this Aug 11 09:34:30 very small pins Aug 11 09:34:46 No standard connector? Aug 11 09:34:59 http://halfface.se/wiki/index.php/File:Ca-42_dku-5_pinout.jpg Aug 11 09:35:28 pin 6 7 and 8 i need Aug 11 09:35:52 Ah, right. Perhaps you should just cut off the connector and solder a new connector on? Aug 11 09:36:30 Hmm, I think I have the same serial cable idling around here :-) Aug 11 09:36:48 though mine has all 15 pins or something present Aug 11 09:37:30 I take it you've seen http://trac.fonosfera.org/fon-ng/wiki/serial as well? Aug 11 09:37:58 ye Aug 11 09:38:38 if i cut the serial off Aug 11 09:38:46 how can i know which wire are which Aug 11 09:39:04 you can get a multimeter and find out which pin connects to which wire Aug 11 09:39:15 though that only works if the wires are coloured, of course... Aug 11 09:39:34 if you understand what I mean Aug 11 09:40:02 ye Aug 11 09:40:38 You could try opening it up very carefully, taking care not to cut the cables if they are not coloured Aug 11 09:40:48 and then cut, measure and label them one by one Aug 11 09:41:09 i dont have this equipment Aug 11 09:41:10 grr Aug 11 09:41:36 if you have a battery and a bicycle light, you could use that :-) Aug 11 09:41:38 but i think i have a friend which like this Aug 11 09:41:45 hehe Aug 11 10:24:37 blathijs: do you know if anyone have tested ur instructions ? http://wiki.fon.com/wiki/FON2202_Enable_Redboot Aug 11 10:24:46 i dont want to damge my fonera Aug 11 10:51:32 I have tested them, but noone els I think Aug 11 10:55:06 arcsky: I can give you my redboot config and customized firmware, if you want to try Aug 11 10:59:15 but ist possible that i can damage mine? Aug 11 11:01:26 yes, but I don't think it's likely Aug 11 11:01:35 ok Aug 11 11:01:39 how do i do? Aug 11 11:01:48 the problem with these kinds of operations is that even though the chances of failure are small, there is some potential of breaking things real good Aug 11 11:02:09 so that means the risk (chance multiplied by impact) is still high Aug 11 11:02:20 but you already have the serial cable to troubleshoot if it fails :-) Aug 11 11:02:29 ye Aug 11 11:02:44 ist just take ur firmware in webinterface? Aug 11 11:02:59 No, you'll have to flash it in through SSH with the mtd command Aug 11 11:03:55 okok Aug 11 11:05:10 Here's instructions http://trac.fonosfera.org/fon-ng/wiki/sshflash Aug 11 11:05:54 I'm uploading the image now Aug 11 11:06:09 ok Aug 11 11:06:11 ;> Aug 11 11:12:05 http://www.stdout.nl/static/tmp/openwrt-fonera2.image Aug 11 11:12:14 that's the patched firmware Aug 11 11:12:17 http://www.stdout.nl/static/tmp/redboot-config Aug 11 11:12:29 and that's the updated config Aug 11 11:13:24 Don't forget to doublecheck the md5sums when the instructions show them Aug 11 11:14:38 nice Aug 11 11:14:47 are you here later today ? im going soon to play golf Aug 11 11:18:40 I should be here all day Aug 11 11:19:10 ;> Aug 11 11:19:18 where are you from btw? Aug 11 11:19:21 im from sweden Aug 11 11:21:49 .nl Aug 11 11:22:45 ;) Aug 11 11:22:56 i have been in amsterdam this summer Aug 11 11:23:00 Sensation White party Aug 11 11:24:30 Ah, nice Aug 11 17:24:27 hey blathijs, here is the full output of logread: http://nopaste.info/02e48d372c.html Aug 11 17:25:56 Hmm, still no fonsmcd errors in there.. Aug 11 17:27:41 derflooh: What does your network setup look like? Any chance there could be errors connecting? Aug 11 17:28:12 Due to strict firewall on your modem/router or something? Aug 11 17:28:26 (I think it's an UDP packet that should get through) Aug 11 17:29:22 i live in a student dorm. the net is the university net. i don't know of any restrictions. can I test that? Aug 11 17:32:44 i have no other device between me and the net except the fonera, so maybe the university is blocking something Aug 11 17:42:27 derflooh: UDP is a bit hard to test, I'm also not sure what the Fonera is sending exactly... Aug 11 17:44:35 here is the output of nmap from my laptop: http://nopaste.info/8257772607.html ports seems to be reachable Aug 11 17:47:20 Heh, you've found the config file, I see :-) Aug 11 17:47:41 derflooh: What's the Fonera's public IP address? Is it static? Aug 11 17:48:02 Then I ask someone to check the heartbeat server for incoming requests Aug 11 17:48:04 yes, but the ip is not reachable from the internet Aug 11 17:48:19 The first public IP, then? Aug 11 17:48:26 (e.g., use whatsmyip.org or something) Aug 11 17:48:37 * blathijs is off for dinner, please query me with the address Aug 11 17:48:43 I'll hope to have more info tomorrow Aug 11 17:56:24 root@Fonera:~# /usr/sbin/fonsmcd -c Aug 11 17:56:24 fonsmcd not running Aug 11 17:56:24 root@Fonera:~# /usr/sbin/fonsmcd Aug 11 17:56:25 Daemon already running on PID file 1969 Aug 11 17:56:25 lol Aug 11 18:09:10 hmm, that's weird :-) Aug 11 18:10:25 Hey cool, you've found commandline options for fonsmcd :-) Aug 11 18:10:29 Never even tried that Aug 11 18:10:49 -? gives help Aug 11 18:10:51 seems your fonscmd output from your query shows "offline", but for some reason those errors aren't in logread Aug 11 18:11:02 yeah, --help as well, but it never occured to me to try :-) Aug 11 18:11:39 where does fonsmcd come from? there seems to be no source Aug 11 18:12:44 nope, it's a binary only thing Aug 11 18:13:18 There's source of it somewhere within FON, but there is a layer of obscurity over it. I've never seen source so far either Aug 11 18:14:06 derflooh: This is how it should look: http://nopaste.info/695b2d59b7.html Aug 11 18:15:40 Let's build tcpdump to see what really happens Aug 11 18:16:19 ok Aug 11 18:17:02 It's hard to dump traffic external to the Fonera, so having a working tcpdump around was on my list for a while :-) Aug 11 18:17:46 Hmm, that uses PKG_INSTALL, so the openwrt package probably won't work right away... Aug 11 18:18:17 back Aug 11 18:23:54 blathijs: sup? Aug 11 18:26:51 arcsky: Trying to get derflooh's Fonera to register :-) Aug 11 18:27:14 whaat do you mean with register ? Aug 11 18:27:42 http://nopaste.info/54647b30ff.html this Aug 11 18:29:30 dns problem? Aug 11 18:30:00 blathijs: ok md5sum are correct Aug 11 18:32:00 arcsky: I'll be away the rest of the night, so any questions will have to wait until tomorrow Aug 11 18:32:23 noooooooooo Aug 11 18:32:24 really? Aug 11 18:33:26 yup, sorry Aug 11 18:33:34 I'll be here all day tomorrow again Aug 11 18:33:47 derflooh: Could you drop by tomorrow as well? Got to go now... Aug 11 18:34:04 yes Aug 11 18:34:09 thanks Aug 11 18:34:11 cya! Aug 11 18:36:13 matthijs@xanthe:~/fconfig$ make Aug 11 18:36:14 ... Aug 11 18:36:19 i dont got make Aug 11 18:36:27 ok cyaa Aug 11 18:50:07 opkg install tcpdump seems to work Aug 11 18:56:57 18:56:27.116928 IP 10.149.39.64.59721 > 10.149.32.2.53: 6933+ A? cthulhu.fon.com. (33) Aug 11 18:56:57 18:56:27.117597 IP 10.149.32.2.53 > 10.149.39.64.59721: 6933 1/5/5 A 213.134.45.88 (231) Aug 11 18:56:57 18:56:27.119238 IP 10.149.39.64.32722 > 213.134.45.88.53: 7044+[|domain] Aug 11 18:56:58 18:56:27.120967 IP 10.149.39.64.6017 > 213.134.45.88.53: 20311+[|domain] Aug 11 18:57:14 dns seems to work, but what is [|domain]? Aug 11 19:50:08 arcsky: You don't need that step, since I gave you a fixed redboot-config file Aug 11 19:50:25 arcsky: You can skip ahead, like step 2 or 3 says Aug 11 19:50:41 derflooh: Hmm, that saves building :-) Aug 11 19:51:13 blathijs: the problem is that from the univesity network 213.134.45.88 is not reachable for a dns query Aug 11 19:51:15 derflooh: You could write out the dump using -w (IIRC) and open it up in wireshark for details Aug 11 19:51:39 blathijs: i tried: dig @213.134.45.88 test TXT Aug 11 19:51:52 this works from my server, but not from here Aug 11 19:51:59 derflooh: I'm not sure if cthulhu is responding to.. Aug 11 19:51:59 oh Aug 11 19:52:04 hmm, that's weird Aug 11 19:52:21 (Also, I'd have expected packets to go to port 54, like the config says...) Aug 11 19:52:24 the [|domain] paket is a dns TXT query Aug 11 19:53:06 ah, right :-) Aug 11 19:53:35 I love people who find out things by themselves :-) Aug 11 19:53:43 :) Aug 11 19:53:46 Sounds like a problem in your network, then? Aug 11 19:53:53 * blathijs is off again, commercial break is over ;-) Aug 11 19:53:53 yes Aug 11 19:54:28 blathijs: yoo Aug 11 20:33:01 the fonera sends a dns query to cthulhu.fon.com with some sort of hash or encrypted value and cthulhu answers with a similar answer. since the university network is blocking outgoing dns queries (just found out about) my fonsmcd thinks it can not resolve cthulhu.fon.com **** ENDING LOGGING AT Thu Aug 12 02:59:57 2010