[01:31] <cc> hi,plas
[01:31] <cc> how to use vpn on ubuntu phone?
[09:12] <jgdx> cc, go to System Settings -> VPN
[10:09] <javier4_> is there a way to get a list of the files modified by ubuntu touch compared to the aosp tree?
[10:10] <faenil> mmm
[10:11] <faenil> javier4_: I think you'll have to dig in https://code-review.phablet.ubuntu.com/#/q/status:open,n,z
[10:12] <faenil> (not only the open ones of course)
[10:15] <javier4_> yes but, given a specific branch, there's no git function to diff an aosp repo?
[10:27] <Paz__> Hi. Does anyone know where I can get the source code for Notifications ?
[10:27] <Paz__> I'd like to see the code for Notifications List
[10:29] <faenil> javier4_: I don't think so. Clone the source and diff? all the commits are already showing the diff
[10:30] <faenil> Paz__: what Notifications list?
[10:30] <faenil> Paz__: what in particular are you looking for
[10:38] <Paz__> faenil: The Notification List that appears on a Ubuntu Touch device when you drag down from the top bar
[10:38] <faenil> Paz__: yeah but what is it you want to change
[10:39] <faenil> Paz__: Trevinho is currently working on a partial rewrite of the code handling that, so maybe he can bundle your change in (and talk to Design about it beforehand)
[10:40] <Paz__> faenil: I don't want to change anything, I just want to see objectName values for certain components
[10:40] <Trevinho> Paz__: that code is in ubuntu-settings-components... See SimpleMessagMenu
[10:40] <Paz__> faenil: I'm trying to access this list via autopilot
[10:40] <Trevinho> Paz__: I guess you can use "autopilot vis" to navigate through the tree though
[10:40] <Paz__> or at least access the contents of a notification
[10:41] <Trevinho> Paz__: or... call autopilot methods via dbus
[10:41] <Paz__> Trevinho: thanks
[10:41] <Paz__> Trevinho: Do you have any examples of accessing via dbus?
[10:56] <Trevinho> Paz__: mhmh. I did that some time ago, but this was working for unity7
[10:56] <Trevinho> Paz__: gdbus call --session --dest com.canonical.Unity --object-path /com/canonical/Unity/Debug --method com.canonical.Autopilot.Introspection.GetState /
[10:57] <Trevinho> Paz__: so... paths might have changed, but check with d-feet
[10:57] <faenil> Paz__: http://bazaar.launchpad.net/~unity-team/ubuntu-settings-components/trunk/files/head:/plugins/Ubuntu/Settings/Menus/
[10:57] <faenil> for the source
[10:59] <Paz__> faenil, Trevinho - thanks very much for your help!
[11:00] <faenil> np!
[11:03] <matv1> hi all, I am trying to verify something:
[11:04] <matv1> when I follow a link in a webapp that gets openend in the webapps oxide container, upon closing and returning to the webapp itself, the webapp crashes most of the time.
[11:04] <matv1> for instance gmail, facebook
[11:04] <matv1> I cant believe i am the only one as it has been this way for quite some time for both my devices and on various channels. But I cant find a bug for it.
[11:05] <faenil> matv1: I reported that, let me find a link
[11:05] <matv1> faenil ah cool
[11:05] <matv1> i was looking in webapps-core
[11:06] <javier4_> faenil, but the fist commit of a given branch, list the initial differences compared to the aosp tree, or is just an "Initial comit"?
[11:06] <faenil> matv1: ah I only commented, anyway --> https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1570828
[11:06] <ubot5`> Ubuntu bug 1570828 in webbrowser-app (Ubuntu) "Multiple Web Apps crashes when returning from a linked page" [High,In progress]
[11:07] <javier4_> *fiRst
[11:07] <faenil> javier4_: I don't know, never touched that repo/branches
[11:07] <faenil> but I'd expect it's a full commit, not a diff
[11:08] <javier4_> faenil, then, no way to get differences listed.
[11:08] <faenil> javier4_: that's why I suggested closing the source, cloning aosp, and diffing :)
[11:08] <faenil> cloning*
[11:08] <faenil> oSoMoN: any luck with the crasher I linked just above? ^
[11:10] <javier4_> faenil, I'm short on hd storage space and internet bandwidth at the moment. I was hoping that code-review provided a similar function. Thanks for your help.
[11:10] <faenil> javier4_: I have no idea, sorry. Maybe ondra can help you with that
[11:11] <oSoMoN> faenil, alex-abreu is working on it, apparently he needs to add a test and rebase on the git branch, let’s see if we can bring it to his attention
[11:11] <faenil> oSoMoN: cheers
[11:13] <matv1> faenil, oSoMoN cheers both :) just wondering why it wasnt filed against webapp-core, which is where i was expecting it
[11:14] <faenil> matv1: not sure :)
[11:14] <oSoMoN> matv1, it’s filed against the component that is crashing, but it makes it harder to find indeed
[11:14] <matv1> not that it matters much. As long its on your radar. thanks again
[11:15] <faenil> oSoMoN: it's not even filed against oxide :p
[11:15] <matv1> right :)
[11:15] <oSoMoN> oops, I though it was
[11:15] <oSoMoN> let me fix this :)
[11:15] <faenil> :)
[11:15] <faenil> ta
[11:15] <oSoMoN> fixed
[11:17] <ondra> javier4_ what are you looking for?
[11:17] <javier4_> ondra, I use one of your personal branches (5.1_r5), is there a way to have full list of its difference compared to an aosp tree?
[11:17] <javier4_> *differenceS
[11:18] <ondra> javier4_ you can see easily which repos have actual changes, just grep through .repo/manifest.xml for my branch name
[11:18] <ondra> javier4_ then you have list of repos which do have some changes
[11:22] <ondra> javier4_ otherwise you can always run something like $ repo forall -c git diff android-5.1.1_r5 --raw
[11:22] <matv1> faenil, oSoMon Now that I am reading that bug rep more closely, I have to say that magnifying something in the oxide container causes the crash nececarily
[11:22] <faenil> matv1: feel free to add your experience to the bug report, the more the better!
[11:22] <matv1> yes I will do some testing and update accordingly
[11:23] <faenil> cheers
[11:24] <ondra> javier4_ may be add -p so you know what repo it's processing so it'd be $ repo forall -p -c git diff android-5.1.1_r5 --raw
[11:25] <javier4_> ondra, this should diff all your branch vs stock AOSP? I have just to redirect to a text file to get all the differences?
[11:26] <ondra> javier4_ yes, this will go through entire tree and lists you modified files
[11:27] <ondra> javier4_ it's important to have aligned phablet-5.1.1_rX branch with android-5.1.1_rX tag, so you really get only what has changed
[11:27] <ondra> javier4_ obviously this won't print you what repos we are not using at all
[11:27] <ondra> javier4_ you can get this from comparing manifests between phablet and android one
[11:29] <javier4_> I think it's better if I explain to you my situation taking our time. I'll find you on the channel in a couple hours?
[11:29] <ondra> javier4_ yeah I should be here
[11:29] <javier4_> Thanks man, I'll be back.
[11:30] <ondra> javier4_ no prob
[12:32] <jgdx> mardy, hey, could  you take another look at https://code.launchpad.net/~phablet-team/ubuntu-system-settings/path-fixes/+merge/306115 ?
[12:33] <mardy> jgdx: sure
[12:33] <jgdx> thx
[12:34] <jgdx> I really want to leave those comments on the cmake path variables in there—it's a pain resolving those manually by use of a text editor. I know ccmake exists :)
[12:40] <alex-abreu> faenil, oSoMoN ack, I'll find a bit of time Monday to update the MR
[12:40] <faenil> alex-abreu: thanks!
[13:45] <javier4_> ondra, I'm here again. Long story short: I'm trying to port UbuTouch to a Mediatek based device. My android tree is heavily Mtk customized, and my approach 'til now has been to apply needed mtk customizations to the Ubuntu tree everytime my build fails. That's driving me insane. Somebody on ubports channel some times ago suggested me the opposite approach: apply the Ubuntu customizations to my mtk-aosp tree. So, I woul
[13:45] <javier4_> d check how much Ubuntu platform differs from stock AOSP, to understand if it's convenient to start from the beginning by this new way.
[13:52] <ondra> javier4_ yeah I think other way around might easier and probably less maintenance burden
[13:52] <ondra> javier4_ also our changes are usually easily to port. You will usually have issue just with build and frameworks
[13:53] <ondra> javier4_ what mtk tree do you have? if it's something 5.1 based you are good, those trees from mtk are lot more AOSP, 4.4 was still very messy and full of mtk "specialities" :)
[13:54] <javier4_> It's a 5.1, but I can assure you it's a "very special kid" too.
[13:59] <javier4_> At the moment I got your _r5, and I have modified it a lot, without touching git structure (no git add, nor commit). Do you think it's better to reclone it from scratch? Should I take a newer revision?
[16:29] <fw190d13> hello
[16:30] <fw190d13> is here a brave soul which has succeeded with setting up VPN on Ubuntu Touch?
[16:31] <fw190d13> I'm strugling with PIA VPN and If there is a developer ere willing to help I can give my credentials for this service for testing purpose
[16:32] <faenil> fw190d13: I heard PPTP is notsupported, if that's what you're trying
[16:33] <faenil> see https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551823
[16:33] <ubot5`> Ubuntu bug 1551823 in network-manager (Ubuntu) "PPTP connection does not work and dies after 2 minutes (on the phone)" [High,Confirmed]
[16:33] <fw190d13> faenil: I'm doeing the openvpn thingie
[16:33] <faenil> mm ok, not sure then what's the problem
[16:33] <fw190d13> well it works on my laptop ;)
[16:33] <faenil> abeato maybe can assist you if he's not EOD yet
[16:35] <abeato> fw190d13, pete-woods implemented VPN support, maybe he can comment on the bug ^^
[16:36] <fw190d13> abeato: I have also tried the click package but no luck
[16:36] <pete-woods> yeah, I did the UI side of things
[16:36] <fw190d13> well let's not call it a bug yet
[16:36] <pete-woods> but the actual VPN support is just standard network-manager + the openvpn plugin
[16:36] <fw190d13> someone would have to check it on another phone
[16:37] <pete-woods> IIRC the terminal output for NM goes to the syslog
[16:37] <fw190d13> OK - noob alert - I can provide it when instructed how ;)
[16:38] <pete-woods> it's also worth checking whether the openvpn process (started as root) is still running
[16:38] <abeato> fw190d13, also tcpdump output could be useful
[16:38] <faenil> ahayzen: it smells like some kind of OOM is hitting your process and killing windows. Or the video driver kills the fbo maybe?
[16:38] <pete-woods> tail -f /var/log/syslog
[16:38] <pete-woods> then start the VPN connection
[16:39] <ahayzen> faenil, i thought maybe memory but the process is at ~40MB
[16:39] <ahayzen> faenil, but i suspect it is something killing it, whether it is compiz, qt, unity
[16:39] <faenil> it must be, yeah. have you tried stracing?
[16:40] <pete-woods> fw190d13: with any luck there might be a useful error in the syslog output
[16:40] <ahayzen> faenil, not yet..let me try ...
[16:41] <faenil> ahayzen: have you looked at unity8.log and usc's log ?
[16:41] <ahayzen> faenil, this is unity7
[16:41] <faenil> ah ok
[16:41] <ahayzen> compiz? ;-)
[16:41] <faenil> I have no idea about how that stack works .D
[16:42] <fw190d13> pete-woods: as I lokk on the terinal it spits something about TLS handshake error
[16:42] <pete-woods> fw190d13: well that's whatever the problem is...
[16:43] <pete-woods> assuming all your certificates + password are correct
[16:43] <pete-woods> TLS is very sensitive to the time being correct
[16:43] <pete-woods> so you could double check that on both your server and phone
[16:43] <pete-woods> if it's not that, triple check you have the certificates correct
[16:44] <pete-woods> and then check you have all the "advanced/tls" settings (best UI is the one I wrote the click one)
[16:44] <pete-woods> the click one has all the settings available
[16:44] <ahayzen> faenil, i *think* this is the strace of it, http://pastebin.ubuntu.com/23220964/ but there is so much going on (even though it is just a window and label) that it is difficult to tell
[16:44] <pete-woods> wheras the built in one doesn't
[16:44] <pete-woods> the advanced TLS settings can definitely cause errors if they are configured wrongly
[16:45] <pete-woods> it's completely ludicrous how many settings openvpn has
[16:45] <ahayzen> faenil, that should be, the window getting focus, me clicking on it. It trying to open a new window, all the other windows closing, new one opening :-)
[16:46] <fw190d13> pete-woods: thanks for the tips, I will triple check, I have also closed the terminal - how can I get the log for you? Is it written somewhere?
[16:46] <pete-woods> fw190d13: yeah, /var/log/syslog is a file
[16:46] <fw190d13> ahh dumb me
[16:46] <pete-woods> I'm not certain if it contains sensitive stuff, though
[16:46] <pete-woods> so don't just pastebin it
[16:46] <fw190d13> ok
[16:47] <pete-woods> to be honest, the actual error message is likely to be incomprehensible to me, too
[16:47] <pete-woods> but if it's a TLS error, those are the things to check
[16:47] <faenil> ahayzen: mind you, if it's different processes you need strace -f (or -fff can't remember)
[16:48] <faenil> ahayzen: I can't have a look right now, I'm about to leave the office :D
[16:48] <ahayzen> faenil, it is all one process from what i can see in system-monitor
[16:49] <faenil> sorry I meant threads
[16:49] <ahayzen> ah :-)
[16:50] <faenil> :)
[16:50] <faenil> doing too many things at once before leaving :D
[16:50] <ahayzen> hehe
[16:52] <faenil> ah right, lots of windows opening, so strace is a bit too long
[16:53] <faenil> ahayzen: I believe it's better if you ask someone with more knowledge of that stack, like Trevinho :)
[16:53] <ahayzen> faenil, yeah in this tiny app, you need to hit 100+ .. but in a slightly more complex app i had, it was at 14 windows
[16:53] <faenil> yeah read that
[16:53] <faenil> it really seems like something is monitoring the memory usage
[16:53] <fw190d13> pete-woods: hmm the file is 17,3 mb and after connecting the phone to laptop I can not copy or open it...
[16:54] <dobey> fw190d13: i can tell you that openvpn definitely works. i run my own server and have connected through it successfully from ubuntu on a phone
[16:54] <pete-woods> fw190d13: I really don't think that the specific messages in the file are useful to me
[16:54] <pete-woods> fw190d13: but as you tweak the settings, you can see if they change
[16:54] <pete-woods> or stay the same
[16:54] <dobey> however, i didn't use the gui config for it, as that wasn't ready when i tried it. i manually copied the config over from a laptop
[16:54] <pete-woods> I've definitely got the thing working with the GUI
[16:55] <pete-woods> and tested it a lot
[16:55] <pete-woods> with different VPN servers
[16:55] <fw190d13> pete-woods: I could pass you my credentials for this VPN provider for a quick test
[16:55] <pete-woods> fw190d13: I don't have any Ubuntu phones to hand right now
[16:55] <pete-woods> fw190d13: but if you send me some temporary credentials to pete.woods@canonical.com
[16:55] <pete-woods> I can have a look on Monday
[16:56] <fw190d13> ah ok - I don't have temporary - I will just change the pasword later ;)
[16:56] <pete-woods> if you say you can connect with your laptop, then it's pretty hopeful we can get it working
[16:56] <pete-woods> okay, that works too :)
[16:56] <dobey> fw190d13: does it work from a PC to use that VPN?
[16:57] <pete-woods> dobey: pretty sure he said he can connect with his laptop earlier in the converation
[16:58] <fw190d13> dobey: yes, PIA from Ubuntu and Mint works OK, the same for Android wit OpenVPN app, so either I make some silly mistake or I don't know
[16:58] <pete-woods> so hoping it's just a config issue
[16:58] <pete-woods> if it's not then it's possible there's a tweak to some of the advanced settings that might be what is wrong
[16:59] <dobey> fw190d13: you're using network-manager-openvpn to connect there? or just running openvpn manually?
[16:59] <fw190d13> dobey:network manager openvpn
[17:00] <dobey> fw190d13: ok, you have developer mode enabled on your device?
[17:00] <dobey> (ie, you can use adb or phablet-shell to connect to it over usb from your PC)
[17:10] <fw190d13> pete-woods: mail sent from @tutanota account - it may land in spam ;)
[17:10] <pete-woods> okay, will have a look now
[17:11] <pete-woods> nope, it's got through safely
[17:12] <dobey> fw190d13: if you pull the config file for your VPN off your device, from /etc/NetworkManager/system-connections, and then diff -u that against the smae config file on your laptop where the VPN works, it might give you an idea of what's wrong
[17:13] <pete-woods> fw190d13: right, it's .ovpn files
[17:13] <pete-woods> easy to get those wrong when splitting out
[17:13] <pete-woods> fw190d13: which server are you using?
[17:13] <fw190d13> pete-woods: cool, thanks for your help - I like the Ubuntu Touch on Nexus - looks like a great replacment for my N900
[17:14] <pete-woods> fw190d13: just to be clear, I'm not sure which of the ovpn servers you are using from that archive you sent me
[17:15] <pete-woods> there are like 30 or so different profiles
[17:16] <fw190d13> pete-woods: Germany, but only the server name changes in the config on my laptop for other - the rest works the same
[17:16] <pete-woods> sure, but I want to be 100% sure I'm using the exact config that you are
[17:16] <pete-woods> who knows if there is a slight variation in config / version of openvpn between them or not
[17:17] <pete-woods> (and I have no interest in debugging that :p )
[17:23] <fw190d13> pete-woods: I'm trying to do what dobey advised, found the file on latop and on the nexus but can not copy it to downloads or open it
[17:24] <dobey> fw190d13: adb pull /etc/NetworkManager/system-connections/VPNConfig . (or whatever the right filename is)
[17:25] <pete-woods> fw190d13: it's not a bad idea. but you have to make sure the certificates are in the right place
[17:25] <pete-woods> on your laptop it'll be /home/fw190d13/.../something.ca
[17:25] <pete-woods> but the phone's user is called phablet
[17:26] <pete-woods> so you'll need to tweak the paths correspondingly
[17:26] <pete-woods> to /home/phablet/.../something.ca
[17:28] <pete-woods> fw190d13: well FWIW I can connect using my laptop
[17:28] <pete-woods> will see if I can manage the same thing on Monday with the phone
[17:29] <dobey> well i was just suggesting grabbing the file from the phone and comapring to the one on the laptop, to see if something is indeed wrong in the config
[17:30] <dobey> if the only difference is file paths to certificates, then it's likely some other issue
[17:30] <pete-woods> yeah, that's a good point
[17:30] <pete-woods> having looked through the advanced settings on my laptop after importing the profile
[17:31] <pete-woods> the key things to set are
[17:32] <fw190d13> dobey: I have flashed Ubuntu 3 days ago and forgot how did I fix the error device not found any hints?
[17:33] <pete-woods> gateway: germany.privateinternetaccess.com:1198
[17:33] <pete-woods> advanced/general:
[17:33] <pete-woods> - use custom renegotiation interval: 0
[17:33] <pete-woods> - use LZO compression
[17:33] <pete-woods> - set virtual device type: TUN
[17:33] <pete-woods> advanced/security:
[17:33] <pete-woods> - cipher: aes-128-cbc
[17:33] <pete-woods> advanced/tls:
[17:33] <pete-woods> - verify peer cert type: server
[17:33] <pete-woods> fw190d13: ^
[17:33] <pete-woods> those are the things you need to check in the VPN connection editor
[17:33] <pete-woods> I recommend making a new VPN connection
[17:33] <pete-woods> with the click packaged VPN editor
[17:34] <pete-woods> and putting in those details
[17:34] <pete-woods> he auth type is "Password"
[17:34] <pete-woods> *the
[17:34] <dobey> fw190d13: is the screen unlocked? and developer mode is enabled?
[17:35] <fw190d13> dobey: developer mode was off
[17:40] <pete-woods> I've also just manually created the VPN connection using the details I specified above on my laptop, but using the unity8 click VPN editor
[17:40] <pete-woods> and then successfully connected
[17:40] <pete-woods> so it doesn't look like it's the indicator-network side of things that's wrong
[17:44] <fw190d13> pete-woods: Jus installed your click package again and seting it up
[17:44] <pete-woods> fw190d13: cool :)
[17:45] <pete-woods> fw190d13: it looks like the plus button (at the top right) isn't visible any more for some reason
[17:45] <pete-woods> so you might need to stab around there..
[17:45] <pete-woods> no idea why that has happened
[17:46] <pete-woods> it looks like the SDK has deprecated a bunch of the elements I'm using
[17:46] <pete-woods> oh well, it works
[17:52] <pete-woods> right, EOD 4 me!
[17:52] <fw190d13> pete-woods: it woooooooooooooooooooooooorks
[17:52] <davmor2> yay
[17:53] <fw190d13> the gateway was set up automatically wrong
[17:53] <fw190d13> when chaning it to 1198 it started to work
[17:53] <fw190d13> pete-woods: thank you for your help
[17:53] <fw190d13> dobey: thank you for your help
[17:54] <dobey> np
[17:55] <fw190d13> the default port is 1194 and it should be 1198... sh!@ the first line in the settings - I'm blind ;)
[18:11] <dobey> :)
[23:20] <javier4_> ondra, I don't want to bother you, but we lost contacts some hours ago. This was my question:
[23:20] <javier4_> At the moment I got your _r5, and I have modified it a lot, without touching git structure (no git add, nor commit). Do you think it's better to reclone it from scratch? Should I take a newer revision?