**** BEGIN LOGGING AT Mon Aug 09 02:59:57 2010 Aug 09 14:20:52 where can I buy a freerunner? Aug 09 14:21:30 ebay? Aug 09 14:21:36 Is the site still selling them/ Aug 09 14:22:08 http://pulster.de/ Aug 09 14:22:10 pengu1n: ask on community ml, maybe someone knows Aug 09 14:22:24 http://www.handheld-linux.com/wiki.php?page=Neo%20Freerunner Aug 09 14:22:38 the 'buy freerunner' link on om.com no longer goes to their internal store, just to disties. Aug 09 14:22:45 I guess some might still have stock Aug 09 14:23:02 yeah like pulster and goldenDelicious :) Aug 09 14:24:21 I've search it in ebay, amazon, found nothing Aug 09 14:29:38 http://cgi.ebay.co.uk/Neo-FreeRunner-GTA02-/290461340417?cmd=ViewItem&pt=UK_MobilePhones_MobilePhones&hash=item43a0d85301 - one in UK Aug 09 14:33:17 thx Aug 09 19:18:51 ok, now I have struggled enough on my own. I cannot access internet through my laptop using shr-unstable via usb. My configuration was working earlier, and I have no clues on how to proceed. Anyone got any ideas? I obviously suck at networking. Aug 09 19:19:18 I can ping my laptop but the forwarding doesn't seem to work Aug 09 19:19:57 Daramarak: can you put the output of iki.fi/lindi/print-net-settings on all affected systems online? Aug 09 19:22:13 lindi-: working on it Aug 09 19:25:50 lindi-: for my ubuntu system http://pastebin.com/BazUeAsW Aug 09 19:27:51 Daramarak: so you want to ping laptop -> FR -> internet? Aug 09 19:30:53 I want to ping FR -> laptop -> internet Aug 09 19:31:12 ok Aug 09 19:32:29 lindi: on FR: http://pastebin.com/VV1iLM7C Aug 09 19:32:46 Daramarak: 'Usage: ip [OPTIONS] {address | route | link | tunnel | } {COMMAND}' is not very useful Aug 09 19:33:31 Daramarak: you have some cheap plastic imitation of ip over there. The script needs real iproute2 and not busybox sorry Aug 09 19:33:52 on my FR? Aug 09 19:33:59 on all affected systems :) Aug 09 19:44:41 lindi: calling ip -V on my ubuntu box gives me ip utility, iproute2-ss091226. Isn't that the real deal? Aug 09 19:44:50 Daramarak: yep Aug 09 19:44:53 Daramarak: you need that on FR too Aug 09 19:45:46 ill try to scp the package into my FR Aug 09 19:45:55 Daramarak: you fail Aug 09 19:47:00 lindi: Oh? Aug 09 19:49:24 Daramarak: you can't just copy ubuntu package to FR and expect it to work Aug 09 19:50:02 lindi-: bah, I know that. I am looking for a iproute package for the FR Aug 09 19:50:22 debian has one :) Aug 09 19:50:32 maybe SHR does too? Aug 09 20:07:40 lindi-: They shr did, but I have a md5sum mismatch. Perhaps because opkg cannot access the package directory? Aug 09 20:09:32 Daramarak: no idea Aug 09 20:17:23 lindi-: finally after some pain: http://pastebin.com/4RGbnD0Z Aug 09 20:20:53 Daramarak: ok Aug 09 20:21:51 Daramarak: look at 'ip route list table main' on FR Aug 09 20:24:44 lindi-: I am looking at it Aug 09 20:24:56 Daramara`: do you know how routing works in principle? Aug 09 20:25:15 yes, I think so Aug 09 20:25:32 Daramara`: so what does '192.168.0.0/24 dev usb0 proto kernel scope link src 192.168.0.202' mean? Aug 09 20:28:50 No i make no sense of it. 192.168.0.0/24 is the sub net, usb0 is the device and src 192.168.0.202 prob means that it should route traffic from 192.168.0.202 Aug 09 20:29:25 Daramara`: it means: Aug 09 20:29:49 Daramara`: if the destination IP address of a packet matches 192.168.0.0/24: Aug 09 20:29:58 Daramara`: then send the packet out using the interface usb0 Aug 09 20:30:11 Daramarak: if the packet does not yet have a source IP address set, set it to 192.168.0.202 Aug 09 20:30:23 Daramarak: can you spot the problem? Aug 09 20:30:29 oh that is wrong Aug 09 20:30:58 Daramarak: why? Aug 09 20:31:21 or, source? isn't that correct. the source is the FR, which has the adress 192.168.0.202 Aug 09 20:34:25 after all packets going to 192.168.0.200 are sent to the correct place. I do have a connection between 192.168.0.200 <-> 192.168.0.202 Aug 09 20:35:56 Daramarak: yep, this rule is correct. Aug 09 20:36:03 Daramarak: the problem is that this rule is not enough Aug 09 20:36:17 Daramarak: you need an extra rule, can you figure out what it is supposed to say? Aug 09 20:37:37 well, where packages outside of 192.168.0.0. should go Aug 09 20:37:49 ill try to look it up Aug 09 20:41:35 Daramarak: yes, what interface? Aug 09 20:41:36 default via 192.168.0.200 dev usb0.... Aug 09 20:41:59 looks good Aug 09 20:42:10 do you know what the "via" does there internally? Aug 09 20:42:14 no Aug 09 20:42:29 ok. are you familiar with ethernet MAC addresses and ARP? Aug 09 20:42:39 MAC adresses yes, ARP no Aug 09 20:43:09 ok, i knew about ARP, but not any longer (long time since school :) Aug 09 20:43:12 Daramarak: you are sending IP packets inside ethernet frames Aug 09 20:43:27 Daramarak: those ethernet frames need to have correct destination MAC address Aug 09 20:44:08 Daramarak: if you omit "via 192.168.0.200" part and try to ping 1.2.3.4 your FR will try to ask what MAC address it should use to contact 1.2.3.4 using ARP Aug 09 20:44:25 Daramarak: but since nobody with 1.2.3.4 is listening on usb0 it will get no answer ever Aug 09 20:45:02 Daramarak: "via 192.168.0.200" tells your FR to use the MAC address of 192.168.0.200 instead. it is the duty of 192.168.0.200 to find the final recipient Aug 09 20:46:48 lindi-: Ok, I understand. Aug 09 20:47:09 lindi-: But how come this isn't already defined for the FR? Aug 09 20:47:22 Daramarak: my guess is that you used wlan or gprs Aug 09 20:47:29 Daramarak: it replaced the default route Aug 09 20:47:56 Daramarak: since SHR probably does not do multiple default routes normally Aug 09 20:48:34 lindi-: yes I have. Aug 09 20:49:02 lindi-: But that using wlan breaks the usb networking. That ain't good. Aug 09 20:49:14 Daramarak: I don't know any easy solution, I just have a menu entry to control default route Aug 09 20:50:42 lindi-: Why are there different route tables? Aug 09 20:52:36 Daramarak: what sort of answer do you want? ;) Aug 09 20:52:51 Daramarak: because using rules you can control which routing table gets applied in each scenario Aug 09 20:53:46 lindi-: scenario? explain Aug 09 20:54:08 Daramarak: for example you can route by source address Aug 09 20:54:14 Daramarak: normally you only route by destination Aug 09 20:54:40 Daramarak: but if you have multiple IP addresses you might want to route them differently Aug 09 20:56:27 lindi- Ok, so who/what decides what table to use? Aug 09 20:56:45 Daramarak: the "ip rule list" lists the rules Aug 09 20:58:23 lindi-: 0 : from all lookup local ; 32766: from all lookup main Aug 09 20:58:27 yep Aug 09 20:58:30 what does the numbers mean? Aug 09 20:58:43 Daramarak: just numbers so that you can refer to them by unique id Aug 09 20:59:02 hmm no Aug 09 20:59:10 Daramarak: I think it's their order too Aug 09 21:00:19 ok, so it looks up all from local, if no match is found it looks up from main, and in the end default Aug 09 21:00:37 yep Aug 09 21:01:47 But a normal user shouldn't need a networking course to be able to use internet from usb and wlan! Aug 09 21:03:28 lindi-: Anyway, thanks very much for taking the time and walking me through this. I know much more about routing using iptables now. I hope I am able to remember it next time something breaks my networking. Aug 09 21:06:19 Daramarak: iproute, not iptables :) Aug 09 21:06:40 Daramarak: my cheatsheet is http://lindi.iki.fi/lindi/routing/linux-routing.png Aug 09 21:07:22 lindi-: Ok i meant ip route tables Aug 09 21:11:21 lindi-: downloaded and saved locally, I won't begin asking you about the graph on the left, although I really would like to. I have wasted enough of your time. I'll let google guide me. Aug 09 21:13:40 Daramarak: netfilter.org has a similar graph i think, i just wanted my own copy Aug 09 21:19:04 lindi-: I used ip route add default via 192.168.0.200 then pinging my gateway was possible. I will have to check my DNS settings, because wget cannot get the build.shr-project.org so it looks like more is broken. I added a line to the resolv.conf maybe that was the problem. Aug 09 21:21:54 yep used the resolv.conf in USB-networking and everything was fine. Aug 10 01:43:11 wassup Aug 10 01:44:50 I'm trying to upgrade my GSM from moko8->moko11, but my phone won't boot from the uSD-Card? Aug 10 01:45:54 Unfortunately I'm stuck on a windows7 laptop to un-tar and copy the image. Aug 10 01:46:44 But I suspect my uboot might be too old? U-Boot 1.3.2-moko12 Aug 10 02:11:14 johngay: The image which is in the tar-file contains a partition-table. You must copy the image direct to the sd-card. (with dd) Aug 10 02:17:52 I did, but I had to use dd for Windows. dd completes fine, but my phone just says can not find image.bin I'm not sure if it's windows7 that's screwing it up or u-boot. Aug 10 02:19:02 My phone doesn't have enough room to untar the image on it. Aug 10 02:21:32 I want to try android. ATM I'm running H:1 from SD and the phone still has the original om that came on it. Aug 10 02:32:11 johngay: Maybe it's windows. I don't know. Do you have a sd-card which identified only with 3MB? I have one from toshiba. And with this card i must copy the kernel on a partition in the first 3MB. **** ENDING LOGGING AT Tue Aug 10 02:59:58 2010