**** BEGIN LOGGING AT Sun May 24 02:59:59 2015 May 24 05:29:35 valid discharge flag is preserved during suspend to ram, reboot and turn off-on cycle May 24 05:42:05 what's the proper way to backup the nand contents? May 24 05:42:29 just dumping /dev/mtd* stuff of a live system sounds sad May 24 06:09:19 l29ah: why care? it will get valid on the next cycle May 24 06:09:45 because my cycles are HUGE May 24 06:12:03 hehe, that's memo worthy ;) May 24 07:06:23 L29Ah: dumping /dev/mtd* on a live system is also pretty damn useless May 24 07:07:30 why? May 24 07:07:46 i guess i'll get something broken but not fatally May 24 07:07:53 because journal is in memory still May 24 07:08:01 sync(1) May 24 07:08:06 nope May 24 07:08:10 huh? May 24 07:08:16 mtd is just that May 24 07:08:39 huh? May 24 07:08:43 just kidding May 24 07:12:39 just use backupmenu May 24 07:12:45 or something like that May 24 07:13:05 or make your system to boot to microsd May 24 07:13:24 then you can simply use tar.gz May 24 07:13:32 or rsync May 24 07:14:31 you can do that anyway May 24 07:14:48 but you really ought to copy *files* to make a backup of a unix system May 24 07:15:06 tar and rsync know what do May 24 07:15:11 i'm yet to learn the purpose of all these mtd partitions May 24 07:15:42 i don't backup the unix system, i backup the device state May 24 07:15:51 to be able to flash it back with some 0xffff May 24 07:15:59 yes May 24 07:16:02 that's not how ubifs works May 24 07:16:25 you can't backup the physical status of your mtd chip May 24 07:16:41 i know about wear leveling stuff May 24 07:17:30 learn how to make fiasco images May 24 07:17:41 most likely its what you want May 24 07:18:37 failed to google that out May 24 07:19:03 more time investment seems unreasonable anyway May 24 07:19:17 i guess i just dive in with uboot and multikernel stuff May 24 07:20:15 or May 24 07:20:16 you know May 24 07:20:19 backupmenu May 24 07:20:28 or just boot rescueos and do the tarring manually May 24 07:20:31 it's literally the same thing May 24 07:20:47 will backupmenu backup /usr/local/ and other hand made filesystem changes? May 24 07:21:59 backupmenu will back up the contents of ubi0:rootfs and /dev/mmcblk0p2 May 24 07:22:38 https://bugs.maemo.org/show_bug.cgi?id=7972 May 24 07:22:39 04Bug 7972: Kernel in PR1.1 build-depends on fiasco-gen which is nowhere to be found May 24 07:22:41 fiasco-gen May 24 07:28:12 Fiasco-gen was published in PR1.1.1 SDK, now in non-free in SDK. May 24 07:38:27 uboot failed to use the filesystem :[ May 24 07:39:49 the ubi one May 24 07:42:14 ripperoni May 24 07:42:16 i wonder if we can recreate whole fs by dropping all those mtds and just use 2 May 24 07:42:42 1 for nolo and stuff and 2 for system May 24 07:43:21 good luck May 24 07:43:21 KotCzarny: what's the point? May 24 07:43:36 l29ah: fun and hacking May 24 07:43:47 'to see if that could work' May 24 07:44:06 yep it could May 24 07:44:18 but it's useless May 24 07:44:47 also, dropping ubi for simplification May 24 07:44:58 what May 24 07:44:59 the May 24 07:45:00 FUCK May 24 07:45:02 but i plan to run a system from microsd May 24 07:45:17 hmm May 24 07:45:27 i guess u-boot doesn't like my ext2 for some reason May 24 07:46:28 pali's uboot doesn't support extfs, iirc May 24 07:46:29 no power kernel for me May 24 07:46:49 the update script contents mention ext2 May 24 07:46:53 which is why the provided script adds stuff to MyDocs May 24 07:46:59 which is vfat May 24 07:47:27 echo "Supported filesystems for first eMMC partition:" May 24 07:47:27 echo "ext2 ext3 ext4 vfat" May 24 07:47:49 hm May 24 07:48:05 there was *something* that i was expecting to be supported but wasn't May 24 07:48:21 also i have the actual menu working May 24 07:48:37 so ext2 must be hooked in well afaiu May 24 07:49:15 > setenv mmctype fat May 24 07:49:17 mmkay May 24 07:49:22 :) May 24 07:49:25 i guess i need to poke pali May 24 07:50:21 what fails in the boot process? May 24 07:53:16 replaced fat to ext2 in the bootmenu generator, still no luck May 24 07:54:17 kerio: i get "** Unrecognized filesystem type **" in uboot when i pick the non-attached kernel in nand May 24 07:54:45 i guess i'll move it to mmc May 24 07:55:27 i should make a backup May 24 08:06:04 okay i did it May 24 08:06:16 default menu stuff is crap May 24 08:13:09 alright i got 28mb free on root May 24 08:13:13 is this sensible May 24 08:13:16 i don't think it's sensible May 24 08:13:20 28 is very very little May 24 08:13:26 depends May 24 08:13:36 are you going to install something? May 24 08:13:48 irrelevant May 24 08:13:51 relevant May 24 08:14:06 isnt used by user in any way May 24 08:14:15 unless you are making systemwide changes May 24 08:14:53 and if you really care, move stuff to /opt and symlink it back May 24 08:18:31 i have 50 available May 24 08:18:46 sure it's sensible as you have 256 total May 24 08:18:49 i just move things to /opt as i go May 24 08:18:51 yeah that's fair enough May 24 08:19:02 but i also have gcc and friends on the device May 24 08:19:10 i have disabled ubifs compression May 24 08:19:11 :] May 24 08:19:14 i guess it's sensible enough May 24 08:28:30 hello, I have question about n900 and sim-menu. I use russia celular provider mts and with the same sim card I have on another phone(also nokia) mts-info sim-menu for different services from phone provider. And I can't found this menu on the n900. May 24 08:30:23 its not android May 24 08:30:42 ah, you mean the sim card simmenu May 24 08:31:27 im afraid you are without luck here May 24 08:31:33 http://maemo.org/community/brainstorm/view/sim_toolkit/ May 24 08:33:38 maybe you have some ussd codes as a second way ? May 24 08:35:44 sim toolkit that an application for n900? May 24 08:38:36 what decides how to crypt() passwords? May 24 08:38:44 and whether or not to use /etc/shadow May 24 08:38:45 pam maybe May 24 08:38:51 there's no pam May 24 08:39:24 and system uses shadow if there is trash in password field in /etc/password May 24 08:39:34 does it May 24 08:39:51 as for the algo its included in the hashed pass May 24 08:39:56 i guess it's up to login(1) if there's no pam May 24 08:46:45 alright /etc/shadow is checked if it exists May 24 08:46:59 but the only advanced crypt() algorithm we have is md5 May 24 08:47:30 it's salted so you shouldn't care much May 24 08:47:37 are you seriously caring about passwords on the device? May 24 08:47:47 there is so many ways to hack it May 24 08:48:01 rescueui for a start May 24 08:49:08 this is to maybe allow remote password auth May 24 08:49:20 KotCzarny I don't have sim toolkit in list of applications, only sim-switcher. where I can found sim-toolkit.install? May 24 08:49:56 pentanol: from a quick google, its basically unsupported because required libraries are closed by nokia May 24 08:50:00 and not supporting it May 24 08:50:10 yay, it works May 24 08:50:40 and probably sim switcher works because it uses ussd commands (i think) May 24 08:53:03 kerio: who needs passwords on n900 anyway? May 24 08:53:08 what for? May 24 08:53:12 l29ah: sshd May 24 08:53:21 and other services May 24 08:53:21 do you really have passwordless sudo May 24 08:53:23 key May 24 08:53:26 yep May 24 08:53:37 nice May 24 08:53:58 so any arbitrary remote code execution is also a remote privilege escalation May 24 08:54:06 yep May 24 08:54:15 go install selinux on n900 May 24 08:54:24 cool story bro May 24 08:54:26 :] May 24 08:54:46 first and foremost, gsm networks dont assing external ip to you May 24 08:55:01 user has all the interesting privileges anyway May 24 08:55:15 and on wifi networks you should be on some uni network or something to be really under any kind of attack May 24 08:55:16 i think you can even brick the thing using only user May 24 08:55:49 l29ah: yes, you can: echo ". /blah/blah" >> ~/.profile May 24 08:55:50 and no one cares enough to compile an arm code to hack your n900 anyway May 24 08:55:53 then try to reboot May 24 08:55:54 ;) May 24 08:56:01 ah yeah :3 May 24 08:56:01 seriously May 24 08:57:32 any open hotspot is security threat... May 24 08:57:59 being on unsecure networks is a security threat May 24 08:58:22 being is a security threat May 24 08:58:43 consequence of living is death, dont live! May 24 08:58:56 i never asked for this! May 24 08:59:08 now you know May 24 08:59:09 why not harder the life to attacker? May 24 08:59:31 drathir: most attacks are social engineering ones May 24 09:00:36 drathir: i prefer to do actual stuff and account for the risks instead May 24 09:00:59 but seriously, i have the same system on my laptop, plain slackware, for more than 10 years i was connected directly and indirectly to unsecure networks, im hosting things via sshd/httpd May 24 09:01:07 the worst case of a hacked n900 is a need to flash the thing over May 24 09:01:24 and no music for some time that is just horrible and incompatible with living May 24 09:01:33 l29ah: unless one specifically wants to f*ck you up and clears the nolo May 24 09:01:49 is usb handled by nolo? May 24 09:01:54 but 1/ he needs to target you specifically, 2/ has to know what to do May 24 09:02:09 l29ah: think about nolo as a bios May 24 09:02:11 i thought the device is new enough to have a smart bootloader in the rom in the soc May 24 09:02:42 is there any rom on n900? May 24 09:05:28 at n900 i guess the enough will be the encrypted storage space different pass than phone lock code.../ May 24 09:06:08 haxor will hax u and dump all the stuff after you enter the password May 24 09:06:37 seriously, are you guys high value targets of hackers? May 24 09:07:12 L29Ah: but You secure from unauthorised access to device... May 24 09:07:28 in case You loose them... May 24 09:07:43 drathir: who is that unauthorized accessor? wife? kids? May 24 09:07:58 or in another way, what sensible data you store on it? May 24 09:08:00 * L29Ah got a custom to type "hacked" into any accessible terminals May 24 09:08:08 hacked some friends this way May 24 09:08:13 i'm a hackor May 24 09:08:23 KotCzarny: devil is everywhere ^^ May 24 09:08:23 nope, you are a kidder May 24 09:08:40 there is no devil, there are only people May 24 09:08:55 (and mental illnesses) May 24 09:09:18 competition is a mental illness May 24 09:09:33 personally in my opinion never too much security... May 24 09:09:35 competition is a part of surviving skills May 24 09:10:00 drathir: first and foremost rule, assume your device WILL be hacked May 24 09:10:09 then just dont keep anything of value here May 24 09:10:09 drathir: there's never too much food May 24 09:10:32 as i said, rescueos May 24 09:10:48 and unless you have come cryptfs in place, its all plain text May 24 09:11:56 KotCzarny: at n900 no big deal there is ssh able to remote keep things when needed... May 24 09:12:04 http://zitstif.no-ip.org/?p=694 May 24 09:12:05 :) May 24 09:12:09 unrelated but fun May 24 09:12:25 but still encryption of whole device is always good thing... May 24 09:12:42 thats why i said about running whole os from microsd May 24 09:13:26 cryptfs the fs and ask for password on boot May 24 09:13:28 :) May 24 09:13:48 if you lose your device, battery will run out and be inaccessible afterwards May 24 09:14:50 KotCzarny: yes thats is good thing... May 24 09:15:09 100% haxor site May 24 11:32:26 by the way, SIM Toolkit is a real threat, especially now that rogue cell towers are a big reality May 24 14:53:17 DON'T PANIC, tomorrow is towel day and you should know where your towel is :-) May 24 15:58:50 Pali: thanks for remember ^^ May 24 15:58:59 :-) May 24 19:02:02 * L29Ah wonders what magic sysrq on n900 is May 24 19:02:33 alt-sysrq? May 24 19:02:39 map the key May 24 19:07:13 wtf n900 sshd started to ask me the password for some reason May 24 19:07:59 you got haket! May 24 19:08:12 totally May 24 19:08:37 are you sure you arent suffering from short term amnesia or splitted personalities? May 24 19:09:04 i hope so May 24 19:11:33 okay i suck May 24 19:11:41 entered ! instead of * into /etc/passwd May 24 19:14:53 strange: sometimes n900 won't autoconnect to the wifi net after a reboot May 24 19:16:06 WPA2-Enterprise? May 24 19:16:24 no May 24 19:16:41 wtf, i have fresh files lost after a reboot May 24 19:16:47 even though i even called sync(1) May 24 19:16:57 files were on ext2 on the internal mmc May 24 19:18:22 maybe internal chip has some buffering May 24 19:18:39 but i have such situations on pc too May 24 19:18:57 having ext3 helps a bit May 24 19:19:50 somehow kernel-power failed to mount ext{3,4} May 24 19:20:18 hmm May 24 19:20:26 but worked with ext2? May 24 19:20:31 yep May 24 19:20:54 recompile it and just use ext4 module with backward compatibility and disable ext2/3 May 24 19:20:55 L29Ah: lol its normal at first sshd instal it force to setup a pass ^^ May 24 19:21:10 wow i got a backtrace from 4.1 :] May 24 19:21:49 and it shut down May 24 19:22:10 keep hacking May 24 19:24:56 i guess it's maemo shutting stuff down May 24 19:25:02 as looks like init is run May 24 19:25:25 could be, pass init=/bin/bash May 24 19:25:31 or something May 24 19:28:27 the kernel image file vanished again May 24 19:28:28 ffs May 24 19:28:34 :> May 24 19:28:43 boot via flasher (without flashing) May 24 19:29:04 i can boot with the attached image May 24 19:29:11 anyway this is a serious problem May 24 19:29:26 which one/ May 24 19:29:32 unstable flash? May 24 19:29:32 the lost files one May 24 19:30:19 qemu-user doesn't want to work :[ May 24 19:42:50 fuck yeah bash May 24 19:42:57 dammit it shut down anyway May 24 19:43:06 i guess i need to disable some watchdog thingie May 24 20:14:28 <{-0-}> Hi! (new to n900, as in yesterday) I want to do bluetooth tethering via another phone (symbian so massive battery life) and usb otg, bt-dun-client requires a kernel update and ( I think, from reading ) otg needs cssu, will this work without harming the ovi maps on my n900? May 24 20:15:16 <{-0-}> should I install the bootmenu first and do it baby steps? May 24 20:15:55 ovi maps has no relation to kernel May 24 20:16:02 nah just apt-get install kernel-power and you're fine May 24 20:16:23 not sure if it will support the required bluetooth thing tho May 24 20:16:34 * L29Ah failed making bluetooth working May 24 20:16:35 yes May 24 20:17:05 <{-0-}> ok, for that I grab apps/developer and gainroot? then kernel power? May 24 20:18:18 <{-0-}> should I do bootmenu first? May 24 20:19:07 <{-0-}> sorry for all the questions, just alike a recipe, ingredients in the wrong order and the cake is a biscuit! May 24 20:19:08 Pali: can i disable the watchdog from linux for until a reboot? May 24 20:19:41 isnt watchdog a kernel thing? May 24 20:19:51 L29Ah: yes, load watchdog driver with nowayout=0 param May 24 20:20:10 no, watchdog is HW thing which can be configured May 24 20:20:15 hmm May 24 20:20:22 good to know May 24 20:20:41 {-0-}: depends on what you really want to do with your device. backupmenu is a good first recommendation ... will help you not have to flash May 24 20:25:49 <{-0-}> Sicelo, ok, will do, thank you May 24 20:27:21 the kernel spams "clock: dpll1_ck failed transition to 'locked'" every 5s and hangs for some time May 24 21:32:09 <{-0-}> my liblzo2-2 is missing, should I install this? http://repository.maemo.org/pool/fremantle/free/l/lzo2/liblzo2-2_2.03-1maemo3_armel.deb May 24 21:32:49 <{-0-}> it says maemo 3 but it's in the freemantle set May 24 21:33:59 <{-0-}> https://bugs.maemo.org/show_bug.cgi?id=8901 May 24 21:34:01 04Bug 8901: openvpn installation failed. liblzo2-2 missing May 24 21:34:15 <{-0-}> beat the bot! :) May 24 23:39:33 <{-0-}> result :) liblzo2 installed ( never used debian before, so all that sources.list stuff is new to me ), backup menu and kernel power now installed May 24 23:40:24 <{-0-}> the rest will need to wait till tomo May 24 23:41:27 <{-0-}> Sicelo, thanks for the pointer to backupmenu, certainly made flashing the kernel less worrying :) **** ENDING LOGGING AT Mon May 25 02:59:59 2015