IRC log of #maemo for Tuesday, 2012-10-16

plourdeok00:00
plourdegood to know00:00
merlin1991I don't see how that could happen if you have u-boot installed, since u-boot or bootmenu both go into the same flash area afaik00:00
merlin1991thus there is no bootmenu when u-boot is installed00:00
* merlin1991 could be wrong though00:00
plourdebootmenus show up they just dont boot to maemo00:00
DocScrutinizer05in bootmenu.d you configure bootmenu, like in ie your configure ie bookmarks. you don't configure firefox bookamrks in ie and then export to firefox - you don't edit uBoot config in bootmenu.d and then export00:00
merlin1991plourde: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/u-boot-2012.10-rc3-1+zImage-2.6.28-omap1.fiasco00:01
plourdeproblem is i dont know how to do it i guess00:01
DocScrutinizer05merlin1991: that's ultra-nonsense: bootmenu is a userland app00:01
merlin1991if you flash that you should be able to boot everything again00:01
merlin1991see [23:00:32] -*- merlin1991 could be wrong though00:01
plourdei downloaded the file, what do i do with it?00:01
merlin1991user flasher to flash it to the device00:02
DocScrutinizer05bootmenu is a script called by preinit00:02
plourdeim sorry for the stupid questions00:02
plourdeuse ubuntu to flash it to the device?00:02
DocScrutinizer05multiboot "exploits" bootmenu, and uBoot in fact reads out multiboot entries in bootmenu00:02
*** tg has joined #maemo00:03
merlin1991plourde: ubuntu or whatever you prefer .)00:03
plourdei have flasher 3.5 on ubuntu, so would i use this cmd, flasher-3.5 -F FILENAME -f -R ?00:04
merlin1991yep00:04
DocScrutinizer05merlin1991: I could have arbitrary other config in my bootmenu.d which is neither relevant to applicable for uBoot. And I could want uBoot config that for sure I don't want to see in bootmenu.d/*00:04
*** _rd has quit IRC00:04
merlin1991and you could just not run the update script and instead edit hte bootmenu.src and be happy00:05
merlin1991nobody tells you to use it00:05
*** ilink_sycbase has quit IRC00:05
DocScrutinizer05s/to /nor /00:05
infobotDocScrutinizer05 meant: merlin1991: I could have arbitrary other config in my bootmenu.d which is neither relevant nor applicable for uBoot. And I could want uBoot config that for sure I don't want to see in bootmenu.d/*00:05
plourdemerlin what commands to flash this fiasco image?00:05
DocScrutinizer05merlin1991: right, except the "guides" on wiki and who-knows-where-else00:06
merlin1991plourde: exactly what you wrote00:06
plourdethats it? i know sometimes when its emmc based you dont use the -R00:06
DocScrutinizer05which tell everybody to do exactly that: mess with bootmenu config to edit uboot config00:06
merlin1991DocScrutinizer05: let me rephrase nobody forces you to use it00:06
DocScrutinizer05wrong: update-uboot is called in postinstall of uboot00:07
DocScrutinizer05firefox asks "shall I import msie bookmarks?"00:07
DocScrutinizer05uBoot doesn't ask00:08
merlin1991also jsut saying, but bootmenu loads /etc/bootmenu.conf not /etc/bootmenu.d/*00:08
plourdeso after i flash this fiasco image, should i install kernel power 51r1? this is the newest uboot so i dont need to do anything else correct? flash this normally holding down u as i start my phone and flash it, then reboot?00:08
DocScrutinizer05whatever, I never looked in contemporary uBoot00:08
DocScrutinizer05plourde: NO00:09
merlin1991plourde: flash it by turning off your phone, start the flasher command on the pc and plug in the usb cord00:09
DocScrutinizer05you don't flash any other kernel, that will nuke your uBoot00:09
*** laxsill has quit IRC00:09
DocScrutinizer05uBoot comes with own kernel00:09
DocScrutinizer05the other kernels will be image.bin files00:10
merlin1991plourde: also you only have to install kernel power 51r1 if you want it, but be sure not to install the -flasher pkg but the -bootimg package00:10
DocScrutinizer05^^^ bootimg00:10
DocScrutinizer05==image.bin00:10
plourdethats what i though, so phone off first, no other kernels either or it fried, ok perfect going to try now on linux computer, ok the small 168kb file is the kernel power just not the multiboot image00:10
DocScrutinizer05do NOT _flash_ a new kernel after installing uBoot00:10
plourdeno i mean before i flash this image install kp51r1?00:11
DocScrutinizer05neither00:11
DocScrutinizer05the kernel that comes piggyback with uBoot is a stock kernel afaik, it will want to find stock kernel modules in your rootfs00:12
*** Darkchaos has quit IRC00:12
plourdeok so just flash this image and reboot?00:12
merlin1991DocScrutinizer05: that would still work even if he installs kp51r100:12
merlin1991plourde: yes00:12
DocScrutinizer05so you should install stock maemo kernel before you flash uBoot00:12
merlin1991DocScrutinizer05: no00:12
DocScrutinizer05ok, I stand corrected00:12
plourdeim confused lol00:12
merlin1991plourde: just flash and reboot00:13
plourdeok, no kp then00:13
DocScrutinizer05do what merlin says00:13
plourdethe kp allows the overclock which was nice, i wasnt sure, im sorry for all of this everyone00:13
merlin1991~oc00:13
infoboti heard oc is an Optical Carrier, An OC1 has 672 channels or 44.736 Mbit/s00:13
merlin1991damn where's hte overclock quote?00:14
DocScrutinizer05~omap-oc00:14
infobotmethinks omap-oc is http://mg.pov.lt/maemo-irclog/%23maemo.2010-08-01.log.html#t2010-08-01T22:16:05  read that!, or and this http://mg.pov.lt/maemo-irclog/%23maemo.2011-03-11.log.html#t2011-03-11T03:04:1100:14
merlin1991basically it comes down to overlocking is bad for your health ;)00:14
DocScrutinizer05~overclock00:14
infobotI overclock in winter to keep dpkg's toes warm.00:14
plourdelol00:15
plourdeso dont overclock then00:15
DocScrutinizer05~overclocking00:15
infobot"OK, listen up.  This is your CPU."  apt drops the CPU into a hot frying pan.  "This is your CPU on overclocking.  Any questions?"00:15
plourdeyou guys are miles above me for this stuff, i do osx86 a lot thats the extend to my programming capabilities lol00:15
vi__I overclock 125-500MHz.00:15
plourdelol00:16
vi__who wrote that ~overclocking?00:16
DocScrutinizer05~factinfo overclocking00:16
infobotoverclocking -- created by greycat <wooledg@imadev.eeg.ccf.org> at Thu Jul 12 19:00:43 2001 (4113 days); it has been requested 38 times, last by DocScrutinizer05, 1m 4s ago.00:16
vi__9 Years ago??00:17
DocScrutinizer05nothing changed ;-P00:17
vi__THE greycat?00:17
DocScrutinizer05in my book that's 11 years00:17
vi__from #bash?00:17
vi__that guy is a bro king.00:18
vi__I went in and asked a dumb question about scripting...and he answered it!00:18
vi__so these factoids are freenode wide?00:19
vi__~tmo00:19
infobotit has been said that tmo is http://en.wikipedia.org/wiki/TMO, or http://talk.maemo.org, or http://de.wikipedia.org/wiki/Terrestrial_Trunked_Radio#TMO. It's *not* T-MO (see ~T-MO) or trolls, morons, oxen.00:19
DocScrutinizer05[2012-10-15 23:19:19] [314] DocScrutinizer05 greycat rfc1413 wooledge.org * Greg Wooledge00:20
DocScrutinizer05[2012-10-15 23:19:19] [Whois] greycat ist angemeldet als greycat.00:20
DocScrutinizer05[2012-10-15 23:19:19] [Whois] greycat ist auf dem Server moorcock.freenode.net (Mon Oct 15 21:10:44 2012).00:20
vi__~t-mo00:20
infoboti heard t-mo is T-Mobile00:20
vi__~T-MO00:20
infobotit has been said that t-mo is T-Mobile00:20
vi__lame00:20
DocScrutinizer05vi__: those without #channame are freenode-wide, yes00:20
merlin1991epic quote: you need a certain minimum energy of electrons to strike a metal atom out of crystal, once you cross that limit it goes zooom00:20
vi__DocScrutinizer05: cool00:20
DocScrutinizer05~listkeys #maemo00:21
infobotFactoid search of '#maemo' by key (8): #maemo power ;; #maemo multinoot #DEL# ;; #maemo #DEL# ;; #maemo omp ;; #maemo multiboot ;; chan #maemo #DEL# ;; #maemo closed_packages ;; #maemo-ssu ot.00:21
DocScrutinizer05~power00:21
infobotmethinks power is http://wiki.maemo.org/N900_Hardware_Power_Consumption00:21
DocScrutinizer05~_default power00:21
infobotmethinks power is VI(electric potential difference)X(current) otherwise known as VIm00:21
vi__~seen U P00:21
DocScrutinizer05~chanset #maemo00:21
infobotvi__: i haven't seen 'u p'00:21
infobotchan: #maemo (see _default also)00:21
infobot OnJoin => 1, _time_added => 1179878166, autojoin => infobot, factoidSearch => $chan _default00:21
vi__DocScrutinizer05: that makes little sense.00:22
DocScrutinizer05??00:22
DocScrutinizer05factoidSearch => $chan _default00:22
DocScrutinizer05first search "$chan power" then "_default power"00:22
vi__no00:23
DocScrutinizer05~factinfo power00:23
infobotpower -- last modified at Tue Sep 25 17:51:32 2007 by findlay-w!n=justin@gocastlerock.com; it has been requested 9 times, last by DocScrutinizer05, 1m 36s ago.00:23
vi__~_defaultpower00:23
DocScrutinizer05~factinfo #maemo power00:23
infobot#maemo power -- created by DocScrutinizer <~halley@openmoko/engineers/joerg> at Sat May 21 19:09:22 2011 (513 days); it has been requested 5 times, last by DocScrutinizer05, 2m ago.00:23
vi__~_default power00:23
infobotmethinks power is VI(electric potential difference)X(current) otherwise known as VIm00:23
DocScrutinizer05in e.g #bash you will get same for plain ~power00:23
vi__~seen over 9000 penises.00:24
DocScrutinizer05since:00:24
infobotvi__: i haven't seen 'over 9000 penises.'00:24
DocScrutinizer05~chanset #bash00:24
infobotchan: #bash (see _default also)00:24
plourdeawesome guys thanks! it created a menu for everything it looks like, maemo booted first boot perfect00:24
DocScrutinizer05duh00:24
DocScrutinizer05ok, bot isn't in #bash00:24
DocScrutinizer05you get what I meant00:24
vi__yeh00:24
vi__~seen diehard00:25
infobotdiehard <~falco@132-215.prozeta.net> was last seen on IRC in channel #debian, 194d 23h 11m 46s ago, saying: 'Q: deb 6. BCM5722 Gigabit Ethernet - eth0 properly configured, internet reachable, but server is not reachable from local subnets. ping works, telnet also, but cant open web or ssh .. anyone?'.00:25
DocScrutinizer05so, if you wanna define a factoid that's pretty chan specific, do so like "~#maemo <factoid> is foobar blabla00:25
vi__ok00:26
vi__I useually get spanked for breaking factoids though.00:26
vi__~vi_kbd00:26
vi__~vikbd00:26
vi__~vi-kbd00:26
infobotvi-kbd is probably http://wiki.maemo.org/Remapping_keyboard/user_vis_awesome_kbdmapping00:26
vi__booyah!00:26
DocScrutinizer05you won't break the original factoid that way, that's the whole point of the thing00:26
plourdemaemo boots but nothing else due to i had other menuentries in it before that didnt work, need to be edited i guess00:27
DocScrutinizer05:nod:00:27
*** vi__ has quit IRC00:28
DocScrutinizer05or you go the route of real men and edit the original bootmenu.src in MyDocs00:28
plourdei would love to learn how :)00:28
plourdedo i remove all the bad entries from the bootmenu folder that do not work00:28
merlin1991just look at it, it sucks ass but is readable :D00:28
DocScrutinizer05like explained for any uBoot on this world, since 10 years00:28
plourdenever used uboot till recently00:29
DocScrutinizer05you said you grok grub00:29
plourdethis must be painful for you guys, im sorry00:29
DocScrutinizer05nah00:29
DocScrutinizer05in fact it teaches us a lesson00:29
merlin1991DocScrutinizer05 loves a chacne to rant about $random bad software design decisions :D00:30
plourdeive used grub before, not great with it, not sure how to figure out partitions unless fdisk and dont know where to put what to make this boot lol00:30
DocScrutinizer05indeed00:30
DocScrutinizer05:-D00:30
DocScrutinizer05I guess there's a rather decent uboot wiki and howto on uboot homepage00:30
merlin1991rofl00:31
plourdeive opened the bootmenu.scr on mydocs00:31
DocScrutinizer05you for sure can spot the defect entries and just kick them out00:31
plourdeusing notes and its rough to look at lol00:31
DocScrutinizer05duh, you're working on device?00:32
plourdeshould i drag to a computer?00:32
plourdeim sorry im just pretty stupid haha00:32
DocScrutinizer05I'm using a ssh login for such stuff00:32
*** trx has quit IRC00:32
plourdeok00:33
plourdei feel so stupid right now00:33
DocScrutinizer05I'd not bother to edit bootmenu.src on N900, with the small screen and no mouse and all00:33
DocScrutinizer05don't feel stupid! you're actually rather smart to ask here and figure what's the problem00:33
DocScrutinizer05and you tried on your own before you asked here, hackers love to help those who demonstrate an intention to solve problems00:34
DocScrutinizer05but if you don't feel comfortable with bootmenu.src, just follow the instructions again. Odds are this time they work as written00:36
plourdei dont know how to make the entries make sense is the problem, im deleting some of the entries that dont work, after its done do i need to update anything or no00:36
DocScrutinizer05it all just failed because of your hw-rev, not because you didn't understand it00:36
*** lizardo has quit IRC00:36
Gh0stydon't do it!00:36
Gh0styodds are it might end the world as we know it! :p00:37
*** trx has joined #maemo00:37
*** XenGi has joined #maemo00:38
DocScrutinizer05if you're editing in /bootmenu (like everybody suggests in the forum) then yes, you need to run update-uboot-foo after that00:38
DocScrutinizer05ask merlin199100:38
plourdeim editing in mydocs .scr00:39
DocScrutinizer05I'm afk00:39
DocScrutinizer05bbl00:39
plourdebootmenu.scr00:39
DocScrutinizer05aaah, that has immediate effect00:39
DocScrutinizer05uBoot reading this file on every boot00:39
DocScrutinizer05it's basically a script with uboot commands, iirc00:40
DocScrutinizer05much like a shellscript00:40
DocScrutinizer05in this script there are some "env" set, for loading the kernel, the rootfs etc00:41
DocScrutinizer05cya00:42
plourdeafter removing some of the old menu entries, it now just shows the menu like after installing uboot by pali, boot attached, boot emmc ect, no menu entries00:44
DocScrutinizer05sounds like a first success story00:45
plourdenow i need to figure out menu entries, here is where im lost00:48
*** MrPingu has quit IRC00:54
*** Pali has quit IRC00:56
*** plourde_ has joined #maemo00:58
plourde_got bounced out00:58
*** FIQ|n900 has joined #maemo00:58
*** eMHa_ has joined #maemo00:59
*** trx has quit IRC01:02
*** eijk_ has quit IRC01:09
*** janemba has joined #maemo01:10
*** ZogG_laptop has joined #maemo01:12
*** janemba_ has quit IRC01:13
*** rm_work has quit IRC01:26
*** OkropNick has quit IRC01:27
*** setanta has quit IRC01:27
*** Milhouse has quit IRC01:27
*** Milhouse has joined #maemo01:28
*** rcg has quit IRC01:29
*** jhb has quit IRC01:38
*** robink has quit IRC01:38
*** XenGi has quit IRC01:43
*** tg has quit IRC01:44
*** tg has joined #maemo01:46
*** robink has joined #maemo01:49
*** trx has joined #maemo01:50
*** XenGi has joined #maemo02:02
*** kaziklubey has joined #maemo02:20
*** muelli has joined #maemo02:22
*** mvp_ has quit IRC02:23
*** trx has quit IRC02:25
*** florian has quit IRC02:26
*** plourde has quit IRC02:28
*** plourde_ has quit IRC02:30
*** trx has joined #maemo02:30
DocScrutinizer05meh, he's gone02:37
*** M4rtinK has quit IRC02:37
DocScrutinizer05so I won't bother to write up a "how to edit bootmenu.src in MyDocs"02:38
DocScrutinizer05plourde: if you read chanlog, please pastebin your (original, favourably) bootmenu.src in MyDocs02:40
DocScrutinizer05or anybody else, for that purpose02:40
DocScrutinizer05it's no rocket science, just a tad awkward. No problem to add "menu" entries for other boot options02:41
DocScrutinizer05you need to create an alias 2cmd" for 1, 2, 3, 4... You need to echo that option to screen (or not). And you need to assign the right env vars the right values, when user is selecting "2"02:44
DocScrutinizer05s/2c/"c/02:44
infobotDocScrutinizer05 meant: you need to create an alias "cmd" for 1, 2, 3, 4... You need to echo that option to screen (or not). And you need to assign the right env vars the right values, when user is selecting "2"02:44
*** Hurrian_ has joined #maemo02:45
DocScrutinizer05really nuttin like rocket science02:46
DocScrutinizer05even better: you can test all that stuff interactively, since when uBoot offers you to enter 1 2 3 or 4, it actually does what a shellscript would do. you can test the commands resulting from "2" by doing them directly in console02:48
*** ArGGu^^ has joined #maemo02:52
*** XenGi has quit IRC02:53
DocScrutinizer05IOW if uboot tells you: >>your options are "1" "2" "3"...<< you still can do e.g. a `date` or `ls`02:53
*** andre__ has quit IRC02:55
*** HRH_H_Crab has quit IRC02:59
DocScrutinizer05unless some "crack" "fixed" that03:02
FIQ|n900i wouldn't call it a problem really03:02
*** louisdk has quit IRC03:03
DocScrutinizer05the basic working principle stays: uBoot executes a script: bootmenu.src in MyDocs03:03
DocScrutinizer05FIQ|n900: problem?03:03
FIQ|n900i.e. this: [01:52:16] <DocScrutinizer05> IOW if uboot tells you: >>your options are "1" "2" "3"...<< you still can do e.g. a `date` or `ls`03:04
* DocScrutinizer05 types ^F probl<enter>03:04
*** robbiethe1st has joined #maemo03:04
FIQ|n900i don't see why you would fix so you can't do that03:05
DocScrutinizer05FIQ|n900: I fail to spot the word "problem2"in here03:05
FIQ|n900oh.. forget it03:05
FIQ|n900it wasn't important03:06
DocScrutinizer05FIQ|n900: my parser fails to put the rsults of your posts into context03:06
FIQ|n900i said forget it03:06
FIQ|n900now to find out why gpSP refuses to save in 128k flash format...03:07
DocScrutinizer05o.O03:07
DocScrutinizer05parser fails again03:07
*** andre__ has joined #maemo03:07
DocScrutinizer05~wtf gpSP03:08
infobotGee...  I don't know what gpSP means...03:08
FIQ|n900because I don't like errors that complain on any 1M sub-circuit board03:08
FIQ|n900DocScrutinizer05: gba emulator03:08
DocScrutinizer05~wtf gba03:08
infobotGee...  I don't know what gba means...03:08
FIQ|n900DocScrutinizer05: gameboy advance emulator03:08
DocScrutinizer05oooh03:09
DocScrutinizer05nfc03:09
DocScrutinizer05goooodN803:09
FIQ|n900gn03:09
*** HRH_H_Crab has joined #maemo03:11
*** guampa has joined #maemo03:20
*** sirdancealot4 has quit IRC04:00
*** sleepee has joined #maemo04:09
*** hardaker has quit IRC04:16
*** dafox has quit IRC04:25
*** muelli has quit IRC04:46
*** sleepee has quit IRC04:53
*** nox- has quit IRC04:56
*** int_ua has quit IRC04:56
*** uen| has joined #maemo05:07
*** uen has quit IRC05:09
*** uen| is now known as uen05:09
*** erstazi_ has joined #maemo05:15
*** erstazi_ has quit IRC05:15
*** erstazi_ has joined #maemo05:15
*** erstazi has quit IRC05:16
*** erstazi_ is now known as erstazi05:16
*** radic has quit IRC05:22
*** FIQ|n900 has quit IRC05:25
*** radic has joined #maemo05:38
*** fredrin has quit IRC05:40
*** robink has quit IRC05:43
*** guampa has quit IRC05:44
*** guampa has joined #maemo05:51
*** robink has joined #maemo05:54
*** robbiethe1st has quit IRC06:02
*** DocScrutinizer05 has quit IRC06:04
*** DocScrutinizer05 has joined #maemo06:04
*** schen has joined #maemo06:39
*** guampa has quit IRC06:41
*** MacDrunk has joined #maemo06:48
*** MacDrunk has left #maemo06:50
*** sirdancealot7 has quit IRC06:56
*** kgu has quit IRC06:59
*** kgu has joined #maemo07:05
*** goldkatze has quit IRC07:06
*** Snafu777 has joined #maemo07:55
*** sunny_s has joined #maemo08:07
*** madduck has left #maemo08:07
*** laxsill has joined #maemo08:07
*** sunny_s has quit IRC08:09
*** Pali has joined #maemo08:49
*** VDVsx has joined #maemo08:58
*** rcg has joined #maemo08:59
*** OkropNick has joined #maemo09:06
*** Pali has quit IRC09:07
*** ced117[-] has joined #maemo09:13
*** ced117[-] has quit IRC09:13
*** ced117[-] has joined #maemo09:13
*** foemost has joined #maemo09:22
foemosthello09:22
foemostI have a small problem booting maemo using u-boot09:22
foemostmainly it loads the kernel but then it hangs at starting kernel... and reboots09:22
foemostthe only way to have it working again is to reflash the stock kernel09:23
foemostI'm not booting power kernels, just the stock, and uboot does work for booting nitdroid09:23
foemostany ideas?09:23
foemosti looked on the forums at maemo.org but I couldn't find a similar problem, just an hint to sdl modules from n9 that might give problems, but i didn't install anything like that09:24
Snafu777anyone get ngrep working for the n900?09:24
Snafu777??09:24
*** dima` has joined #maemo09:25
dima`/?09:25
*** dima` has left #maemo09:25
*** dima` has joined #maemo09:25
*** eMHa_ has quit IRC09:33
*** Zahra has joined #maemo09:35
*** sirdancealot7 has joined #maemo09:40
*** Hurrian_ has quit IRC09:41
*** ZogG_laptop has quit IRC09:41
*** laxsill has quit IRC09:46
*** foemost has quit IRC09:46
*** xorxnor has left #maemo09:49
*** Jade has quit IRC09:49
*** Jade has joined #maemo09:50
*** Jade has quit IRC09:50
*** Jade has joined #maemo09:50
*** sirdancealot7 has quit IRC09:57
*** eijk has joined #maemo09:58
*** geaaru has joined #maemo10:01
*** otep has quit IRC10:11
*** murrayc has joined #maemo10:14
*** eMHa_ has joined #maemo10:14
*** edheldil has joined #maemo10:16
*** mvp_ has joined #maemo10:18
*** rcg has quit IRC10:22
*** laxsill has joined #maemo10:23
*** sasquatch has quit IRC10:29
*** sasquatch has joined #maemo10:29
*** Snafu777 has quit IRC10:38
*** rcg-work has joined #maemo10:39
*** timeless_ has joined #maemo10:50
*** timeless has quit IRC10:51
*** timeless_ is now known as timeless10:51
*** valeriusM has quit IRC10:51
*** ced117[-] has quit IRC10:52
*** florian_kc has joined #maemo10:52
*** florian_kc has joined #maemo10:52
*** florian_kc is now known as florian10:52
*** muelli has joined #maemo11:08
*** valeriusM has joined #maemo11:09
*** joga has quit IRC11:15
*** joga has joined #maemo11:18
*** AD-N770 has joined #maemo11:18
*** Darkchaos has joined #maemo11:19
*** sirdancealot7 has joined #maemo11:23
*** _berto_ has joined #maemo11:26
*** calvaris has joined #maemo11:29
*** dima` has quit IRC11:32
*** stardiviner has joined #maemo11:33
*** arno0ob has joined #maemo11:37
*** valeriusM has quit IRC11:42
*** Darkchaos has quit IRC11:47
*** jhb has joined #maemo11:53
*** jhb has quit IRC11:56
*** qwazix has joined #maemo11:58
*** valeriusM has joined #maemo12:04
*** jhb has joined #maemo12:11
*** olebrom has joined #maemo12:13
*** sirdancealot4 has joined #maemo12:16
*** thetet has joined #maemo12:17
*** jhb has quit IRC12:19
*** iDont has joined #maemo12:23
*** thomasvs has quit IRC12:26
*** thomasvs has joined #maemo12:27
*** thomasvs has joined #maemo12:27
*** croppa has joined #maemo12:31
*** thomasvs has quit IRC12:32
*** thomasvs has joined #maemo12:33
*** thomasvs has joined #maemo12:33
*** M4rtinK has joined #maemo12:33
*** _berto_ has quit IRC12:38
*** thomasvs has quit IRC12:42
*** thomasvs has joined #maemo12:42
*** thomasvs has joined #maemo12:42
*** thomasvs has quit IRC12:51
*** thomasvs has joined #maemo12:51
*** thomasvs has joined #maemo12:51
*** dhbiker has quit IRC12:52
*** iDont has quit IRC12:54
*** iDont has joined #maemo12:59
*** dhbiker has joined #maemo13:00
*** thomasvs has quit IRC13:00
*** thomasvs has joined #maemo13:00
*** thomasvs has joined #maemo13:00
*** laxsill has quit IRC13:08
*** Hurrian_ has joined #maemo13:08
*** Hurrian has quit IRC13:08
*** Hurrian_ is now known as Hurrian13:08
*** thomasvs has quit IRC13:10
*** thomasvs has joined #maemo13:10
*** thomasvs has joined #maemo13:10
*** akls has joined #maemo13:13
aklson the wiki it says " Ensure the battery is fully charged. Connect to charger until green light when screen locked!" but why? reflashing takes just some minutes and even 25% of battery is going to be enough13:14
SpeedEvilfully chaeged'ia perhaps overkill13:17
*** thomasvs has quit IRC13:19
*** thomasvs has joined #maemo13:19
*** thomasvs has joined #maemo13:19
*** valeriusL has joined #maemo13:22
*** Zahra has quit IRC13:22
*** thomasvs has quit IRC13:24
*** thomasvs has joined #maemo13:25
*** thomasvs has joined #maemo13:25
Lava_Crofthalf charged is overkill too13:26
StyXmanwell, that is if everything went ok, if not, you'll need your battery13:28
SpeedEvilindeed13:28
* Lava_Croft eyes his stack of BL-5J's13:29
*** croppa has quit IRC13:29
Lava_Croftone day shit will hit the fan. After a week, I will be the only human in a wide radius with a working smartphone-ish device13:29
*** laxsill has joined #maemo13:30
SpeedEvilwithout power, my minimal load condition gets about 10 days tablet +dsl13:34
Lava_Crofti stream audio quite a lot, every day :<13:34
SpeedEvilbut I can in an emergency hook the couple of solar panels I have up to the ups, and boost that to a point where it will work for most days in the year13:35
*** jester` has joined #maemo13:48
*** thetet has quit IRC13:59
*** e-yes has joined #maemo14:02
*** maybeArgh has joined #maemo14:05
*** FlameReaper has joined #maemo14:08
*** maybeWTF has quit IRC14:08
*** olebrom has quit IRC14:08
*** olebrom has joined #maemo14:09
*** olebrom has quit IRC14:13
*** olebrom has joined #maemo14:14
*** laxsill has quit IRC14:23
*** guly has quit IRC14:26
*** guly has joined #maemo14:33
*** akls has quit IRC14:35
*** FlameReaper has quit IRC14:37
*** lbt is now known as lbt_away14:42
*** valeriusN has left #maemo14:58
*** guampa has joined #maemo14:58
*** valeriusN has joined #maemo14:58
*** lardman has quit IRC15:01
*** kgu has quit IRC15:02
*** laptop3982 has joined #maemo15:02
laptop3982SpeedEvil, do you have a local mirror of maemo repository for your survival phone?15:03
*** etrunko has quit IRC15:06
*** lardman has joined #maemo15:09
*** lardman has joined #maemo15:09
*** laptop3982 has quit IRC15:10
*** lizardo has joined #maemo15:10
*** Hurrian has quit IRC15:11
*** xmlich02 has joined #maemo15:23
*** murrayc has quit IRC15:24
*** Pali has joined #maemo15:34
*** akls has joined #maemo15:39
aklsI can't get dropn900 to work. I enter my email and my password and it says "email and/or password invalid". I'm 100% sure about my pass. What could be wrong?15:40
Arkenoiyou enabled 2fa and forgot about that?15:45
*** fredrin has joined #maemo15:45
aklsArkenoi, 2fa? on dropbox?15:47
aklsnope15:47
aklsI can login using the browser easily15:47
Skrythere was something you needed to besides installing it, cant remember what but it's on tmo thread15:51
Skryto do15:51
SpeedEvillap - no, that's with internet connectivity15:52
*** hardaker has joined #maemo15:57
aklsSkry, it says that I shouldn't install anything15:58
aklssays thats installing dropn900 is all I have to do15:58
*** Hoolxi has joined #maemo15:59
*** hardaker has quit IRC16:02
*** hardaker has joined #maemo16:03
*** setanta has joined #maemo16:03
aklsanybody? :\16:03
*** _berto_ has joined #maemo16:04
*** dafox has joined #maemo16:04
*** Wizzup has quit IRC16:11
aklsoh come on! I really need it!16:20
aklshow can I get more information about it?16:21
aklsand should I try reinstalling it?16:21
*** Wizzup has joined #maemo16:23
teotwakiwould mirroring the maemo repos be of any use?16:23
teotwakiAre there rsync addresses available?16:23
Skryakls: http://talk.maemo.org/showpost.php?p=1162398&postcount=41716:33
*** VDVsx has quit IRC16:40
*** stardiviner has quit IRC16:44
*** spoofy has quit IRC16:49
*** laxsill has joined #maemo16:50
*** Hoolxi has quit IRC16:53
aklsSkry!!!16:53
aklsSkry you're my savior :)16:53
aklsthank you16:53
*** penguinbait has joined #maemo16:56
*** penguinbait has joined #maemo16:56
Skryakls: np16:57
*** chenca has joined #maemo17:06
*** teotwaki has quit IRC17:11
*** Wizzup_ has joined #maemo17:16
*** Wizzup has quit IRC17:16
*** Zahra has joined #maemo17:18
*** FlameReaper has joined #maemo17:40
*** valeriusM has quit IRC17:42
*** valeriusL has quit IRC17:42
*** valeriusL has joined #maemo17:42
*** valeriusL has quit IRC17:43
*** valeriusL has joined #maemo17:43
*** eMHa_ has quit IRC17:47
*** ToJa92 has quit IRC18:03
*** geaaru has quit IRC18:04
*** ToJa92 has joined #maemo18:04
*** valeriusM has joined #maemo18:05
*** pcfe` has joined #maemo18:05
*** pcfe` has quit IRC18:05
*** pcfe` has joined #maemo18:05
*** xmlich02 has quit IRC18:07
*** konelix has joined #maemo18:07
*** pcfe has quit IRC18:08
*** ludens has quit IRC18:12
*** ludens has joined #maemo18:14
*** Smily has joined #maemo18:21
*** Guest81887 has quit IRC18:24
*** muelli has quit IRC18:26
*** konelix has quit IRC18:32
*** sirdancealot4 has quit IRC18:36
*** jhb has joined #maemo18:37
*** e-yes has quit IRC18:37
*** kama has joined #maemo18:38
*** kama is now known as faust18:39
*** faust has quit IRC18:41
*** NIN101 has joined #maemo18:42
*** robink has quit IRC18:43
*** eMHa_ has joined #maemo18:53
*** robink has joined #maemo18:54
*** ced117 has joined #maemo18:56
*** ced117 has quit IRC18:56
*** ced117 has joined #maemo18:56
freemangordonPali: I am not sure my mail has reached the guy who is assessing u-boot patch, I don;t see any comment from him re thumb errata code18:58
Palifreemangordon, ok I can ask19:00
*** lxp has joined #maemo19:09
*** rcg-work has quit IRC19:19
freemangordonPali: BTW your "high-endian" :P could be soved with something like le_to_cpu (or similar)19:24
*** etrunko has joined #maemo19:28
*** otep has joined #maemo19:28
Palibig-endian :-) but there is no problem. 16bit value is devided into two 8 bit and called in correct order19:29
Paliit is working19:30
*** spoofy has joined #maemo19:34
Palibtw, your message is here: http://lists.denx.de/pipermail/u-boot/2012-October/137308.html19:38
*** arno0ob has quit IRC19:39
freemangordon:)19:50
freemangordonPali: sure it is working, but I must admit I agree wioth that guy. can't you just 'OR' theam and do one 16 bit write to the register?19:51
PaliI really do not know. I reused linux driver19:52
freemangordonhmm, lemme open the TRM19:52
Paliand I see that in linux kernel and in uboot are used only 8bit i2c read/write functions19:53
keriofreemangordon: btw, why is thumb2 faster? just because of cache issues?19:55
freemangordonkerio: not only that, it has a couple of instructions not present in ARM19:56
kerioi thought ARM was supposed to be better19:57
freemangordonkerio: no19:57
*** AD-N770 has quit IRC20:00
freemangordonPali: hmm, by looking in TRM 16bit write is possible20:00
freemangordonPali: do yo have swcu050g.pdf20:00
freemangordon*you20:00
Palispruf98v.pdf20:01
freemangordon"The register-addressing scheme in the device allows the capability to write to or read from multiple  adjacent registers with simplified I2C signaling.20:01
freemangordon"20:01
freemangordonno, not cortex TRM, you need twl4030 TRM AIUI20:01
Palithis? http://www.ti.com/lit/ug/swcu050g/swcu050g.pdf20:01
freemangordonyep20:02
*** rcg has joined #maemo20:02
freemangordonPali: btw the correct TRM for n900 is "OMAP34xx_ES3.1.x_PUBLIC_TRM_vZM.pdf"20:02
freemangordon:P20:02
*** dhbiker has quit IRC20:02
Palican you give me link?20:02
freemangordonNFC where I did get that from, lemme google20:03
freemangordonhttp://focus.ti.com/pdfs/wtbu/OMAP34xx_ES3.1.x_PUBLIC_TRM_vZM.zip20:03
freemangordonmaybe there is newer version, didn't check20:04
*** Chiku|dc has quit IRC20:04
Palihm, In notebook I have OMAP34xx_ES3.1.x_PUBLIC_TRM_vZT.pdf20:05
Paliand your link is M (my T)20:05
Paliit is new version?20:05
Palior other version?20:06
freemangordondon;t know, seems like yours is newer20:06
freemangordonmine is "Version M"20:06
freemangordon"July 2007–Revised February 2011"20:06
*** laxsill has quit IRC20:06
freemangordonanyway, where in that TRM is "TWL4030_CHIP_PM_MASTER"20:07
PaliJuly 2007 – Revised January 201220:07
freemangordonI don;t think there is such, so which section describes i2c addressing modes?20:08
freemangordonhmm, link? :P20:08
entitledis there any reason why not use thumb2?20:08
Paliit is #define in linux kernel20:09
Palitwlsomething.h maybe in i2c subdir20:09
freemangordonPali: or just send it over IRC (if your client supports file transfers)20:09
Palior devifine in uboot20:09
freemangordonPali: but still, this is twl... TRM, not omap20:09
Palibut in TRM there is no TWL4030_CHIP_PM_MASTER20:09
freemangordonPali: look on p80 in swcu050g.pdf20:11
freemangordonentitled: depends20:11
freemangordonon what you want to use it for :P20:11
entitledwell mainly i'm puzzled about the compatibility20:12
freemangordonPali: on p81 are PB_WORD_MSB/LSB regs20:12
freemangordonentitled: compatibility with what?20:12
entitledwell with non-thumb2 builds20:13
freemangordonfor sure you MUST NOT use kernel which does not support it20:13
freemangordonbut otherwise there is no issue20:13
kerio~211920:13
infobotThe key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED",  "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.20:13
freemangordonhehe20:14
freemangordonPali: so if there is 16 bit i2c access in uboot, you should be ok20:14
*** jhb has quit IRC20:14
freemangordonjust use cpu_to_be and you should be fine20:15
*** calvaris has quit IRC20:15
freemangordonPali: __cpu_to_be16 is your functio, NFC if it exisis in u-boot20:17
*** luf has joined #maemo20:17
*** luf has left #maemo20:18
*** valeriusM has quit IRC20:18
freemangordonPali: http://git.denx.de/?p=u-boot.git;a=blob;f=include/linux/byteorder/little_endian.h;h=a46f3ecc12acf6cd532ee6424812861bdf1c5e95;hb=HEAD#l4020:18
freemangordonhmm, actually it is little-endian20:19
*** rm_work has joined #maemo20:20
freemangordonaccording to TRM, so __cpu_to_le16 is what you need20:20
*** SpeedEvil has quit IRC20:22
*** SpeedEvil has joined #maemo20:22
*** akls has quit IRC20:22
freemangordonPali: look here http://git.denx.de/?p=u-boot.git;a=blob;f=include/twl4030.h;h=9cd32ab45a15dcc61ce537bf3316fd45dabd2b81;hb=HEAD#l49920:26
freemangordonhttp://git.denx.de/?p=u-boot.git;a=blob;f=include/i2c.h;h=16f099d2eeb906588a0f9233a42fb8b9a9847ef4;hb=HEAD#l15620:28
freemangordontoo20:28
*** shanttu has joined #maemo20:32
*** konelix has joined #maemo20:32
*** Woody14619a has joined #maemo20:34
*** Woody14619a has joined #maemo20:34
*** laptop3982 has joined #maemo20:36
laptop3982the latest seems to be http://www.ti.com/pdfs/wtbu/OMAP34xx_ES3.1.x_PUBLIC_TRM_vZV.zip20:36
*** laptop3982 has quit IRC20:36
*** Woody14619 has quit IRC20:37
freemangordonPali: well, sorry, it is big-endian after all, so you should do something like :20:39
freemangordonu16 msg = __cpu_to_be16(MSG_SINGULAR(DEV_GRP_P1, id, mode));20:39
freemangordoni2c_write(TWL4030_CHIP_PM_MASTER, TWL4030_PM_MASTER_PB_WORD_MSB, 1, &msg, sizeof(msg));20:39
*** FlameReaper has quit IRC20:40
*** Woody14619a has quit IRC20:40
*** valeriusM has joined #maemo20:43
*** Woody14619 has joined #maemo20:44
*** Woody14619 has quit IRC20:44
*** Woody14619 has joined #maemo20:44
*** toxaris has joined #maemo20:46
*** jon_y has quit IRC20:47
*** valeriusN has left #maemo20:51
*** valeriusN has joined #maemo20:51
*** OkropNick has quit IRC20:57
*** valeriusM has quit IRC20:58
*** olebrom has quit IRC21:06
*** akls has joined #maemo21:08
aklsso how can I install firefox? Links are not working! http://wiki.maemo.org/Firefox_mobile21:08
*** hardaker has quit IRC21:09
*** florian has quit IRC21:12
*** e-yes has joined #maemo21:20
*** valeriusM has joined #maemo21:23
*** sirdancealot7 has quit IRC21:24
*** alehorst has quit IRC21:25
aklsALRIGHT21:26
aklsso I was trying to replace ash with bash21:27
aklsI've edited the /etc/passwd file and changed /bin/sh to /bin/bash21:27
aklsbut I have bash 4 installed21:27
aklsso the path should be /bin/bash421:28
aklsbut now I can't change it :\21:28
aklswhat can I do?21:28
DocScrutinizer05*sigh* http://focus.ti.com/pdfs/wtbu/OMAP34xx_ES3.1.x_PUBLIC_TRM_vZM.zip p.2956 1-wire/HDQ  --  if only Nokia was smart enough to copy smart battery of FR (they copied a few other things, so why not this?)21:28
*** konelix has quit IRC21:29
*** _berto_ has quit IRC21:29
*** konelix has joined #maemo21:30
*** dhbiker has joined #maemo21:31
DocScrutinizer05akls: it's not recommended to replace default shell messybox by bash21:33
aklswhy?21:33
DocScrutinizer05in former times it caused a bootloop (when done correctly(SIC), by also adding bash to /etc/shells etc)21:33
aklsSo what do yo suggest?21:34
DocScrutinizer05initscripts and xsession et all may depend on messyboxisms21:34
aklsTo continue vomiting every time I see this damn shell?21:34
aklswell, I'm not completely replacing it21:35
aklsonly for user and root in /etc/passwd21:35
DocScrutinizer05nah, I have bash installed but not as default shell21:35
DocScrutinizer05~jrtools21:35
infobotwell, jrtools is http://wiki.maemo.org/User:Joerg_rw/tools21:35
DocScrutinizer05btw bash is only half of the cake, all the messybox unixtools crap needs proper replacements too, otherwise you still see messybox shit on e.g. `ls --help` and you still have to vomit ;-D21:36
*** Do-m-pie has joined #maemo21:39
DocScrutinizer05akls: the bootloop been caused by *user* doing X aka HildonDesktop startup, when some of the scripts barfed up on proper ps/ls/grep/$command21:39
aklsanyway, how can I fix my n900 now?21:40
aklsit's up and running, but I can't get to x terminal now21:40
aklshow can I edit /etc/passwd now?21:40
*** Dibblah has quit IRC21:41
kerioakls: lol!21:41
*** Dibblah has joined #maemo21:41
keriohm, why do i have bash3 and not bash4? :o21:42
DocScrutinizer05many users forgot to define bash in /etc/shells21:42
keriobash-setup does that for you :321:42
DocScrutinizer05man setusershell21:42
aklshey, really21:43
kerioakls: try ssh21:43
DocScrutinizer05so they wonder why they still get messybox21:43
keriomaybe sshd is less archaic21:43
*** dhbiker has quit IRC21:43
aklskerio, good idea21:43
kerioDocScrutinizer05: the result isn't messybox, the result is that you're unable to login21:43
DocScrutinizer05yeah21:43
aklskerio, is dropbear ssh server ok?21:44
keriowhy the fuck did you install dropbear21:44
kerioit's a piece of crap21:45
DocScrutinizer05akls: you might be able to use mc or even filemanager to fix things, too21:45
aklsI didn't21:45
aklskerio, I'm just looking for something to make ssh work21:45
*** alehorst has joined #maemo21:45
keriooh, you still have to install it21:45
kerioopenssh21:45
*** dhbiker has joined #maemo21:45
aklsit's not in the app manager :o21:45
DocScrutinizer05it is, when you add the right repo21:45
kerioakls: or make a package that has "chsh user /bin/sh" in one of the install scripts21:46
aklsOH21:46
aklsit's there21:46
DocScrutinizer05~jrtools21:46
infobotfrom memory, jrtools is http://wiki.maemo.org/User:Joerg_rw/tools21:46
DocScrutinizer05http://maemo.cloud-7.de/repositories.install21:47
*** khertan has quit IRC21:49
*** sq-one has joined #maemo21:51
aklskerio, how can I ssh to it now? I mean... which user should I use?21:51
kerio"user"21:52
aklsPermission denied, please try again21:52
keriodidn't it make you set a password?21:53
kerioor maybe just for "root"21:53
keriologin as root21:53
aklsit asked me for the password21:53
aklsbut somehow it does not accept it21:53
aklsmaybe I've typed it wrong both times? O_o21:54
*** mvp_ has quit IRC21:54
*** chenca has quit IRC21:56
*** vi__ has joined #maemo21:57
vi__DocScrutinizer05: ping21:58
vi__DocScrutinizer05: did you ever find a good sized 5.5v 1F cap to replace the internal battery?21:59
DocScrutinizer05nope21:59
DocScrutinizer05kerio: don't you think ssh also invokes a shell for user?22:00
aklsthat's what I thought about22:00
kerioDocScrutinizer05: yeah but i think openssh doesn't use login22:00
kerioas in, the "login" binary22:00
kerioit does its own thing22:00
*** konelix has quit IRC22:00
kerioalso, i said to *try*22:01
*** konelix has joined #maemo22:01
kerioakls: what did you do, did you actually change /bin/sh or did you just set the shell for user?22:01
aklskerio, I've changed /etc/passwd file22:01
aklskerio, replaced the /bin/sh to /bin/bash for root and user22:01
kerioif openssh doesn't work, you're probably boned22:02
vi__kerio: google 'birds with arms'22:02
*** khertan has joined #maemo22:02
aklskerio, I can install any app22:02
keriovi__: WHY IS THIS A THING22:02
DocScrutinizer05kerio:22:02
DocScrutinizer05    1   706 root      20   0 S - - -  0:00.12  0.0  0.3  `- /usr/sbin/sshd -D22:02
DocScrutinizer05  706  5036 root      20   0 S - - -  0:00.43  0.0  0.8  |   `- sshd: root@pts/022:02
aklskerio, is there anything to change /etc/passwd file?22:02
DocScrutinizer05 5036  5040 root      20   0 S - - -  0:00.03  0.0  0.3  |       `- -sh22:02
kerioDocScrutinizer05: don't paste!22:02
vi__kerio: exactly22:02
DocScrutinizer05kerio: see 3rd line22:02
DocScrutinizer05kerio: uh?22:03
kerioDocScrutinizer05: i don't see a "login" there :)22:03
DocScrutinizer05wtf who cares about login22:03
DocScrutinizer05it's sh22:03
kerioit's login that does the stupid check for the login shell in /etc/shells22:03
DocScrutinizer05hmm22:03
* kerio has "/bin/bash" as the login shell for user *and* root, and everything works22:04
aklskerio, oh22:04
aklskerio, but I have bash 4 installed22:04
aklskerio, and it's bash422:04
keriook, whatever22:04
keriojust make sure that your login shell is listed in /etc/shells22:04
DocScrutinizer05akls: try mc!!22:04
aklskerio, if I install bash3, would it be /bin/bash?22:04
aklsor /bin/bash3 ?22:05
kerioakls: i think it would22:05
keriobut don't focus on the specific path22:05
aklsDocScrutinizer05, mc?22:05
kerioDocScrutinizer05: we need a .deb that resets the login shell to /bin/sh22:05
aklsoh, file manager22:05
DocScrutinizer05pfff22:05
DocScrutinizer05akls: mc has mcedit as well22:06
DocScrutinizer05"F4"22:06
kerioDocScrutinizer05: can mc escalate its priviledges?22:06
DocScrutinizer05(if you wonder - F4 can be typed as "esc" "4" )22:06
DocScrutinizer05kerio: good question22:07
keriootherwise... rescueos :D22:07
DocScrutinizer05:-P22:07
aklsPHEWT22:08
DocScrutinizer05classical shoot-in-own-foot, now we need a "vulenrability" to get in despite we locked us out22:10
aklsfixed it by installing bash322:10
keriooh, it was just a wrong shell?22:10
keriothat's even more hilarious22:10
aklskerio, ?22:10
kerioyou put /bin/bash instead of /bin/bash4?22:10
aklskerio, in /etc/passwd I've typed /bin/bash22:10
aklsyes22:10
DocScrutinizer05yeah, iirc bash4 is actually /bin/bash422:11
DocScrutinizer05while bash3 is /bin/bash22:11
aklskerio, now what about /etc/shells?22:12
kerioakls: afaik bash3's packaging adds /bin/bash to it22:13
aklskerio, /bin/bash4 and /bin/sh are already there22:13
keriootherwise... dk22:13
kerioidk22:13
aklskerio, anything I should do with this file?22:13
keriowell, you can't modify it22:13
keriocan you?22:13
DocScrutinizer05cat it, for a start22:13
keriohmm, i wonder if mc can run arbitrary binaries22:13
aklsI can, why not?22:13
DocScrutinizer05if it's even there22:13
keriolike "/bin/bash"22:13
akls/bin/bash422:14
akls/bin/sh22:14
kerioi mean, does it use exec* or does it use system?22:14
DocScrutinizer05yeah, you should echo /bin/bash >>/etc/shells22:14
DocScrutinizer05but again, it's not recommended22:15
*** peetah has left #maemo22:15
DocScrutinizer05though kerio claims it works now22:15
kerioit's been working since PR1.222:15
DocScrutinizer05it didn't back in PR1.N times, with N<222:16
akls"yeah, you should echo /bin/bash >>/etc/shells" why if I want to use bash4?22:23
aklsand bash 4 is already there somehow22:23
*** _rd has joined #maemo22:25
*** Zahra has quit IRC22:30
*** ZogG has quit IRC22:30
*** ced117 has quit IRC22:32
aklskerio, sudo gainroot open ash shell22:32
aklskerio, how did you fix it?22:32
kerioi didn't have to fix anything, idk22:33
kerioif you used chsh instead of editing /etc/passwd...22:33
aklskerio, can I edit it back and then use chsh?22:33
kerioyou can chsh now22:33
keriodo you have a root shell running?22:33
aklsyes22:34
aklschsh -s /bin/bash4 user && chsh -s /bin/bash4 root22:34
akls?22:34
aklsam I doing it right?22:35
kerioyep22:35
aklsso I open up x terminal ( bash 4 )22:36
aklsthen I type "sudo gainroot"22:36
*** flo_lap has joined #maemo22:36
aklsand now its ash again22:36
akls:\22:36
kerioof course it is22:36
aklsoh22:36
keriogainroot is a fucking abomination22:36
aklssudo root then?22:36
keriojust add an appropriate entry in a file in /etc/sudoers.d/22:36
*** flo_lap is now known as florian22:37
*** NishanthMenon has joined #maemo22:38
aklskerio, did you mean /etc/sudoers? :\22:38
*** thetet has joined #maemo22:40
kerionope!22:40
kerioadd it in a file in /etc/sudoers.d/ and then run update-sudoers22:40
keriootherwise it'll be overwritten as soon as something installs a new file there, in theory22:41
aklshttps://dl.dropbox.com/u/71236259/2012-10-16-224120_960x148_scrot.png22:41
keriosudser and rootsh are both fucking awful22:41
aklslol22:42
keriosure, they're user-friendly22:42
keriobut root access shouldn't be available to users who need user-friendly22:42
*** konelix has quit IRC22:47
aklskerio, got it!22:47
aklsok now22:47
aklsI'll try rebooting...22:47
aklsthanks!22:47
akls:)22:47
DocScrutinizer05sudser is a brainfsck22:47
DocScrutinizer05~jrtools22:48
infobot[jrtools] http://wiki.maemo.org/User:Joerg_rw/tools22:48
DocScrutinizer05I'm not quoting this 3 times now, just for fun22:48
DocScrutinizer05(([2012-10-16 21:47:38] <akls> I'll try rebooting...)) famous last words :-P22:49
*** janemba has quit IRC22:51
DocScrutinizer05IroN900:~# ls -l `which sh`22:51
DocScrutinizer05lrwxrwxrwx 1 root root 7 2012-09-11 15:34 /bin/sh -> busybox22:51
DocScrutinizer05think about that, then ponder if you *really* want to replace messybox by bash4 systemwide22:52
aklsDocScrutinizer05, it worked22:52
DocScrutinizer05"it worked" is irrelevant, "it still works, and I tested every possible case" is a tad more relevant but obviously an inherent lie22:54
aklsand I had to change password again to ssh successfully22:54
kerioDocScrutinizer05: i tested every possible case!22:56
kerioi tested /bin/bash and /bin/BASH22:57
keriothe second one didn't work22:57
*** penguinbait has quit IRC22:58
*** akls has quit IRC22:59
*** etrunko has quit IRC23:00
DocScrutinizer05oooh a joke, dude I'm really sub-par today23:03
DocScrutinizer05anyway, gainroot is not exactly an abomination, it simply is using /bin/sh, see: lrwxrwxrwx 1 root root 7 2012-09-11 15:34 /bin/sh -> busybox23:06
DocScrutinizer05less /usr/sbin/gainroot23:07
kerioDocScrutinizer05: gainroot, according to nokia, is a check for rd-mode and then a root shell23:08
keriorootsh changes that file in a postinstall script, which is *already* a big fucking no23:08
DocScrutinizer05though I admit >>HISTFILE=/root/.ash_history /bin/sh<< is a tad ... silly23:09
keriothere's a proper way to do what rootsh and sudser fail to do23:10
DocScrutinizer05...since it assumes /bin/sh is a synonym for ash23:10
*** chainsawbike has quit IRC23:13
*** chainsawbike has joined #maemo23:15
keriomeh, this kind of thing is a mess on the n900 :s23:15
DocScrutinizer05messybox is a mess23:15
DocScrutinizer05everything else is just a result of that23:16
kerioalso the "single user, single login" thing23:16
keriothat's not necessarily busybox's fault23:16
DocScrutinizer05that's correct23:20
DocScrutinizer05Nokia dropped the ball there, for no good reason23:20
*** sq-one has quit IRC23:21
DocScrutinizer05at least that's my uneducated notion on it23:21
*** eMHa_ has quit IRC23:22
*** eijk_ has joined #maemo23:25
*** eijk has quit IRC23:28
*** MrPingu has joined #maemo23:38
*** ZogG has joined #maemo23:43
*** ZogG has quit IRC23:43
*** ZogG has joined #maemo23:43
*** jas4711 has joined #maemo23:43
*** NIN101 has quit IRC23:46
*** ZogG_laptop has joined #maemo23:46
*** shanttu has quit IRC23:50
*** nox- has joined #maemo23:50
*** _rd has quit IRC23:56
*** ZogG_laptop has quit IRC23:57

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