libera/#maemo-leste/ Monday, 2022-05-02

buZzi think i'll try a reinstall from that 20220410 droid4 image again00:57
buZzand reinstall android while i'm at it :P00:58
buZzor maybe eh, whatsitsface00:58
WizzupbuZz: what broke?01:00
buZzwell, deb-src, and the dns issue on gprs still, i wonder if a reinstall and update fully -before- inserting sim might help01:00
buZzthe android broke because i think i reused on of the partitions as swap once :P01:01
buZzone*01:01
buZzgee, on android i can still get 3G?02:01
buZz5.1Mbps connection in my nerdcave02:01
Wizzupthat seems surprising02:04
Wizzupthe modem is really it's own os02:04
Wizzupfwiw I also get 3g on my leste d4 np02:04
WizzupbuZz: can you describe the dns issue and file a bug so that I can take a look?02:04
buZzyeah , where do you want the bug?02:05
buZzjust https://github.com/maemo-leste/bugtracker/issues i guess :P02:06
buZzWizzup: actually, i bet its just part of https://github.com/maemo-leste/bugtracker/issues/50702:08
Wizzupso if a dns server is not provided by static ip - e.g. cellular, it should fall back to 9.9.9.902:11
buZznot sure if thats the 'should'02:12
buZzif there were already scripts to fix this on previous maemo, why not just run em again?02:12
buZzwell, i guess improvement is good02:12
Wizzupif only the world was as simple as that :)02:12
buZz^_^02:12
Wizzupso for me this has been working with and without tor, with and without wireguard, with and without wifi/gprs02:13
Wizzupso I would need to get more info from you on what is going wrong02:13
buZzhmhm, well , resolv.conf points to 127.0.0.1 , dnsmasq -is- running02:14
buZzjust not sure why dnsmasq doesnt know where to look for cellular dhcp connections02:14
buZzfor wifi it works02:14
buZzand if i enable tor, dns will go over tor aswell? , which seems to fix it02:14
buZzalso just overwriting resolv.conf fixes it02:14
buZzoh!02:15
buZzafter i flashed android, booted it, powered down, booted into leste again02:15
buZzi get 3G in leste02:15
buZzlol02:15
buZzi guess it flashes the baseband aswell?02:16
buZzyeah nice, 5.8Mbps even :)02:18
Wizzupright 127.0.0.1 is not the point02:18
Wizzupthe point is what dnsmasq is trying to read02:18
buZzhmhm02:18
buZzany logs i could grab?02:18
WizzupI don't think android flashes it, you probably forgot to issue the commands to change the modem region02:18
Wizzupyes, but it's too late for me now02:19
Wizzupwhat matters is what resolvconf contains02:19
buZzoh quite possible :D02:19
buZzah, ok02:19
WizzupI don't remember where it is stored but can look tomorrow02:20
Wizzupbut if you know how resolvconf works..02:20
buZzrunning the scripts in /etc/gprs/ doesnt help, fyi :)02:29
* Wizzup zzz02:31
buZznn ;)02:31
buZzah, also , if i just run dhclient -v -4 wwan3 , it does get a working dns into resolvconf/dnsmasq02:37
buZzoh? maybe i found it, uninstalling the tor daemon :)02:41
buZzhm nope03:11
lelbuzztiaan opened a pull request: https://github.com/maemo-leste/mce/pull/55 (some small typo)03:24
buZzunrelated though03:24
buZzit must something with udhcpc and how its grabbing dns data to push towards resolvconf, resolvconf only seems to be getting 0.0.0.003:45
lelbuzztiaan opened a pull request: https://github.com/maemo-leste/libicd-network-ipv4/pull/4 (prevent setting 0.0.0.0 as dns)04:17
buZz\o04:17
buZzalmost 4:2004:17
mighty17[m]https://github.com/maemo-leste-upstream-forks/mesa/blob/maemo/beowulf-devel/debian/patches/0001-Fix-meson-build-system-and-build-pvr-driver.patch#L36 why are we removing pvr from meson?08:23
mighty17[m]tmlind: i applied the mesa patch, the wlroots patch, but still it fails with the same error, am i missing something?09:23
mighty17[m]```09:23
mighty17[m](phoc:2789): phoc-wlroots-CRITICAL **: 12:52:51.960: [backend/drm/renderer.c:246] Failed to pick render format for plane 3209:23
mighty17[m](phoc:2789): phoc-wlroots-CRITICAL **: 12:52:51.960: [backend/drm/drm.c:725] connector LVDS-1: Failed to initialize renderer: initial page-flip failed09:23
mighty17[m](phoc:2789): phoc-wlroots-CRITICAL **: 12:52:51.961: [backend/drm/drm.c:813] connector LVDS-1: Failed to initialize renderer for plane09:23
buZzdoes anyone here know, the deb-src stuff, did i set it up correctly? cant seem to get any sources13:33
buZz22:11:29 < buZz> pastebin.com/ErzdcnrF13:33
buZz22:11:53 < buZz> isnt that setup correctly?13:33
buZzhmmmm, 40 -bytes- ?? https://maedevu.maemo.org/leste/dists/beowulf-devel/droid4/source/13:35
buZzi guess thats the source of my issues :P13:36
buZz~badum13:36
Wizzuphmm13:36
buZz*tsssh*13:36
Wizzupmaybe again disk space problems?13:36
buZzothers do seem to have more https://maedevu.maemo.org/leste/dists/beowulf-devel/pinephone/source/13:36
buZzWizzup: oh, maybe it gets overwritten on every build on phoenix?13:36
buZzfailed build cause of diskspace -> no sources collected -> empty tarball pushed?13:37
Wizzupso does apt-get source osso-xterm work for you?13:37
buZzcant we make some space on phoenix? delete some old build perhaps13:37
buZzor archive em13:37
buZzosso-xterm does work!13:38
buZzomap-linux does not , which is what i really wanted to edit :P13:38
buZzreally wanna try to see if i can get cpcap to behave slightly better13:39
WizzupI did do that often @ delete old stuff13:39
WizzupbuZz: yea so really you should git clone the kernel repo but I agree we have a problem13:40
Wizzupso for the disk space, I have another place we can run the machine13:40
Wizzupbut it will take -my- (or someone else's) time to migrate it all13:40
Wizzuplike, install nginx, rsync packages, set up irc bot logger, get hostkeys in jenkins13:40
Wizzupand then we need the dns change13:40
buZzhmhm, and i can just plonk the built kernel in /boot ?13:41
buZzoh i guess i can add it to kexecboot even13:41
buZznice13:42
buZzi'll go try that route13:42
buZzWizzup: did you see i PR'd a workaround for the DNS issues?13:42
buZz04:17:34 < lel> buzztiaan opened a pull request: https://github.com/maemo-leste/libicd-network-ipv4/pull/4 (prevent setting 0.0.0.0 as dns)13:43
Wizzuplet me look13:43
buZzalso one @ mce but that was just a typo that annoyed me in the logs ;)13:43
WizzupbuZz: yes @ boot, well also you need modules13:43
buZzright13:43
WizzupbuZz: ah that's a  good fix13:43
buZzthey dont need to be on /boot though, right? just in the rootfs?13:44
buZzno initrd needed?13:44
Wizzupwonder why udhcpc does that13:44
Wizzupno initramfs no13:44
Wizzupcorrect @ modules13:44
buZzsweet13:44
Wizzupbut if the change you want to make is in dts only it's much easier13:44
buZzhmhm, well13:44
buZzi first wanna experiment with it for a while13:45
buZzso, repo isnt maemo-leste/droid4-linux anymore? or just pending a rename13:46
buZzoh man, thats a lot of branches :D haha13:46
Wizzupyes13:47
Wizzupdo you have a cross compiler set up?13:47
Wizzupyou don't want to do the dev on the d413:47
buZzwhy not? :D13:47
buZzi have time13:48
bencohbecause it's slow13:48
Wizzupit's really, really slow13:48
bencohand painful13:48
Wizzupand cross compiling is painless13:48
buZzthats ok, i once did a gentoo stage1 install on a 486sx13:48
Wizzuplike it's really easy at this point :)13:48
buZzhehe well, i might have it setup :P13:48
buZzbut, which branch is the current one?13:49
buZzi guess the maemo-5.15 one?13:49
Wizzupno13:50
Wizzupsorry, just let me make my coffee13:50
buZznp, take yr time ^_^13:51
Wizzupand yes we need to rename droid4-linux13:52
buZzah yeah, ok13:52
WizzupI think this one: https://github.com/maemo-leste/droid4-linux/tree/wip/n900/maemo-5.15-cleaned-up13:52
Wizzupand yes we need to clean that up :)13:53
lelMerlijnWajer closed a pull request: https://github.com/maemo-leste/libicd-network-ipv4/pull/4 (prevent setting 0.0.0.0 as dns)13:54
buZzw000t13:55
Wizzupare we sure this is coming from udhcpc though?13:57
buZzah gee 'wip/n900/maemo-5.15-cleaned-up' is the whole branchname :D13:57
Wizzupthis happened with gprs for you, right?13:57
WizzupbuZz: yes13:57
buZzWizzup: i added syslog output to the udhcpd script there, and its showing '0.0.0.0' as input13:58
buZzonly on gprs&umts indeed13:58
buZzseemingly udhdpc fails to interpret the dns servers from the telco (youfone/kpn) and pushes 0.0.0.0 forward13:58
WizzupI am surprised udhcpc would run at all on gprs/umts, I think we just get the ip from ofono and pass it as static gconf to ipv4 module13:58
buZzi dont see any way to affect or debug the parsing further13:59
Wizzupdid syslog show udhcpc running?13:59
buZzwell, -that script- that i did a PR on runs on connecting to 2/3G13:59
Wizzupright13:59
buZzwhich is a udhcpc script13:59
WizzupI think it's our script13:59
Wizzupthat runs in various parts13:59
buZzif its used outside of udhcpc , that might be a problem13:59
buZzs/a/the/13:59
Wizzupnot just on udhcpc but also for static dhcp conf13:59
Wizzuphttps://github.com/maemo-leste/libicd-network-ofono/commit/d462a8a5e121fc36c8e7b818e254d88ad430634514:00
Wizzup(yes that contains the word hack often)14:00
buZzyeah, but its not calling 'that script' ?14:01
Wizzupyes it is, per icd module order14:01
Wizzuphere: https://github.com/maemo-leste/libicd-network-ofono/commit/d462a8a5e121fc36c8e7b818e254d88ad4306345#diff-00691051bb184e3f26ba941c1e259dba8911b3d1b89dad9ff013fe530f5976d3R14614:01
buZzso link_up_cb() calls 50_ipv4_network_setup ?14:02
Wizzupindirectly, yes14:02
buZzwithout being udhcpc that might cause issues yeah14:02
Wizzupit might be a provider thing14:02
Wizzupsince I don't get it in .nl but you do14:02
buZzhmhm14:02
Wizzupnot kpn, right?14:02
buZzyoufone is a MVNO on kpn14:03
Wizzuphm14:03
Wizzupmaybe we should have an issu to deal with this in a better way14:04
lelMerlijnWajer closed an issue: https://github.com/maemo-leste/bugtracker/issues/507 (icd2/busybox-udhcpc: Respect DNS (resolv.conf) from DHCP upon connection)14:04
buZzhmhm14:05
buZzwell, i'm sure eventually we'll get more ppl running into this :)14:05
Wizzupyes14:06
buZzeither way, this fix allows the 9.9.9.9 to get used by me14:07
Wizzupright, I merged it, just now wondering if it's the fix in the right place :)14:12
buZzits a workaround, not a fix :)14:12
buZzthe issue caused another issue, it work arounds that14:12
buZzwe still need/should find where dns -should- be coming from14:13
Wizzupwell in all non-gprs cases I am sure it work14:13
Wizzups14:13
Wizzupunless gconf contains bad ips for dns14:13
Wizzup(which 0.0.0.0 could be)14:13
buZzthis workaround will work in all cases, 0.0.0.0 should never be set as dns14:13
Wizzupit's building now14:15
Wizzup(see ##leste-ci)14:15
Wizzupuvos: do we have an issue for the call problems? I am a bit confused because I think tmlind still uses it daily, so maybe it's also related to how we do UCM or something14:16
Wizzupuvos: in any case if we have an issue maybe it'll be easier to tackle it soon14:16
buZz                dev_info_once(ddata->dev, "Can not find battery nvmem device. Assuming generic lipo battery\n");14:23
buZzhmhm, this is what i'm getting14:23
buZz(on a droid4 with replaced battery)14:23
buZzWizzup: grabs the update \p and works14:25
buZzi wonder what this is ;         if (strcmp(dev_name(dev), "89-500029ba0f73") == 0)14:26
buZzhttps://paste.debian.net/1239678/  <- seems weird to me14:27
buZzits strcmp()'ing on a NULL thats sent to it?14:27
Wizzupwhere is this from14:27
buZzoh eh, wait, what14:27
Wizzupah14:28
buZzdrivers/power/supply/cpcap-battery.c14:28
WizzupI think that just checks for a genuine battery maybe14:28
buZzi wonder if it would ever finish this without 'Can not xxxx battery nvmem' for anyone?14:28
Wizzupyes14:29
buZzi dont understand it perhaps, but battery_id seems to not get set to anything?14:29
Wizzup        } else if (nvmem_device_read(nvmem, 2, 1, &battery_id) < 0) {14:31
Wizzupthat sets the battery id14:31
buZzah14:31
buZzbut, thats not even hitting anything on this droid414:31
Wizzupyou might have a special battery from dreamer14:31
buZzmaybe i can try putting back the old battery, see if that triggers something else14:31
buZzi do, but its unused still14:31
buZzthis is from that german guy with newoldstock?14:32
Wizzupin any case if you want to tweak the max voltage I am sure there's a better way to do it14:32
buZzyeah , uvos iirc said there should be a way to overwrite it just through sysfs14:33
buZzbut that doesnt seem to work or exist14:33
buZz20:29:53 < uvos> the detrection code is not in leste anymore14:33
buZzbut , we might have just been looking at the wrong branch ;)14:34
Wizzuphe probably has a patch ready14:34
buZzwonder if i can see the nvmem stuff easily myself14:34
buZzstuff like cpcap_battery_unkown_data annoys me so :D14:37
buZzlol14:37
Wizzupfix it up :)14:37
buZzhehe , i might ;)14:37
buZzhmm, there is some bus/nvmem in sysfs but doesnt seem to hold any devices :(14:43
WizzupI don't know how this works, sry14:45
buZznp14:46
buZzrubber duckies dont need to apologize ;)14:46
buZzhehe14:46
bencoh:]14:47
buZzi -think- i could get cpcap-battery driver to export the nvmem as a userspace device in sysfs14:50
buZzsimilar to https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1438721.html14:50
siceloI doubt they'll take it in power/supply subsystem. What would it do there (in sysfs)?14:56
buZznothing, just be readable by users/programs14:56
buZzlike a batteryinfo panel could then tell you if you have a EB41, HW4X, BW8X, etc14:57
buZzhmmm cpcap didnt have depends on NVMEM in Kconfig15:38
buZzthis might matter, not sure15:38
buZzi guess just some fields to export the data might be better than the whole nvmem15:43
buZzbut i do see many drivers that use nvmem that just expose the whole thing15:43
buZz¯\_(ツ)_/¯15:43
buZzWizzup: what about this? https://github.com/maemo-leste/libicd-network-ofono/blob/4643b264e8b12fce865ecbbc09296cea49e28ad2/src/iap.c#L16215:49
buZzdoesnt that mean the DNS data only gets copied on first provisioning?15:49
buZzhmm, i guess thats not what this means15:49
buZzi cant imagine having a static ip on 2/3G :P15:49
Wizzupstatic as opposed to dhcp15:53
Wizzupnot as opposed to dynamic15:53
Wizzupand yes this should run on every connect15:53
Wizzupmaybe you can check your gconf for the dns values15:53
Wizzupipv4_dns1 and so on15:54
buZzrofl , noticed it was ~25% battery, connected my charger15:55
buZzdoing so triggered it to feel its lowpower, and booooom shutdown15:55
buZz-_-15:56
* buZz getting kinda annoyed by this feature15:56
Wizzupis your battery calibrated?15:57
Wizzupit's possible that it quickly drops in voltage a lot, and I think there's a threshold for how long it needs to be below a certain voltage15:57
buZzwhere is the monitoring happening? from the kernel driver?16:00
Wizzupmce I think16:01
freemangordonbuZz: did you manage to connect through gprs on d4?16:12
freemangordonas I have a feeling something changed in ofono and it does not report any internet contexts16:12
freemangordonit used to, based on mobile-broadband-provider-info data16:12
freemangordonor was it sim-pin-query?16:13
* freemangordon checks16:13
freemangordonhmm, what package was that?16:14
Wizzuphm16:16
Wizzupwhat are you looking for16:16
buZzfreemangordon: yes, 2G and 3G both work16:20
buZzi cant select between the two i think, but it was 2G all the time until i booted android with the sim16:21
Wizzupfreemangordon: it also works for me16:21
buZzoh16:21
buZzi disabled pin entry requirement16:21
freemangordonok, seems I am missing something in the VM16:27
freemangordonwill upgrade VM and will try again later on16:30
buZzyou have a VM with modem? :D16:31
buZzoh, ofono has a phonesim i guess16:31
siceloyou can also passthrough your modem (to the vm) ;-)16:34
buZzrun qemu on the droid4 and passthrough original modem? :P16:35
WizzupI don't think it even supports kvm16:35
Wizzupthere are plenty of usb modems that can work16:35
buZz:) maybe something fun to try once, plonk a 5g usb modem on16:41
buZzneed to visit DHL, brb16:41
WizzupI have done it in the past and documented how to do it, for development purposes16:41
Wizzupmost of what we need to fix now is in ofono on the droid4 itself16:42
Wizzupnot so much in our code16:42
freemangordonbuZz: no, USB passthrough16:53
freemangordonMay  2 18:02:03 localhost icd2 0.98[24329]: [OFONO] Got modem data17:02
freemangordonMay  2 18:02:03 localhost icd2 0.98[24329]: [OFONO] Got APN:17:02
freemangordonMay  2 18:02:03 localhost icd2 0.98[24329]: [OFONO] Got Ctx: (nil)17:02
freemangordonWizzup: ^^^17:02
Wizzupdoes it see a sim?17:03
Wizzupwhat does ofono report over dbus?17:03
Wizzupis this when connecting to an apn, or just icd2 startup?17:03
Wizzupwhat action did you do/trigger?17:03
freemangordonhttps://pastebin.com/bWFq7QsR17:04
freemangordonI tried to connect via connui dialog17:04
freemangordonI see "Telenor BG" there17:04
freemangordonclicking it results in "internet connection failed. try again?" error17:05
freemangordonwhich bus to monitor? seesion or system?17:05
freemangordon*session17:05
Wizzupthat unfortunately is expected17:05
Wizzupit doesn't wait for ofono to activate17:06
Wizzupif you try again after the error usually it works since it's active17:06
Wizzupthis needs to be fixed in the icd2 plugin, with a timeout when it doesn't get active17:06
Wizzupofono just returns right away on make active call, and caller has to wait for status changes on dbus17:06
freemangordonhmm it seems my gcon db is broken17:06
freemangordon*gconf db17:07
freemangordonWizzup: I don;t have gprs icon name set up, is that normal?17:08
freemangordonno icon here either https://github.com/maemo-leste/libicd-network-ofono/blob/master/etc/libicd-network-ofono.schemas17:08
Wizzupuh, I need to remember...17:08
* freemangordon checks on the device17:09
freemangordonon fremantle that is17:09
Wizzupuser@maindroid:~$ gconftool -R /system/osso/connectivity/network_type/GPRS | grep icon statusbar_icon_name = general_packetdata icon_name = general_packetdata statusbar_dimmed_icon_name = statusarea_internetconn_packetdata_dimmed17:10
sicelobuZz: yes, qemu is able to pass it through as well.17:10
freemangordonugh17:10
freemangordonWizzup: connui-iapsettings-gprs is needed as well17:11
freemangordondo we have a metapackage for all this?17:11
Wizzupit is in hildon-connectivity-mobile17:11
freemangordonhmm, it is not installed in the VM it seems17:12
Wizzupprobably a good idea to install it17:16
freemangordonWizzup: hmm, I think it is another isse, not that context is not activated17:16
freemangordonsee pastebin17:16
freemangordonit somehow gets NULL ctx17:16
WizzupI think this is what I said before17:17
Wizzupwhere it does not wait17:17
freemangordonno, APN is empty17:17
Wizzupthen it is not provisioned17:17
freemangordonso   ofono_modem_get_context_by_apn returns NULL17:17
WizzupI think you wrote that code at some point17:17
freemangordonit is not17:17
WizzupI don't remember where it is17:17
freemangordonI think it is in pin query17:17
freemangordonbut I don;t remember the package :)17:17
Wizzupthat is connui-cellular but I don't think it is in there17:18
freemangordonhmm, where it is then?17:18
Wizzuplibicd-network-ofono probably17:18
freemangordondammit17:18
freemangordonok, lemme check my commits17:18
Wizzupsee a76b7a7c68fdf63565189dd9e87265b92af65e3417:18
freemangordonhttps://github.com/maemo-leste/libicd-network-ofono/commit/a76b7a7c68fdf63565189dd9e87265b92af65e3417:19
freemangordonWizzup: ok, I think the issue is that this sim has been provisioned some time ago, but APN was somehow left empty17:23
bencohofono retrives the APN from the SIM?17:23
Wizzupfreemangordon: right, that is possible, also we need to reprovision in different countries sometimes I think17:23
Wizzupnot sure17:23
Wizzupbencoh: I don't think the apn, but operators probably17:24
freemangordonapns come from ofono, I think it gets them from mobile-broadband-provider-info17:24
Wizzupright, using operator codes17:24
freemangordonthe operator name comes from SIM or from network, if we are registered17:25
Wizzupapn for sure does not though17:26
Wizzupthat's why we need the provider info17:26
freemangordonWizzup: ok, what about if APN is empty, shall I treat that IAP/SIM as not provisioned?17:26
WizzupI think so17:28
freemangordonok17:28
bencohhmm, so networks are supposed to register to, say, android or iOS, and provide hardcoded network configuration?17:28
WizzupI think apn is always required17:28
WizzupI don't think networks register to the OS17:28
WizzupI think the OS gets some info from sim, and then reads known apn values and prefills them for the user17:28
bencohis the sim supposed to update itself then?17:29
bencohwhich reminds me, some providers are moving to VoLTE only17:29
freemangordonbencoh: SIM is under operators control, I bet they can do OTA updates :)17:29
sicelobencoh: there is OTA provisioning17:29
bencohsounds about right, okay :)17:30
bencohso basically, ofono/whatever should be able to read it from sim as well17:30
Wizzupbencoh: sad day @ volte17:30
sicelobencoh: not afaik. the sim doesn't keep that kind of stuff. by OTA provisioning, i meant - operator is able to send your device a provisioning message.17:32
bencohah17:32
sicelofor linux users, i don't think we have anything for those kinds of messages, so we use mobile-provider...17:32
bencohI see17:32
freemangordonsicelo: well, n900 can handle those17:35
freemangordonI will look at how it does it, when it comes to it, someday :)17:35
bencoh:)17:40
siceloyeah, true17:43
freemangordonWizzup: yeah, this time I hit the bug you mentioned17:51
freemangordonWizzup: do you want me to do a PR or shall I push directly?17:52
Wizzupfreemangordon: feel free to push17:55
freemangordonok17:55
WizzupI will be afk for ~15 mins17:55
freemangordonI will push/build in the meanwhile :)17:55
freemangordonomg, exactly 3 years later :)17:57
freemangordonhmm:18:05
freemangordon/etc/maemo-dhcp.d/50_ipv4_network_setup: 74: [: missing ]18:05
freemangordon/etc/maemo-dhcp.d/50_ipv4_network_setup: 74: [: missing ]18:05
freemangordon/etc/maemo-dhcp.d/50_ipv4_network_setup: 93: kill: Illegal option -S18:05
freemangordonWizzup: so, dos conversations registers itself with telepathy?18:12
freemangordon*does18:12
Wizzupfreemangordon: the '[' error looks weird18:19
Wizzupfreemangordon: is that from buzz' fix that I merged today to -devel?18:19
Wizzupfreemangordon: @ telepathy, yes and no18:19
freemangordonI doubt18:20
freemangordonunless it is in -devel already18:20
Wizzupyou doubt what?18:20
freemangordonsec18:20
freemangordonyeah, looks like it18:21
Wizzupok18:22
freemangordonit is exactly on line 74 which is part of that PR18:22
Wizzuphe probably assumes bash?18:22
freemangordonmhm18:22
WizzupbuZz: can you fix?18:22
freemangordoncould be something else as well18:23
freemangordonlike empty variables18:23
freemangordonhave to go afk for a while, will try to repro later on18:23
Wizzupyou didn't merge to master btw18:25
freemangordonneither did you :p18:33
freemangordonThis branch is 11 commits ahead of master.18:33
freemangordonwill do though18:33
freemangordondone18:34
Wizzupoh, maybe I didn't because of my hacky commits18:37
Wizzup:)18:37
buZzoh, i did assume bash, i'll fix it18:40
Wizzupty18:43
buZzgrabbed my second droid4 while on the move, still with original battery19:02
buZzswapped sim and sdcard, everything works the same , -including- unable to read nvmem in battery and thus failing to set the right voltages19:02
buZzso eh, what -is- the sh we have? dash? busybox? zsh?19:04
buZzWizzup: funny enough, i cannot configure APN, setting it in the internetconnections will get me a nonworking connection, only emptystring is valid19:05
buZzso i feel ~something is overriding it , or changing the string anyway19:05
buZzok, its dash19:08
buZzfreemangordon: is your /bin/sh also dash?19:08
WizzupbuZz: that is normal on debian so likely19:24
Wizzupbut let's be compatible with busybox sh too19:24
buZzi just notice i also get the failsafe on my home wifi now :P heh, lets see if that change fixes it19:37
buZzwhile resolvconf/dnsmasq get 9.9.9.9 , avahi-daemon does spot the correct dns :P19:40
freemangordonbuZz: whatever comes with leste :)19:49
buZzfreemangordon: does http://space.nurdspace.nl/~buzz/50_ipv4_network_setup fix it for you?19:54
buZzi'm not getting a error on either version :P19:54
buZzand cant remember having done anything special to sh/dash/bash , but i dont know19:54
buZzat least with this version i'm getting the right dns on wif19:56
buZzi19:56
buZzand 9.9.9.9 on 3G19:57
freemangordonhmm, why do we set 9.9.9.9 for gprs? DNS is provided by MNO20:11
freemangordonfor example:20:11
freemangordonSettings = { Interface=wwan0 Method=static Address=10.215.142.176 Netmask=255.255.255.224 Gateway=10.215.142.177 DomainNameServers=85.118.197.5,85.118.197.69, }20:11
buZzwhere are you getting that string?20:11
freemangordon/usr/share/ofono/scripts/list-contexts20:12
buZzthe 9.9.9.9 is a failsafe when no dns was sent or setup20:12
freemangordoninstall ofono-scripts20:12
freemangordona stupid question - how to check my current DNS setting?20:12
buZzcat /run/dnsmasq/resolv.conf20:12
freemangordonnameserver 9.9.9.920:13
freemangordonnot good IMO20:13
buZzand /run/resolvconf/interface/wwan3.udhcpc etc20:13
buZzindeed20:13
buZzsomething is passing 0.0.0.0 through and i have no clue what20:13
buZzlist-contexts also gives me a emptystring APN :)20:14
freemangordonit is LTE here20:14
buZznice :) what speeds do you get?20:15
freemangordon~10Mbits20:15
buZzsweet20:15
freemangordonbut this is USB passthrough in VM20:15
freemangordonbuZz: anyway, the script you have provided no longer errors20:16
freemangordonplease do a PR20:16
buZzVMeamo :)20:16
buZzalrighty!20:16
freemangordonalso, could you fix "/etc/maemo-dhcp.d/50_ipv4_network_setup: 93: kill: Illegal option -S" while at it?20:16
freemangordonsh kill wants -s $signal20:17
buZzoh, surething20:17
freemangordonnot -$signal20:17
freemangordonthanks20:17
buZz-s SIGHUP or -s HUP?20:17
freemangordonno idea20:17
buZz^_^20:17
freemangordonjust try it20:17
freemangordonI guess it is -s SIGHUP20:17
freemangordonbut... a guess ;)20:17
buZzSIGHUP20:18
buZz:) kill -l lists them20:18
lelbuzztiaan opened a pull request: https://github.com/maemo-leste/libicd-network-ipv4/pull/5 (small mistake!)20:20
WizzupbuZz: can you 'git commit --amend' and make the git commit desc more clear20:30
Wizzupsomething like '20:30
Wizzup'etc/50_ipv4_network_setup: make sh compliant'20:30
lelbuzztiaan edited a pull request: https://github.com/maemo-leste/libicd-network-ipv4/pull/5 (made etc/50_ipv4_network_setup more sh compliant)20:49
WizzupbuZz: can you also git push -f21:43
Wizzupthe commit still says 'small mistake!'21:43
Wizzuphttps://github.com/maemo-leste/libicd-network-ipv4/pull/5/commits21:43
buZzeh well, i'll just nuke it and resubmit, 1moment21:55
buZzgithub isnt taking it :P21:56
WizzupbuZz: hmmm22:19
WizzupbuZz: what are you trying?22:20
lelbuzztiaan opened a pull request: https://github.com/maemo-leste/libicd-network-ipv4/pull/6 (made etc/50_ipv4_network_setup more sh compliant)22:25
buZzwas eating ;)22:25
WizzupbuZz: I mean I could help with making the old one work22:26
Wizzupbut ok22:26
Wizzupthanks22:26
lelMerlijnWajer closed a pull request: https://github.com/maemo-leste/libicd-network-ipv4/pull/6 (made etc/50_ipv4_network_setup more sh compliant)22:29
buZzWizzup: i made the pr through github, there was no local git involved ;)22:41
WizzupbuZz: you didn't 'git push' at any time? :D22:47
buZzindeed ;)22:48
Wizzupbuilding now22:49
siceloi wonder if n900 doesn't mind being hilighted so much :-)22:56
buZz:)23:13
buZzcould always /nick macrocrab then ;)23:13

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!