**** BEGIN LOGGING AT Thu Aug 25 02:59:58 2011 Aug 25 07:28:33 Moin all. Aug 25 19:42:15 hi, someone uses the NeoFreerunner as the main phone? Aug 25 19:52:39 I do Aug 25 19:52:45 The main and the only. Aug 25 19:52:46 PaulFertser: distro? Aug 25 19:53:07 pablo: i'm hardcore: Debian + cornucopia/fso2 self-compiled + emacs Aug 25 19:55:34 PaulFertser: emacs? is emacs your "gui"? Aug 25 19:55:55 pablo: https://github.com/paulfertser/fso-el/wiki Aug 25 19:58:55 PaulFertser: same as this one? http://wiki.wjsullivan.net/collaboration.cgi/FsoEl Aug 25 19:59:11 kind of strange interface for a phone Aug 25 19:59:33 pablo: not same, mine is completely different. Aug 25 20:04:09 no shr users? Aug 25 20:05:43 hm, well, I do use SHR, but not as my main phone Aug 25 20:05:46 only sometimes. Aug 25 20:15:19 Hi all. I had a sequence to do on my Mandriva to enable OpenMoko see network. Due to some tests I made to simplify this task, I tried a few things, and now I cannot get it work anymore. Aug 25 20:15:39 LionKMP: what exactly is the problem? Aug 25 20:16:19 "Network is unreachable" for anything else than my Mandriva's OpenMoko IP. (192.168.0.201) Aug 25 20:16:33 from OpenMoko Aug 25 20:16:58 LionKMP: i mean "ip a; ip r; sysctl net.ipv4.ip_forward; iptables -L -v ; iptables -L -v -t nat " Aug 25 20:18:10 is this "ip" replacing "ifconfig" and "route"? I just noticed this command in my sequence 2 mintues ago (while I am using this little 3 lines script since 2008 :) ) Aug 25 20:18:31 LionKMP: it should, IMo Aug 25 20:18:43 LionKMP: and it replaces arp too Aug 25 20:18:56 http://pastebin.com/QQBD0Zsd output of the first 2, I try the rest. Aug 25 20:19:16 LionKMP: ip is the ultimate way to rule network stack in Linux, the kernel. Not portable, of course. Aug 25 20:19:42 Wonka: any reason for not using it as your main phone? Aug 25 20:20:18 LionKMP: also, "ip r" from your OpenMoko. Aug 25 20:20:37 pablo: not much over 4h battery life? crashing every now and then? Aug 25 20:21:16 Wonka: that's clearly something wrong. SHR supports suspend-to-ram and with that it'll have 140hrs in suspend (with gsm on!). Aug 25 20:21:19 :s Aug 25 20:21:30 wow this is very long http://pastebin.com/Rw7FNZjA (bottom has the OM part too) Aug 25 20:22:28 PaulFertser: well, it's SHR from about 2008, iirc Aug 25 20:23:08 LionKMP: "ip r a default via 192.168.0.201" on freerunner. Aug 25 20:23:08 PaulFertser: where it would constantly resume for no reason visible for me and not suspend by itself again Aug 25 20:23:27 Wonka: well, that's some uncool release you use then ;) Aug 25 20:23:42 ip unknown command a Aug 25 20:23:58 LionKMP: route add default gw 192.168.0.201 Aug 25 20:24:36 PaulFertser: probably. how's current SHR? working? with GPRS and GPS and stuff? Aug 25 20:24:38 PaulFertser: I try that, but note that my route -n has this line: 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 usb0 (might be wrong, but I didn't change OM, just Mandriva things) Aug 25 20:24:57 LionKMP: your freerunner device lacks default route :) Aug 25 20:25:10 isn't 0.0.0.0 the default? Aug 25 20:25:13 Wonka: i think current shr-u works. Aug 25 20:25:13 btw, it helped. Aug 25 20:25:20 weird, I changed Mandriva things only! Aug 25 20:25:27 PaulFertser: I might try if I find some time Aug 25 20:25:34 Wonka: but no promises. Aug 25 20:25:41 Wonka: as i'm a debian user. Aug 25 20:25:53 ah, 0.0.0.0 in first column is the default route! (I guess) Aug 25 20:26:04 LionKMP: lines 180-181 at http://pastebin.com/Rw7FNZjA clearly showed you lacked the default gw configuration on your device. Aug 25 20:26:52 PaulFertser: ok, thank you. Well, could you help me to make this static? Both this lack of default GW, and the net forward on Mandriva? Aug 25 20:27:07 I am tired of running a 3 lines sh script every day manually Aug 25 20:27:17 (to enable net forward on Mandriva) Aug 25 20:27:35 LionKMP: you're using shorewall iptables frontend, right? I've no clue about it but i bet it supports masquerading too. Aug 25 20:27:36 I tried to add to rc.local, but.. (hm... should try again NOW :) ) Aug 25 20:27:59 LionKMP: and sysctl values are configured in /etc/sysctl.conf probably or something like that, check your distro docs. Aug 25 20:28:03 yes, Mandriva uses Shorewall. Aug 25 20:28:21 :) ok, what about lack of default GW on OM? May it be caused by recent update? Aug 25 20:28:26 LionKMP: and interface configuration is likely to be handled by networkmanager, so you can just use it to configure eth3 there. Aug 25 20:28:27 (I use "testing" versions) Aug 25 20:28:41 LionKMP: show your /etc/network/interfaces from the device Aug 25 20:29:32 up route add default gw 192.168.0.200 metric 8 Aug 25 20:29:39 it has this line, I guess that should be 201? Aug 25 20:29:52 LionKMP: i'd say so :) Aug 25 20:30:05 LionKMP: is it the only line? Aug 25 20:30:24 no, srroy, paste: http://pastebin.com/6FJnZ4jC Aug 25 20:30:28 LionKMP: because you'd still have default route with it, just set incorrectly. Aug 25 20:31:16 hey, maybe if I configure it to DHCP, then Mandriva's "Share the internet" wizard would work, MAYBE!? Aug 25 20:31:25 LionKMP: probably needs s^route^/sbin/route^ in there Aug 25 20:32:12 btw, does the clock reset to you guys when you remove battery? Aug 25 20:32:23 (file date 1970 reminded me to that question) Aug 25 20:32:58 LionKMP: yes, all the backup batteries died... Aug 25 20:33:25 is there an internal batter that had shorter life time? possible to replace? Aug 25 20:33:43 LionKMP: yes, yes. Aug 25 20:34:09 is there a PDF? "how-to" Aug 25 20:34:19 (or wiki) Aug 25 20:35:11 LionKMP: http://people.openmoko.org/joerg/schematics/GTA02/ and some posts at the openmoko-community mailing lists (sorry no link, you'd have to search for it). Aug 25 20:35:26 ok, thanks, no problem, I'll search. Aug 25 20:38:38 LionKMP: wait a second Aug 25 20:40:25 http://www.mouser.com/catalog/632/2009.pdf http://il.farnell.com/taiyo-yuden/pas414hr-va5r/cap-0-06f-3-3v-80ohm-4-8mm-coin/dp/1853000?Ntt=PAS414HR-VA5R Aug 25 20:42:08 is this a capactitor to use in place of the old battery? Aug 25 20:47:01 PaulFertser: hey, I used Wifi previously, that may have killed my default route! (however I changed the commands now, rebooting already) Aug 25 20:47:31 LionKMP: dhclient shouldn't affect other routing entries. Aug 25 20:47:47 LionKMP: but what did you use to set the routing? Aug 25 20:48:28 when? Aug 25 20:48:38 LionKMP: when using wifi. Aug 25 20:48:50 Iliwi did everything automatically Aug 25 20:49:30 I've no idea about iliwi, if you ran it as root it might have done anything. Aug 25 20:52:39 yes, tested again, it adds default route to Wifi, and then does not restore USB0's one. Aug 25 20:53:24 LionKMP: it shouldn't replace any route tough, if it does, please tell its dev. Aug 25 20:53:30 That he's damn wrong. Aug 25 20:54:15 it's the Wifi connection program, so it's OK if it adds a new default I think. But should restore when exit. Aug 25 20:54:27 LionKMP: you do not get it Aug 25 20:54:52 LionKMP: it should _add_ a default route (leaving the one you already have unaltered). Aug 25 20:55:55 can the system live with two defaults? Aug 25 20:56:11 LionKMP: after it obtained the ip you should have two default route entries. Then it should remove the one it added when you disable the connection. But usb0 route would still be there. Aug 25 20:56:16 LionKMP: sure Aug 25 20:59:59 hm, SHR track registration form does not work, so I cannot open a bug :( Aug 25 21:00:33 AttributeError: 'NoneType' object has no attribute 'strip' ( :-D ) Aug 25 21:00:40 mrmoku: ^^ Aug 25 21:07:33 LionKMP: Environment.find_program_in_path("udhcpc"),"-i",wireless_interface,"-n","-R" Aug 25 21:07:37 LionKMP: is what iliwi does Aug 25 21:09:42 LionKMP: can you do "udhcpc --help"? Aug 25 21:09:57 I did, but cannot see anything related to default GW. Aug 25 21:10:22 LionKMP: what does -R mean? Aug 25 21:10:30 http://pastebin.com/bL0bugwS Aug 25 21:12:31 LionKMP: i see. Strange. So are you sure iliwi removes your default gw on connect? Or on disconnect? Aug 25 21:14:28 does on some other systems too "In this bug, it's merely the udhcpc ignoring the default route and replacing it, even though it's not supposed to." https://bugs.maemo.org/show_bug.cgi?id=7215 Aug 25 21:15:25 I connected to Wifi, checked route -n in terminal on OM, and got 0.0.0.0 in the first column for eth0 only. Aug 25 21:17:32 LionKMP: i found out udhcpc from busybox uses an external script to set addresses and routes. Aug 25 21:18:51 LionKMP: default "/usr/share/udhcpc/default.script" Aug 25 21:19:22 yes, that only exectues /etc/udhcpc.d/50default which drops default route Aug 25 21:20:25 if not "root_is_nfs" :-D thanks guys, that's really nice, to keep at least root filesystem :) Aug 25 21:21:10 ok, I removed those lines. test. Aug 25 21:21:37 LionKMP: that sucks: http://git.busybox.net/busybox/tree/examples/udhcp/simple.script Aug 25 21:23:04 OM has a different script. (I can copy after test if you want) Aug 25 21:23:29 LionKMP: like this: http://git.busybox.net/busybox/tree/examples/udhcp/sample.bound ? Aug 25 21:23:57 no, much longer, has a lot of IF-s for availabilty of "ip" command. Aug 25 21:24:17 LionKMP: it'd be nice to find out where it comes from and tell that person to fix it. Aug 25 21:24:36 btw I got no new default added after I deleted the removal commands. :-( Moment. Aug 25 21:25:30 LionKMP: probably because "route" command sucks. Aug 25 21:25:43 "ip r a default via" is nice Aug 25 21:26:58 http://pastebin.com/FvDMZHyJ (coment from 42 to 52 are mine) Aug 25 21:28:01 so I think it did what you recommend ("ip" is in "/bin/ip", where it tries) Aug 25 21:29:17 LionKMP: i guess it comes from here: http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/busybox/files/simple.script?h=org.openembedded.dev Aug 25 21:39:18 LionKMP: it looks like you commented the relevant lines all right. Aug 25 21:39:59 ok, thanks for your help. I'll report it on SHR Trac when it works. Your idea does not work, but the maintainer could look for solution. Aug 25 21:40:15 LionKMP: better take it to the OE mailing list i'd say. Aug 25 21:40:22 e..g I tried to add a hardcoded restore of original route to the "deconfig" section of the script, but that did nothing (I am not sure it is called at all) Aug 25 21:40:22 LionKMP: because this is not SHR-specificy Aug 25 21:41:25 LionKMP: it's incorrect to delete the route in the first place. Aug 25 21:42:58 or busybox bugzilla, what do you think? Your busybox.net links also contain the removal commands. Aug 25 21:43:13 the only change in OE is to add "ip" support, mainly. Aug 25 21:43:34 LionKMP: well, busybox just provides an example. And OE is a distro, and it's up to them to use proper configuration. Aug 25 21:43:47 LionKMP: i'd suppose better take it to OE folks. Aug 25 22:13:36 they disabled bugzilla, and the huge-traffic mailing list bounced my mail because I am not subscribed.. I'll try harder later :) Aug 25 22:13:50 thanks for help. see you all. Aug 25 23:41:52 hi Aug 25 23:42:06 do you guys now about the b2g project Aug 25 23:42:17 https://wiki.mozilla.org/B2G Aug 25 23:51:44 Sounds like a bad idea on 128M of RAM Aug 26 00:07:05 LionKMP> is this a capactitor to use in place of the old battery? -- yes Aug 26 00:22:53 https://github.com/andreasgal/B2G Aug 26 01:10:44 someone know if openmoko is now or will be soon available from Argentine? **** ENDING LOGGING AT Fri Aug 26 02:59:57 2011