IRC log of #maemo for Wednesday, 2017-10-18

DocScrutinizer05I didn't look into complete set of sec patches as e.g. found in UBNT updates either00:00
DocScrutinizer05it's not just wpa-supplicant response#3 0 key. There are more CVE to fix00:01
DocScrutinizer05just ^^^ is the worst one00:01
DocScrutinizer05posting old shite, but one out of 200 may have missed it:  https://www.krackattacks.com/  https://papers.mathyvanhoef.com/ccs2017.pdf00:02
*** cyberlyra has joined #maemo00:07
*** drathir has quit IRC00:08
*** pkill9 has joined #maemo00:10
DocScrutinizer05rhombus: a few notes on another topic: USB charger voltage between 4.75V and 6V is fine. Often chargers use ~5.3V to compensate for voltage drop on cable00:10
pkill9has anyone installed slackware ARM onto nokia n900 and/or anyone know of a guide to do so?00:10
DocScrutinizer05rhombus: charger should be capable of at least 800mA00:11
rhombusDocScrutinizer05: Ah, thanks00:11
DocScrutinizer05rhombus: the Nokia barrel->usb adapter is *deprecated*, it's dangerous, starts a fire sometimes00:11
pkill9specifically, booted it from SD card via U boot00:11
DocScrutinizer05regardless I got one of them in use since 5 years 24/7/36500:12
pkill9also does anyone know of a way to pause the u-boot text when launching a kernel? like sendign a pause break key?00:12
DocScrutinizer05pkill9: no, and no00:13
DocScrutinizer05first possible just never heard of, 2nd not possible afaik00:13
pkill9kk00:14
DocScrutinizer05closest thing I could think of: gentoo on N90000:14
pkill9hmm yeah i might try that first00:14
pkill9then work out how to get slack working00:15
DocScrutinizer05afaik slackware is ultra-conservative so I doubt it has any support for special stuff on N900 hw platform00:15
rhombusDocScrutinizer05: I'm a fan of gentoo :)00:15
rhombusI tried to start ssh server on my N900, but it fails because it can't load the host keys00:16
DocScrutinizer05afaik gentoo was the first non-maemo distro on N90000:16
DocScrutinizer05ugh!00:16
rhombusDocScrutinizer05: are all the phone functions supported on gentoo?00:16
DocScrutinizer05no00:17
rhombusdamn00:17
pkill9DocScrutinizer05: could slack be configured to support extra hw stuff?00:17
rhombusOk -- so to my ssh problem00:17
DocScrutinizer05only maemo has complete phone support00:17
pkill9I'm not fussed about the phone stuff really00:17
pkill9I wanna use it as a tablet00:17
DocScrutinizer05SHR has poor audio, otherwise sorta works00:17
pkill9I'm kinda sick of smartphones tbh lol00:18
DocScrutinizer05I feel with you00:18
DocScrutinizer05I opt for renaming then to "fartphone"00:18
rhombusI just figured something out00:18
rhombusOr buttphone00:18
DocScrutinizer05spyphone00:19
DocScrutinizer05re sshd I can't recall any problems with hostkeys00:19
rhombusDocScrutinizer05: It helps if one does it as root00:19
rhombus:D00:19
DocScrutinizer05should get auto-generated on installation, I'd assume00:19
*** drcode has quit IRC00:19
DocScrutinizer05ooh yeah00:20
DocScrutinizer05definitely ;-P00:20
DocScrutinizer05pkill9: ((could slack be configured to support extra hw stuff?)) for sure00:21
pkill9kk cool :)00:21
rhombusI can't seem to ping the phone. Is ICMP turned off by default?00:22
DocScrutinizer05possibly, yes00:22
rhombusI can ping my laptop *from* the phone00:22
DocScrutinizer05though:00:22
DocScrutinizer0523:22:33 jr@saturn:~>ping IroN90000:23
DocScrutinizer05PING IroN900 (192.168.4.41) 56(84) bytes of data.00:23
DocScrutinizer0564 bytes from IroN900 (192.168.4.41): icmp_seq=1 ttl=64 time=78.1 ms00:23
rhombus"The password for user cannot be changed."00:23
DocScrutinizer05there's no password for user00:23
rhombusHow do I log into the phone via ssh, then? Only root logins?00:23
DocScrutinizer05I'm not sure how to log in via user account - I always go straight to root00:24
DocScrutinizer05I bet it *can* get done. Anyway you're supposed to use ssh keys and no passowrds ;-P00:25
*** drathir has joined #maemo00:25
rhombusDocScrutinizer05: I haven't used ssh much the past few years, so I'm out of practice00:25
DocScrutinizer05man ssh-copy-id00:25
*** sunshavi has quit IRC00:26
*** GoNeL has joined #maemo00:26
DocScrutinizer0523:28:07 jr@saturn:~>cat `which iron900`00:28
DocScrutinizer05ssh -q -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -l root IroN900 $@00:28
DocScrutinizer0523:28:19 jr@saturn:~>grep -i iron900 /etc/hosts00:30
DocScrutinizer05192.168.4.41    IroN900 iron90000:30
*** GoNeL has quit IRC00:31
*** drathir has quit IRC00:31
*** drathir has joined #maemo00:32
DocScrutinizer05http://paste.opensuse.org/5159425000:32
DocScrutinizer05rhombus: the dir and file permissions and owner mist be exactly like this, otherwise login fails with pretty unhelpful error message00:34
DocScrutinizer05afaik ssh-copy-id takes care about all this00:35
DocScrutinizer05also see ssh-keygen00:36
DocScrutinizer05though I'm sure you got a keypair already. do you?00:37
DocScrutinizer05on your PC00:37
rhombusDocScrutinizer05: I am just discovering that00:37
rhombusWarning: Permanently added '192.168.3.24' (RSA) to the list of known hosts.00:38
rhombusAuthentication failed.00:38
DocScrutinizer05see ^^^00:39
DocScrutinizer05https://www.startpage.com/do/metasearch.pl?query=ssh+essentials00:39
rhombusDocScrutinizer05: yes and no00:40
DocScrutinizer05pick the one you like most, they all are useful and correct00:40
rhombusDocScrutinizer05: I can generate this on my laptop, yes?00:40
DocScrutinizer05ooh, and of course you need the password you gave on installing sshd. for user "root"00:41
DocScrutinizer05yes, sure00:41
DocScrutinizer05you may ommit "passphrase" on ssh-keygen. Some think that's no good idea, others thing passphrase to unlock local ssh private key is BS00:43
rhombusDocScrutinizer05: what do I need a password for if I'm using keys?00:43
DocScrutinizer05to install the keys :-)00:43
DocScrutinizer05on PC run ssh-keygen and ssh-copy-id00:44
rhombusOk, i have generated a key pair with ssh-keygen00:44
rhombusbut I have to change the permissions on the N900 first before this will work at all, right?00:44
DocScrutinizer05no, you just run ssh-copy-id <N900> <root> or somesuch00:45
rhombuson my laptop00:45
DocScrutinizer05Usage: /usr/bin/ssh-copy-id [-h|-?|-n] [-i [identity_file]] [-p port] [[-o <ssh -o options>] ...] [user@]hostname00:46
rhombushow can ssh-copy-id work if normal ssh logins don't?00:46
DocScrutinizer05it uses your password00:46
DocScrutinizer05normal login using password needs to work for that00:46
rhombusDocScrutinizer05: well, it doesn't00:46
rhombusI get an error message00:47
DocScrutinizer05ssh -q -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -l root IroN900 $@00:47
rhombusDocScrutinizer05: on the N90000:47
rhombusso i have to restart ssh00:47
DocScrutinizer05in your case:  ssh -q -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -l root 192.168.3.24'00:47
DocScrutinizer05do on phone: `root; passwd`00:48
DocScrutinizer05then00:49
DocScrutinizer05in your case:  ssh -q -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -l root 192.168.3.24'00:49
DocScrutinizer05on PC00:50
DocScrutinizer05then ssh-copy-id00:50
DocScrutinizer05on PC00:50
rhombusbut the ssh server has to be running on the phone first for this to work00:50
rhombus:)00:50
DocScrutinizer05yes00:50
rhombusdo I have to fix any permissions on the phone?00:51
DocScrutinizer05/etc/init.d/ssh start00:51
DocScrutinizer05no00:51
*** cyteen has quit IRC00:52
*** cyteen has joined #maemo00:52
DocScrutinizer05you're in a xterm and root on phone?00:54
rhombusyes00:54
rhombusjust changed the password00:54
DocScrutinizer05then run /etc/init.d/ssh start00:55
DocScrutinizer05(should have been done during boot, but...)00:55
*** sunshavi has joined #maemo00:55
DocScrutinizer05then on PC, run:  ssh -q -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -l root 192.168.3.2400:55
DocScrutinizer05you may omit the "-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" part if your phone's IP never changes00:57
*** cyberlyra has quit IRC00:57
DocScrutinizer05you're already past the "Warning: Permanently added '192.168.3.24' (RSA) to the list of known hosts."00:57
*** cyberlyra has joined #maemo01:00
DocScrutinizer05so what does a ssh -l root 192.168.3.24 give you now?01:01
rhombusDocScrutinizer05: ok, what was the ssh -q command for?01:01
* DocScrutinizer05 invokes ssh --help01:01
DocScrutinizer05-q      Quiet mode.  Causes most warning and diagnostic messages to be suppressed.  Only fatal errors are displayed.01:01
*** jonwil has joined #maemo01:02
DocScrutinizer05so it suppresses the "Warning: Permanently added '192.168.3.24' (RSA) to the list of known hosts.01:03
rhombusok, well, nothing happen01:04
DocScrutinizer05and "-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" suppress the quedtion "do you want to add...?" and avoid filling your known_hists file with litter01:04
rhombushappened01:04
rhombusit waited for ages and then died and gave me my local prompt again01:04
DocScrutinizer05how, nothing?01:04
*** cyberlyra has quit IRC01:04
DocScrutinizer05hmm, which command?01:04
rhombusssh -q -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -l root 192.168.3.2401:04
DocScrutinizer05try `ssh -l root 192.168.3.24`01:05
rhombusnothing is happening01:05
DocScrutinizer05o.O01:05
rhombusit's like it's timing out01:05
DocScrutinizer05weeeiiird01:06
DocScrutinizer05try `ssh -l root 192.168.3.24 date`01:06
rhombusI just got a password prompt01:06
DocScrutinizer05try `ssh -vv -l root 192.168.3.24 date`  and paste the diagnostic output01:07
rhombusafter I pinged my laptop from the phone01:07
DocScrutinizer05yes, that's exactly what shall happen01:07
DocScrutinizer05not after pinhing though01:07
rhombusI just entered the password, it's taking forever01:07
rhombusok, I'm in the phone01:07
rhombusIs that the reverse lookup timeout causing that?01:08
DocScrutinizer05you WLAN might be... hmmm, there are often issues with lag01:08
DocScrutinizer05yes, prolly01:08
DocScrutinizer05even likely01:08
rhombusmy WLAN has probably been compromised by hackers01:08
DocScrutinizer05ohnoes! no kidding01:09
rhombusOk, so I am in the phone. That means I can run ssh-copy-id from the laptop now and expect it to work, if slowly01:09
DocScrutinizer05yes01:09
DocScrutinizer05once you're in the phone, is it still slow?01:09
rhombusDocScrutinizer05: yes, pretty slow01:10
rhombusI mean, it works, but there's significant lag01:11
DocScrutinizer05then it's not rDNS, it's wlan lag01:11
DocScrutinizer05change PSM in phone's WLAN settings to 'none'01:11
DocScrutinizer05what's your AP brand/make?01:11
sixwheeledbeastlarge amount of dropped packets on ping?01:12
rhombusI need to update my router. I'm running OpenBSD 6.0 It has no 802.11N support. N support was added in 6.1. Besides, I have to upgrade to 6.2 with the new WPA2 hole anyway01:12
sixwheeledbeastEven G wouldn't be that slow01:12
rhombusno packet loss on the ping from the phone01:12
DocScrutinizer05yeah, you need to fix router settings to make PSM work01:13
rhombusaverage round trip 29 ms01:13
rhombusmax 1035 ms01:13
rhombusWhat's PSM?01:13
rhombus:)01:13
DocScrutinizer05phone's WLAN goes to sleep for a second or more, in PSM, and just wakes up for a few milliseconds to losten to next router beacon that has a flah telling "please stay awake" which may be 1 or 001:14
DocScrutinizer05to listen to*01:14
jonwilyay, I figured out how to get hildon-status-menu into GDB. You need to stop hildon-status-menu with dsmetool then you need to start it again using maemo-summoner01:14
rhombusDocScrutinizer05: where do I set that?01:15
DocScrutinizer05so there are two parameters you want to fix on router;: beacon freqiency and another TTdunnowhat that must be 101:15
rhombusPSM, I mean01:15
DocScrutinizer05on phone you - for now - go to WLAN connections, edit, clik OK until on last requester there's "advanced..."01:16
DocScrutinizer05and there you set PSM to "none"01:16
sixwheeledbeastpower saving mode01:17
rhombusit says it will eat my children and steal all my money01:17
DocScrutinizer05settings, internet connections, <your connection>, edit, ok, ok, ok...01:18
rhombusdamn, I accidentally disconnected the WLAN and now my ssh connection is frozen01:18
DocScrutinizer05"  ~.01:19
rhombusI've turned psm off01:19
rhombusI'm trying to log in again01:19
sixwheeledbeast\n ~.01:20
DocScrutinizer05better01:21
sixwheeledbeastI didn't know that.01:21
rhombusstill highly variable01:22
rhombusIt is probably the router01:22
DocScrutinizer05AP problem01:22
rhombusbeacon frequency and TTwhat?01:22
DocScrutinizer05ywell, tbh it's "variable" even for me01:23
DocScrutinizer05yes01:23
DocScrutinizer05and correct implementation of PSM in AP01:23
rhombusI'll have to revisit this another day, I can't be staying up until all hours again01:23
rhombusI have PSM off on the AP01:23
DocScrutinizer05oooh01:23
DocScrutinizer05wait, that's probably another PSM01:23
rhombusok, the minute I stop pinging my laptop from the phone, the connection becomes excruciatingly slow01:24
*** cyberlyra has joined #maemo01:25
DocScrutinizer05yes, typical problem with PSM and AP01:25
DocScrutinizer05not much that can be done on phone except disabling PSM for the connection01:25
rhombusI don't have power save mode on on the AP01:25
rhombusIt's an OpenBSD router that I put together myself, there's none of that nonesense configured01:25
rhombusnonsense01:25
DocScrutinizer05on AP the meaning of "power save mode" will probably be quite different01:26
DocScrutinizer05you need a beacon timing of 10 per second01:26
rhombusok01:26
DocScrutinizer05to startz with01:26
rhombusok01:26
DocScrutinizer05the other parameter is "1" by default01:27
DocScrutinizer05it tells "send stay-awake-flag with N-th eakon only"01:27
DocScrutinizer05also a reboot on phone *might* help to reset WLAN, the PSM setting is a tad ... special on that thing01:28
DocScrutinizer05~psm01:29
infobotpsm is, like, Personal Security Manager for Mozilla, at http://docs.iplanet.com/docs/manuals/psm/psm-mozilla/index.html.  You don't need to restart mozilla as noted on that URL.  It also consumes 100% CPU unfortunately... lame piece of software. no longer works as of mozilla 0.7, or  needed for viewing of some login sites, i.e. yahoo. install by apt-get install mozilla-psm01:29
DocScrutinizer05meh01:29
*** cyberlyra has quit IRC01:30
DocScrutinizer05you should probably get an update for your AP/router01:30
DocScrutinizer05but first make sure to have beacon timing at 10Hz or more01:31
DocScrutinizer05some routers have it at 1HZ or lower per default01:31
rhombusDocScrutinizer05: I'll have to see where that is set, as I said, it's a homespun OpenBSD box01:32
DocScrutinizer05yeah, for now your pest option is to run a ping from a second terminal to phone01:33
DocScrutinizer05that will keep connection responsive01:33
DocScrutinizer05best*01:33
*** cyberlyra has joined #maemo01:34
rhombusInteresting. I'm logged in via sftp now, and it's much faster.01:34
*** pkill9 has quit IRC01:34
DocScrutinizer05or maybe really reboot the phone. your sshd also wasn't started despite it should, right?01:34
DocScrutinizer05did you find a working solution for your charging?01:35
DocScrutinizer05((when requester "assrage, PCsuite, charge?" pops up on unplugging USB, just plug and unplug again))01:37
rhombussorry, scratch that, I'm putting a file and it's excruciatingly slow01:37
rhombusok, getting better01:37
DocScrutinizer05that's weird01:37
rhombus1.4 MB/s now01:37
DocScrutinizer05connection should stay alive during data transfer01:37
rhombusyes01:38
DocScrutinizer05well, that's _almost_ max speed via sftp01:38
rhombusOh, and I don't have a specific charger yet, but I am going to get one that's similar to my wife's01:38
DocScrutinizer05mind you, it needs to decrypt on a CPU that's like a 300MHz P-II01:38
rhombusok, then I can live with that :)01:39
rhombusDocScrutinizer05: the problem yesterday was that by the time I noticed the USB problem, I was nowhere near a charger or cable01:40
DocScrutinizer05yeah01:40
rhombusthe phone fell asleep and the sftp transfer stalled01:41
rhombusI had to wake it up01:41
rhombusit was slow waking up01:41
DocScrutinizer05o.O01:41
DocScrutinizer05I'm doing ssh and sftp all the time while device is next room sleeping on charger01:41
rhombusWell, I'm sure that there's lots I have to configure on the phone01:42
DocScrutinizer05not really01:42
DocScrutinizer05most thinks should "just work"01:42
DocScrutinizer05but phone getting irresponsive on large amounts of data to write to flash is a known annoying nasty effect01:43
DocScrutinizer05you're easily entering swap hell with copy of large files01:43
*** Pali has quit IRC01:43
rhombusDocScrutinizer05: ok, then that is the explanation, I'm uploading 85 MB podcast files to the phone01:43
DocScrutinizer05should work, just take a while01:44
DocScrutinizer05never forget about partitions/volumes: you only got a 2GN minus X on your ~user dir, root has no homedir at all where you could store large files, since it's on rootfs. and the true mass storage is ~user/MyDocs01:46
DocScrutinizer052GB01:46
rhombusThat's where I was pushing the files to01:47
rhombus~user/MyDocs01:47
DocScrutinizer05I hope you don't store those 85MB to root's home?01:47
rhombusno01:47
rhombus:)01:47
DocScrutinizer05aah ok :-)01:47
rhombus~user/MyDocs01:47
DocScrutinizer05good01:47
rhombusis that on the microSD?01:48
rhombusok man, I gotta go to bed. That's a bit of progress for today. I'm starting to really enjoy the phone01:49
*** cyberlyra has quit IRC01:49
rhombuslistened to the radio on the train today... some podcasts01:49
rhombusit's working nicely01:49
rhombusI'll get a new charger shortly, fix my WLAN, etc.01:50
rhombusChat soon01:50
*** rhombus has quit IRC01:50
jonwilLooks like we have another person who doesn't heed the warnings and has just installed all the stuff I uploaded to cssu-devel and is now wondering why his device bootloops...01:59
*** florian has quit IRC02:00
*** cyberlyra has joined #maemo02:13
sixwheeledbeastI am not surprised. Won't be the first or the last02:19
jonwilMy guess is one of the recent clones by Freemangordon is what's causing the boot loop (either his cloning or my compile/build)02:20
jonwilI need my N900 too much to try installing any of that stuff to narrow down the culprit02:21
*** jonwil has quit IRC02:25
*** cyberlyra has quit IRC02:29
*** cyberlyra has joined #maemo02:36
*** Kilroo has joined #maemo02:36
*** cyberlyra has quit IRC02:41
*** r00t^home has joined #maemo02:43
*** r00t-home has quit IRC02:44
*** cyteen has quit IRC02:48
*** cyteen has joined #maemo02:52
trumee~ping03:01
infobot1 packet transmitted, 1 packet received, 0.0% packet loss03:01
trumee~ping03:02
infobot~pong03:02
*** Kabouik_ has quit IRC03:18
*** cyberlyra has joined #maemo03:36
DocScrutinizer05well, DO NOT USE CSSU-DEVEL AS REPO! (unless you're a developer of a package you want to test there) IT **IS** BROKEN03:38
DocScrutinizer05we should upload a package to cssu-devel that displays this text, the erases the complete device03:39
DocScrutinizer05then*03:39
DocScrutinizer05I'm tempted to actually do03:40
*** cyberlyra has quit IRC03:41
*** cyberlyra has joined #maemo04:01
*** cyberlyra has quit IRC04:06
*** cyberlyra has joined #maemo04:14
*** cyberlyra has quit IRC04:18
DocScrutinizer05probably the root problem is CSSU-devel working like a repo at all. We should change each single package there in a way so you have to edit catalogs and add a new entry for each. Like, instead of "free" use "$packagename"04:25
* DocScrutinizer05 ust wonders where from users have the idea to add cssu-devel as catalog (and then, worse, do indiscriminate updates or install packages they don't know not thoroughly test status of). Wouldn't know where to find the repo settings needed for cssu-devel even if he planned to use it04:25
* DocScrutinizer05 blames some tmo post04:25
DocScrutinizer05indeed replacing category(?) name ("free") by ${packagename} via a script on server sounds like an excellent idea to me. Serves exactly the purpose cssu-devel is meant for: allowing test of package installation from a repo, but only when the person installing it has explicitly opted to do so by filling in the "credentials" manually  - not grouping packages into one catch-all procedure. And when some smartass makes a tool for automating04:33
DocScrutinizer05that, we can change to ${packagename}_$(date)04:34
DocScrutinizer05dynamically, I.E date of the day it gets accessed04:36
*** cyberlyra has joined #maemo04:36
*** cyberlyra has quit IRC04:40
*** jonwil has joined #maemo05:52
jonwilTime to try some good old fashioned printf (or in this case fprintf to a log file) debugging to see whats going on with connui-statusbar-cellular :)06:14
*** DocScrutinizer51 has quit IRC06:25
*** sixwheeledbeast has quit IRC06:26
* jonwil slaps face06:30
*** DocScrutinizer51 has joined #maemo06:31
*** sixwheeledbeast has joined #maemo06:31
jonwilHelps if I actually make connui-cellular-status-item link to libconnui_cellular06:31
jonwilThat would be why its crashing hildon-status-menu :P06:31
DocScrutinizer05((<jonwil> Looks like we have another person who doesn't heed the warnings)) who?06:41
jonwilSomeone posted on tmp06:42
jonwiltmo06:42
DocScrutinizer05*sugh*06:42
DocScrutinizer05i*06:42
* DocScrutinizer05 idly wonders if the U/I/O typos are cause of keycap printing coming off06:43
DocScrutinizer05I probably should connect that M5500 keyboard and count the keystrokes per day, to estimate how many this shitty cheap kbd suffered in 9 months before it's basically worn out06:46
DocScrutinizer05(or I write an app for counting ;-D )06:46
DocScrutinizer05might as well go into my kbd macro driver, as a feature06:47
*** Xjs|moonshine has quit IRC07:04
*** Xjs|moonshine has joined #maemo07:20
*** cyberlyra has joined #maemo07:22
*** Kilroo has quit IRC07:24
*** Kilroo has joined #maemo07:25
KotCzarnymaybe cssu-devel should require a password?07:42
KotCzarny make it known one but specific enough, for example: yes-i-know-what-im-doing-an-will-never-indisciminately-install-packages-from-there07:42
DocScrutinizer05inlike using package-named category, a password won't fly since apt has no support for such stuff08:03
DocScrutinizer05and then you bet isers will ignore any such passowrd-bound warnign once they registered, just like they forget about the warnings on wiki.maemo.org and everywhere08:05
DocScrutinizer05warnings are totally pointless since you don't even really see which repo a package is from, in HAM08:06
DocScrutinizer05neither in apt08:06
freemangordonbesides that you have to explicitly enable cssu-develrepo08:07
DocScrutinizer05actually I find it quite difficult to find out even when I *want* to know which repo was pkg origin08:07
DocScrutinizer05freemangordon: yes, like any other repo, and obviously users do enable *all* repos they can get hold of08:08
KotCzarnyhttps://debian-administration.org/article/513/Restrict_Access_To_Your_Private_Debian_Repository08:08
freemangordonso, the question is how to stop people making faults, right?08:08
DocScrutinizer05KotCzarny: pointless08:08
KotCzarnyfmg, by educating the willing and slapping the unwilling08:09
freemangordonKotCzarny: feel free to propose a patch for HAM08:10
DocScrutinizer05ohmy08:10
DocScrutinizer05"please install this HAM to get a warning when you try to install something you shouldn't"08:10
DocScrutinizer05;-P08:10
freemangordonHAM is part of cssu08:11
KotCzarnyactually that might work08:11
KotCzarnyinterestingly, it could even support ssh-key based auth (apt)08:12
DocScrutinizer05I can SEE IT as if right before my eyes how this will work excellent08:12
DocScrutinizer05X-P08:12
DocScrutinizer05alternative: drop cssu-devel08:13
KotCzarnyyup08:13
DocScrutinizer05it actually never made real sense08:13
KotCzarnyor keep it private08:13
KotCzarnypeople who would need it, would know enough how to enable it08:13
KotCzarnypassword-enabled or otherwise08:14
DocScrutinizer05but to "fix" it, make category different for each package, so it doesn't pollute HAM "install" and apt-cache search with _all_ packages in that repo08:14
freemangordonKotCzarny: what is desktop OS you're using?08:14
Vajbumm how could i run .sh script which needs to be root? I mean via alarmed?08:15
freemangordonsudo08:15
KotCzarnyfmg, slackware, debian, win708:15
Vajbor is there a better way to sync files over wlan automagically?08:15
KotCzarnyvajb: rsync08:15
freemangordonand which of them asks you "are you sure?" everytime you want to do something its creators think is unusual?08:16
DocScrutinizer05cronjob?08:16
DocScrutinizer05~hrtools08:16
Vajbwe have onedrive from school and i guess maemo is not supported, but i'd like to have files on my phone nevertheless08:16
DocScrutinizer05~jrtools08:16
infobothmm... jrtools is http://wiki.maemo.org/User:Joerg_rw/tools08:16
KotCzarnyfmg: hdparm, for example08:17
DocScrutinizer05http://wiki.maemo.org/User:Joerg_rw/tools#backup08:17
Vajbqrsync or just rsync? Or they depend of each other?08:17
KotCzarnyqrsync is probably qt ui one08:17
KotCzarnyto do things automatically you should prefer cmdline tools08:18
freemangordonKotCzarny: no, I was asking about OS, not a specific application08:18
jonwilLooks like I got another package in cssu-devel that doesn't work properly, maemo-launcher.08:18
Vajbyes id like it to sync over night while i sleep :)08:18
jonwilStock works, the one in cssu-devel does not08:18
KotCzarnypackage updater is one of system applications08:18
jonwilthe package isn't in cssu-testing or cssu-stable08:18
freemangordonjonor, it is as simple as you have proken SB installation08:18
freemangordonops08:18
freemangordonjonwil: ^^^08:19
Vajbhmm how come apt finds rsync, but ham does not?08:19
KotCzarnyalso, even simple apt-get install asks about confirmation08:20
DocScrutinizer05Vajb: because it's a cmdline tool08:20
Vajbis it such deep system level tool that it needs to be hidden from user?08:20
KotCzarnybecause rsync isnt user app08:20
freemangordonjonwil: that applet works with no problem on my "production" device since you pushed the code on github08:20
Vajboh ok08:20
freemangordonKotCzarny: as HAM does08:20
jonwilNow that I solved my problem with maemo-launcher, I can resume testing connu-statusbar-internet :)08:21
freemangordonKotCzarny: also, you have you warnings when you enable additional repos08:21
jonwilI mean connui-statusbar-cellular08:21
freemangordonjonwil: what was the problem with maemo-launcher?08:21
jonwilsyslog just says "maemo-invoker[1024]: died connecting to the launcher" for all programs using maemo-invoker/maemo-launcher08:22
jonwilno indication that maemo-launcher actually started08:22
jonwilRestoring the stock version made it start again08:22
Vajbdo i need some rsync client for my pc as well? Any recommendable one for win7?08:22
jonwiland at this point whatever changes are in CSSU maemo-launcher aren't worth the effort to try and fix08:23
freemangordonjonwil: I still not get it why you need maemo-invoker/maemo-summoner to test a SEGFAULT/SIGABORT in hildon-status-menu08:23
jonwilits not a segfault08:23
freemangordonbut?08:23
KotCzarnyvajb: win7 will be server or client?08:23
*** cyberlyra has quit IRC08:23
jonwilIn my case what happened is that it called some function in libconnui-cell.so but at that point libcunni-cell.so wasn't loaded into hildon-status-menu so it went off into space08:24
Vajbserver08:24
KotCzarnythen it might be a bit complicated08:24
Vajbi do all my tasks on it and wanna get copies to n90008:24
freemangordonjonwil: doesn;t make sense to me, applets are loaded with dload, no?08:24
jonwilI dont know08:25
jonwilI just know it failed and I am about to test the fix08:25
jonwilwhere its now linking to libconnui-cell properly08:25
Vajbhmm technically i can use my devuan pc as well, but then i would need onedrive for devuan first08:25
KotCzarnyvajb, i was using that one in the past: https://itefix.net/cwrsync08:25
jonwilOk stopped hildon-status-menu with dsmectl so it wont bootloop if its still crashing08:26
jonwilnow I installed new connui-statusbar-cellular package08:26
DocScrutinizer05Vajb: and why don't you use rsync (client) on win7 and "server" on N900?08:26
KotCzarnybut you would have to run it in client mode (doesnt matter much for data though, just setup of the scripts)08:26
KotCzarnyyou dont even need specific server, just having sshd+rsync available on target machine08:27
DocScrutinizer05exactly08:27
DocScrutinizer05which is a goven on N90008:27
DocScrutinizer05given*08:27
Vajboh i thought it should be otherway around since new files appear on laptop08:28
KotCzarnyrsync is greatly configurable, which might be putting off at first, but then you will love it08:28
KotCzarnyit can sync BOTH ways08:28
KotCzarnydoesnt matter where is the server and client08:28
Vajbi have putty and winscp on win. R they enough?08:28
DocScrutinizer05winscp sounds like it might work too08:29
DocScrutinizer05just not as versatile as rsync08:30
Vajbok08:32
KotCzarnyby any chance, do you have cygwin installed on that windoze?08:33
*** cyberlyra has joined #maemo08:36
jonwilfreemangordon: All I know is that when I got it into gdb, I stepped into the "call connui_cell_sim_status_register" instruction (first function from libconnui-cellular that it tried to call) and wandered off to who knows where. Then I saw it wasn't linked to libconnui_cell.so.0 when it should be.08:38
jonwilNow its linked to that library and I can carefully test it08:38
VajbKotCzarny: no, do i need it too?08:38
KotCzarnyvajb, nah08:39
jonwilit works :)08:40
jonwilNow I get to push it to cssu-devel since it works08:40
*** cyberlyra has quit IRC08:41
*** cyberlyra has joined #maemo08:43
KotCzarnyvajb, anyway, rsync is great, but can cut like a knife if you play with it wrong08:44
Vajbso far i can't figure how to use it in win08:45
Vajbit just says the "command recogniced etc"08:45
KotCzarnyfull path?08:46
KotCzarnycd first?08:46
KotCzarnyand always add -n (it will make it try to do, but dont do any file changes actually)08:46
Vajbeven if im in the folder08:47
KotCzarnybest for initial testings08:47
KotCzarnydir ?08:47
Vajbit says "all you need to do is update cwrsync.cmd and you should be able..."08:47
Vajbi click the file and nothing happens08:48
Vajbi try to run it on cmd promt and it whines "not recogniced..."08:48
KotCzarnydir ?08:48
Vajbhey it flies now08:49
Vajblets see08:49
KotCzarnyagain, dont forget -n before you are ready and sure it will do what you expect08:50
jonwilok, connui-statusbar-cellular is done and can go into CSSU-devel08:52
Vajbok08:56
jonwilNow to figure out what to clone next08:58
jonwilBut before I do anything, my battery is drained from all the rescueos work to get maemo-launcher fixed so I gotta charge that up and not otherwise touch my N900 :)08:59
*** cyberlyra has quit IRC08:59
freemangordonjonwil: connui09:00
freemangordonI have don some work already, can put it on github and share the db09:01
KotCzarnyjonwil: swap battery and charge externally?09:01
jonwilI dont need to use my N900 in any case09:01
jonwilI have other stuff to do09:01
jonwilfreemangordon: Do you mean libconnui?09:02
freemangordonyes09:02
jonwilYeah share what you have and I may have a look.09:02
freemangordonok09:02
jonwilOr I might look into the gconf keys, dbus things and etc used for the wlan subsystem (since there is an idea to replace the wlan system with something based on wpa_supplicant)09:07
jonwilThe good news is that I now have a dead simple way to start wlan from rescueos and easily move files off and on the device should I need to :)09:07
jonwiland can easily install any .deb file I need to as well09:07
freemangordonjonwil: https://github.com/community-ssu/connui09:08
freemangordonjonwil: well, I'd really appreciate some help with connui and friends, there are about 500k of satellite libs09:11
*** cyberlyra has joined #maemo09:12
freemangordonjonwil: right now I am on ConnuiCellRendererOperator, so choose something else if you decide to help09:13
jonwilOk.09:13
jonwilHave you completly finished all 3 .c files you have in there?09:13
Vajbgoes well. From pc "source and destination can't be both remote" nd from n900 "connection timed out"09:14
freemangordonjonwil: almost09:14
*** ceene has quit IRC09:14
freemangordonthere is one or two more functions09:14
KotCzarnyvajb: firewall?09:15
KotCzarnyalso, 'from n900' means it's started from n900?09:15
freemangordonjonwil: connui_scan_box_view_update_child is pending, but leave it to me09:15
Vajbi have working ssh connection from win scp09:15
Vajbyes KotCzarny09:15
* freemangordon is going to work, bbl09:16
*** cyberlyra has quit IRC09:16
KotCzarnythen run it from pc, rsync will connect with ssh to n90009:16
jonwilOk.09:17
Vajbbut how come it whines that both cant be remote?09:17
Vajbi used rsync -a -n user@ip:/folder c:/folder09:18
Vajbat pc09:18
*** ceene has joined #maemo09:18
KotCzarnymaybe you need different syntax09:20
KotCzarnynot c:/folder but /cygdrive/c/folder09:20
KotCzarnyremember, it's *nix tool, running with emulation layer, not windoze one09:21
Vajboh right it was told in the help file but i didn't understand...09:22
KotCzarnyalso, watch out for file owners/permissions, windoze keeps those in a weird way. fixable, but can bite you09:24
KotCzarnythat's why it's best to test it on unimportant data first09:25
*** florian_kc has joined #maemo09:26
*** xy2_ has joined #maemo09:32
Vajbfailed to sync ssh09:33
*** florian_kc has quit IRC09:33
Vajbok i've had enough i have more urgent tasks09:33
Vajbthx for trying KotCzarny09:33
KotCzarnynp :)09:33
*** cyberlyra has joined #maemo09:35
*** xy2_ has quit IRC09:37
*** cyberlyra has quit IRC09:40
*** jkepler1 has joined #maemo10:07
*** jkepler has quit IRC10:08
*** jkepler1 is now known as jkepler10:08
*** cyberlyra has joined #maemo10:11
VajbKotCzarny: solution found. I use Dsync to sync onedrive to local file and then winscp to sync that file manually :)10:16
KotCzarnyso it's a single file?10:16
*** cyberlyra has quit IRC10:16
Vajbno it is cloud server containing all my school work10:17
bencohVajb: you can also rsync/unison between windows and phone, if needed10:17
Vajbbencoh: read from up how i failed10:17
bencohhmm10:17
bencohif you're referring to the connection timed out, I fail to see why scp would work but not rsync10:17
bencohbut ... alright10:17
bencohah, "both cannot be remote"10:18
KotCzarnybencoh, nope, not that one10:18
Vajbactually it narroved to "ssh not found"10:18
bencoh:]10:18
Vajbno not ssh10:18
KotCzarnyvajb: cwrsync comes with ssh.exe included10:18
*** jkepler has quit IRC10:18
KotCzarnyyou probably didnt edit the .cmd correctly10:19
KotCzarny:)10:19
Vajbprobably :/10:19
Vajbi'll give it a go when i got tired to run winscp by hand10:20
Vajbmight be that problem was that onedrive pretends to be folder but actually it is cloddrive10:20
Vajbcloud*10:20
KotCzarnytry with local files first10:21
Vajbhmm actually tried that too10:21
Vajbnow that u mentioned10:21
KotCzarnybut since it has trouble finding ssh.exe i suspect you have missed some path variable10:22
*** freemangordon_ has joined #maemo10:22
*** florian has joined #maemo10:29
*** nslu2-log has quit IRC10:36
*** nslu2-log has joined #maemo10:36
*** geaaru has joined #maemo10:41
*** freemangordon_ has quit IRC10:44
*** jskarvad has joined #maemo11:04
*** jskarvad has quit IRC11:04
*** jskarvad has joined #maemo11:04
*** freemangordon_ has joined #maemo11:21
*** buZz_ has joined #maemo11:25
*** ced117_ has joined #maemo11:25
*** sicelo_ has joined #maemo11:26
*** rZZZr has joined #maemo11:28
*** KotCzarny has quit IRC11:28
*** ceene has quit IRC11:28
*** buZz has quit IRC11:28
*** ced117 has quit IRC11:28
*** rZr has quit IRC11:28
*** sicelo has quit IRC11:28
*** Venemo has joined #maemo11:29
*** eMHa has quit IRC11:30
Venemohey guys11:30
Venemowhy am I getting this?11:30
Venemofrom TMO: "Sorry, it seems that you are using an IP address or a proxy that is listed in the forum anti spam blacklist."11:30
sixwheeledbeastI see the cssu-devel thing a none issue, passwords or hidden repos defeat the point of it. People need to understand you don't just have all the repos and enable them. I have not read the thread so maybe it's a question not a complaint. It would be good to get back to devel/testing/stable QA11:30
sixwheeledbeast~unbanip11:30
infobotsomebody said unbanip was please contact techstaff <at> maemo <dot> org with your request, or see ~techstaff, or see https://www.stopforumspam.com/removal, or contact tmo maintainer chem|st in here, or if your ip is dynamic, try changing it11:30
*** ceene has joined #maemo11:31
Venemochem|st: ping11:32
Venemothank you sixwheeledbeast11:32
sixwheeledbeasthave you checked your IP on the site above?11:32
Venemoyes11:34
Venemosays: your public IP address aaa.bbb.ccc.ddd is in our database11:34
*** cyberlyra has joined #maemo11:35
*** cyberlyra has quit IRC11:39
Venemonot sure why though11:41
*** buZz_ is now known as buZz11:41
VenemoI'm behind a corporate proxy, so dunno why anyone would wanna mark the company as a spammer11:44
*** KotCzarny has joined #maemo11:52
*** eMHa has joined #maemo11:52
*** Sigyn has quit IRC11:59
*** Sigyn has joined #maemo12:00
*** AndrewX192 has quit IRC12:02
*** r00t-home has joined #maemo12:11
*** r00t^home has quit IRC12:13
*** freemangordon_ has quit IRC12:13
*** AndrewX192 has joined #maemo12:18
*** Vajb has quit IRC13:19
*** florian_kc has joined #maemo13:22
*** Vajb has joined #maemo13:24
*** drcode has joined #maemo13:25
*** florian_kc has quit IRC13:28
*** AndrewX192 has quit IRC13:29
*** AndrewX192 has joined #maemo13:44
*** err0r3o3 has joined #maemo13:49
*** freemangordon_ has joined #maemo14:00
*** cyberlyra has joined #maemo14:01
*** err0r3o3 has quit IRC14:02
*** cyberlyra has quit IRC14:06
*** jkepler has joined #maemo14:35
*** AndrewX192 has quit IRC14:42
*** Kabouik has joined #maemo15:13
*** Kabouik has joined #maemo15:13
*** ollieparanoid[m] has quit IRC15:43
*** ollieparanoid[m] has joined #maemo15:53
*** hurrian_ has joined #maemo16:09
*** hurrian has quit IRC16:11
*** jonwil has quit IRC16:17
*** hurrian has joined #maemo16:17
*** hurrian_ has quit IRC16:20
*** hurrian_ has joined #maemo16:23
*** hurrian has quit IRC16:24
*** Venemo has quit IRC16:25
*** hurrian has joined #maemo16:33
*** hurrian_ has quit IRC16:33
*** Smily has quit IRC16:41
*** AndrewX192 has joined #maemo16:41
*** louisdk has joined #maemo16:48
*** louisdk has quit IRC16:50
*** LjL has quit IRC16:51
*** LjL has joined #maemo16:54
*** xy2_ has joined #maemo17:00
*** Smily has joined #maemo17:18
*** rZZZr is now known as rZr17:20
*** Kabouik has quit IRC17:25
*** Kabouik has joined #maemo17:33
*** Vajb has quit IRC17:37
*** Vajb has joined #maemo17:39
*** freemangordon_ has quit IRC17:40
Vajbi opened nokia barrel to micro-usb adapter. Multimeter is too big to fit in to connector, but there r 4 wires connected to the board. One is red the other is shiny black and then there r white and matte black cable in same slot.17:42
Vajbi will try to peel connector open to measure which ones they r17:42
KotCzarnydont forget to make photos/tmo thread17:43
Vajbi would, but i don't have imgur plugin to upload photos ;/17:44
KotCzarnyat least take the photos17:45
KotCzarnyno blood tho17:45
Vajbthink i'll use hack-saw to cut connector to half17:50
KotCzarnydont break the wires17:52
KotCzarnyhttps://www.elektroda.pl/rtvforum/topic2205031.html17:55
KotCzarnytranslatable with google translate17:55
KotCzarnyseems it's quite sophisticated little dongle17:56
*** Kabouik has quit IRC18:01
Vajbyes surprising amount of circuitry. It seems that data pins r shorted18:05
KotCzarnysomeone measured that thingie, it can run from low to high voltage, giving 5V on output18:12
KotCzarnyone could even connect 12 or 20V as input18:12
bencoh?18:12
bencohinput to?18:13
KotCzarnyto constant 5V on output18:13
KotCzarnyit has major heat problems though18:13
KotCzarnybencoh, quite nice analysis page, throw the link into google translate18:14
Vajbyes it is same device. Data pins doesn't seem to be connected to circuit only gnd and plug body and +18:19
KotCzarnyyou can try measure the data wires on that end18:20
*** Pali has joined #maemo18:37
*** 3NAABQJL9 has joined #maemo19:11
*** 3NAABQJL9 has quit IRC19:27
*** eMHa has quit IRC19:43
*** HRH_H_Crab has joined #maemo20:00
*** eMHa has joined #maemo20:09
*** cyteen has quit IRC20:12
*** jskarvad has quit IRC20:12
*** cyteen has joined #maemo20:17
*** geaaru has quit IRC20:30
*** geaaru has joined #maemo20:35
*** sicelo_ is now known as sicelo20:56
*** geaaru has quit IRC21:05
*** xy2_ has quit IRC21:09
sixwheeledbeastSeems polarcell have Li-ion and LiPo versions of the BL-5J21:11
KotCzarnynot good, unless they have circuitry adjusting to that inside21:11
*** xy2_ has joined #maemo21:16
*** xy2_ has quit IRC21:21
*** xy2_ has joined #maemo21:22
*** cyberlyra has joined #maemo21:28
*** cyberlyra has quit IRC21:32
*** florian_kc has joined #maemo21:34
freemangordonsixwheeledbeast: wait, isn;t original bl5j li-ion?22:00
sixwheeledbeastyep22:02
freemangordonwhat is the idea behind li-po then? I don;t get it.22:03
KotCzarnynewer tech22:03
sixwheeledbeastObviously LiPo has some minor benefits but it is suitable for N90022:03
KotCzarnysimilar to li-ion22:03
KotCzarnybut not exactly the same22:03
freemangordonLiPo has lower energy density AFAIK22:03
sixwheeledbeastyes but more stable22:03
KotCzarnybut afair longer life22:03
freemangordonabout 15%?22:03
freemangordonanyway, I was just curious22:04
sixwheeledbeastFor example polarcell BL-5J is 1400mAh Li-Po, whereas 1500mAh Li-ion22:04
siceloi have the C.H.I.P ($9 board like RPi), and it supports charging  Li-Po batteries. could i use Li-on?22:06
KotCzarnyyou have chip? you can probably try fmg's hildon-desktop and the rest22:07
KotCzarny:)22:07
Wizzupoh, I didn't know the polarcell was li-po22:07
siceloKotCzarny: yes that's a good idea. i have two of them actually :)22:08
siceloi don't have the LiPo battery, and it doesn't look like i can source them. but i got two from dead gps units, but they are Li-ion22:09
siceloi don't want to risk an explosion, but if it's relatively safe to use them, that would be most helpful!22:12
DocScrutinizer05Vajb: you can stop slaughtering that adapter, I did that 4 years ago22:15
bencohpolarcell is lipo ?!22:15
DocScrutinizer05the data pins ARE shorted22:15
DocScrutinizer05and it has a buck converter22:16
DocScrutinizer05to reduce input voltage to 5V22:16
KotCzarnydoc, it's both22:16
KotCzarnybuck and boost22:17
siceloDocScrutinizer05: can i use a Li-ion battery on a device designed for a Li-Po battery? (same voltage, 3.7V)22:43
DocScrutinizer05yes22:44
DocScrutinizer05KotCzarny: not to my knowledge, it stops charging at all with 4V input voltaga22:44
DocScrutinizer05voltage*22:44
KotCzarnydoc: check the page i've pasted (with google translate)22:45
DocScrutinizer05if it was a boost or buck-boost it would go down lower, no?22:45
KotCzarnyit stops charging because it overheats22:45
DocScrutinizer05LOL no it didn't22:45
KotCzarnywith 250mA at output it goes with 2.8-20V as input providing 5V at output22:45
DocScrutinizer05ok22:46
DocScrutinizer05I might be wrong22:46
DocScrutinizer05just quoting my own tests22:46
KotCzarnyhttps://www.elektroda.pl/rtvforum/topic2205031.html22:46
DocScrutinizer05which were pretty... cursory22:46
KotCzarnyplease see the discussion22:46
KotCzarnywell, folks modify the circuit a bit22:47
DocScrutinizer05tbh I'm not too interested in that thing22:48
DocScrutinizer05I heard Nokia stopped providing it since it started fires22:48
KotCzarnyit did because of insufficient cooling22:48
KotCzarnyanyway. sleepy time.22:49
DocScrutinizer05my own tests shown it works on 5V and 4V5 of an unregulated PSU, but not on 3V22:49
siceloi misplaced mine (that thing)22:49
DocScrutinizer056V and 4V522:49
DocScrutinizer05prolly the output of that shitty PSU was +30% of what it wrote in the selector switch22:50
DocScrutinizer05and N900 claimed "charging" but actually didn't22:50
DocScrutinizer05the tests dated back in times before I had bq27k-detail script22:51
DocScrutinizer05or any decent lab gear22:51
DocScrutinizer05the dadashit shown in the page you linked is a mere boost converter so would expose the N900 to overvoltage on anything >6V attached to the converter input22:52
DocScrutinizer05though I admit it looks exactly like the Nokia adapter22:52
*** cyberlyra has joined #maemo22:53
DocScrutinizer05excellent find22:54
*** cyberlyra has quit IRC22:58
*** cyberlyra has joined #maemo23:18
*** cyberlyra has quit IRC23:22
*** jonwil has joined #maemo23:22
*** cyberlyra has joined #maemo23:33
sixwheeledbeastbencoh: Just to clarify polarcell have both Li-ion and Li-Po available, Nokia was Li-ion.23:47

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