IRC log of #maemo for Wednesday, 2013-04-03

*** Vlad_on_the_road has quit IRC00:00
*** Martix has quit IRC00:00
*** Martix has joined #maemo00:02
*** andre__ has quit IRC00:04
kerioDocScrutinizer05: unfiltered tcpdump over the network? that's neat00:04
*** ZogG has quit IRC00:05
DocScrutinizer05ShadowJK: verbatim?00:05
DocScrutinizer05kerio: which network?00:05
DocScrutinizer05my local WPA2 WLAN? ***evil*** ;-P00:07
DocScrutinizer05bash: tcpdump: command not found00:07
* DocScrutinizer05 burps00:07
*** bef0rd has quit IRC00:07
DocScrutinizer05there's no tcpdump, but there's tshark ;-)00:07
keriodoes tshark have a way to ignore tshark data?00:07
DocScrutinizer05for sure00:08
keriooh you could do a local dump, ofc00:08
DocScrutinizer05  -f <capture filter>      packet filter in libpcap filter syntax00:08
DocScrutinizer05alas I'm no libpcap filter syntax wizard00:08
DocScrutinizer05xcat still zombie mode00:09
DocScrutinizer05xchat even00:09
ShadowJKDocScrutinizer05; yeah "not port 22" ignores ssh00:16
ShadowJK"not port 22 and not port 53"00:16
*** bef0rd has joined #maemo00:17
*** mlong has quit IRC00:18
keriowhat's 53?00:23
Apicdns00:23
*** mlong has joined #maemo00:26
kerioi see00:27
kerioright00:27
keriowhy would you want to skip that?00:28
ApicBecause it's Background-Noise00:29
*** brzys has quit IRC00:39
*** tx0h has joined #maemo00:40
tx0hhello00:40
ApicHi00:40
*** brzys has joined #maemo00:41
tx0hwhen i run this calibrate-bg27k script, it tells me: please charge battery! Use fastcharger!00:41
tx0hhow can i use fastcharger and what is it?00:41
*** jrocha has quit IRC00:41
ShadowJKnot a computer00:42
*** rcg has quit IRC00:46
*** jrocha has joined #maemo00:46
*** jrocha has quit IRC00:53
*** bef0rd has quit IRC00:54
*** Martix has quit IRC00:55
*** bef0rd has joined #maemo01:01
keriothe fastcharger is the charger you got with the n90001:03
keriothe one that plugs into the wall01:03
tx0haha?!01:03
tx0hty01:03
tx0hdon01:04
tx0hdon't have it with me, just a usb cable :-(01:04
DocScrutinizer05ShadowJK: will that meet " packet filter in libpcap filter syntax" specs of tshark?01:07
*** mvp has joined #maemo01:08
DocScrutinizer05tx0h: using a USB cable and PC *might* work, but also might fail to restart charging after calibration finished. So you might find yourself with a depleted battery in your N900 the next morning, when you start that script when going to sleep01:09
*** M4rtinK has quit IRC01:11
DocScrutinizer05*any* php cracks around? please see http://privatepaste.com/fb4e62912c and help your techstaff team to sanitize this nightmare01:12
keriolol php01:14
DocScrutinizer05*sigh* yes01:14
* DocScrutinizer05 starts to hate midgard01:15
DocScrutinizer05you should see how it gets invoked!!01:15
DocScrutinizer05a crontable entry invokes /usr/local/bin/garage_sync.sh01:16
DocScrutinizer05and that shellscript does (among other stuff): lynx -dump -auth=admin:1Easdfghj http://local.maemo.org/midcom-exec-org.maemo.garagesync/import.php?confirm=1 | sed '/^$/d'01:17
keriodid you seriously paste the password here01:18
DocScrutinizer05now if that's not blowing your mind, I dunno what else might01:18
DocScrutinizer05do I seriously look like a koala?01:18
DocScrutinizer05;-P01:18
keriowait, what's that sed invocation?01:19
keriodon't print blank lines?01:19
DocScrutinizer05you might notice the sequence "asdfghj" is a nice one for typing01:19
keriogood for a password, so you don't forget it!01:19
DocScrutinizer05honestly nobody remembers that password ;-P01:20
*** Muelli has joined #maemo01:25
DocScrutinizer05this crappy php script is the culprit for the insane "matterhorn" memusage sawtooth patterns that strike the 6GB RAM limit on WWW VM every now and then (while usually the job "only" neds 5GB to complete)01:27
DocScrutinizer05we thought we fixed it by enabling the systemwide maxmem by commenting out #ini_set('memory_limit', -1);01:28
DocScrutinizer05but that only results in [Tue Apr 02 21:12:34 2013] [error] [client 213.128.137.20] PHP Fatal error:  Allowed memory size of 367001600 bytes exhausted (tried to allocate 76 bytes) in /usr/share/php/midcom/lib/midcom/core/collector.php on line 33601:29
DocScrutinizer05isn't it a shame?01:30
DocScrutinizer05I'd have coded that shite on a ZX81 without ram extension, in basic01:30
DocScrutinizer05and it wouldn't have any such issues01:30
DocScrutinizer05and probably even was faster01:31
DocScrutinizer05if it wasn't for those MIDGARD helper functions, for which there seems not any bindings to a proper language available01:32
*** hardaker has quit IRC01:33
*** darodi has quit IRC01:34
DocScrutinizer05ok, so much for the "daily WTF" and a tiny bit of horror. Your humble maemo admin manager feels like urgently needing a beer and a vodka01:38
DocScrutinizer05if you have *any* suggestions how to sanitize the stuff sketched above, just holler please!01:39
DocScrutinizer05we can't throw 16GB of ram at that stupid job, to cope with memleaks. And we eventually need it running again, to make the whole maemo.org work for devels01:41
* DocScrutinizer05 waves and heads out, silently sobbing01:41
*** OkropNick has quit IRC01:44
DocScrutinizer05btw: xchat still zombified01:44
kerioDocScrutinizer05: put the vodka *in* the beer!01:45
DocScrutinizer05good plan ;-D01:45
kerioactually, even better01:45
keriograb the beer glass01:45
keriofill it with vodka01:45
DocScrutinizer05put some beer in the vodka?01:45
kerioat that point, you might as well skip the beer01:45
DocScrutinizer05hehe01:45
DocScrutinizer05~lart php01:46
* infobot teaches php that M$ Access is a database. No, really, a database. A real live multi-user... well, ok, not multi-user, but a database. Yeah, that sounds right.01:46
kerioNO INFOBOT01:46
DocScrutinizer05~kill midgard01:46
* infobot shoots a excited anti-electron gun at midgard01:46
kerioDON'T TEACH PHP ABOUT ACCESS01:46
kerioSTOP01:46
keriowhat have we done01:46
*** kolp has quit IRC01:47
RST38hKILL KILL DESTROY01:47
freemangordonDocScrutinizer05: what, memleak in php?01:47
DocScrutinizer05you forgot the plural-S01:47
DocScrutinizer05freemangordon: yeah, incredible, isn't it?01:48
freemangordonDocScrutinizer05: but, but... AFAIK php should not leak. I mean... couldn't we up/downgrade php module?01:48
DocScrutinizer05WUT??? my xchat resurrected rom zombie state01:49
keriothe messiah came back from the dead!01:50
freemangordonDocScrutinizer05: honestly, I have always succeed to stay away from php, but my little knowledge on the matter tells me that a different version of php module should fix it01:50
DocScrutinizer05so pretty exactly 2h again, until it notices a changed IP01:50
keriolittle late for easter, though01:50
DocScrutinizer05freemangordon: now if you tell me *which* php module is the culprit, we actually might ponder that01:51
freemangordonDocScrutinizer05: isn't that LAMP?01:51
DocScrutinizer05LAMP with a ton of midgard on top01:52
kerioDocScrutinizer05: http://phpmanualmasterpieces.tumblr.com/01:52
DocScrutinizer05and *somebody* in the stack probably forgets to unset() a few vars for each call01:52
jacekowskiDocScrutinizer05: did you really just post main midgard password here?01:53
keriohahahaha01:53
jacekowskiahm, no01:53
jacekowskireal pw is different01:53
*** NeutrinoPower has quit IRC01:54
*** arcean has quit IRC01:54
freemangordonDocScrutinizer05: do youknow which version midgard is?01:54
DocScrutinizer05nfc01:55
*** Kilroo has quit IRC01:55
jacekowskii don't think it's php leaking as such, it's midgard plugin that's not allowing proper clean up01:56
DocScrutinizer05:nod:01:56
DocScrutinizer05I'd bet on it instantiating a new db view object each time you do any query01:57
DocScrutinizer05and since php doesn't instantiate a new interpreter when calling out of own context, all those linger on forever01:59
freemangordonDocScrutinizer05: anyone asked on #midgard?01:59
DocScrutinizer05until apache is closing the original (and only) php interpreter instance when script quits01:59
*** Kilroo has joined #maemo02:00
jacekowskiMidgard version => 8.09.9.9902:00
DocScrutinizer05well, I didn't02:00
freemangordonjacekowski: thanks02:00
jacekowskitalking midgard02:00
jacekowskii was trying to find some documentation for this piece of shit02:00
jacekowskiand it's like non existient02:01
*** e-yes has joined #maemo02:01
*** florian has quit IRC02:01
*** ArGGu^^ has quit IRC02:02
*** ArGGu^^ has joined #maemo02:02
*** timeless has quit IRC02:08
*** Cas has quit IRC02:09
*** edheldil has quit IRC02:09
*** hardaker has joined #maemo02:15
*** sixwheeledbeast has quit IRC02:16
*** chainsawbike has quit IRC02:16
*** fasta has joined #maemo02:18
*** divVerent has quit IRC02:18
*** fasta_ has quit IRC02:18
*** divVerent_ has joined #maemo02:18
*** divVerent_ is now known as divVerent02:19
*** divVerent has joined #maemo02:19
*** chainsawbike has joined #maemo02:20
freemangordonjacekowski: looking at your memory report, it seems you're dumping  the memory usage before unset($person);02:21
DocScrutinizer51RST38h: any idea what might take xchat 2h to sense a IP change (roaming) and reconnect to ZNC?02:23
DocScrutinizer51~ping02:24
infobot~pong02:24
*** jpinx has quit IRC02:31
*** s1gk1ll has quit IRC02:35
*** s1gk1ll has joined #maemo02:36
freemangordonDocScrutinizer05: what about splitting that php into 3?02:36
*** s1gk1ll has quit IRC02:37
freemangordonand invoking them in a row from a shell script (which gets invoked from cron)?02:37
*** s1gk1ll has joined #maemo02:41
*** s1gk1ll has quit IRC02:41
*** Woody14619a is now known as Woody1461902:44
*** s1gk1ll has joined #maemo02:46
*** heroux has quit IRC02:51
*** Muelli has quit IRC02:53
*** heroux has joined #maemo02:55
*** RiD has joined #maemo02:55
*** WielkiTost has quit IRC03:00
*** fortytwo has quit IRC03:04
*** fortytwo has joined #maemo03:08
*** tx0h has quit IRC03:25
DocScrutinizer05freemangordon: already suggested, but I'm afraid that's still not sufficient to neuter that beast03:32
DocScrutinizer05freemangordon: my idea is to only proces 100 lines of any of the 3 sections, then exit that script with an integer as return value, and invoke it again with that integer to skip the int:num-of-lines03:34
DocScrutinizer05*maybe* even return name/id/whatever of last account processed, and then do a 'seek' or whatever it's named in SQL, for next higher reecord in primary key sequence03:35
*** uen| has joined #maemo03:35
DocScrutinizer05nah, nevermind, the lines in that .csv are master, so all we need is a linenumber to resume processing, process another 100 lines, and exit with new current linenumber as return value03:36
* DocScrutinizer05 doesn't believe saying such bullshit03:37
DocScrutinizer05nuke all that crap, and code dat shite in a decent langiage, with direct SQL access03:37
DocScrutinizer05/usr/share/php/midcom/lib/midcom/core/collector.php my ass03:39
*** uen has quit IRC03:39
*** uen| is now known as uen03:39
DocScrutinizer05there's a point where you just have to *drop* everything legacy cruft, and design sth from scratch03:40
DocScrutinizer05all those $objects instantiated everywhere give me nausea03:41
DocScrutinizer05$objects are for math profs and wimps, real men use FORTRAN or ASSEMBLER to code stuff03:42
DocScrutinizer05;-)03:43
DocScrutinizer05at least in assembler there's no doubt at all about when garbage collector kicks in03:44
DocScrutinizer05you simply re-use memory areas03:44
*** hardaker has quit IRC03:51
*** konelix has quit IRC03:53
*** mvp has quit IRC04:06
*** timeless has joined #maemo04:07
*** RiD has left #maemo04:11
*** bef0rd has quit IRC04:12
*** Cas has joined #maemo04:18
*** aloril has quit IRC04:20
*** robbiethe1st has joined #maemo04:21
*** at1as has quit IRC04:25
*** Cas has quit IRC04:27
*** SmilyOrg is now known as Smily04:31
*** aloril has joined #maemo04:34
*** trumee has quit IRC04:49
*** trumee has joined #maemo04:50
*** LauRoman has joined #maemo04:55
*** maybeArgh has quit IRC05:03
*** maybeHere has joined #maemo05:03
*** Milhouse has quit IRC05:10
*** hardaker has joined #maemo05:11
*** nox- has quit IRC05:13
*** at1as has joined #maemo05:16
*** LauRoman has quit IRC05:24
*** croppa has joined #maemo05:26
*** at1as has quit IRC05:49
*** piggz_ has joined #maemo05:53
*** piggz has quit IRC05:56
*** dockane_ has joined #maemo06:00
*** lxp1 has joined #maemo06:01
*** tx0h has joined #maemo06:02
*** dockane has quit IRC06:03
*** DocScrutinizer05 has quit IRC06:03
*** DocScrutinizer06 has joined #maemo06:04
*** DocScrutinizer06 is now known as DocScrutinizer0506:04
*** lxp has quit IRC06:04
*** robbiethe1st has quit IRC06:21
*** VDVsx has quit IRC07:11
*** tx0h has quit IRC07:16
*** LaoLang_cool has joined #maemo07:18
*** LaoLang_cool has quit IRC07:20
*** LaoLang_cool has joined #maemo07:20
*** wmarone_ has joined #maemo07:21
*** wmarone has quit IRC07:22
*** Ex-Opesa has quit IRC07:32
*** Ex-Opesa has joined #maemo07:33
*** Macer has quit IRC07:34
*** Macer has joined #maemo07:35
*** robink has quit IRC07:41
*** esaym153 has quit IRC07:43
*** LaoLang_cool has quit IRC07:47
*** esaym153 has joined #maemo07:50
*** n900-dk has quit IRC07:52
*** n900-dk has joined #maemo07:52
*** hardaker has quit IRC07:59
*** ZogG has joined #maemo08:00
*** ZogG has quit IRC08:00
*** ZogG has joined #maemo08:00
*** ccxCZ has quit IRC08:15
*** Milhouse has joined #maemo08:31
*** ccxCZ has joined #maemo08:39
*** robink_ has joined #maemo08:45
*** robink_ is now known as robink08:48
*** jpinx has joined #maemo08:52
*** dhbiker has joined #maemo08:53
*** Dragnslcr has quit IRC08:55
*** thomax has quit IRC08:59
*** Dragnslcr has joined #maemo09:00
*** eMHa__ has quit IRC09:06
*** calvaris has joined #maemo09:09
*** frals has quit IRC09:17
*** XATRIX has joined #maemo09:24
*** heroux has quit IRC09:26
*** frals has joined #maemo09:27
*** heroux has joined #maemo09:28
jacekowskifreemangordon: memory usage doesn't drop a lot after than unset09:34
jacekowskifreemangordon: it's still about 20k/entry processed09:35
*** Venusaur has quit IRC09:36
*** heroux has quit IRC09:41
*** heroux has joined #maemo09:42
*** LaoLang_cool has joined #maemo09:43
*** heroux has quit IRC09:56
*** heroux has joined #maemo09:57
*** discopig has quit IRC10:08
*** discopig has joined #maemo10:09
*** discopig has joined #maemo10:09
*** jrocha has joined #maemo10:12
*** Luke-Jr has quit IRC10:16
*** OkropNick has joined #maemo10:16
*** _berto_ has joined #maemo10:16
*** bef0rd has joined #maemo10:22
*** utanapischti has quit IRC10:29
*** utanapischti has joined #maemo10:29
*** rcg has joined #maemo10:30
*** darodi has joined #maemo10:31
*** florian has joined #maemo10:32
*** florian has quit IRC10:37
*** florian has joined #maemo10:38
*** heroux has quit IRC10:40
*** heroux has joined #maemo10:42
*** e-yes has quit IRC10:45
*** e-yes has joined #maemo10:45
*** florian has quit IRC10:46
*** cyborg-o1e has quit IRC10:51
*** ruskie has quit IRC10:51
*** LaoLang_cool has quit IRC10:53
*** edheldil has joined #maemo10:56
*** s1gk1ll has quit IRC10:56
*** strohalm has quit IRC10:58
*** unclouded has joined #maemo11:01
*** s1gk1ll has joined #maemo11:01
*** jrocha has quit IRC11:02
*** strohalm has joined #maemo11:02
*** jrocha has joined #maemo11:02
*** andre__ has joined #maemo11:11
*** andre__ has quit IRC11:11
*** andre__ has joined #maemo11:11
*** M4rtinK has joined #maemo11:12
*** ruskie has joined #maemo11:12
*** eijk_ has joined #maemo11:15
*** AD-N770 has joined #maemo11:19
*** Luke-Jr has joined #maemo11:23
*** florian_kc has joined #maemo11:23
*** florian_kc has quit IRC11:23
*** florian_kc has joined #maemo11:23
*** tom_ has quit IRC11:23
*** florian_kc is now known as florian11:24
*** edheldil has quit IRC11:30
*** NIN101 has joined #maemo11:31
*** AD-N770 has quit IRC11:31
*** edheldil has joined #maemo11:33
*** jrocha has quit IRC11:34
*** geaaru has joined #maemo11:35
*** AD-N770 has joined #maemo11:36
*** sixwheeledbeast has joined #maemo11:38
*** kolp has joined #maemo11:40
*** tom_ has joined #maemo11:40
*** Hurrian has quit IRC11:41
*** Hurrian has joined #maemo11:41
*** Luke-Jr has quit IRC11:46
*** futpib has joined #maemo11:48
*** AD-N770 has quit IRC11:50
*** Venusaur has joined #maemo11:54
*** bef0rd has quit IRC12:14
*** dlan^ has quit IRC12:14
*** bef0rd has joined #maemo12:14
*** dlan^ has joined #maemo12:16
*** jrocha has joined #maemo12:18
*** eMHa__ has joined #maemo12:27
DrathirDocScrutinizer05: working for you share gprs from n900 throught wifi?12:30
*** M4rtinK has quit IRC12:37
*** Venusaur has quit IRC12:58
*** HRH_H_Crab has quit IRC13:04
*** HRH_H_Crab has joined #maemo13:04
*** muelli has joined #maemo13:09
*** jrocha has quit IRC13:12
*** dlan^ has quit IRC13:13
*** jrocha has joined #maemo13:13
*** e-yes has quit IRC13:17
*** heroux has quit IRC13:21
*** stef_204 has joined #maemo13:22
*** heroux has joined #maemo13:22
*** Hurrian has quit IRC13:24
*** basiaf has joined #maemo13:26
*** lizardo has joined #maemo13:26
*** MetalGearSolid has joined #maemo13:26
*** heroux has quit IRC13:26
*** heroux has joined #maemo13:28
*** Apic has quit IRC13:28
*** Apic has joined #maemo13:28
jacekowskiDrathir: it works for everyone13:41
*** unclouded has quit IRC13:45
*** croppa has quit IRC13:50
XATRIXDocScrutinizer05: how can i temporarily disable APN ?13:51
XATRIXfAPN shows me only one MMS AP, but i have the default one Internet13:52
XATRIXfAPN doesn't detect it13:52
DocScrutinizer05XATRIX: I usually change apn username by adding an X13:52
XATRIXwhere ?13:52
DocScrutinizer05frals: ^^^^13:52
XATRIXBTW , i chose Internet as my default AP in "Connection settings" and Autoscan and connect to Internet13:53
fralswow, people are still using that... :D13:53
XATRIXBut after i get out of a subway it autoconnects to MMS O_o13:53
DocScrutinizer05hmm13:54
XATRIXIt shouldn't connect MMS in 99.9% of a time13:54
DocScrutinizer05sorry, my tips won't help here. Ask frals13:55
fralsshit, cant remember exactly how it worked since i havent touched it in 2 years or so, but iirc if it picks the wrong one its because the name in gconf is "wrong"13:55
* XATRIX 's asking frals...13:55
fralsdid you add the MMS apn thru apn or did fMMS add it?13:55
XATRIXfMMS seems to add it13:56
fralsiirc i implemented some magic stuff in fmms to sort it so the MMS access point was always at the bottom of the gconf tree so icd would pick the internet one13:56
XATRIXI never added MMS13:56
XATRIXhm13:56
DocScrutinizer05frals: btw thanks for the f in fAPN and fMMS, otherwise I had forgotten who coded it since years ;-)13:57
frals;)13:58
XATRIXActually i don't see the screen in fMMS where can i change the order of APs13:58
fralsXATRIX: fAPN filters out the list of APs to only show user created ones (or created by fMMS)13:58
*** bef0rd has quit IRC13:59
XATRIXI get Options, here i have 3 types of settings "Internet-connection" "Change the size" "Network type"13:59
fralsyou could check gconf under /osso/system/connectivity/13:59
fralsand check the dir name of the MMS accesspoint and try to rename it14:00
XATRIXWhere is it ?14:00
XATRIXI never used gconf14:00
fralsgconftool --help :)14:00
fralsit might break stuff thou, so tread easy14:00
fralstheres prolly some guide in the fmms thread on tmo14:00
DocScrutinizer05gconftool -R /osso/system/connectivity/14:01
fralssince it was a common problem in the beginning but in the last versions i either fixed it or people stopped caring :)14:01
DocScrutinizer05sorry, not right cmdline14:01
XATRIXNokia-N900:~# gconftool -R /osso/system/connectivity14:03
XATRIXNokia-N900:~#14:03
XATRIXgives me nothing out14:03
DocScrutinizer05gconftool -R /system/osso/connectivity   maybe14:04
*** jrocha has quit IRC14:07
XATRIXhttp://fpaste.org/ASbj/14:09
XATRIXSeems like my MMS is the second one14:09
XATRIXIsn't it ?14:09
DocScrutinizer05gconftool -R /system/osso/connectivity/IAP ?14:12
DocScrutinizer05sorry I don't have multiple IAPs14:13
DocScrutinizer05particularly no MMS IAP14:13
XATRIXhm14:15
XATRIXfrals: any ideas ?14:15
*** Malinux has quit IRC14:15
fralsXATRIX: weird, IIRC that should be the "correct" way to make it autoconnect to the right one14:17
XATRIXYes, but when it loose the signal14:18
XATRIXIt reconnects to MMS14:18
XATRIXInstead of Internet14:18
fralshm, it never heard of that before, it should try to connect to the same one afaik14:19
*** valeriusN has left #maemo14:19
frals-it14:19
fralssorry cant really help you any more than that :/14:20
XATRIXgreat :(14:20
fralsyou could always remove the mms apn, but then fmms wont work that good :)14:21
*** valerius2k has joined #maemo14:22
fralshmm14:23
fralsif you know python you could modify fMMS to disable/enable the APN before/after it needs to use it14:23
fralsi wonder why i didnt do that...14:23
*** Malinux has joined #maemo14:25
XATRIXyea14:27
XATRIXi don't know python14:27
XATRIXhow can i edit /system/osso/connectivity/IAP ?14:27
*** Malinux has quit IRC14:30
DocScrutinizer05with gconftool14:31
*** calvaris has quit IRC14:32
*** Malinux has joined #maemo14:36
*** heroux has quit IRC14:36
*** heroux has joined #maemo14:38
sixwheeledbeastmhm, sudoers makes no sense in maemo, either that or my sudoers file is borked14:39
sixwheeledbeastor both14:39
*** valerius has quit IRC14:40
*** dhbiker has quit IRC14:40
*** valerius2k is now known as valeriusN14:45
*** edheldil has quit IRC14:48
*** AD-N770 has joined #maemo14:51
*** _berto_ has quit IRC14:53
sixwheeledbeastif I have scripts that need root the correct way to add them to sudoers is:-14:55
sixwheeledbeastuser ALL = NOPASSWD: /opt/foo/script/ *14:55
sixwheeledbeast?14:55
*** valerius has joined #maemo14:57
*** jrocha has joined #maemo14:59
*** geaaru has quit IRC15:01
Drathirjacekowski: by script or app wich one is better? when i check last time mobile hot spot dont works and reboot the phone...15:02
jacekowskimobile hot spot15:04
jacekowskiand you need KP for it15:04
*** edheldil has joined #maemo15:06
*** heroux has quit IRC15:08
*** heroux has joined #maemo15:10
Drathirjacekowski: yes KP is running how i can check or where i can check what error caused reboot the phone when try to enable sharing with mobile hot spot?15:10
*** dhbiker has joined #maemo15:17
*** bef0rd has joined #maemo15:18
jacekowskibootreason15:19
*** heroux has quit IRC15:21
*** heroux has joined #maemo15:22
*** e-yes has joined #maemo15:23
*** valerius has quit IRC15:27
*** e-yes has quit IRC15:38
*** Martix has joined #maemo15:40
*** heroux has quit IRC15:42
*** heroux has joined #maemo15:43
*** jrocha has quit IRC15:43
*** jrocha has joined #maemo15:45
*** valerius has joined #maemo15:46
*** unifly has joined #maemo15:53
uniflyhi15:53
*** hardaker has joined #maemo16:00
*** heroux has quit IRC16:00
*** heroux has joined #maemo16:01
* sixwheeledbeast sighs and grumbles16:12
*** jrocha has quit IRC16:12
*** tetzco has joined #maemo16:12
*** heroux has quit IRC16:13
*** heroux has joined #maemo16:13
*** disco_stu_droid has joined #maemo16:16
uniflyhey i build Pencil a software for make 2d animation on n900, anyone interested?16:16
*** disco_stu has quit IRC16:20
*** frafl has joined #maemo16:20
*** disco_stu_droid is now known as disco_stu16:21
DocScrutinizer05sixwheeledbeast: you need to add them to a new file in sudoers.d/*, then run update_sudoers16:21
DocScrutinizer05DO NOT edit /etc/sudoers16:21
sixwheeledbeastDocScrutinizer05: Yep. /etc/sudoers.d/foo.sudoers16:22
DocScrutinizer05:nod:16:22
DocScrutinizer05should just work16:23
sixwheeledbeastI still can't get the scripts to work16:23
DocScrutinizer05hmm16:23
sixwheeledbeastit's the "nice" and "swapon" command in the script that fails, if that makes any diff16:24
sixwheeledbeastworks fine in a root shell16:25
DocScrutinizer05path wrong?16:26
DocScrutinizer05wrong shell?16:26
vi__Is  it possible to send IMs from the command line on the N900?16:26
DocScrutinizer05nice and swapon are builtins of messybox16:26
DocScrutinizer05sixwheeledbeast: you're aware that you usually should use FQN for binaries, in scripts?16:27
*** unifly has quit IRC16:28
DocScrutinizer05vi__: which kind of IM?16:28
* sixwheeledbeast ducks FQN...16:28
DocScrutinizer05vi__: ...but generally, I dunno16:28
sixwheeledbeastoh so "/sbin/swapon"16:29
DocScrutinizer05yep16:29
DocScrutinizer05never take path or shell as granted in scripts16:29
DocScrutinizer05particularly */sbin16:30
DocScrutinizer05your "user" path usually doesn't contain sbins16:30
DocScrutinizer05sudo doesn't change that16:30
sixwheeledbeastoh thanks I didn't think about that, so how to translate "nice -19 swapon foo"16:31
sixwheeledbeast/usr/bin/nice -19 /sbin/swapon foo16:31
DocScrutinizer05/sbin/nice -19 swapon foo16:31
sixwheeledbeastoh16:31
*** GI_Jack has joined #maemo16:31
sixwheeledbeastok :)16:31
DocScrutinizer05or wherever nice might be16:31
*** AD-N770 has quit IRC16:31
DocScrutinizer05sorry, probably is in /bin16:32
DocScrutinizer05IroN900:~# which nice16:32
DocScrutinizer05/usr/bin/gnu/nice16:32
DocScrutinizer05;-P16:32
DocScrutinizer05not for you16:32
DocScrutinizer05I sometimes revert to defining an explicit $PATH at start of my script16:33
*** jrocha has joined #maemo16:33
DocScrutinizer05/bin/busybox nice  -19 swapon foo16:34
DocScrutinizer05should always work16:34
DocScrutinizer05if busybox nice would ever work as expected16:34
DocScrutinizer05IroN900:~# ll /usr/bin/nice16:35
DocScrutinizer05lrwxrwxrwx 1 root root 12 2012-09-11 15:34 /usr/bin/nice -> /bin/busybox16:35
sixwheeledbeastthank you very much, will give that a go.16:36
*** GI_Jack has quit IRC16:38
DocScrutinizer05IroN900:~# /bin/busybox nice  -19 nice16:38
DocScrutinizer05016:38
DocScrutinizer05which evidently is fux0red16:39
DocScrutinizer05IroN900:~# nice  -19 nice16:39
DocScrutinizer051916:39
*** GI_Jack has joined #maemo16:40
DocScrutinizer05IroN900:~# nice  -n -19 nice16:40
DocScrutinizer05-1916:40
DocScrutinizer05IroN900:~# nice --version16:41
DocScrutinizer05nice (GNU coreutils) 8.416:41
DocScrutinizer05busybox obviously has an alias for nice that changes *own* niceness, but that doesn't help for executing the command after nice if it's not an internal busybox cmd16:43
DocScrutinizer05sth thoroughly fux0red in busybox nice16:43
*** konelix has joined #maemo16:45
*** minde has joined #maemo16:47
sixwheeledbeastgrr, messybox! may have to drop nice after trying above16:48
*** auenf has quit IRC16:48
*** auenf has joined #maemo16:49
*** Scorcerer has quit IRC16:50
*** konelix_ has joined #maemo16:51
*** konelix has quit IRC16:53
*** livelace has joined #maemo16:53
*** konelix_ is now known as konelix16:53
vi__wait are you saying BB nice does not work for any program that is not busybox?16:57
*** calvaris has joined #maemo16:57
*** heroux has quit IRC16:59
sixwheeledbeastvi__: seems so16:59
*** Hurrian has joined #maemo17:00
vi__...then it is fucking useless.17:00
vi__but swapon/off are busybox aliases...right?17:01
*** livelace has quit IRC17:01
*** heroux has joined #maemo17:01
vi__There is a special place in the lowest circles of programmers hell specifically for perpetrators of my sins today.17:03
*** rm_work|away is now known as rm_work17:06
vi__On a scale of 0-10 I would rate this code unconscionable.17:07
*** dhbiker has quit IRC17:07
sixwheeledbeastDocScrutinizer05: /sbin/swapon /dev/foo: Operation not permitted17:08
*** guampa has joined #maemo17:09
keriosixwheeledbeast: are you root?17:09
keriois /dev/foo correctly mkswapped?17:09
keriois /dev/foo writable17:09
kerio?17:09
*** konelix has left #maemo17:11
sixwheeledbeastkerio: script is suppose to be added to sudoers, swaps work fine17:13
keriowhat's the command to swapon?17:14
keriolike, the full command17:14
DocScrutinizer05IroN900:~# ll /sbin/swapon17:14
DocScrutinizer05lrwxrwxrwx 1 root root 12 2012-09-11 15:34 /sbin/swapon -> /bin/busybox17:14
*** vblazquez has quit IRC17:14
keriobusybox swapon should work fine17:14
DocScrutinizer05if messybox not acting up again, and if an "id" immediately before "busybox swapon" shows you're root, then yes17:15
*** Arkenoi has quit IRC17:15
*** Arkenoi has joined #maemo17:16
*** vblazquez has joined #maemo17:16
*** jaska has quit IRC17:16
*** jaska has joined #maemo17:16
*** dimir is now known as erix17:20
*** erix is now known as eriks17:21
*** eriks is now known as erikk17:21
*** erikk is now known as dimir17:22
*** lokimotive has joined #maemo17:23
*** dhbiker has joined #maemo17:24
*** stardiviner has quit IRC17:28
*** WielkiTost has joined #maemo17:29
*** geaaru has joined #maemo17:31
*** lokimotive has quit IRC17:32
sixwheeledbeastDocScrutinizer05: kerio: /bin/busybox swapon /dev/mmcblk1p217:38
keriohm17:38
sixwheeledbeastit must be a root issue works in a root shell17:38
keriowhy not just /sbin/swapon /dev/mmcblk1p2? n.b.: it shouldn't change anything17:38
kerioalright17:38
DocScrutinizer05I *guess* messybox does a first sane thing: drop privileges17:39
sixwheeledbeastso there is not a way of doing this as "user" even if script is in sudoers?17:40
kerioDocScrutinizer05: it shouldn't17:40
keriosixwheeledbeast: sudo that should work fine17:40
kerioditto sudo a script that contains that17:40
kerioyou're probably lying17:40
sixwheeledbeaster17:40
*** geaaru has quit IRC17:41
DocScrutinizer05kerio: you're probably not a polite person17:41
*** geaaru has joined #maemo17:41
kerio:<17:41
DocScrutinizer05sixwheeledbeast: try specifying #!/bin/busybox as your script interpreter17:42
DocScrutinizer05I dunno which hickups messybox has17:43
sixwheeledbeaster no17:43
DocScrutinizer05?17:44
sixwheeledbeastDocScrutinizer05: oh try17:45
sixwheeledbeastsixwheeledbeast: applet not found17:45
sixwheeledbeastDocScrutinizer05: ^^^ even17:45
DocScrutinizer05uh?17:46
Drathirhow to fix  Read-only file system17:47
Drathirreboot be enough?17:47
DocScrutinizer05usually not17:47
sixwheeledbeastthat's what happens if I change interpreter and run17:48
DocScrutinizer05well, it probably has a certain line that causes this17:48
DocScrutinizer05in script17:48
DocScrutinizer05I can't see it in my crystal ball17:48
DocScrutinizer05set -v might help17:49
DocScrutinizer05of course you shouldn't call applet commands in a script run by busybox as "busybox <applet> ..."17:50
Drathiri mean fix My Docs is seeing like ro when try to delete a file... brb try reboot...17:51
vi__Why not just install/steal/copy debian swapon/off?17:56
*** psychologe has joined #maemo17:59
kerioDocScrutinizer05: using /bin/busybox as the shell will call /bin/busybox yourscript18:00
kerioand yourscript isn't a valid busybox applet18:00
kerioif you want to make sure you're using busybox for your script, use #!/bin/busybox sh18:01
sixwheeledbeasthttp://pastebin.com/jsH6hJg6 http://pastebin.com/8UHWuGMW18:01
sixwheeledbeastno crystal ball required18:01
*** Venusaur has joined #maemo18:02
Drathirrestart dont work again have touch: test: Read-only file system18:02
DocScrutinizer05kerio: LOL, nice18:03
Drathirhow i can  fsck My Docs or remount it ?18:05
*** XATRIX has quit IRC18:05
kerioyou probably don't want to fsck it anyway18:06
kerioconnect to a computer in mass storage mode, copy the copiable, format, and copy back18:06
Drathirhttp://pastebin.com/5V2tH3Rc18:07
Drathirkerio: ok thx a lot18:08
*** FR-PC is now known as HonooPC18:08
kerioif you have enough space, that is18:08
keriodoing a fsck is only really worth it if you don't have enough backing space to copy, format and copy back, imo18:09
kerioor if it's really a lot of data18:09
*** Scorcerer has joined #maemo18:10
*** jrocha has quit IRC18:10
*** AD-N770 has joined #maemo18:11
*** Luke-Jr has joined #maemo18:12
Drathirkerio: little a lot of data but i try to manage a space to cp...18:15
*** jpinx has quit IRC18:17
*** stardiviner has joined #maemo18:18
DocScrutinizer05I think kerio forgot a tiny but important detail: fixing the MyDocs fs18:27
kerioi said format it18:27
DocScrutinizer05ooh, yep18:27
keriook, to be fair you should copy the copiable, then fsck, then copy the copiable, then format, then copy back18:28
DocScrutinizer05missed that since it's a rather unusual term in linux18:28
keriofair18:28
keriocp, mkfs, cp18:28
keriohey, what do you know, it's also how you defrag in unix18:28
*** GI_Jack has quit IRC18:28
*** stardiviner has quit IRC18:30
*** HonooPC has quit IRC18:34
*** eijk has joined #maemo18:34
*** ShadowJK has quit IRC18:35
Drathirok i delete file causing the problem and sadly didnt help now show something like that Reclaimed 1838 unused clusters (120455168 bytes).18:36
DrathirFree cluster summary wrong (324115 vs. really 326911)18:36
*** ShadowJK has joined #maemo18:36
*** FlameReaper-PC has joined #maemo18:36
Drathirech i think no other way to han format...18:37
*** eijk_ has quit IRC18:38
Drathirfsck from pc is the same that built in?18:39
Drathirone good things is that fs is no more in ro mode...18:40
*** rcg has quit IRC18:40
*** FlameReaper-PC has quit IRC18:41
*** stef_204 has quit IRC18:47
Drathirit is very risky to using fs in this way ?18:49
*** jpinx has joined #maemo18:51
*** ArGGu^^ has quit IRC18:51
*** jpinx has quit IRC19:04
*** darodi has quit IRC19:08
*** npsimons has joined #maemo19:19
*** Martix has quit IRC19:21
*** M4rtinK has joined #maemo19:29
*** Martix has joined #maemo19:30
*** benedikt has quit IRC19:33
*** benedikt has joined #maemo19:33
*** MetalGearSolid has quit IRC19:36
*** bef0rd has quit IRC19:36
*** ArGGu^^ has joined #maemo19:38
*** darodi has joined #maemo19:42
*** calvaris has quit IRC19:45
*** VDVsx has joined #maemo19:45
*** Kilroo1 has joined #maemo19:48
*** Kilroo has quit IRC19:48
sixwheeledbeastah kerio, you beauty I get it now. :facepalm:19:51
kerioinfobot: no, kerio is <sixwheeledbeast> ah kerio, you beauty19:51
infobotkerio: cannot alter locked factoids19:51
keriobut i'm the one who locked it19:52
kerios19:52
kerio~useless19:52
* infobot starts crying and hides from kerio in the darkest corner of the room. :(19:52
*** florian has quit IRC19:52
sixwheeledbeaster19:52
sixwheeledbeastkerio is locked factiod19:53
*** benedikt is now known as negri19:57
*** negri is now known as benedikt19:58
*** psychologe has quit IRC20:00
Drathirkerio: bot source code is public?20:01
keriohm, i don't know20:02
ShadowJKinfobot, yes20:02
infobotfrom memory, yes is the opposite of no20:02
ShadowJKWell, sort of. It's a huge mass of perl.20:02
*** AD-N770 has quit IRC20:05
*** darodi has quit IRC20:05
*** eMHa__ has quit IRC20:11
*** hardaker has quit IRC20:12
*** rcg has joined #maemo20:19
*** NeutrinoPower has joined #maemo20:21
*** LauRoman has joined #maemo20:22
*** heroux has quit IRC20:23
*** stardiviner has joined #maemo20:28
*** brzys has quit IRC20:29
*** brzys has joined #maemo20:38
*** Vlad_on_the_road has joined #maemo20:45
*** valeriusM has joined #maemo20:47
*** valerius has quit IRC20:50
*** geaaru has quit IRC20:53
*** sixwheeledbeast is now known as sixwheeled|away20:55
*** valeriusM has quit IRC20:55
*** freemangordon has quit IRC21:01
*** jpinx has joined #maemo21:05
*** FlameReaper-PC has joined #maemo21:08
*** hazchemix has joined #maemo21:10
*** Luke-Jr has quit IRC21:16
*** stardiviner has quit IRC21:16
*** Luke-Jr has joined #maemo21:17
*** npsimons has quit IRC21:18
*** valeriusM has joined #maemo21:22
*** arcean has joined #maemo21:23
*** eMHa__ has joined #maemo21:28
*** LauRoman has quit IRC21:37
*** infobot has quit IRC21:41
*** at1as has joined #maemo21:57
*** flo_lap has joined #maemo21:59
*** Luke-Jr has quit IRC21:59
*** flo_lap is now known as florian21:59
*** valeriusM has quit IRC22:01
*** Luke-Jr has joined #maemo22:07
*** sunny_s has quit IRC22:15
*** M4rtinK has quit IRC22:17
*** valeriusM has joined #maemo22:18
DocScrutinizer05wtf?22:19
*** timeless has quit IRC22:20
*** infobot has joined #maemo22:21
infobotDocScrutinizer: infobot joined!22:21
*** ChanServ sets mode: +v infobot22:21
*** M4rtinK has joined #maemo22:21
*** udovdh has quit IRC22:25
*** udovdh has joined #maemo22:26
*** timeless has joined #maemo22:31
*** mvp has joined #maemo22:32
DocScrutinizer05kerio: you locked it22:37
DocScrutinizer05you can unlock it22:37
DocScrutinizer05probably not even I can alter locked factoids22:37
DocScrutinizer05infobot: no, kerio is <sixwheeledbeast> ah kerio, you beauty22:37
infobotDocScrutinizer05: okay22:38
DocScrutinizer05*shrug* I can ;-P22:38
DocScrutinizer05~factinfo kerio22:38
infobotkerio -- created by kerio <kerio@unaffiliated/kerio> at Tue Aug  7 21:11:47 2012 (238 days); last modified 22s ago  by DocScrutinizer05!~HaleBopp@openmoko/engineers/joerg; it has been requested 15 times, last by kerio, 2d 9h 15m 29s ago; it has been locked by kerio.22:38
*** shamus has quit IRC22:41
*** shamus has joined #maemo22:41
*** dhbiker has quit IRC22:43
*** marko_ has joined #maemo22:43
*** marko_ has quit IRC22:44
*** dhbiker has joined #maemo22:44
*** dhbiker has quit IRC22:45
*** dhbiker has joined #maemo22:46
*** vblazquez has quit IRC22:46
*** vblazquez has joined #maemo22:48
*** SmilyOrg has joined #maemo22:49
*** Vlad_on_the_road has quit IRC22:49
*** FIQ has quit IRC22:50
*** pvanhoof has joined #maemo22:52
*** Smily has quit IRC22:52
*** FIQ has joined #maemo22:56
*** bef0rd has joined #maemo22:57
*** dhbiker has quit IRC22:59
*** freemangordon has joined #maemo23:06
*** stardiviner has joined #maemo23:13
*** phlixi has joined #maemo23:18
*** yosafbridge has quit IRC23:22
*** FlameReaper-PC has quit IRC23:25
*** FlameReaper-PC has joined #maemo23:26
*** yosafbridge has joined #maemo23:26
*** xmlich02_ has joined #maemo23:29
*** NeutrinoPower has quit IRC23:34
*** LauRoman has joined #maemo23:38
*** bef0rd has quit IRC23:39
*** jrocha has joined #maemo23:41
*** NIN101 has quit IRC23:43
*** vblazquez has quit IRC23:43
*** WielkiTost has quit IRC23:43
*** pvanhoof has quit IRC23:44
*** vblazquez has joined #maemo23:46
*** WielkiTost has joined #maemo23:47
*** minde has quit IRC23:47
*** NeutrinoPower has joined #maemo23:47
*** vblazquez has quit IRC23:49
*** vblazquez has joined #maemo23:51
*** lizardo has quit IRC23:56

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!