**** BEGIN LOGGING AT Thu Jul 02 02:59:57 2009 Jul 02 03:00:31 sweet that's exciting Jul 02 03:00:55 I'm happy when I restart my pre and everything still works Jul 02 03:03:26 yes Jul 02 03:03:55 is there a way to get rid of the nascar icon yet? Jul 02 03:04:03 or sprint icon Jul 02 03:04:19 electrical tape on the screen works Jul 02 03:04:59 do I just put it on and then rip it off fast? Jul 02 03:05:07 nah, keep it there Jul 02 03:05:22 ipkg remove com.whateverthehellitscalled.something.something Jul 02 03:05:47 oh maybe that would work too i suppose Jul 02 03:06:06 it has never been tested Jul 02 03:06:09 xD Jul 02 03:06:38 try it out Jul 02 03:06:58 sudo rm -rf / ? Jul 02 03:07:30 A2NY: it doesnt work Jul 02 03:07:42 no, definitely not that Jul 02 03:07:51 you need to specify just the pkg name ie. something Jul 02 03:08:00 i cant remeber it =\ Jul 02 03:08:11 you can search for it with *something* Jul 02 03:08:21 even remove with *xx* Jul 02 03:10:15 ok, looks like our important exports for a browser plugin are AdapterLibInitialize, NP_Shutdown, AdapterGetMethods, AdapterGetMIMEDescription, AdapterCreate, NP_GetValue, NP_GetMIMEDescription, NP_Initialize Jul 02 03:11:42 I think to get the paramters and their types I'll need to check in Luna Jul 02 03:12:03 destinal, you should be ble to get them from the .so Jul 02 03:12:31 I'm trying in IDA but I'm not very familiar with it Jul 02 03:12:42 looks like AdapterLibInitialize is () Jul 02 03:13:08 how can you tell? Jul 02 03:13:36 arm-none-linux-gnueabi-objdump -tdRs MAPartsAdapter.so |arm-none-linux-gnueabi-c\+\+filt | grep GetMethods Jul 02 03:13:54 ah, cool, thx Jul 02 03:14:50 has anyone tried running dropbear + sftp? Jul 02 03:16:02 openssh works Jul 02 03:16:14 dropbear was giving me problems twice so i gave up Jul 02 03:16:55 was trying to save space by not running openssh Jul 02 03:19:44 bpadalino: so GetMethods shows ::methods, ::names, and ::ids, also it there are imports from glibc and glibcxx, so it was written in C++? Jul 02 03:19:59 definitely written in c++ Jul 02 03:21:13 JackieRipper: You are the man, the message sound mod is working great! Jul 02 03:22:58 awesome! Jul 02 03:23:22 what playbacks are suported on the video player ? Jul 02 03:24:10 y'know when you're in the app menus, and you tap and hold an icon to move it? Does anyone know what Mojo.Event.xxx that is? Jul 02 03:27:13 Hi all, i am having troubles install SSH on the emulator, any help would be very much appreciated Jul 02 03:28:11 Ok, another plugin exports NP_Shutdown, NP_GetValue, NP_GetMIMEDescription, NP_initialize, .init_proc, .term_proc, call_gmon_start, so it's consistent, as would be expected Jul 02 03:28:36 consistency is good Jul 02 03:28:37 some of the adaptor methods in the other are extra, I think Jul 02 03:30:26 quite possibly Jul 02 03:38:54 Hi all, i am having troubles install SSH on the emulator, any help would be very much appreciated Jul 02 03:41:04 am I the only one disconcerted by the fact that classic has a function to system("/usr/bin/killall -9 tar > /dev/null 2>/dev/null"); ? Jul 02 03:41:26 Anyone have an idea wh I can't extract the .ipks from Gitorious with 'ar -x' ? Jul 02 03:41:52 destinal: impressive... Jul 02 03:42:08 anybody Jul 02 03:44:19 destinal, very interesting Jul 02 03:44:54 lots of killall's Jul 02 03:46:28 ugh, wtfd Jul 02 03:46:29 -d Jul 02 03:46:54 I think the HTML5 dbs tend to corrupt for some reason, and this just screws shit up Jul 02 03:47:23 wow, really? corrupt ? Jul 02 03:47:27 that sounds terrible Jul 02 03:48:50 link to community eclipse plugin? Jul 02 03:49:11 nm http://code.google.com/p/webos-eclipse-plugin/ Jul 02 03:53:47 I'm gonna go murder myself. ttyl Jul 02 04:09:03 hey room Jul 02 04:09:12 hey v3ritas Jul 02 04:10:02 any chance i could get some quick help with the wallswitcher script? Jul 02 04:13:42 yay Jul 02 04:13:54 palm said they were going to look into my cpuboot source claim Jul 02 04:16:23 hi Jul 02 04:16:57 hi Jul 02 04:17:06 this is my first time on irc so I'm not sure what the etiquette is, but I need a little help with my rooting Jul 02 04:18:53 anyone think they can help? Jul 02 04:19:18 you read thru the wiki? Jul 02 04:20:02 yeah. I got everything working but I am having an issue. How do I disable the daemon thread that starts optware-dropbear Jul 02 04:20:33 initctl stop optware-dropbear Jul 02 04:21:03 Okay I did that, changed the opware-dropbear script to use a new port and then reran the start command Jul 02 04:21:20 however when I rebooted the pre it is still using port 222 Jul 02 04:21:32 also 2 instances of dropbear are running... is that normal? Jul 02 04:27:28 any ideas? Jul 02 04:33:02 does anyone know how the Pre checks to see that i have a call to palm://com.palm.appinstaller/installNoVerify in my code and prevents it from running? Jul 02 04:34:03 anyone know why i would be getting "eval: line 2:: target not found" & "eval: line 3: wallpaper:: not found" Jul 02 04:34:24 ** For th wallswitcher script Jul 02 04:36:13 why can't I find sudo? Jul 02 04:36:47 path Jul 02 04:36:50 also ipkg-opt update fails Jul 02 04:36:51 v3ritas: typo somewhere Jul 02 04:37:21 zenzim: cat /opt/etc/ipkg/optware.conf Jul 02 04:37:37 okay, thanks, i'll take another look through it Jul 02 04:37:58 src/gz cross http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/pre/cross/unstable Jul 02 04:39:52 good evening gentlemen Jul 02 04:39:55 and ladies Jul 02 04:45:51 does anybody know what files i need to edit to enable apps to call on "palm://com.palm.appinstaller"? Jul 02 04:48:11 Hey everyone, I know I asked a question earlier (got it resolved) but I wanted to get a quick poll for those using dropbear - is it normal to have 2 processes running? Jul 02 04:48:47 i see two Jul 02 04:48:57 but when i asked about it a few weeks ago no one really responded to me Jul 02 04:48:58 Cool. Thanks opie! Jul 02 04:49:01 oh Jul 02 04:49:03 haha Jul 02 04:49:03 =) Jul 02 04:49:36 i recopied the wallswitcher.sh script line by line, & now it lists several wallpapers that i have & then says "not found" Jul 02 04:49:59 opie - so I just did a quick test Jul 02 04:50:08 it's normal to have 2 Jul 02 04:50:19 yeah, so the real question though, why 2 Jul 02 04:50:37 it creates another process (maybe child?) for every connection Jul 02 04:50:45 that's what i assumed Jul 02 04:50:48 i just logged in as a diff user and now I have 3 running Jul 02 04:50:48 yeah. Jul 02 04:50:55 so that makes sense Jul 02 04:51:02 scyrus: that's exactly what i did Jul 02 04:51:09 do a who, how many users are connected? Jul 02 04:52:04 stupid type-o had me looking for 30minutes...missed a stinkin ">" Jul 02 04:54:36 what do you all prefer. dropbear,openssh,or usbnet? Jul 02 04:55:13 zenzim: dropbear is half size of openssh and 98% of the features Jul 02 04:55:30 zenzim: i think the only thing dropbear doesnt have is sftp, but you can just use scp instead Jul 02 04:55:31 cool thnx Jul 02 04:58:06 has anyone dug inside the camera app? Jul 02 04:58:13 does anyone know where notes are stored inside the os? Jul 02 04:58:15 installing 'openssh-sftp' solves that issue Jul 02 04:58:28 it's got some pretty horrible white balance issues. Jul 02 04:58:46 newman314: yes, details on the wiki, somewhere Jul 02 04:58:56 (it wasnt me, though) Jul 02 04:59:06 gkatsev talking about white balance? Jul 02 04:59:19 newman314: no clue... Jul 02 04:59:39 anyway, need to sleep now Jul 02 04:59:40 night Jul 02 05:01:25 thanks for the help. Jul 02 05:01:44 ok so im trying to run quilt and keep getting /opt/bin/quilt: line 145: bash: command not found what am i doing wrong? Jul 02 05:02:52 you need to install bash Jul 02 05:03:05 haha Jul 02 05:03:48 i keep forgetting the pre is missing stuff Jul 02 05:03:55 thanks newman Jul 02 05:04:03 yes, but there's an amazing amount there. Jul 02 05:04:14 for a phone thats true Jul 02 05:04:33 but i just get so comfortable in my ssh session that i forget im on a phone :) Jul 02 05:04:59 you're not on a phone Jul 02 05:05:14 your linux box (pre) has a phone attached to it Jul 02 05:05:21 you're on an 8 gig pocketable pc which happens to have a phone ap on it Jul 02 05:05:22 lol Jul 02 05:05:46 totally true. man i love this thing Jul 02 05:05:59 my first posted app: http://forums.precentral.net/homebrew-apps/190192-scientific-calculator.html Jul 02 05:06:13 the pre has more disk space than my main shell box. it is built on a 3gb hard drive Jul 02 05:06:39 prbly has more ram, too. Jul 02 05:06:50 only has 256mb ram Jul 02 05:07:07 the pre has more space than _any_ of the computers we sold from the time we started in 1980 till we quit selling hardware in 2000. Jul 02 05:07:08 3l33t:~$ free Jul 02 05:07:09 total used free shared buffers cached Jul 02 05:07:09 Mem: 130648 128040 2608 0 2624 52508 Jul 02 05:07:14 yeah, so the pre has more Jul 02 05:07:24 ooo, been waitin for the sci-calc Jul 02 05:07:32 really? Jul 02 05:07:42 well, it works. and that's the absolutely only thing it has going for it. Jul 02 05:07:49 yeah Jul 02 05:07:58 haha, working is good Jul 02 05:08:10 that box is a p2-350, 128mb ram and a 3gb hd. my main server for ages Jul 02 05:08:30 it does have a 20gb hd to run gallery from, though Jul 02 05:08:34 it's ugly. the function buttons are at the lower end of the size I can hit with a finger, (a stylus is really useful) and there are uh, 5 buttons that do nothing at this point. Jul 02 05:08:36 but it works. Jul 02 05:08:52 haha, what are your plans with it? Jul 02 05:09:02 past this point i mean Jul 02 05:09:03 I have to return my pre tomorrow :( Jul 02 05:09:12 or, you could keep it. Jul 02 05:09:21 def a better idea Jul 02 05:09:29 No, I have to swap it out, the screen is cracking for no apparent reason Jul 02 05:09:51 new pre for free! Jul 02 05:09:58 anyone else with a creaky battery door? Jul 02 05:10:03 newman314: I have that too Jul 02 05:10:05 if I push on it Jul 02 05:10:11 same here Jul 02 05:10:13 r2xj -- uh, get help working? Copy and paste working, cnst bring up a list of scientific constants in a picklist, units bring up a picklist of unit conversions... Jul 02 05:10:15 on left side but not right Jul 02 05:10:24 it makes the most alarming sounds now. I wonder if getting the rubberized cover helps Jul 02 05:10:28 some graphics-y person making me a pretty set of screens would be nice. Jul 02 05:10:34 oh, and an app menu. Jul 02 05:11:06 I suck at graphics. Jul 02 05:11:30 well, ill download and play with it and make some graphics for it, i'll show you whatever i come up with Jul 02 05:12:24 Hmmmm Jul 02 05:12:28 looking at some older pics of my pre Jul 02 05:12:28 a minor annoyance anyone found a way to make sms from 6245( MAIL) not group together? none of my old phones did that instead grouped by the sender of the sms "email" Jul 02 05:12:31 it seems to have been there this whole time Jul 02 05:12:34 and I just now noticed it Jul 02 05:12:49 are the buttons text or images? Jul 02 05:12:59 be careful about looking at the code. Your eyes might bleed. it's a direct port of a 10 year old web app, with _no_ mods other than making the graphics bigger. -- it uses imagemaps. :-/ Jul 02 05:13:23 everytime i want to add or remove a patch with quilt i have to mount the file system for rw, not a linux guru, but i thinking about making /.pc mounted in RW .. suggestions? Jul 02 05:13:33 does anyone know what the pre does to prevent calls to palm://com.palm.appinstaller/, and if so how to get around it? Jul 02 05:14:34 cphelps has worked that out completly and has a stand-alone side-loader working ready for release sometime this weekend. Jul 02 05:14:51 rick: haha yeah, i read the post Jul 02 05:15:30 but it DOES work. :-) Jul 02 05:15:49 Cinamon cphelps seems to be afk just now, but watch out for him. Jul 02 05:15:50 again, the most important part! Jul 02 05:16:09 alright thanks Jul 02 05:16:18 * r2xj is afk for a bit Jul 02 05:17:00 im just working on an Installer type app and need to call that specific bugger Jul 02 05:17:37 and when i do put the call in an app on the pre it just never pushes to the assistant with the code in it, and instead stalls on index.html Jul 02 05:17:37 it would seem that in my zeal for a bigger better rooted palm pre, I've eliminated my phone's ability to resolve domains Jul 02 05:18:07 ooops Jul 02 05:18:10 yeah Jul 02 05:18:13 bahua: check your resolv.conf Jul 02 05:18:17 nameserver 127.0.0.1 Jul 02 05:18:17 <-- only entry Jul 02 05:18:21 it just says localhost Jul 02 05:18:24 yeah Jul 02 05:18:39 and that's okay? Jul 02 05:18:56 yeah Jul 02 05:19:05 initctl stop dnsmasq;initctl start dnsmasq Jul 02 05:19:05 <-- restart dnsmasq? Jul 02 05:19:14 nuts. I was really hoping that was the problem Jul 02 05:19:20 i was looking at that earlier, where does the thing actually store it dns stuff? or does it dns sever not accept queries from other machines? Jul 02 05:19:22 wow, copy paste isn't working for me tonight :-p damn newlines Jul 02 05:19:57 can someone post/link a default dnsmasq.conf? I foolishly didn't back mine up Jul 02 05:20:44 or, I suppose it's in the webos tarball Jul 02 05:20:48 * bahua looks Jul 02 05:21:32 there's only 3 lines in it not commented out, so you could probably recreate it fairly easily Jul 02 05:21:40 ok Jul 02 05:23:01 hey mdklein, i committed some code to git, do the updates show up immediately? Jul 02 05:23:11 should Jul 02 05:23:16 did you push after you commit? Jul 02 05:23:29 =) Jul 02 05:23:32 doing that now Jul 02 05:23:51 bahua if you still need it i can post somewhere Jul 02 05:24:02 alright, i think I figured out my blunder. I added a specific "interface=some_interface" line before, meaning that no other interfaces get any DNS service Jul 02 05:26:04 Sorry to ask this again, but is there a way I can create a note via ssh and get it to show up in the Memo program? Jul 02 05:26:43 yes Jul 02 05:26:55 How would I go about doing that? Jul 02 05:27:05 ahhh, that's a totally different question. Jul 02 05:27:12 meh, still doesn't work Jul 02 05:27:16 what database does the memo app store in. Jul 02 05:27:18 ? Jul 02 05:27:22 any of you have a similar issue to this with your Pre? when I eject properly from Windows in USB mode, the pre always pops up saying files may be corrupted but were repaired successfully Jul 02 05:27:41 mdklein: looks like ssh is failing, "No auth methods could be used." ideas? Jul 02 05:27:41 it's the "notes" program. But I can't figure out what the database is Jul 02 05:27:41 Vista? Jul 02 05:27:46 scyrus WAIT one. Jul 02 05:27:53 r2xj, xp, vista and 7 Jul 02 05:28:02 opie_: did you import your ssh key at gitorious? Jul 02 05:28:09 it's not windows that pops up saying files were corrupted, it is the palm that does Jul 02 05:28:10 Rick_: waiting Jul 02 05:28:15 no will do that Jul 02 05:28:23 i'll be updating the wiki a tad with this stuff, thanks Jul 02 05:28:56 anything else that might determine DNS resolution? Jul 02 05:29:41 oh, what mode? Jul 02 05:29:44 what do you need to dnsmasq conf files so that it will resolve dns for machines connected over wifi over usb net? Jul 02 05:30:06 oh, i think it is actually ipchains nevermind Jul 02 05:30:06 brb Jul 02 05:30:55 I'm not talking about tethering. I'm just talking about getting it back to working condition, so I can resolve addresses on my phone Jul 02 05:31:25 sc there's a notes service /usr/share/dbus-1/system-services/com.palm.notes.service Jul 02 05:31:35 well adding dns servers to resolv.conf would be a quick fix bandaid Jul 02 05:32:26 hmm Jul 02 05:32:42 mdklein: you use ssh-keygen? sorry i don't use linux to regularly Jul 02 05:32:53 ssh-keygen -t rsa Jul 02 05:32:57 follow prompts Jul 02 05:32:58 http://colonelpanic.net/2009/03/building-a-firefox-plugin-part-one/ Jul 02 05:33:05 http://colonelpanic.net/2009/05/building-a-firefox-plugin-part-two/ Jul 02 05:33:12 should generate a ~/.ssh/id_rsa.pub Jul 02 05:33:19 copy the contents of that Jul 02 05:33:25 thats what the interweb seems to be telling me Jul 02 05:33:30 trying now Jul 02 05:33:51 Rick_: okay I went to that dir, but it didn't have any info on the actual data stored Jul 02 05:34:54 Rick_: I get the feeling some around here will want to learn a NPAPI soon :) Jul 02 05:35:00 okay, teh bandaid worked Jul 02 05:35:01 the Jul 02 05:35:23 in the meantime, could I get a default dnsmasq.palm.conf? Jul 02 05:35:54 ...if it isn't too much trouble Jul 02 05:36:11 opie_: thx for the wiki fixes Jul 02 05:36:23 no, prob. i can't seem to find ssh-keygen Jul 02 05:36:34 and ipkg-opt list | grep ssh-keygen gives me nothing Jul 02 05:36:42 opie_: for openssh or dropbear? Jul 02 05:36:52 rwhitby: for building my git ssh key Jul 02 05:36:59 gitorious Jul 02 05:37:29 scyrus -- you need to look at \usr\palm\applications\com.palm.app.notes\app\models\service\notes-service.js Jul 02 05:37:39 oh, you don't want to generate it on the phone anyway. Palm might get your private key. Jul 02 05:37:45 you can call the functions with a Luna call..... Jul 02 05:38:08 Rick_: I just rebooted my pre, but I will go there in a minutes. Thanks so much for all your help! Jul 02 05:38:10 ahh, i see Jul 02 05:38:30 if you look through that js though, you can see what they're doing calling the dbus service. Jul 02 05:38:46 it's "odd" because they're not just using the db funcitonality of webos. Jul 02 05:38:48 most odd Jul 02 05:38:52 so, should i not be commiting code from my phone? Jul 02 05:38:53 hmm I wonder if talk is an ipkg package... Jul 02 05:39:03 you might look at notes-controller and the call to the save function too. Jul 02 05:39:47 newman, I think destinal just figured out how to write a browser plug in. If that's true, we could have a real palm terminal in -- a short time. Jul 02 05:40:03 Rick_: thanks for the guidance, I will keep digging! Jul 02 05:40:31 rwhitby: i should gen ssh-key on my pc then copy it up to gitorious? Jul 02 05:40:41 yep Jul 02 05:41:12 then use pageant on the PC to ssh to the Pre, install openssh, and use GIT_SSH=/opt/bin/ssh Jul 02 05:41:25 when you don't need to keep your private key on the Phone. Jul 02 05:41:25 thanks Jul 02 05:41:44 (pageant on the PC holds your private key in memory for PuTTY to use) Jul 02 05:42:24 Anyon here checked out gdgt.com?? Jul 02 05:44:43 not much palm stuff Jul 02 05:46:46 Quick question, with SSH running on the Pre does it kill the battery life? Jul 02 05:47:08 well, it uses more battery than not running it Jul 02 05:47:16 but it's not very heavy Jul 02 05:47:42 cool cool, I was just wondering. Thanks Jul 02 05:47:44 ok i have a dumb question in the dropbear enable script what does the || /bin/true do in the first iptables line? Jul 02 05:47:45 well you can generate a separate key on the phone Jul 02 05:48:03 useful for certain things. Jul 02 05:48:09 /usr/sbin/iptables -D INPUT -i eth0 -p tcp --dport 222 -j ACCEPT || /bin/true Jul 02 05:48:32 http://git.webvm.net/?p=npsimple Jul 02 05:49:06 basically it's saying, "run the command before the double-pipe, and if it works, then give us an okay signal" Jul 02 05:49:42 i can't find anything on the double pipe on google, what is it normally called? Jul 02 05:50:02 it's a unix convention Jul 02 05:50:04 || Jul 02 05:50:19 it's kind of a short way to set a conditional Jul 02 05:50:32 ls || echo "ls worked" Jul 02 05:51:08 meh, I got it backwards Jul 02 05:51:11 that's a bit backwards Jul 02 05:51:13 oops Jul 02 05:51:18 i know and searching for || doesn't work in google. i find all kinds of redirection instructions, but none include that, i'll try searching for conditionals Jul 02 05:51:26 || is for if the command fails Jul 02 05:51:34 ls && echo "ls worked" Jul 02 05:51:38 yeah Jul 02 05:52:34 pullingj: in that example, set the firewall rule, and if the command fails, do nothing Jul 02 05:52:36 || == OR, && == AND Jul 02 05:52:49 so why does the drop bear script have the || /bin/true on the drop line Jul 02 05:53:05 most likely so it doesn't exit in error Jul 02 05:53:10 ahh Jul 02 05:53:23 or in an error status Jul 02 05:53:26 anybody know how the backup app sends data to palm? Jul 02 05:53:34 because 9times out of 10 when you run that script, there is no rule to drop Jul 02 05:53:38 got it Jul 02 05:54:49 thanks Jul 02 06:02:16 rwhitby: i'm assuming 'GIT_SSH=/opt/bin/ssh' sets up the path git uses for an ssh client when it goes to chat with gitorious.org and make a commit. is this correct Jul 02 06:05:19 yep Jul 02 06:05:34 since dropbear doesn't do agent forwarding, you need to use openssh Jul 02 06:05:40 gotcha Jul 02 06:05:48 (or put your ssh private key on the phone, converted for dropbear to use) Jul 02 06:19:41 opie_: did you give me your gitorious username? Jul 02 06:21:01 no Jul 02 06:21:05 one sec Jul 02 06:21:29 msg Jul 02 06:22:59 Hey JackieRipper? Jul 02 06:23:57 rwhitby: wiki should be updated with getting authenticated on gitorious, first time i did this but i wrote the wiki as i worked it out Jul 02 06:24:19 opie_: how about the dropbear->openssh transition? Jul 02 06:24:30 did ipkg-opt do the right thing? Jul 02 06:24:55 hmm, not sure what you mean Jul 02 06:25:12 did you have dropbear or openssh installed before? Jul 02 06:25:54 dropbear, they are going to fight? Jul 02 06:26:43