DocScrutinizer05 | Vajb: an aged battery is very often the true cause of modem issues | 00:00 |
---|---|---|
Maxdamantus | Hmm .. my other device apparently kept having modem resets when it tried to use it. Maybe I should try it again with a new battery. | 00:30 |
Maxdamantus | I just continued using the same battery in my current device (which was fine), though I've since bought some new batteries since that battery was slightly bulged. | 00:31 |
*** Pali has quit IRC | 00:47 | |
*** pagurus has joined #maemo | 00:59 | |
*** Kilroo has joined #maemo | 01:04 | |
*** M4rtinK has joined #maemo | 01:24 | |
DocScrutinizer05 | the failure pattern is like: modem starts transmitting which draws massive amount of current bursts from battery, which in turn makes battery voltage sag below threshold where modem goes into shutdown/reset | 01:27 |
*** Kabouik_ has joined #maemo | 01:47 | |
*** Kabouik- has quit IRC | 01:49 | |
*** Enrico_M_RX-51 has joined #maemo | 01:51 | |
*** Enrico_M_RX-51 has quit IRC | 01:59 | |
*** Enrico_M_RX-51 has joined #maemo | 02:02 | |
*** Enrico_M_RX-51 has quit IRC | 02:11 | |
*** Wikiwide has joined #maemo | 02:29 | |
Wikiwide | Does Fennec 17 us3 certificates different from MicroB? Because Fennec 17 goes paranoid on websites which are fine in MicroB. Doesn't help when iframe (blame Moodle login system) doesn't allow to scroll to "add permanent exception" button. | 02:38 |
*** Enrico_M_RX-51 has joined #maemo | 02:43 | |
*** Enrico_M_RX-51 has quit IRC | 02:45 | |
*** Kabouik- has joined #maemo | 02:45 | |
*** Enrico_M_RX-51 has joined #maemo | 02:45 | |
*** Enrico_M_RX-51 has left #maemo | 02:46 | |
*** Enrico_M_RX-51 has joined #maemo | 02:46 | |
*** Kabouik_ has quit IRC | 02:47 | |
*** Jamesorty has joined #maemo | 03:13 | |
*** Jamesorty has left #maemo | 03:13 | |
*** Kabouik- has quit IRC | 03:15 | |
*** Wikiwide has quit IRC | 03:43 | |
*** Wikiwide has joined #maemo | 03:50 | |
*** Wikiwide has quit IRC | 04:35 | |
*** Volkun has joined #maemo | 05:08 | |
*** Volkun has left #maemo | 05:08 | |
*** M4rtinK has quit IRC | 05:12 | |
brolin_empey | I recently had a plate break while being microwaved, do not know why it broke because I do not think we would have it at my office if it was not safe to microwave. | 05:16 |
*** Khons has joined #maemo | 05:39 | |
*** Khons has left #maemo | 05:39 | |
*** Kilroo has quit IRC | 05:50 | |
*** tm has quit IRC | 06:36 | |
*** trx has quit IRC | 06:36 | |
*** tm has joined #maemo | 06:40 | |
Maxdamantus | Because it was heated unevenly. | 06:41 |
Maxdamantus | The plate will expand slightly when heated. If you heat only a single part, that part will expand and the cool part will stay the same, so you get some amount of tension between the hot/cold parts. | 06:43 |
*** florian_kc has joined #maemo | 06:45 | |
*** florian has quit IRC | 06:49 | |
*** pagurus` has joined #maemo | 06:59 | |
*** pagurus has quit IRC | 06:59 | |
*** merlin1991 has quit IRC | 07:25 | |
*** merlin1991 has joined #maemo | 07:25 | |
*** sfa has joined #maemo | 07:33 | |
brolin_empey | Maxdamantus: ACK. | 07:55 |
*** sfa has quit IRC | 08:08 | |
*** Vajb has quit IRC | 08:56 | |
*** Vajb has joined #maemo | 09:03 | |
*** dafox has joined #maemo | 09:07 | |
*** hurrian has joined #maemo | 09:11 | |
Vajb | DocScrutinizer05: swap of battery did not remove my connection problems, but I think it did improve it a bit. | 09:20 |
Vajb | like for now. I switched to gprs and lost network signal only once. | 09:21 |
*** Vajb has quit IRC | 09:42 | |
*** Vajb has joined #maemo | 09:44 | |
*** Vajb has quit IRC | 09:50 | |
*** dafox has quit IRC | 09:54 | |
*** Venemo has quit IRC | 09:57 | |
*** spiiroin has quit IRC | 10:06 | |
*** eMHa has quit IRC | 10:18 | |
*** Kabouik has joined #maemo | 10:38 | |
*** Venemo has joined #maemo | 10:45 | |
sixwheeledbeast | 3G consumes more power too | 10:50 |
*** spiiroin has joined #maemo | 10:53 | |
*** richrboo has joined #maemo | 10:58 | |
*** richrboo has quit IRC | 11:00 | |
*** richrboo has joined #maemo | 11:00 | |
*** richrboo_ has joined #maemo | 11:02 | |
*** richrboo has quit IRC | 11:05 | |
*** florian_kc has quit IRC | 11:06 | |
*** eMHa has joined #maemo | 11:09 | |
*** richrboo_ has quit IRC | 11:15 | |
*** richrboo_ has joined #maemo | 11:15 | |
*** Wikiwide has joined #maemo | 11:26 | |
*** Enrico_M_RX-51 has quit IRC | 11:26 | |
Wikiwide | What part of MicroB packages is responsible for parsing JS? Because it is getting tiring to see websites, such as Moodle, not working due to what looks like Javascript incompatibility. | 11:28 |
Wikiwide | So far, I am thinking of microb-engine... Libmozjs.so looks suspicious. | 11:28 |
Maxdamantus | Wikiwide: yes, it will be libmozjs | 11:29 |
Maxdamantus | You probably won't be able to simply replace that with a newer version, since ime, JSAPI tends to have breaking changes quite frequently. | 11:30 |
Wikiwide | Thank you! It would be fun to run Virtual Reality on ancient Nokia N900 ;-) That is, if intricate details of graphics handling will not make it impossible. | 11:30 |
Wikiwide | So, libmozjs.so isn't the only file to be changed - the files relying on it will need to be changed as well, to handle changes in JSAPI? | 11:31 |
Maxdamantus | You'd very likely need to upgrade libxul or whatever it's called too. | 11:32 |
Wikiwide | But the changes will likely not go outside microb-engine - engine is engine, nothing else needs to be concerned about JS. | 11:32 |
Maxdamantus | jonwil seemed to be putting quite a lot of effort into something like that recently. | 11:32 |
Wikiwide | Libxul... Why is it here at all? MicroB doesn't use XUL, right? | 11:32 |
Maxdamantus | Yes, it's a XUL application, like Firefox. | 11:33 |
Wikiwide | Maxdamantus: where may I see jonwil's progress? | 11:33 |
Wikiwide | XUL support can be disabled, just like SVG support can be disabled? | 11:33 |
Maxdamantus | https://talk.maemo.org/showthread.php?s=3cbd26c5a4a8d869fac0ba3df7a9984d&t=100296 | 11:33 |
Maxdamantus | No. XUL is the platform that the browser is implemented on. | 11:34 |
Maxdamantus | It's like trying to disable Gtk+ support from X-Chat. | 11:34 |
Wikiwide | Firefox was implemented on XUL. Modern Firefox is not XUL-based. MicroB isn't XUL-based, either? | 11:35 |
Maxdamantus | Actually, X-Chat does have other frontends, so it's probably more drastic than that. | 11:35 |
Wikiwide | Thank you :-) I amin fairly tumultous circumstances myself, so I am not sure when I will steadily devote time to actually editing code. | 11:35 |
Maxdamantus | I'd be surprised if modern Firefox is not "XUL-based", but when I say "XUL" I basically mean gecko/xulrunner. | 11:35 |
Maxdamantus | The thing that "runs" Firefox or MicroB, whether those applications involve actual XUL markup, or just JavaScript that produces XUL DOM structures, or just uses the set of services that have evolved throughout the gecko project. | 11:37 |
Wikiwide | I like Gecko. I like XUL, even, but I think that Hildon interface is better for Maemo 5 than XUL interface. | 11:37 |
Maxdamantus | I'm pretty sure it still uses at least XUL DOM though. | 11:37 |
*** Enrico_M_RX-51 has joined #maemo | 11:37 | |
Wikiwide | Don't think so... Should look into modern Firefox. I think it's anti-XUL | 11:37 |
*** florian has joined #maemo | 11:37 | |
Maxdamantus | Definitely still using XUL: chrome://browser/content/browser.xul | 11:38 |
Maxdamantus | You can open that URL in current versions of Firefox and introspect the XUL DOM elements in the developer tools. | 11:39 |
Maxdamantus | Apparently what they mean by being anti-XUL is just anti-non-standard sets of elements. | 11:42 |
Maxdamantus | So architecturally I suspect they don't really intend to change much, just reimplement the UI using HTML elements instead of XUL elements. | 11:43 |
*** jskarvad has joined #maemo | 11:56 | |
Maxdamantus | from that jonwil thread: > Although I am very close to saying "screw it" and looking for a fork of webkit or similar that works on our ancient libraries but supports the features needed (TLS 1.2 in particular but also more modern HTML/CSS/JS so it can render web pages that microb can't do). | 11:57 |
Maxdamantus | My solution to the TLS problem is to just run a MITM proxy I wrote, which runs using a modern version of OpenSSL and just creates certificates for domains on the fly, signed by my own root certificate that I've installed in Opera. | 11:58 |
*** trx has joined #maemo | 11:59 | |
sicelo | is it working well? mind to share? :) | 11:59 |
Maxdamantus | It pretty much works. There are probably some optimisations that would be worth doing; atm it uses a thread for each connection, and I have a suspicion that there is a slight connection delay due to the signing of that certificate at the beginning of each connection (it could instead do something like keep a cache of the last X used certificates to avoid resigning if a single site involves multiple | 12:01 |
Maxdamantus | sockets) | 12:01 |
Maxdamantus | https://gist.github.com/Maxdamantus/e32ab94dbc5d9d43298428400020620e | 12:02 |
*** richrboo_ has quit IRC | 12:04 | |
*** richrboo_ has joined #maemo | 12:04 | |
*** trx has quit IRC | 12:05 | |
Maxdamantus | I just run that in my debian wheezy chroot, after compiling the latest version of openssl there. | 12:05 |
Maxdamantus | The reason it needs a relatively new version of OpenSSL is for easy host verification. Supposedly a few versions back you would have to implement a lot of that yourself (or pull in some other dependency that does). | 12:09 |
*** trx has joined #maemo | 12:10 | |
Maxdamantus | (or you could just not do host verification, but I'd rather not do that) | 12:10 |
Maxdamantus | I'd also like to have a wrapper script that generates a certiicate db file for Opera, so the private key only needs to be kept in memory, but I wasn't able to figure out the format for that in the time I spent looking into it. | 12:14 |
Maxdamantus | in fact, the only way I got it to work was by running an old version of Opera on my desktop machine and adding the certificate there, then copying the certificates database file over to the N900 | 12:15 |
Maxdamantus | and also chmodding that file so it wouldn't get rewritten on startup | 12:16 |
Wikiwide | HTML is for hyper text, not for GUI of an application. Unless the whole application is intended to be text interface - akin to ncurses, but built with HTML. But I am being picky. | 12:21 |
Maxdamantus | "HTML" also refers to a bunch of things, not just markup. | 12:22 |
Wikiwide | And the provided ssl workaround, while apparently better in terms of privacy than using a third-party proxy - and I have to wonder if it is possible to run a new-tls-to-old-ssl proxy directly on N900... Still doesn't resolve problem of JS engine being too ancient for modern websites. | 12:24 |
Maxdamantus | I run the proxy on my N900. | 12:24 |
Maxdamantus | that's how I've been using all sites for the last few months. | 12:24 |
Maxdamantus | (and that's its function: new-tls-to-old-ssl) | 12:25 |
Wikiwide | That's great :-) I am just surviving by dismissing all these new-security websites as haughty, and choosing anz.com instead of anz.com.au for Internet Banking. | 12:26 |
Wikiwide | How difficult is it to set up this proxy? A package from repository, or?.. | 12:26 |
Maxdamantus | Yeah, I currently can't use my online banking in Opera due to lack of JS features like `Set` | 12:27 |
Wikiwide | ANZ Internet Banking works fine in MicroB, absolutely fine - just a tad slow JS when doing a bank transfer. | 12:28 |
Maxdamantus | I was thinking of just adding some polyfills or something to edbrowse and then using that for banking. | 12:28 |
Wikiwide | I like /etc/hosts blocking (DNS redirecting to localhost) of advertisements, but I feel like that's not enough. | 12:29 |
Maxdamantus | atm I can only use it on Iceweasel in the debian chroot, which seems to be very memory intensive. | 12:29 |
Maxdamantus | as for running it, you need to build openssl somewhere, then compile the C file using a command something like: | 12:31 |
Maxdamantus | gcc -D_BSD_SOURCE -D_POSIX_SOURCE mitm.c -lssl -lpthread -Wall -pedantic -std=c99 -I /mnt/sd/build/openssl/include/ -L /mnt/sd/build/openssl/ -lcrypto | 12:31 |
Wikiwide | I feel like somewhere during parsing of source code web browser should smartly (with something like userContent.css and userContent.js?) cut off all but the most essential parts of web page, somewhat similar to Reading Mode? So that number of DOM elements being remembered and rendered is minimised. | 12:31 |
Wikiwide | /me whistles | 12:32 |
Wikiwide | I don't have an SD card, so far. | 12:32 |
Maxdamantus | and you need to create a private key and corresponding root certificate (both PEM files), then you can run it as something like ` SSL_CERT_FILE=ca-certificates.crt ./a.out cakey.pem cacert.pem 127.30 9876` | 12:32 |
Maxdamantus | Doesn't require an SD card. Just happens to be where my openssl build directory is. | 12:33 |
Wikiwide | Where do I find source code? Is openssl also buildable with a single command? | 12:34 |
Wikiwide | Because it's seriously tiring when most pages just fail due to security. | 12:34 |
Maxdamantus | https://github.com/openssl/openssl | 12:34 |
Maxdamantus | I was able to just build the master branch there without difficulty in my wheezy chroot. | 12:35 |
Maxdamantus | Might build under maemo too, haven't tried. | 12:35 |
* Maxdamantus already runs other things from wheezy anyway, so prefers to build things there. | 12:36 | |
Wikiwide | No need to fetch something-dev? | 12:36 |
Wikiwide | When openssl compiles, is it just one .so file? | 12:36 |
Wikiwide | Does MicroB use the same certificates as maemo-security-certman? | 12:38 |
*** Vajb has joined #maemo | 12:42 | |
*** Venemo has quit IRC | 12:44 | |
Maxdamantus | Dunno if it requires -dev packages. It'll probably fail on ./configure if it's missing something. | 12:53 |
Maxdamantus | it's not just one .so file. I think there's libssl and libcrypto. | 12:54 |
Maxdamantus | but transitively, the program should only depend on libssl, libcrypto, libpthread and libc. | 12:55 |
*** Venemo has joined #maemo | 12:59 | |
*** spiiroin has quit IRC | 13:03 | |
Wikiwide | Maxdamantus: I will free up some space on MyDocs (it's choke-full of files, such as thousands of photographs). But last I heard, new-ish openssl is in repositories anyway - fahrplan has to support the latest security protocols. | 13:08 |
Wikiwide | http://maemo.merlin1991.at/cssu/community-devel/pool/free/o/openssl/ | 13:08 |
*** hurrian has quit IRC | 13:11 | |
Maxdamantus | Ah, that should be okay then. | 13:11 |
Wikiwide | Qml-browser sounds interesting. As in, recompiling MicroB against newer openssl sounds like a pain, whereas Qt4 and qml-browser are apparently already compiled against newer openssl. | 13:14 |
Maxdamantus | Forgot about that one. | 13:16 |
Wikiwide | Just looking at https://talk.maemo.org/showthread.php?t=100343&page=2 and wondering how JS is in this browser. | 13:18 |
Maxdamantus | URL navigation seems a bit flaky, but apparently I've still got the latest version, and I must've installed it years ago. | 13:19 |
*** hurrian has joined #maemo | 13:22 | |
Wikiwide | Uh-huh. As a lazy person, instead of downloading individual packages, I added the whole community-devel repository. Now application manager is checking for updates... | 13:27 |
Maxdamantus | and yeah, my mitm.c compiles fine on Maemo just using the current version of libssl-dev from community-devel. | 13:27 |
Wikiwide | Maxdamantus : package your proxy into community-devel repository? ;-) | 13:28 |
Wikiwide | I should have packaged "duckduckgo search engine" into repositories long ago, but packaging it properly is a hassle - easier to edit everything manually. | 13:30 |
Maxdamantus | Maybe. The main thing is probably that compiling it is about the easiest part of setting it up. | 13:30 |
Maxdamantus | Since you also need to create a private key and root certificate, and probably a recent distribution of ca-certificates for host verification, and you need to get whatever browser you're intending to use to accept that root certificate. | 13:31 |
Wikiwide | Yes. The trickiest part with ddg search engine is imagining that there is also an xyz search engine packaged. | 13:32 |
Maxdamantus | and you need to get your browser to connect to it as an HTTP proxy. | 13:32 |
Maxdamantus | HTTP proxy configuration on microb seemed quite annoying; it just takes the system settings, which means you need to configure the proxy through Maemo settings for every network you use. | 13:33 |
Wikiwide | Whatever browser : browser-switchboard knows something about choosing which browser is being used. | 13:33 |
Wikiwide | Annoying, but reliable. Better than having each browser use its own configuration. | 13:33 |
Wikiwide | And I use four different networks, at most. Home wifi, eduroam, uniwide and cellular data. | 13:34 |
Wikiwide | Are there any default presets for networks? So that each new network would, by default, use the proxy? | 13:35 |
sixwheeledbeast | this is an issue on a lot of mobile devices | 13:36 |
Maxdamantus | Oh right, opera did that as well, but I stopped it by just chmodding the configuration file to be non-writable. | 13:36 |
KotCzarny | isnt opera sold to some chinese corpo? | 13:36 |
Wikiwide | Installed ddg: google->ddg. Installed xyz: ddg->xyz. Uninstalled ddg: xyz->google. Uninstalled xyz: google->ddg. Expected outcome: google. Received outcome: ddg. Bug. | 13:37 |
Wikiwide | The only way out is to say that each search engine conflicts all other search engines. | 13:38 |
Wikiwide | Then there would be no such tangles. | 13:38 |
Wikiwide | But I don't know if it's possible to say that ddg-engine provides/replaces <search-engine> and conflicts <search-engine> at the same time. | 13:40 |
KotCzarny | yeah, because bug exists in newer kernels | 13:44 |
KotCzarny | erm, wrong chan | 13:44 |
*** richrboo_ has quit IRC | 13:53 | |
*** Wikiwide has quit IRC | 14:02 | |
*** spiiroin has joined #maemo | 14:05 | |
*** Vajb has quit IRC | 14:11 | |
*** Vajb has joined #maemo | 14:13 | |
*** Vajb has quit IRC | 14:34 | |
*** Vajb has joined #maemo | 14:36 | |
*** Sigyn has quit IRC | 15:08 | |
*** Sigyn has joined #maemo | 15:09 | |
*** ChanServ sets mode: +o Sigyn | 15:09 | |
*** Vajb has quit IRC | 15:19 | |
*** Vajb has joined #maemo | 15:21 | |
*** antranigv has joined #maemo | 15:40 | |
*** troulouliou_div2 has joined #maemo | 15:46 | |
*** Vajb has quit IRC | 15:47 | |
*** Vajb has joined #maemo | 15:54 | |
*** Vajb has quit IRC | 16:35 | |
*** Vajb has joined #maemo | 16:36 | |
*** Vajb has quit IRC | 17:08 | |
*** Vajb has joined #maemo | 17:10 | |
*** sicelo has quit IRC | 17:13 | |
*** warfare has quit IRC | 17:14 | |
*** frals has quit IRC | 17:14 | |
*** sicelo has joined #maemo | 17:14 | |
*** sicelo has quit IRC | 17:14 | |
*** sicelo has joined #maemo | 17:14 | |
*** frals has joined #maemo | 17:14 | |
*** warfare has joined #maemo | 17:14 | |
*** Vajb has quit IRC | 17:33 | |
*** Vajb has joined #maemo | 17:35 | |
*** Vajb has quit IRC | 17:44 | |
*** Vajb has joined #maemo | 17:50 | |
*** Enrico_M_RX-51 has left #maemo | 18:20 | |
*** florian has quit IRC | 18:20 | |
*** Pali has joined #maemo | 18:24 | |
*** troulouliou_div2 has quit IRC | 19:09 | |
*** florian_kc has joined #maemo | 19:47 | |
*** jskarvad is now known as jskarvad_afk | 19:52 | |
*** Venemo has quit IRC | 20:30 | |
*** Venemo has joined #maemo | 20:31 | |
*** Vajb has quit IRC | 20:57 | |
*** antranigv has quit IRC | 21:10 | |
*** Venemo has quit IRC | 21:22 | |
*** Wikiwide has joined #maemo | 21:23 | |
*** Venemo has joined #maemo | 21:23 | |
Wikiwide | How do I add CSSU devel to HAM? I tried http://maemo.merlin1991.at/cssu/ community-devel free, doesn't seem to work. | 21:36 |
*** Venemo has quit IRC | 21:40 | |
*** Venemo has joined #maemo | 21:40 | |
Wikiwide | http://maemo.merlin1991.at/cssu/community-devel/ ./ free doesn't seem to work, either | 21:47 |
sicelo | http://maemo.merlin1991.at/cssu/community-devel/ fremantle free | 21:53 |
*** Wikiwide has quit IRC | 21:54 | |
*** Kabouik has quit IRC | 22:03 | |
*** jskarvad_afk is now known as jskarvad | 22:07 | |
*** jskarvad has quit IRC | 22:18 | |
*** Kabouik- has joined #maemo | 22:21 | |
*** Venemo has quit IRC | 22:38 | |
*** Vajb has joined #maemo | 23:20 | |
*** eMHa has quit IRC | 23:28 | |
*** trx has quit IRC | 23:56 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!