IRC log of #maemo for Friday, 2016-04-29

ultwhen i start wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf which contains only ctrl_iface it goes CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0 like crazy00:03
*** xes has quit IRC00:04
DocScrutinizer05ult: what's the use of having two parallel internet interfaces when you don't set up according routes?00:06
Sicelo+1   :)00:06
Siceloyou didn't explain what you need 2 iface up00:07
Sicelo*why00:07
ultcustom rt_table could be put in place, ip rules configured to route certain traffic via gprs while other stuff through ap00:07
DocScrutinizer05((is it hardcoded in wlancond to treat wlan and gprs as mutually exclusive?)) that's "hardcoded" into the way internet connectivity works00:08
DocScrutinizer05I think what you want to look into is dnsmasq00:09
ultno way, multiple default routes via multiple ifaces are possible. what's the connection to dnsmasq?00:09
DocScrutinizer05look into it and you'll see00:10
DocScrutinizer05icd2, dnsmasq, wlancond00:10
ult"per interface forwarders" is what i've seen, am i missing smth?00:10
*** L29Ah has left #maemo00:14
DocScrutinizer05http://paste.opensuse.org/1709834300:14
DocScrutinizer05>>The dnsmasq DHCP server supports static address assignments and multiple networks.<<00:16
ultelaborate a bit. there's no problem in having it manage several interfaces at once. my goal is to pinpoint the script which brings down one iface when other comes up. IF it's done by script and not some logic inside something which is closed source.00:22
DocScrutinizer05https://talk.maemo.org/showthread.php?t=9610800:25
DocScrutinizer05ICD = Internet Connection Deamon00:26
DocScrutinizer05>>To be honest I recommend avoiding ICD like the plague since most of it seems to come from symbian...<<00:27
DocScrutinizer05http://maemo.org/api_refs/5.0/beta/icd2/group__dbus__api.html00:28
SiceloDocScrutinizer05: do we have easy way to control gprs0 on N900?00:29
DocScrutinizer05dunno00:29
DocScrutinizer05tbh I never looked into it00:29
DocScrutinizer05http://maemo.org/api_refs/5.0/beta/icd2/group__srv__provider__api.html00:30
DocScrutinizer05http://maemo.org/api_refs/5.0/beta/icd2/group__network__module__api.html00:32
DocScrutinizer05http://wiki.maemo.org/N900_dbus00:35
*** L29Ah has joined #maemo00:39
*** L29Ah has left #maemo00:39
*** L29Ah has joined #maemo00:44
ultALOT of info, thx. any idea how to discover what exactly brings device down? strace wlancond - megs of garbage. gdb breakpoint on some syscall? any other way to install hook on event?00:47
DocScrutinizer05 /etc/init.d/network  /etc/dnsmasq.conf00:50
DocScrutinizer05oops sorry00:50
DocScrutinizer05 /etc/init.d/networking00:51
DocScrutinizer05seems /sbin/ifup is basically what you want to look into00:54
DocScrutinizer05though it's entangled with ICD(")00:54
DocScrutinizer052 even00:54
DocScrutinizer05obviously a connection gets enabled and marshalled to sustem only when DHCP succeeded00:55
DocScrutinizer05system*00:55
DocScrutinizer05tgus dnsmasq is also entangled00:55
DocScrutinizer05I even think dnsmasq is the last element in that chain, that finally sets up the route and gives the OK to use the IF00:56
*** at1as has quit IRC00:56
Sicelosomeone must send AT commands to the modem in the case of gprs0. who is that? i guess ICD?00:57
DocScrutinizer05libicd2 libisi dunno00:58
*** bredebid has quit IRC00:59
DocScrutinizer05I'm not even sure it tears down the PDP_context00:59
ultdnsmasq serves as dns forwarder and cached reply relay, plus dhcp server. but in both cases with gprs and wlan in STA mode we're on the client side. what dnsmasq has to do with connection completion in this scenario, i'd rather assume that udcpd is involved, no?01:00
DocScrutinizer05ask frals, he might know details01:00
DocScrutinizer05a ps will enlighten you01:01
Siceloudhcpc is what our dhcp client. dnsmasq is our dns server01:01
DocScrutinizer05root     31334  0.0  0.2   1628   576 ?        S    Apr28   0:00 /sbin/udhcpc -i wlan0 -s /etc/udhcpc/libicd_network_ipv4.script -H IroN900 -f -R 1501:02
Sicelodnsmasq is not used as dhcp server on maemo's default config. of course the ability is there and you can use it for yourself01:02
DocScrutinizer05IroN900:~# cat /etc/udhcpc/libicd_network_ipv4.script01:03
DocScrutinizer05#!/bin/sh01:03
DocScrutinizer05# Place your script to /etc/maemo-dhcp.d directory so that it gets run.01:03
DocScrutinizer05run-parts -a "$1" /etc/maemo-dhcp.d01:03
DocScrutinizer05less /etc/maemo-dhcp.d/50_ipv4_network_setup01:04
*** trumee has quit IRC01:04
*** githogori has joined #maemo01:05
*** Mek has quit IRC01:05
*** amospalla has quit IRC01:05
DocScrutinizer05        /usr/bin/dbus-send \             --system \             --dest=com.nokia.icd \             /com/nokia/icd/autoconf \             com.nokia.icd.autoconf.autoconf_changed \             string:$interface string:DHCP string:CONNECTED01:05
*** Trizt has quit IRC01:07
*** till has quit IRC01:07
Siceloi wonder if that dbus cmd is what i'm missing in my wpa_supplicant string .. i have dummy network, and all applications 'see' the connection. pidgin does not however. it still works, but it keeps showing "waiting for connection"01:08
*** Trizt has joined #maemo01:08
DocScrutinizer05system informs maemo aps about connectivity status01:08
Sicelowill try it tomorrow at work (which is the only place i need wpa_supplicant .. stupid windows-based radius network)01:08
DocScrutinizer05~usb-networking01:09
infobot[usb-networking] http://wiki.maemo.org/USB_networking, or http://wiki.maemo.org/N900_USB_networking, or  http://wiki.maemo.org/User:Joerg_rw/usb-networking01:09
*** amospalla has joined #maemo01:09
Siceloi have all that :)01:09
Siceloand works perfectly for all applications, except pidgin01:10
*** vakkov has quit IRC01:11
*** till has joined #maemo01:12
DocScrutinizer05hmmm01:13
DocScrutinizer05does pidgin need to authenticate anew?01:13
DocScrutinizer05I mean, for all my IRC clients they need to log in again after internet connection got changed01:14
DocScrutinizer05not only on maemo01:14
DocScrutinizer05ult: sorry I was a tad grumpy, I'm hungry and tired. Actually this whole internet connection stuff on maemo is a maze and a mess01:17
DocScrutinizer05I got no real clue either01:17
DocScrutinizer05what I can tell you is a maybe interesting observation that trying to switch from GPRS to WLAN doesn't break the connection until WLAN actually provided a DHCP lease01:19
DocScrutinizer05if it doesn't, the connection try will get aborted and user gets a requester "failed! try again?"01:19
DocScrutinizer05during all that the GPRS connection happily works on01:20
*** vakkov has joined #maemo01:25
*** RedW has quit IRC01:25
Siceloyes .. i like that particular feature. saves you getting disconnected into a bad network :)01:25
Siceloindeed, the NITs are meant for always-on connectivity01:26
DocScrutinizer05unrelated: half a day of IroN900 idling, as seen by router  http://wstaw.org/m/2016/04/29/plasma-desktopxb2219.png01:26
*** florian has quit IRC01:27
Sicelonice router01:27
DocScrutinizer05indeed01:27
DocScrutinizer05ubiquiti01:27
DocScrutinizer05great01:28
ulttried to enclose/etc/maemo-dhcp.d/50_ipv4_network_setup deconfig) section  in { if [ "$interface" != "gprs0" ]; then} but to no avial. but with added {echo "$(date) $interface" >> /tmp/2} before the condition check it looks like wlan gets deconfigured even when you're changing connection from gprs to wlan...weird01:28
*** RedW has joined #maemo01:29
DocScrutinizer05well, tear it down just in case user messed with it meanwhile ;-)01:29
DocScrutinizer05you quite easily could just use wifieye despite not being connected to an AP and rather using GPRS01:30
DocScrutinizer05in that case _obviously_ WLAN is active, but somewhat incorrectly configured01:31
*** lobito has joined #maemo01:31
DocScrutinizer05and maybe that's just what you want to do: disallow "automatic switching to WLAN when available" in settings, then absolutely normally bring up WLAN and connect and add a route01:32
DocScrutinizer05I guess it's a nightmare to teach ICD2 that trick to keep 2 concurrent connections active01:33
DocScrutinizer05so best and simlest thing is to not tell "maemo" aka ICD2 / wlancond etc pp about any AP it's allowed to connect to01:34
*** RedM has joined #maemo01:34
DocScrutinizer05then connect "manually" like on any other linux system01:34
*** RedW has quit IRC01:34
DocScrutinizer05see wifieye for a prolly helpful example how to bring up and tear down WLAN01:35
DocScrutinizer05though wifieye only does scans, connecting to an AP can't be significantly more complicated01:36
ult"auto switch to wifi" doesn't provide a way to have both gprs and wlan simultaneously up. connect manually - do you mean via wpa_supplicant?01:38
*** Cor-Ai has quit IRC01:41
*** florian has joined #maemo01:41
*** xes has joined #maemo01:43
DocScrutinizer05http://processors.wiki.ti.com/index.php/WL127x_WLAN_API_Information#mac802.11_Basics01:45
DocScrutinizer05>>"auto switch to wifi" doesn't provide a way to have both gprs and wlan simultaneously up<< is *exactly* what I said01:46
*** Cor-Ai has joined #maemo01:46
ult"auto switch to wifi disabled" doesn't seem to do the trick either01:47
ultbut wpa_supplicant succeded in connection to AP while gprs0 was ( and remained) active, provided it had needed network descr block in conf. all that is left is to automate the process of doing it with 1 command01:51
*** zap has quit IRC01:56
* DocScrutinizer05 waves01:58
*** florian has quit IRC01:59
DocScrutinizer05glad to hear my suggestion worked for you02:00
*** salamisami has quit IRC02:03
*** Pali has quit IRC02:03
*** trumee has joined #maemo02:20
*** trumee has quit IRC02:21
*** Mek has joined #maemo02:24
*** ult has quit IRC03:09
*** andril has joined #maemo03:22
*** at1as has joined #maemo03:24
*** vakkov has quit IRC03:29
*** lobito has quit IRC03:56
*** lobito has joined #maemo03:56
*** vakkov has joined #maemo03:58
*** trumee has joined #maemo03:59
*** vakkov has quit IRC04:04
*** eMHa__ has joined #maemo04:12
*** lobito has quit IRC04:13
*** eMHa_ has quit IRC04:15
*** zZap-X has quit IRC04:18
*** zZap-X has joined #maemo04:18
*** lobito has joined #maemo04:21
*** SmilyOrg has quit IRC04:30
*** robotanarchy_ has joined #maemo04:42
*** Smily has joined #maemo04:43
*** robotanarchy has quit IRC04:46
*** Defiant has quit IRC04:55
*** Defiant has joined #maemo04:59
*** lxp1 has joined #maemo06:02
*** at1as has quit IRC06:02
*** DocScrutinizer05 has quit IRC06:03
*** DocScrutinizer05 has joined #maemo06:03
*** lxp has quit IRC06:04
*** pagurus` has joined #maemo06:38
*** pagurus has quit IRC06:38
*** pagurus` has quit IRC06:39
*** pagurus` has joined #maemo06:39
*** Humpelstilzchen has joined #maemo08:19
*** Vajb has quit IRC08:21
*** Defiant has quit IRC08:22
*** Vajb has joined #maemo08:23
*** script has joined #maemo08:26
*** zamn900 has quit IRC08:45
*** tanty_off is now known as tanty08:57
*** Milhouse has quit IRC08:57
*** arcean has joined #maemo08:57
*** Milhouse has joined #maemo09:11
*** vahe has joined #maemo09:12
*** florian has joined #maemo09:19
*** vahe has quit IRC09:22
*** florian has quit IRC09:30
*** hellekin has quit IRC09:51
*** hellekin has joined #maemo09:52
*** vahe has joined #maemo09:57
*** hellekin has quit IRC10:04
*** florian has joined #maemo10:11
*** vahe has quit IRC10:11
*** zamn900 has joined #maemo10:35
*** zamn900 has joined #maemo10:35
zamn900is there some refreshing new about yappari10:36
zamn900in any case good morning heroes10:37
zamn900especially to you ceene10:37
zamn900and don't get nasty and blown of mind like mr.robot10:38
*** useretail has quit IRC10:40
*** zap has joined #maemo10:44
zamn900too soon? you all nasty boys10:52
*** vahe1 has joined #maemo10:54
zamn900I am not whatsapp addicted... I am NOT!11:01
zamn900I am not using irc chat instead of whatsapp/yappri11:02
zamn900I am NOT!11:02
*** ult has joined #maemo11:08
zamn900ult did you solve it with dnsmasq?11:20
zamn900are you russian?11:20
zamn900I am no squirrelling11:21
zamn900I am NOT!11:21
*** salamisami has joined #maemo11:30
*** hellekin has joined #maemo11:31
zZap-Xive had enough of whatsapp, whatsapp-purple banned one of my numbers for no reason11:41
zZap-Xfuck facebook, fuck suckerberg and fuck whatsapp11:41
zZap-Xwhy bother trying to support closed protocol piece of shit11:42
zZap-Xits a pity, yaparri is the only decent looking chat gui on the N900 apart from SMS11:43
zZap-Xthere is a 32-bit version of telegram client for linux https://tdesktop.com/linux32 i wonder if that will compile on N900?11:46
zZap-Xsomebody has already started one https://dl.dropboxusercontent.com/u/11747350/TelegramN900.tar.gz11:47
zZap-Xor maybe jabber/xmpp11:52
*** jskarvad has joined #maemo11:53
zamn900what?12:01
zamn900you foooool12:01
*** bredebid has joined #maemo12:18
zamn900I don't get whyyyyyyyyyyyyyyyyyyyyyy12:26
*** hellekin has quit IRC12:28
*** Ex-Opesa has quit IRC12:30
*** Ex-Opesa has joined #maemo12:30
zamn900I am not delusional and delirious... this is not12:33
keriorip numbas12:33
zamn900infobot, don't say a thing12:34
zamn900all will be fixed12:34
zamn900everything is going to be fine...12:41
* zamn900 pats his own back12:41
*** zGrr has joined #maemo12:42
*** zamn900 has quit IRC12:54
*** hellekin has joined #maemo13:06
*** lobito has quit IRC13:38
*** xes has quit IRC13:40
*** salamisami has quit IRC13:42
*** xes has joined #maemo13:42
zGrrmoin :)14:02
APicB-)14:03
*** salamisami has joined #maemo14:07
*** useretail has joined #maemo14:07
*** L29Ah has left #maemo14:25
*** L29Ah has joined #maemo14:33
*** L29Ah has left #maemo14:33
*** L29Ah has joined #maemo14:34
*** L29Ah has left #maemo14:34
*** L29Ah has joined #maemo14:35
*** salamisami has quit IRC14:54
*** salamisami has joined #maemo14:59
*** zGrr has quit IRC15:06
*** zGrr has joined #maemo15:08
*** salamisami has quit IRC15:16
*** Maxdamantus has quit IRC15:25
*** Maxdamantus has joined #maemo15:25
*** ecloud has joined #maemo15:34
*** Maxdamantus has quit IRC15:48
*** Maxdamantus has joined #maemo15:48
*** at1as has joined #maemo15:56
*** zamn900 has joined #maemo16:00
*** zamn900 has joined #maemo16:00
zamn900hellooooo16:01
*** KotCzarny has quit IRC16:03
*** KotCzarny has joined #maemo16:14
*** Maxdamantus has quit IRC16:20
*** Maxdamantus has joined #maemo16:20
*** arcean has quit IRC16:38
*** RedW has joined #maemo16:49
*** RedM has quit IRC16:49
*** ecloud has joined #maemo17:00
*** lobito has joined #maemo17:22
*** ecloud has quit IRC17:23
*** ecloud has joined #maemo17:23
*** h_ll_k_n has joined #maemo17:28
*** pcfe` has joined #maemo17:31
*** pcfe` has quit IRC17:31
*** pcfe` has joined #maemo17:31
*** L29Ah has quit IRC17:33
*** hellekin has quit IRC17:33
*** zap has quit IRC17:33
*** amospalla has quit IRC17:33
*** Trizt has quit IRC17:33
*** fk_lx has quit IRC17:33
*** realitygaps has quit IRC17:33
*** timeless has quit IRC17:33
*** pcfe has quit IRC17:33
*** LauRoman has quit IRC17:33
*** freemangordon has quit IRC17:33
*** kraft has quit IRC17:33
*** sixwheeledbeast has quit IRC17:33
*** ecloud has quit IRC17:34
*** L29Ah has joined #maemo17:37
*** zap has joined #maemo17:37
*** Trizt has joined #maemo17:37
*** fk_lx has joined #maemo17:37
*** LauRoman has joined #maemo17:37
*** freemangordon has joined #maemo17:37
*** kraft has joined #maemo17:37
*** sixwheeledbeast has joined #maemo17:37
*** amospalla has joined #maemo17:37
*** h_ll_k_n is now known as hellekin17:37
*** kraft has quit IRC17:37
*** kraft has joined #maemo17:38
*** realitygaps has joined #maemo17:38
*** timeless has joined #maemo17:45
*** jake42 has quit IRC17:45
*** jake42 has joined #maemo17:45
*** troulouliou_div2 has joined #maemo18:01
*** shentey has joined #maemo18:12
zZap-Xive come to the conclusion, instead of using big company chat protocols, why not build your own?18:21
zZap-Xi could run this on my server https://prosody.im/18:21
zZap-Xandroid devices could connect with https://www.xabber.com/18:21
zZap-Xand n900 can connect with build in jabber18:21
zZap-Xeven WhatsApp uses its own version of XMPP18:23
zZap-Xand Google Talk18:23
zZap-Xand i think Facebook chat does too18:23
Siceloand who will use your own chat protocol? :)18:24
zZap-Xall 3 of my friends :)18:25
Siceloyou're lucky18:25
zZap-XI will even get my Mum to download a XMPP client for her crappy windows phone18:26
zZap-Xif i can get my friends to download decent XMPP clients, there will be no problems :D18:27
zZap-Xanother solution is to run a IRC server, but the smartphone IRC clients don't look very nice18:30
*** Pali has joined #maemo18:39
*** florian has quit IRC18:50
*** vakkov has joined #maemo19:05
*** krnlyng has quit IRC19:29
keriojabber is maybe kinda sorta decentralized19:38
keriopretty much like email19:38
kerioand ejabberd > prosody19:39
*** vakkov has quit IRC19:40
*** vakkov has joined #maemo19:40
zamn900I hate you all19:41
* zamn900 isterically crying19:41
*** krnlyng has joined #maemo19:43
*** troulouliou_div2 has quit IRC19:49
zZap-Xdoes maemo jabber client support group chats?19:50
*** tanty is now known as tanty_off19:51
*** shentey has quit IRC19:59
zamn900I just hate you20:12
*** futpib_ has joined #maemo20:12
*** robotanarchy_ has quit IRC20:15
PalizZap-X: yes, maemo supports jabber group chats20:17
*** at1as has quit IRC20:20
zZap-Xawesome20:24
zZap-Xproblem solved.20:24
zZap-XXMPP can do a lot more than WhatsApp with the right extensions :D20:25
parazydkerio: why ejabberd > prosody?20:28
*** salamisami has joined #maemo20:29
kerioalways felt much more comfortable with ejabberd20:29
parazydi see. just wondering because for me it's been the other way around20:30
*** florian has joined #maemo20:39
zZap-Xejabberd looks a bit too bloated for my requirements20:44
*** vahe1 has quit IRC20:44
zZap-Xno need for web admin panel20:44
*** vahe1 has joined #maemo20:45
zZap-Xeven mac os x Messages client supports XMPP20:45
keriodoesn't prosody also have a web interface?20:47
parazydi think not20:47
*** jskarvad has quit IRC20:49
*** xelo has joined #maemo20:49
zZap-Xi dont think so20:50
zZap-Xthe N900 lives on :D20:50
keriooh it's a loadable module20:50
*** vahe1 has quit IRC20:50
zZap-Xbitlbee, N900, IOS, Android, Windows, Linux, BSD all have decent XMPP clients20:52
parazydkerio: what's it called? i don't remeber it20:52
zZap-Xsuckerberg eat your heart out20:54
DocScrutinizer05https://files.devuan.org/devuan_jessie_1.0.0-beta.torrent20:55
parazydbitlbee ftw20:57
kerio>using linux in $current_year20:57
DocScrutinizer05https://devuan.org20:58
parazyd:320:58
zamn900I think you are all mistaken to substitute the entire whatsapp thing with some xmpp21:49
zamn900not possible and just a waste of time21:50
*** zamn900 has quit IRC21:50
*** zamn900 has joined #maemo21:50
*** zamn900 has joined #maemo21:50
zZap-Xzamn900: why is it not possible?22:02
zZap-Xit makes sense if you own a N90022:02
zZap-Xi got a little green circle in the status bar now22:02
zamn900no... it's impossible to have double and triple flagchecks like in whatsapp... to have photo,video,speech sharing like that...22:07
*** ced117 has quit IRC22:20
*** bredebid has quit IRC22:30
*** N-Mi has quit IRC22:34
*** at1as has joined #maemo22:35
*** futpib_ has quit IRC23:21

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