[03:24] Anybody using 17.10 with an old EeeBox eb1012p? [03:26] or an Asus EeePC netbook? [03:37] Having trouble connecting raspberrypi to pixhawk ubuntu mate on raspi ? [03:42] Not able to help ya on that, but after a quick Google that seems kinda neat. [03:42] Do you fly? [03:43] One lesson in piper 140 other than that working on programming drones [03:44] Sweet, you got your drone FAA cert? [03:44] I'm a Private Pilot here [03:44] not yet [03:45] on a long shot I might be able to help, what's your problem? [03:46] I was able to run the dronkit file and connect with raspian on ttyS0 at 57600 baudrate [03:46] But Raspian kept losing the wi-fi connection and I would have to reinstall the os [03:47] So I finally gave up on Raspian after ten reinstalls , and installed ubuntu mate on the raspberry pi [03:48] So i reset the the serial 0 to ttyAMA0 and the serial 1 to ttyS0 [03:49] But now when I try to connect with the autopilot with mavproxy it won't allow the connection [03:50] it won't allow the serial connection? [03:50] right [03:51] I try to run the dronekit scripts , and also won't connect [03:51] any kind of messages? [03:52] can you log on and try it you can see for yourself [03:53] are you coming off the GPIO connector to the Pix hawk? [03:53] yes [03:54] like I say it was connecting with Raspian but so far not with mate [03:55] Have you come across this document in your searches? [03:55] http://ardupilot.org/dev/docs/raspberry-pi-via-mavlink.html [03:55] I guess ttyS0 was for the bluetooth so I went in to nano file and set to miniuart bt [03:57] I've been doing something similar with a Pi3 running an LCD display off of the GPIO for an Asterisk linked UHF repeater, but I'm not sure that's similar enough for me to be able to help you. [03:57] probably and I tried to run the mavproxy.py --master=/dev/ttyAMAo baudrate 57600 [03:57] AMA0 [04:00] what version of the Pi is it? Original, 2 or 3? [04:01] 3 [04:01] "On newer versions of Raspberry Pi 3 the uart serial connection may be disable by default. In order to enable serial connection on the Raspberry Pi edit /boot/config.txt and set enable_uart=1. the build-in serial port is /dev/ttyS0." [04:03] right it is set up that way but I changed it because the youtubers say that ttyS0 is the bluetooth and the true seril port is AMA0 so I reset it but still no connection . [04:04] you might have better luck figuring out why Raspbian was dropping wifi. [04:05] so now the ls -l /dev tells serial0 as AMA0 , and serial1 as ttyS0 [04:06] No because now I have run the Mate for two days -ssh -remote desktop etc... no problems at all I think I can eventually connect just have to keep at it [04:09] well, good luck. I hope you get it, but you're over my head. I know it took me about a week to get my Pi3 talking to my LCD right on Arch Linux, but I did eventually get it. I'm sure you will too. [04:09] if you youtube the video "Connect a Raspberry Pi to a Pixhawk running Ardupilot/PX4" you will see what I'm trying to do [04:11] Thanks nice talking to you Bob I know this is the OS for the Raspberry pi , and I will make the connection eventually [04:12] Check out that video if you ever get a chance the guy is good [04:12] I do see a part where they talk about preventing Raspbian from taking control of the serial port. Not sure how to accomplish the same thing on Ubuntu Mate. [04:13] Will do, good luck. [04:15] yeah everytime it found a new wi-fi connection I coukld no longer ssh from windows pc ? Had to go to the wpa_supplicant.conf file and delete the new wi-fi and eventually it just wouldn't connect ssh ? [04:15] So I gave up on it [04:16] I'd have a better chance helping you solve that wifi issue then this serial one. sounds like it was auto joining open wifis. [04:17] It got so bad It wouldn't even find the original wi-fi connection ??? [04:17] and adding them to the wpa_supplicant file ??? [04:17] I couldn't figure it out [04:19] do you have more than one sd card for the pi? [04:19] I could get another one no problem [04:20] Was gonna say you could explore both issues in parrallell, since the PixHawk commuity seems to be more Raspbian based you might have more luck on that front. [04:20] I'm running the 32 gig samsung [04:21] I can tell you that my Pi3 on Arch has been rock solid on connecting to wifi. [04:22] well like I said with Mate no problems so far ! What I really wanted to do was to use my phone as a wi-fi hotspot and ssh to the terminal with my phone in the field so I could run python from terminal [04:23] Sounds reasonable. totally geeky, but reasonable. [04:24] Away from my home pc . I try to add my phone as a wi-fi hotspot , and the whole system crashed [04:24] I lose ssh to phone , and pc ?? [04:24] really? that's not what I'd expect. nothing unusual about your hotspot or mobile provider? No funky APNs or anything? [04:26] no but for some reason I set up the hotspot and the ubuntu mate won't even show it in the is -l /dev list [04:27] I need the hotspot so I can ssh the terminal , and run the python script away from home ! [04:28] I don't know of any other way to start the python ? [04:28] *confused* why would you expect to see the hotspot in /dev??? [04:28] unless I'm in my backyard with a laptop [04:30] not /dev wherever you can see all the wi-fi available I can't remeber the command I wrote it down somewhere guessing the one I entered was it [04:31] what kind of encryption on your hotspot WPA2? ow WEP [04:31] iwlist ?? [04:31] yes WPA2 [04:32] 2.4 or 5ghz? [04:32] either i set it to 5 [04:32] or [04:34] If you watch the video you will see you have to start the script with python . The only way to do that with the raspberry pi on the drone is to ssh with a smartphone via wi-fi [04:35] Well, the hardware must be good for it otherwise it would never connect under Ubuntu Mate. I'd try configuring Raspbian to use your hotspot, but I'd make sure it was the first and only SSID it ever connected to. [04:35] If you've never connected to another SSID then your hotspot should be the only thing it autoconnects to [04:35] If you are not right beside your home pc with Raspian ??? I can't really fly an HMF u580 in the house ??? [04:36] connect to you hotspot with the pi in your house, but only your hotspot. don't let it connect to your regular SSID [04:37] then take the setup mobile. [04:37] it should still connect to that hotspot SSID exclusively [04:37] Yes I agree with you ! that was my other question ??? How to add a second ssid without losing the whole works ? [04:38] somewhere along the way it's been given permission to connect to to open SSIDs. That's my best guess. [04:38] I tried to just run the mobile hotspot but couldn't ssh with the pc ? [04:38] I tried adding the mobile hotspot , and lost the whole works [04:39] And the hotspot let's you SSH when under Ubuntu Mate? [04:39] Ubuntu Mate can't find the hotspot yet ? [04:40] I just loaded it yesterday [04:40] Ah, so it's never worked under either? [04:40] no ! it worked with raspian but corrupted the interface ? [04:41] gotcha, but Ubuntu Mate has never connected to the hotspot succesfully? At least not yet? [04:41] I'm worried you phone isn't allowing SSH traffic to pass laterally amongst connected clients. [04:41] yeah so far it hasn't detected the hotspot [04:43] I was able to ssh with raspian and run the python in the terminal on my phone ! but lost ssh to the pc everytime ??? [04:43] I'm not sure why ? [04:43] before going any further on the serial issue, I'd make sure Ubuntu Mate can connect to the hotspot and that you can SSH, Cuz if you can't then it's all for not anyway. [04:44] true [04:44] is your phone rooted? [04:44] So how can I get Mate to find the hotspot ? [04:44] no [04:45] I can root it though ! I've rooted Samsung before [04:46] you might be SOL here, carrier hotspot features aren't meant to allow this sort of thing by default. they only support client web browsing really. your phone has to pass the traffic laterally, it's got to be able to be a router for your clients [04:47] okay i will root it tomorrow [04:47] That alone won't be enough. [04:47] really ? [04:48] You pay your carrir for a hotspot feature on your phone right? [04:48] what do I have to do ? [04:48] yyes [04:49] Ok, so this is not for the faint of heart. If you brick your phone I'm not responsible... You have been warned... but... [04:50] you'll probably need some sort of third party firmware for it. Cyanogenmod, Lineage OS, or something else. that means wiping your phone of all info and starting over. [04:50] Yeah I'm listening [04:50] what phone is it? [04:51] Samsung Galaxy S8 [04:51] Let's brick this phone [04:52] I love bricking [04:52] S8 or S8+? [04:52] just S8 [04:53] I love cyonegenmod [04:54] Cyanogenmod [04:54] OK, here is a good forum on rooting and third party ROMs for the S8. The Lineage OS 14.1 thread is probably a good place to start. [04:54] https://forum.xda-developers.com/galaxy-s8/development [04:55] Warning! you about to follow a rabbit hole that has no bottom! be preapred to spend days (if not weeks) learning all there is to know about this stuff! [04:55] And you'll (at a minimum) lose all data on your phone (and you may brick it) trying to do this. [04:56] but I think you'll find the build in tethering functionally in these ROMs unhindered as compared to your carrier's firmware. [04:56] so what will be the benefits ? [04:57] ahh!! I see [04:57] well I found the site ! Do you think the mate will find the hotspot ? [04:58] Not going to lie to you, you may go through all this trouble and still have the same problem. No guarantees. [04:59] I'm a geek gotta try it right ? [04:59] But I run a custom ROM on my devices and the carrier doesn't even know I can hotspot (let alone being able to restrict it) [05:00] So how do I start the root process been a long time [05:01] On the site all I see are thousands of decisions to try to make ? [05:02] It's different for every device and I'm not a Samsung guy, so I'm not familiar with it, but all the info is there on XDA for it and that community is HUGE. Reasearch the ROMs well and choose something stable (as this is your PHONE) and follow the directions in that thread. [05:02] you got a good starting point ? [05:03] Start with the ones marked "[ROM][STABLE]..." [05:04] OK, I'm off to bed. As a fellow pilot, I wish you luck in your endeavors! [05:04] Okay , I will be back tomorrow night to tell you how I did ! But we still have to connect pi to pixhawk ? with Mate ... Maybe in the meantime you could watch that video , and see what I have to do ? I will be looking for you tomorrow after work ... [05:05] okey, I'll try to get back on, but if the ROM makes your hotspot work then I suggest going back to Raspbian (perhaps using another SD card so you don't lose your place on Ubuntu Mate). [05:07] Okay sounds like a plan I will grab one on my way home 64 bit this time [05:07] 64 gig [05:07] Roger, good night [05:08] Roger that === mohammed is now known as Guest67974 [08:44] Hello === Daniel is now known as Guest58936 [08:44] Im a new user and i need Help [08:44] Can someone help me [08:44] !ask [08:44] Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [08:45] You ask and then you wait for answers, sometimes minutes some times even hours [08:45] I need apps like Zipgenius and Steam , but i didn't finded the right download for Ubuntu [08:47] Guest58936, afaik steam should be available. [08:47] no clue about the other one. [08:48] Yup, Steam is available in Boutique [09:57] Hi I am wondering if someone can give me some tips on which file system to use on an external SSD drive [09:57] should I go for NTFS or ext4? [10:04] baimafeima, if you go with ext4, then it will not be detected on a windows machine. [10:04] diogenes_, I know but I have also heard that ext4 can be problematic by writing log files onto the SSD, thereby potentially shortening its life span? [10:06] baimafeima, I haven't switched to ssds as yed, don't really wanna trust my data to an ssd so, can't tell you for sure. [10:06] yet* [10:10] diogenes_, I see, is there a greater risk when using an external SSD for data storage as opposed to an HDD? I thought HDDs are less durable [10:11] baimafeima, they are not less durable, you just have to learn how to use them right and they will serve you 10+ years, the problem with SSDs is that they can die instantly without a warning, unlike HDDs, When a HDD is about to die, it becomes slow and there you have a chance to backuo your data, not the case of SSDs [10:12] besides, SSDs have limited write time, you can't forever write data and delete. [10:14] diogenes_, I see, this is really good to know, now I have a thought...would it make sense to format my external SSD in such a way that I have two partitions, one NTFS and one ext4, and whenever I need to access one file in Windows I can copy it from ext4 to the NTFS partition or will this be problematic? [10:15] baimafeima, first of all do experiments, make two partitions, write some random data on both (NTFS and ext4) try to attach it to different machines and see how that works. [10:16] if it works fine, then copy your data on it. [10:16] diogenes_, ok, will try that [10:24] Hello, does anyone know whats going on with the still not disclosed Intel kernel bug? The webs I've read say it will force OS patching.... [10:28] Didn't even know about it. Another blunder on top of the management engine one. [10:28] Up to 30% performance drop if this is patched. Affects Virtual Memory, it seems. But its hard to know since Intel hasn't say much [10:30] ... [10:31] I just tried to create a partition of 512 GB on my external SSD but it says error creating partition, failed to meet partition size...do I need to leave some empty unallocated space in order for it to work? [10:31] when formatting the drive in disks, I selected MBR/DOS, should I have chosen "no partitioning" there? [10:32] baimafeima: are you using gparted to do that? [10:32] how are you doing this? [10:32] yeah ^ [10:34] I use gnome disks [10:35] Try gparted, personally I trust it more than gnome disks :) [10:35] when formatting the external SSD drive which I only intend for data storage (films, pictures, data)... [10:35] I get three options: format without partitioning, with MBR/DOS or GPT [10:35] alkisg, I tried gparted but found it too complicated...not that disks is easier.. [10:36] baimafeima: ok, try with gparted now and ask whatever questions you have about it usage [10:37] I'd go with mbr + a small vfat partition in case I want it bootable under uefi + an ntfs partition, if you're using windows that much [10:55] alkisg, in case I only want it for data storage, it is safe to just go without MBR or GPT? [10:56] baimafeima: no, you need a partition table [10:56] GPT is the newer one, MBR is the older and most compatible one [10:56] So if for example at some point you want to plug it to some TV and watch movies, with MBR you have the best chances [10:58] alkisg, would I need a partition table (I suppose that is what MBR or GPT is) when I only use it for data storage of my documents? [10:59] baimafeima: you need a partition table in any case, yes (except extreme cases which are not the normal) [11:00] alkisg, I see...but still intuitively this sounds strange as I don't want to "boot" from the SSD [11:01] baimafeima: partition tables define the partition, they are not there for booting [11:01] So MBR says "I have 1 partition" or "I have 4 partitions, there" [11:02] It's been like that for the past 40 years :D [11:04] alkisg, ah I see...when I compare gparted to disks...I see that my drive has 476 GB unallocated space [11:04] in gnome disks it says 512... [11:04] how am I supposed to know how to partition exactly so as to use the full available space for the partition? [11:05] The difference there is gigabytes =1.000.000.000 vs giBIbytes = 1024*1024*1024 [11:05] Your disk is 512 GB or 476 GiB [11:05] ah ok [11:05] If you see that "i" between, it's gibibytes, not gigabytes, i.e. binary counted [11:05] thanks [11:05] I want to try with gparted.. [11:06] as I always get an error with disks.. [11:06] alkisg, can you help me to create an ntfs partition? how would I do this best with gparted? [11:07] Go to the menu, create partition table, mbr, apply [11:07] Then create new partition, ntfs, apply [11:07] That's all [11:09] i have the partition table now, selected msdos [11:10] when creating the new partition, do I have to align to MiB, cylinder or none? [11:10] it seems I have to select one of these three [11:12] alkisg, and create as primary or extended partition? [11:12] baimafeima: use the defaults, they're best [11:12] The default is primary which is best as well [11:15] alkisg, did all this just now, and now trying to access it in nautilus file manager but I get this error: [11:15] unable to access 512 GB volume: no object for d-bus interface [11:16] baimafeima: do you see any errors in `dmesg`? [11:16] alkisg, how can I find dmesg? [11:16] You run it in a terminal [11:17] With this command, you share it with us: dmesg | nc termbin.com 9999 [11:20] alkisg, https://hastebin.com/xiqisupaji [11:20] can you see it? [11:23] alkisg, not sure if it worked to upload it, otherwise I can copy it in here as the nc command doesn't work on my laptop [11:46] Ärf... I try to switch Print Screen button so that Shutter takes screenshot instead Gnome Screenshot. I fail miserably, how I can do this? [11:48] alkisg, do you know what could be the problem? [11:49] I get two error messages when trying to access the drive, either unable to access or unable to unmount [11:51] baimafeima: did you close gparted before trying to access it? [11:51] For good measure, do a reboot [11:51] alkisg, yes, I did [11:51] alkisg, reboot of my laptop? [11:52] Yes, in case things were mounted while you were formatting etc [11:54] alkisg, ok, will be back soon [12:04] alkisg, rebooted and it was auto-mounted in nautilus this time, strange...wonder what was the case and hopefully the drive is okay [12:17] alkisg, it looks like it is working, thanks for your help...the only question that remains it seems is that the unused drive now shows 512 GB unused, but 83 MB used space [12:18] does the partition table need so much space? [12:18] hi guys can any1 please tell me how to install the squid client or an likely program [12:25] baimafeima: the 83 MB are part of the file system, map of free space etc [12:25] It's not related to the partititon table. The MBR is just 512 byes. [12:25] *bytes [12:27] alkisg, then it sounds like all is good [12:27] Yup [12:27] gparted actually worked while disks didn't.. [12:27] still not sure why, but I think I'll stick to gparted from now on [12:28] I trust gparted code more than all other formatting tools [12:28] It's more mature, takes care of more extreme cases etc [12:28] alkisg, but it's also more complicated, or let's say with more options that are not explained [12:29] IMHO gnome-disks is more chaotic [12:29] It doesn't have the actions where I would expect them [12:30] gparted UI is well designed; of course if someone doesn't know what GPT or MBR is, he won't understand those menus anyway [12:30] alkisg, yeah, I'm happy to learn this stuff though [12:49] https://www.theregister.co.uk/2018/01/02/intel_cpu_design_flaw/ [12:49] what do you guys think about this? [13:11] hola [13:14] hola [13:19] guys [13:20] how to make andriod phones respond to my proxy rules cuz always they get on the internet through the applicaitons but browser is correctly of [13:20] off [13:43] There might be other ways, but I have used AdGuard called Extension/Android App. You can configure DNS / DNSSEC + Proxys + AdBlocking for whole Android phone. App costs like 10$ for lifetime. [19:49] Hello world! [19:50] hello [19:54] ubuntu says hello [21:08] hello :) [21:09] i know mate is supposed to automatically mount inserted sd cards and usb drives, but if it doesn't should I just manually mkdir /mount/foobar; mount /dev/sdb1 /media/foobar ? [21:11] semitones_rex: to mount as root, yes [21:11] To mount as the user, you use udisksctl mount -b /dev/sdb1 [21:11] And it automatically makes the mount dir etc [21:11] thanks alkisg! that is what i was looking for [21:11] np [21:11] 2 helps so far :P [21:12] You are ace! :D [21:14] 2 great helps!!! [21:15] i'm researching how to rsync if I want to make a backup that I can restore later. This is my command so far (i used a GUI to construct it choosing options that sounded good :) udisksctl mount -b /dev/sdb1 [21:15] loool rsync -r -n -t -p -o -g -v --progress -l -H -D -s /media/patrick/boot /mnt/patpi2p1 [21:16] Mounting as the user blocks the suid bit, so it's not good for ext4 backups [21:17] If it's just data, it's fine, if it's an installation of an OS, use sudo instead [21:18] it is an OS,so I will add sudo to that [21:19] but the other options are to make sure that it copies symlinks as symlinks, hard links as hard links, treats special files as special files, preserves permissions and ownership, etc etc etc., [21:19] I think may need to add a --delete in there, unless it is already doing that with -D [21:25] I wonder if rsync -av --delete /src /dest is sufficient? [21:26] *sudo rsync -av --delete /src /dest [21:27] alkisg, does that ^ look sufficient to you? [21:28] semitones_rex: I'm using cp -a to clone OSes, not rsync. I think the rsync params I was using were something like -xaHA [21:28] It's been a long time since I read its man page though [21:29] In general I don't backup OSes frequently as I make sure I can reinstall them quite easily [21:29] E.g. I keep an apt command that reinstalls all the programs I need, I keep the /etc things I change... [21:30] alright. I was thinking rsync might be faster because it ignores files that have not changed? -- that is a good idea, and I did keep a log of what I did when I installed this new system. So maybe I will just make this one backup, and if the SD card gets corrupted, restore that. And if it doesn't restore right, just reinstall and setup everything again. Maybe not deal with incremental backups :P [22:21] hi, i am trying to install ubuntu-mate on a somewhat older (32bit) laptop and the machine seems to have got stuck at some point (the installer says 'target system is being configured' or something like that atm). anyhting I could do about that? [22:41] I assume you are using the 32bit image? [22:57] at least i assume so, yeah [23:12] when you download it you need to download the 32bit iso ending in i386 [23:14] cdimage.ubuntu.com/ubuntu-mate/releases/16.04.3/release/ubuntu-mate-16.04.3-desktop-i386.iso [23:44] Okay I'm Back , and I can connect to mobile hotspot now . But when the raspberry pi connects to the mobile hotspot it changes the IP adress on the pi and when I try to ssh or remote desktop with the new adress ? connection refused everytime until I hook up a monitor , keyboard , and mouse . Restart and log back into the original wi-fi network then I can ssh with the pc or remote desktop with the pc ... But I did get the [23:44] hot spot connection ... [23:47] I didn't have to root the phone ! just change some settings . And I think I'm going to stick with the Ubuntu Mate