<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Deepanshu on Medium]]></title>
        <description><![CDATA[Stories by Deepanshu on Medium]]></description>
        <link>https://medium.com/@gajbhiyedeepanshu?source=rss-ff6d7d57bab6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*2poWWdtgHnaPUVbA.</url>
            <title>Stories by Deepanshu on Medium</title>
            <link>https://medium.com/@gajbhiyedeepanshu?source=rss-ff6d7d57bab6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 06 May 2026 11:45:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gajbhiyedeepanshu/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[Google Summer of code at Debian Final Report]]></title>
            <link>https://medium.com/@gajbhiyedeepanshu/google-summer-of-code-at-debian-final-report-bbf1c51e06cb?source=rss-ff6d7d57bab6------2</link>
            <guid isPermaLink="false">https://medium.com/p/bbf1c51e06cb</guid>
            <category><![CDATA[vagrant]]></category>
            <category><![CDATA[debian]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[google]]></category>
            <dc:creator><![CDATA[Deepanshu]]></dc:creator>
            <pubDate>Thu, 11 Oct 2018 16:26:26 GMT</pubDate>
            <atom:updated>2018-10-11T16:26:26.732Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*yohjkw3gKmV_Da0POkeOsw.jpeg" /></figure><h3>Google Summer of code 2018</h3><ul><li>Organization — <a href="https://debian.org/">Debian</a></li><li>Mentors — <a href="https://github.com/dashohoxha">Dashamir Hoxha</a> , <a href="https://github.com/akash0x53">Akash Shende</a></li><li>Project Abstract — <a href="https://summerofcode.withgoogle.com/projects/#5506177505427456">Link</a></li><li>Github repository — <a href="https://github.com/docker-scripts/dev--LTSP">Virtual LTSP Server</a></li></ul><h3>Table of contents</h3><ol><li>Introduction</li><li>Final Summary</li><li>Deliverable</li><li>Weekly reports &amp; Blog posts</li><li>Other contributions</li><li>Thank you</li></ol><h3>Introduction</h3><p>Virtual LTSP server project automates installation and configuration of LTSP server with vagrant. It is the easiest way to create LTSP setup. We have developed the project to do the same for Linux mint 19 and Debian 9. We also created several scripts for testing, create ltsp client, manage accounts, etc. Also created packer scripts to create vagrant boxes that we will use in the project.</p><h3>Final Summary</h3><p>Google Summer of Code was a great opportunity to work with really smart and amazing people. I learned a lot in the process. It took my understanding of Vagrant, bash-scripting, packer, ltsp, Debian packaging to a whole another level. I started with a basic provisioner script to install ltsp to vagrant box. Then we make several improvements in it.</p><p>Later made several features and improvements in it. After that a major issue was the client was unable to boot. In order to solve this issue I searched through all the content on the internet about ltsp. Even asked the active developers of ltsp on how to fix this issue. They have been working on ltsp since 2006 but they haven’t encountered this problem yet. After struggling for lots of I solved it! Looking at the complexity and the time it took mentors told me to write a separate blog post about it. We have also created Virtual ltsp server for Debian 9. Also one for linux mint 19.</p><p>I had to create a new linux mint vagrant box with xfce. Which was really fun. I also automated its creation with packer scripts. We also did port from Edubuntu packages to Debian. It is locally built and installed via a small script. In the end, we added features like automatic login, guest login, and several scripts to optimize the workflow for the user. This was a really short summary of the work done. More details can be found on the weekly reports.</p><h3>Deliverables</h3><h4><strong>Virtual LTSP Server</strong></h4><p><a href="https://github.com/docker-scripts/dev--LTSP">docker-scripts/dev--LTSP</a></p><h4>Pull request made</h4><p><a href="https://github.com/docker-scripts/dev--LTSP/pulls?utf8=%E2%9C%93&amp;q=user%3Ad78ui98">docker-scripts/dev--LTSP</a></p><h4>Commits made</h4><ul><li>bionic branch —</li></ul><ul><li><a href="https://github.com/docker-scripts/dev--LTSP/commits/bionic">docker-scripts/dev--LTSP</a></li><li><a href="https://docs.google.com/spreadsheets/d/1kIbZWSyG0vs0ETEBxTHcZhtH6rG3k5TyzLIVBKFqk0Q/edit?usp=sharing">Google Summer of code at debian commits list bionic branch</a></li></ul><ul><li>buster branch —</li></ul><ul><li><a href="https://github.com/docker-scripts/dev--LTSP/commits/buster">docker-scripts/dev--LTSP</a></li><li><a href="https://docs.google.com/spreadsheets/d/1y7e60kuggwBfEilaRJIVFzUWlEjTmPGlIj50QkDVCKI/edit?usp=sharing">Google summer of code at debian commit list buster branch</a></li></ul><h4>Issues worked on</h4><p><a href="https://github.com/docker-scripts/dev--LTSP/issues?utf8=%E2%9C%93&amp;q=user%3Ad78ui98">docker-scripts/dev--LTSP</a></p><h4>Packer scripts to create vagrant box</h4><p><a href="https://github.com/docker-scripts/dev--LTSP/tree/bionic/packer">docker-scripts/dev--LTSP</a></p><h4>Linux mint tara vagrant box</h4><p><a href="https://app.vagrantup.com/d78ui98/boxes/linuxmint-19-xfce-32bit">Vagrant Cloud by HashiCorp</a></p><h4>Ported edubuntu packages from ubuntu to debian</h4><h4>Documentation</h4><p><a href="https://github.com/docker-scripts/dev--LTSP/wiki">docker-scripts/dev--LTSP</a></p><h3>Weekly reports &amp; Blog posts</h3><ul><li><strong>Week1</strong>:</li></ul><p><a href="https://lists.debian.org/debian-outreach/2018/05/msg00020.html">GSoC weekly report of Deepanshu Gajbhiye week 1</a></p><ul><li><strong>Week2:</strong></li></ul><ul><li><a href="https://lists.debian.org/debian-outreach/2018/05/msg00050.html">GSoC weekly report of Deepanshu Gajbhiye for week 2</a></li><li><a href="https://medium.com/@gajbhiyedeepanshu/week-2-google-summer-of-code-with-debian-9c32d2248d63">Week 2: Google Summer of code with Debian</a></li></ul><ul><li><strong>Week3</strong>:</li></ul><ul><li><a href="https://lists.debian.org/debian-outreach/2018/06/msg00015.html">GSoC weekly report of Deepanshu Gajbhiye for week 3</a></li><li><a href="https://medium.com/@gajbhiyedeepanshu/week-3-google-summer-of-code-with-debian-474a7834bd6d">Week 3: Google Summer of code with Debian</a></li></ul><ul><li><strong>Week4</strong>:</li></ul><ul><li><a href="https://lists.debian.org/debian-outreach/2018/06/msg00056.html">GSoC weekly report of Deepanshu Gajbhiye for week 4 | Virtual LTSP Server</a></li><li><a href="https://medium.com/@gajbhiyedeepanshu/week-4-google-summer-of-code-with-debian-b4446bf65e2e">Week 4: Google Summer of code with Debian</a></li></ul><ul><li><strong>Week5</strong>:</li></ul><ul><li><a href="https://lists.debian.org/debian-outreach/2018/06/msg00086.html">GSoC weekly report of Deepanshu Gajbhiye for week 5 | Virtual LTSP Server</a></li><li><a href="https://medium.com/@gajbhiyedeepanshu/week-5-google-summer-of-code-with-debian-efd8e9c8da82">Week 5: Google Summer of code with Debian</a></li></ul><ul><li><strong>Week6</strong>:</li></ul><ul><li><a href="https://lists.debian.org/debian-outreach/2018/06/msg00120.html">GSoC weekly report of Deepanshu Gajbhiye for week 6 | Virtual LTSP Server</a></li><li><a href="https://medium.com/@gajbhiyedeepanshu/week-6-google-summer-of-code-with-debian-9008a901c6de">Week 6: Google Summer of code with Debian</a></li></ul><ul><li><strong>Week7</strong>:</li></ul><ul><li><a href="https://lists.debian.org/debian-outreach/2018/07/msg00000.html">GSoC weekly report of Deepanshu Gajbhiye for week 7 | Virtual LTSP Server</a></li><li><a href="https://medium.com/@gajbhiyedeepanshu/week-7-google-summer-of-code-with-debian-dd545aba4ed0">Week 7: Google Summer of code with Debian</a></li></ul><ul><li><strong>Week8</strong>:</li></ul><ul><li><a href="https://lists.debian.org/debian-outreach/2018/07/msg00034.html">GSoC weekly report of Deepanshu Gajbhiye for week 8 | Virtual LTSP Server</a></li><li><a href="https://medium.com/@gajbhiyedeepanshu/week-8-google-summer-of-code-with-debian-1d86226830b0">Week 8: Google Summer of code with Debian</a></li></ul><ul><li><strong>Week9</strong>:</li></ul><ul><li><a href="https://lists.debian.org/debian-outreach/2018/07/msg00059.html">GSoC weekly report of Deepanshu Gajbhiye for week 9 | Virtual LTSP Server</a></li><li><a href="https://medium.com/@gajbhiyedeepanshu/week-9-google-summer-of-code-with-debian-d288d8e2b1c1">Week 9: Google Summer of code with Debian</a></li></ul><ul><li><strong>Week10</strong>:</li></ul><ul><li><a href="https://lists.debian.org/debian-outreach/2018/07/msg00081.html">GSoC weekly report of Deepanshu Gajbhiye for week 10 | Virtual LTSP Server</a></li><li><a href="https://medium.com/@gajbhiyedeepanshu/week-10-google-summer-of-code-with-debian-75eb8318826c">Week 10: Google Summer of code with Debian</a></li></ul><ul><li><strong>Week11</strong>:</li></ul><ul><li><a href="https://lists.debian.org/debian-outreach/2018/07/msg00107.html">GSoC weekly report of Deepanshu Gajbhiye for week 11 | Virtual LTSP Server</a></li><li><a href="https://medium.com/@gajbhiyedeepanshu/week-11-google-summer-of-code-with-debian-e8a245ac15e6">Week 11: Google Summer of code with Debian</a></li></ul><ul><li><strong>Week12</strong>:</li></ul><ul><li><a href="https://lists.debian.org/debian-outreach/2018/08/msg00018.html">GSoC weekly report of Deepanshu Gajbhiye for week 12 | Virtual LTSP Server</a></li><li><a href="https://medium.com/@gajbhiyedeepanshu/week-12-google-summer-of-code-with-debian-784b0742fab9">Week 12: Google Summer of code with Debian</a></li></ul><h3>Other contributions</h3><p><a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905006">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905006</a></p><ul><li><a href="https://medium.com/@gajbhiyedeepanshu/solving-ltsp-client-not-able-to-login-issue-50384c98efbc">Solving LTSP Client Not able to login Issue</a></li><li><a href="https://medium.com/@gajbhiyedeepanshu/building-custom-vagrant-box-e6a846b6baca">Building Custom Vagrant box</a></li></ul><h3>Thank you</h3><p>I am very thankful to Google and Debian for accepting me to Google Summer of Code. Working for GSoC was an amazing experience. I will definately participate next year as well.</p><p>Thank to my mentors <a href="http://dashohoxha.fs.al/">Dashamir Hoxha</a> and <a href="http://akash0x53.github.io/">Akash Shende</a> for their solid support, quick response, patience and trust on me.</p><p>Thank you <a href="https://danielpocock.com/">Daniel Pocock</a> for encouragement and Big thanks to Debian, ltsp, Vagrant community for being very helpful.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bbf1c51e06cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 12: Google Summer of code with Debian]]></title>
            <link>https://medium.com/@gajbhiyedeepanshu/week-12-google-summer-of-code-with-debian-784b0742fab9?source=rss-ff6d7d57bab6------2</link>
            <guid isPermaLink="false">https://medium.com/p/784b0742fab9</guid>
            <category><![CDATA[final]]></category>
            <category><![CDATA[debian]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[google]]></category>
            <dc:creator><![CDATA[Deepanshu]]></dc:creator>
            <pubDate>Sun, 05 Aug 2018 18:02:50 GMT</pubDate>
            <atom:updated>2018-08-05T18:02:50.186Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*yohjkw3gKmV_Da0POkeOsw.jpeg" /></figure><h3>Here is what I did last week</h3><ul><li>Made enhancements on buster branch<a href="https://github.com/docker-scripts/dev--LTSP/pull/93">[1]</a></li><li>added auto-config feature</li><li>enabled autologin and guestlogin</li><li>More functionality to test.sh</li><li>Wrote accounts.sh script to manage user accounts in bulk.<a href="https://github.com/docker-scripts/dev--LTSP/pull/91">[2]</a></li><li>Created a bug report as a request to merge the edu packages that I created<a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905006">[3]</a></li><li>Provided dhcp range to dhcp server for testing<a href="https://github.com/docker-scripts/dev--LTSP/pull/99">[4]</a><a href="https://github.com/docker-scripts/dev--LTSP/pull/97">[5]</a></li><li>Updated documentation<a href="https://github.com/docker-scripts/dev--LTSP/pull/95">[6]</a></li><li>Removed vagrant-cachier plugin, enabled dns<a href="https://github.com/docker-scripts/dev--LTSP/pull/96">[7]</a></li><li>We are also trying to involve the other students that wanted to work on this project<a href="https://github.com/docker-scripts/dev--LTSP/issues/18#issuecomment-410494342">[8]</a></li></ul><h3>Plans for next week and after</h3><ul><li>Merge request, bug report for education packages has been already made. Will remove edu.shscript as soon as it is merged.</li><li>Will update vagrant box for linux mint tara after a new release.</li></ul><h3>Pull requests Created</h3><ul><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/93">Made enhancements on buster branch by d78ui98 · Pull Request #93 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/91">added scripts to manage user accounts in bulk by d78ui98 · Pull Request #91 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/99">added dhcp range in dnsmasq config file by d78ui98 · Pull Request #99 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/97">updated dhcp server by d78ui98 · Pull Request #97 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/95">updated readme file by d78ui98 · Pull Request #95 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/96">updated bionic branch by d78ui98 · Pull Request #96 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/18#issuecomment-410494342">Test the LTSP server on Ubuntu bionic · Issue #18 · docker-scripts/dev--LTSP</a></li></ul><h3>Request to merge education packages</h3><p><a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905006">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905006</a></p><h3>Current status of project</h3><p><a href="https://github.com/docker-scripts/dev--LTSP/projects/1">docker-scripts/dev--LTSP</a></p><p>Thats all for now folks. So that’s it for now, watch out this space for more blog posts for the whole summer.</p><p>Thanks for reading! Be sure to click claps below to recommend this article if you liked it.<br>You can connect with me on <a href="https://github.com/d78ui98">Github</a>, <a href="https://twitter.com/deep0x00">Twitter</a>, <a href="https://www.linkedin.com/in/deepanshu-gajbhiye/">Linkedin</a> :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=784b0742fab9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 11: Google Summer of code with Debian]]></title>
            <link>https://medium.com/@gajbhiyedeepanshu/week-11-google-summer-of-code-with-debian-e8a245ac15e6?source=rss-ff6d7d57bab6------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8a245ac15e6</guid>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[vagrant]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[debian]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Deepanshu]]></dc:creator>
            <pubDate>Sun, 29 Jul 2018 14:09:41 GMT</pubDate>
            <atom:updated>2018-07-29T14:20:01.479Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*yohjkw3gKmV_Da0POkeOsw.jpeg" /></figure><h3>Here is what I did last week?</h3><ul><li>For most of the time in the week I was working on building packer template linux mint 19<a href="https://github.com/docker-scripts/dev--LTSP/pull/88">[1]</a></li><li>updated readme file<a href="https://github.com/docker-scripts/dev--LTSP/pull/88">[1]</a></li><li>Added education packages to debian edu. Improved primaryschool package<a href="https://salsa.debian.org/debian-edu/debian-edu/merge_requests/1">[2]</a></li><li>Released vagrant box version 1.0.2<a href="https://github.com/docker-scripts/dev--LTSP/pull/90">[3]</a></li><li>Made some changes in virtual ltsp project to adapt to version 1.0.2 <a href="https://github.com/docker-scripts/dev--LTSP/pull/90">[3]</a></li><li>Studied how to use reportbug and filed bug (severity: wishlist) using it.</li><li>All the improvments that were made in bionic branch are now made in buster branch as well <a href="https://github.com/docker-scripts/dev--LTSP/pull/93">[4]</a></li></ul><h3>Problems I could not solve</h3><ul><li>I had to wait for bug to get reported to merge the packages <a href="https://github.com/docker-scripts/dev--LTSP/issues/80">[5]</a></li></ul><h3>Plans for next week</h3><ul><li>Improve documentation</li><li>Work on buster branch<a href="https://github.com/docker-scripts/dev--LTSP/issues/92"> [6]</a></li><li>Test everything to make sure everything works as expected <a href="https://github.com/docker-scripts/dev--LTSP/issues/63">[7]</a></li></ul><h3>Pull requests created</h3><ul><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/88">Added packer template by d78ui98 · Pull Request #88 · docker-scripts/dev--LTSP</a></li><li><a href="https://salsa.debian.org/debian-edu/debian-edu/merge_requests/1">added new task files (!1) · Merge Requests · Debian Edu / debian-edu</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/90">released vagrant box version 1.0.2 by d78ui98 · Pull Request #90 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/93">Made enhancements on buster branch by d78ui98 · Pull Request #93 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/91">added scripts to manage user accounts in bulk by d78ui98 · Pull Request #91 · docker-scripts/dev--LTSP</a></li></ul><h3>Issues worked on</h3><ul><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/80">Add education level meta-packages on DebianEdu · Issue #80 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/92">update buster branch · Issue #92 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/63">Test extensively · Issue #63 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/79">Add support for managing bulk user accounts · Issue #79 · docker-scripts/dev--LTSP</a></li></ul><h3>Current status of project</h3><p><a href="https://github.com/docker-scripts/dev--LTSP/projects/1">docker-scripts/dev--LTSP</a></p><p>Thats all for now folks. So that’s it for now, watch out this space for more blog posts for the whole summer.</p><p>Thanks for reading! Be sure to click claps below to recommend this article if you liked it.<br>You can connect with me on <a href="https://github.com/d78ui98">Github</a>, <a href="https://twitter.com/deep0x00">Twitter</a>, <a href="https://www.linkedin.com/in/deepanshu-gajbhiye/">Linkedin</a> :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8a245ac15e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 10: Google Summer of code with Debian]]></title>
            <link>https://medium.com/@gajbhiyedeepanshu/week-10-google-summer-of-code-with-debian-75eb8318826c?source=rss-ff6d7d57bab6------2</link>
            <guid isPermaLink="false">https://medium.com/p/75eb8318826c</guid>
            <category><![CDATA[vagrant]]></category>
            <category><![CDATA[debian]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[google]]></category>
            <dc:creator><![CDATA[Deepanshu]]></dc:creator>
            <pubDate>Sun, 22 Jul 2018 11:59:04 GMT</pubDate>
            <atom:updated>2018-07-22T11:59:04.649Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*yohjkw3gKmV_Da0POkeOsw.jpeg" /></figure><h3>What I did last week?</h3><ul><li>Implemented auto_config feature in Vagrantfile<a href="https://github.com/docker-scripts/dev--LTSP/pull/86">[1]</a></li><li>Made several changes in provisioner script to adapt to the newer version of ltsp<a href="https://github.com/docker-scripts/dev--LTSP/pull/86">[1]</a></li><li>Fixed DNS issue in ltsp setup<a href="https://github.com/docker-scripts/dev--LTSP/pull/84">[2]</a></li><li>Added guest-login and auto-login functionality in ltsp server for ltsp client<a href="https://github.com/docker-scripts/dev--LTSP/pull/87">[3]</a></li><li>Improving the Debian Edu packages for uploading them to mentors.debian.net</li></ul><h3>Problems I could not solve</h3><ul><li>Still, need to make some improvements in Debian Edu packages before uploading them</li></ul><h3>Plans for next week</h3><ul><li>Upload the packages to mentor.debian.net<a href="https://github.com/docker-scripts/dev--LTSP/issues/80">[4]</a></li><li>Create scripts to automatically build vagrant boxes<a href="https://github.com/docker-scripts/dev--LTSP/issues/77">[5]</a></li><li>Create a script to manage bulk user accounts<a href="https://github.com/docker-scripts/dev--LTSP/issues/79">[6]</a></li><li>Then I will start with testing again, improve documentation to make final upload of code to google</li></ul><h3>Pull requests created</h3><ul><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/84">Fixed dns issue to provide internet to clients by d78ui98 · Pull Request #84 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/86">updated ltsp setup by d78ui98 · Pull Request #86 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/87">Added autologin and guest login feauture by d78ui98 · Pull Request #87 · docker-scripts/dev--LTSP</a></li></ul><h3>Issues worked on</h3><ul><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/78">Add support for guest accounts and automatic login · Issue #78 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/83">Configure dns to provide internet to clients · Issue #83 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/85">Update virtual LTSP server project to new version of LTSP · Issue #85 · docker-scripts/dev--LTSP</a></li></ul><h3>Current status of project</h3><p><a href="https://github.com/docker-scripts/dev--LTSP/projects/1">docker-scripts/dev--LTSP</a></p><p>Thats all for now folks. So that’s it for now, watch out this space for more blog posts for the whole summer.</p><p>Thanks for reading! Be sure to click claps below to recommend this article if you liked it.<br>You can connect with me on <a href="https://github.com/d78ui98">Github</a>, <a href="https://twitter.com/deep0x00">Twitter</a>, <a href="https://www.linkedin.com/in/deepanshu-gajbhiye/">Linkedin</a> :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75eb8318826c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 9: Google Summer of code with Debian]]></title>
            <link>https://medium.com/@gajbhiyedeepanshu/week-9-google-summer-of-code-with-debian-d288d8e2b1c1?source=rss-ff6d7d57bab6------2</link>
            <guid isPermaLink="false">https://medium.com/p/d288d8e2b1c1</guid>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[debian]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[vagrant]]></category>
            <dc:creator><![CDATA[Deepanshu]]></dc:creator>
            <pubDate>Sun, 15 Jul 2018 12:13:23 GMT</pubDate>
            <atom:updated>2018-07-15T12:14:21.266Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7w6f601zOCzwZfbSbMsqtg.jpeg" /></figure><h3>What I did last week?</h3><ul><li>Most of the time week was devoted for testing the entire project in various distribution, cases and enviroment.</li><li>Also tried using Virtual ltsp server with 10 different clients on real LAN.</li><li>Next task to do was fix the issues found. One such issue was fixing IP address issue caused by switching to linux mint.<a href="https://github.com/docker-scripts/dev--LTSP/pull/81">[1]</a></li><li>Another issue was internet was not working on on ltsp client. Fixed that one<a href="https://github.com/docker-scripts/dev--LTSP/pull/84">[2]</a></li></ul><h3>Problems I could not solve</h3><ul><li>Didn’t get time to work on autologin and to write packer script to create vagrant box. As lot of time was given to testing</li><li>Still trying to work on auto_config of network part of vagrantfile</li></ul><h3>Plans for next week</h3><ul><li>Implement networking in Vagrantfile with auto_config<a href="https://github.com/docker-scripts/dev--LTSP/issues/83">[3]</a></li><li>More testing<a href="https://github.com/docker-scripts/dev--LTSP/issues/63">[4]</a></li><li>work on autologin feature<a href="https://github.com/docker-scripts/dev--LTSP/issues/78">[5]</a></li><li>write packer script to create vagrant box<a href="https://github.com/docker-scripts/dev--LTSP/issues/77">[6]</a></li></ul><h3>Pull requests created</h3><ul><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/81">fixed error in ip address by d78ui98 · Pull Request #81 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/84">Fixed dns issue to provide internet to clients by d78ui98 · Pull Request #84 · docker-scripts/dev--LTSP</a></li></ul><h3>Current status of project</h3><p><a href="https://github.com/docker-scripts/dev--LTSP/projects/1">docker-scripts/dev--LTSP</a></p><p>Thats all for now folks. So that’s it for now, watch out this space for more blog posts for the whole summer.</p><p>Thanks for reading! Be sure to click claps below to recommend this article if you liked it.<br>You can connect with me on <a href="https://github.com/d78ui98">Github</a>, <a href="https://twitter.com/deep0x00">Twitter</a>, <a href="https://www.linkedin.com/in/deepanshu-gajbhiye/">Linkedin</a> :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d288d8e2b1c1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 8: Google Summer of code with Debian]]></title>
            <link>https://medium.com/@gajbhiyedeepanshu/week-8-google-summer-of-code-with-debian-1d86226830b0?source=rss-ff6d7d57bab6------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d86226830b0</guid>
            <category><![CDATA[vagrant]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[ltsp]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[gsoc]]></category>
            <dc:creator><![CDATA[Deepanshu]]></dc:creator>
            <pubDate>Sat, 07 Jul 2018 21:27:55 GMT</pubDate>
            <atom:updated>2018-07-10T10:09:04.184Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7w6f601zOCzwZfbSbMsqtg.jpeg" /></figure><p>This was interesting week. I was working on the project all the time in weekdays.</p><p>This is one of the major achievement</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bx_yVTHE8ujA4-S2f4q73A.png" /><figcaption>Dope Looking linux mint client :P</figcaption></figure><h3>Here is what I did last week?</h3><ul><li>Implemented vagarant cachier plugin to speed up testing, installation and configuration of ltsp setup<a href="https://github.com/docker-scripts/dev--LTSP/pull/74">[1]</a></li><li>Learned how to build vagrant box from scratch blog post and wiki page for the same<a href="https://github.com/docker-scripts/dev--LTSP/wiki/Building-Custom-Vagrant-box">[2]</a><a href="https://app.vagrantup.com/d78ui98/boxes/linuxmint-19-xfce-32bit">[3]</a></li><li>Created a vagrant box for linux mint and uploaded on vagrant cloud. Also released a second more compack version<a href="https://app.vagrantup.com/d78ui98/boxes/linuxmint-19-xfce-32bit">[4]</a></li><li>Fixed ltsp client login issue<a href="https://github.com/docker-scripts/dev--LTSP/pull/73">[5]</a></li><li>Added variable to settings.sh configuration file to add vagrant box instead of hardcoding it<a href="https://github.com/docker-scripts/dev--LTSP/pull/73">[6]</a></li><li>Updated docs<a href="https://github.com/docker-scripts/dev--LTSP/pull/75">[7]</a></li><li>Added linux mint 19 xfce ltsp box<a href="https://github.com/docker-scripts/dev--LTSP/wiki">[8]</a></li><li>Added testing steps, commands, etc in readme file<a href="https://github.com/docker-scripts/dev--LTSP/pull/76">[9]</a></li></ul><h3>Problems I could not solve</h3><ul><li>Have to create packer scripts to automatically create vagrant boxes from iso<a href="https://github.com/docker-scripts/dev--LTSP/issues/78">[10]</a></li></ul><h3>Plans for next week</h3><ul><li>Building a LTSP server container with docker-scripts<a href="https://github.com/docker-scripts/dev--LTSP/issues/8">[11]</a></li><li>Finsh pending tasks</li><li>Implement autologin for ltsp clients[<a href="https://github.com/docker-scripts/dev--LTSP/issues/78">12]</a></li></ul><h3>Issues worked on</h3><ul><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/68">Custom vagrant box · Issue #68 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/64">Improve the docs · Issue #64 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/69">Vagrant caching · Issue #69 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/72">Client restarts when logged in · Issue #72 · docker-scripts/dev--LTSP</a></li></ul><h3>Pull Requests Created</h3><ul><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/74">Added vagrant cachier plugin by d78ui98 · Pull Request #74 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/71">updated `readme` file by d78ui98 · Pull Request #71 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/73">fixed client reboot issue by d78ui98 · Pull Request #73 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/75">adding configuration variable. by d78ui98 · Pull Request #75 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/76">added linuxmint-19-xfce 32bit box by d78ui98 · Pull Request #76 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/81">fixed error in ip address by d78ui98 · Pull Request #81 · docker-scripts/dev--LTSP</a></li></ul><h3>Status of the project</h3><p><a href="https://github.com/docker-scripts/dev--LTSP/projects/1">docker-scripts/dev--LTSP</a></p><p>Thats all for now folks. So that’s it for now, watch out this space for more blog posts for the whole summer.</p><p>Thanks for reading! Be sure to click claps below to recommend this article if you liked it.<br>You can connect with me on <a href="https://github.com/d78ui98">Github</a>, <a href="https://twitter.com/deep0x00">Twitter</a>, <a href="https://www.linkedin.com/in/deepanshu-gajbhiye/">Linkedin</a> :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d86226830b0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Custom Vagrant box]]></title>
            <link>https://medium.com/@gajbhiyedeepanshu/building-custom-vagrant-box-e6a846b6baca?source=rss-ff6d7d57bab6------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6a846b6baca</guid>
            <category><![CDATA[vagrant]]></category>
            <category><![CDATA[debian]]></category>
            <category><![CDATA[linux-mint]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Deepanshu]]></dc:creator>
            <pubDate>Wed, 04 Jul 2018 11:54:53 GMT</pubDate>
            <atom:updated>2018-07-10T15:59:29.103Z</atom:updated>
            <content:encoded><![CDATA[<p>Building custom Vagrant box is not a very difficult task. But on the Internet, you would find people doing it many different ways. This creates a lot of confusion about which guide to follow. So it is good to write my own blog about it So that I can be useful for others and for me in the future.</p><p>Also, it is one of the <a href="https://github.com/docker-scripts/dev--LTSP/issues/68">task</a> for my Google summer of code project <a href="https://github.com/docker-scripts/dev--LTSP">Virtual LTSP Server</a></p><p>Before going into building vagrant box. A little bit introduction about vagrant-</p><p>Vagrant is a tool for creating virtual test environments. By just three commands you will have your vagrant box set up and running.</p><pre>vagrant init precise32<br>vagrant up<br>vagrant ssh</pre><h3>Prerequisites</h3><p>You just need 2 software</p><ul><li><strong>Virtualbox</strong> — If you dont have it installed you can do it by</li></ul><pre>sudo touch /etc/apt/sources.list.d/virtualbox.sources.list</pre><pre>echo &quot;deb http://download.virtualbox.org/virtualbox/debian xenial  contrib&quot; &gt;&gt; sudo /etc/apt/sources.list.d/virtualbox.sources.list</pre><pre>wget -q <a href="https://www.virtualbox.org/download/oracle_vbox_2016.asc">https://www.virtualbox.org/download/oracle_vbox_2016.asc</a> \<br>    -O- | sudo apt-key add -<br>wget -q <a href="https://www.virtualbox.org/download/oracle_vbox.asc">https://www.virtualbox.org/download/oracle_vbox.asc</a> \<br>    -O- | sudo apt-key add -</pre><pre>sudo apt update</pre><pre>sudo apt install virtualbox-5.2</pre><ul><li><strong>Vagrant</strong> — You can easily download it by sudo apt install vagrant</li></ul><h3>What are we going to do?</h3><p>We are going to build a vagrant box from scratch. In the end, we will have a package.boxfile it will have all the necessary components required to start a vagrant machine.</p><p>So let’s get started</p><h3>Building a box</h3><p>First, we are going to create a virtual machine. For this tutorial, we are going to create a vagrant box for Linux mint Xfce. With following settings-</p><h4>Virtual machine setup</h4><ul><li>Download Linux mint iso from here-<a href="https://www.linuxmint.com/download.php">https://www.linuxmint.com/download.php</a></li><li>Open VirtualBox click new</li><li>Set name linuxmint-19-xfce-32bit Type and version will be automatically set for you.</li><li>Set memory 1024 Mb</li><li>Virtual hard disk size 10 Gb. Hard disk file type vmdk</li></ul><p>Then you need to go to settings of the VM</p><ul><li>Disable audio</li><li>Disable USB ports</li><li>Enable port forwarding. Go to file &gt; Preferences &gt; Network</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*a4IN0MX3DVOBE74Ow6G5Ig.png" /></figure><ul><li>Click on the green add icon to create a new network</li><li>Then go to its settings</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/682/1*osDulvY0NHdjbl-UTtnUJg.png" /></figure><ul><li>Then in port forwarding set this rule</li></ul><pre>[Name: SSH, Protocol: TCP, Host IP: 127.0.0.1, Host Port: 2222, Guest IP: &lt;VM IP address&gt;, Guest Port: 22]</pre><h4>Installation</h4><ul><li>Create the virtual machine with the help of ISO we downloaded</li><li>Set vagrant user and password also vagrant</li></ul><h4>Changing root password</h4><ul><li>Open up the terminal and do a</li></ul><pre>sudo passwd root</pre><p>It will prompt for the password twice. It is recommended to set the password to vagrant</p><h4>Making vagrant user a Super user</h4><p>Now we need to add vagrant user to sudoers list. For that, you need to edit sudo nano /etc/sudoers.d/vagrant</p><p>Add these following lines</p><pre># add vagrant user<br>vagrant ALL=(ALL) NOPASSWD:ALL</pre><p>Press CTRL+O to save and then CTRL+X to exit in nano</p><h4>Install Vagrant Insecure key</h4><p>This vagrant insecure key is required for communication of Host machine to vagrant box. Don’t worry if the machine is insecure. As soon as you do a vagrant up, The vagrant will automatically replace this key with a new key pair for better security. Install this vagrant key by executing these commands on the terminal</p><pre>mkdir -p /home/vagrant/.ssh</pre><pre>chmod 0700 /home/vagrant/.ssh</pre><pre>wget --no-check-certificate \<br>  https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub \<br>  -O /home/vagrant/.ssh/authorized_keys</pre><pre>chmod 0600 /home/vagrant/.ssh/authorized_keys</pre><pre>chown -R vagrant /home/vagrant/.ssh</pre><h4>Update and upgrade</h4><p>It is recommended to update and upgrading before packaging the box</p><pre>sudo apt update --yes<br>sudo apt upgrade --yes</pre><h4>OpenSSH Server</h4><pre>apt install --yes openssh-server</pre><pre>sudo sed -i /etc/ssh/sshd_config -e \<br>    &quot;/#Author*/ c AuthorizedKeysFile %h/.ssh/authorized_keys&quot;</pre><pre>sudo service ssh restart</pre><h4>Installing Guest tools</h4><pre>sudo apt install --yes gcc dkms build-essential \<br>    linux-headers-server</pre><p>These guests tools are required. If this you forget to install these the synced folders will not work. However, there is a plugin in vagrant vagrant-vbguestthat can automatically install these. This plugin can also be useful if the vagrant box by default does not come with this plugin preinstalled.</p><p>Take a look that this for example — <a href="https://github.com/fujimakishouten/vagrant-boxes/issues/1">https://github.com/fujimakishouten/vagrant-boxes/issues/1</a></p><h4>Install VBoxLinuxAdditions</h4><p>Inside VM window go to Devices &gt; Insert Guest Edition CD image… It should open up a disk File manager. Copy the path. It should be in the format of /media/vagrant/VBox_GAs_x.x.x/. In my case it is 5.2.14. You just have to add VBoxLinuxAdditions.run after the path. So that it looks something like this-</p><pre>sudo /media/vagrant/VBox_GAs_5.2.14/VBoxLinuxAdditions.run</pre><p>This is the best way to this. Otherwise, you would have to find the version and LinuxAddition from <a href="https://download.virtualbox.org/virtualbox/">here</a> manually(not recommended).</p><p>Then you should restart the box.</p><h4>Package the box</h4><p>Congratulations we have almost created the vagrant box. Now we just have to create a package.box file. We can do it with the help of vagrant packagecommand. Create a linuxmint-19-xfce-32bit folder in your home directory</p><pre>mkdir ~/linuxmint-19-xfce-32bit</pre><pre>cd ~/linuxmint-19-xfce-32bit</pre><pre>vagrant package --base linuxmint-19-xfce-32bit</pre><pre>==&gt; mint: Attempting graceful shutdown of VM...<br>==&gt; mint: Forcing shutdown of VM...<br>==&gt; mint: Exporting VM...<br>==&gt; mint: Compressing package to: /home/pc/linuxmint-19-xfce-32bit/package.box</pre><h4>Testing</h4><p>Then you need to add this box and then initialize. You can do it by</p><pre>vagrant box add linuxmint-19-xfce-32bit package.box<br>vagrant init linuxmint-19-xfce-32bit<br>vagrant up</pre><h4>Connecting to box</h4><p>Now you can ssh into the box by</p><pre>vagrant ssh</pre><p>Now you can use this like every other vagrant box. <br>Congratulations! We have created a vagrant box from complete scratch.</p><p>That’s all for now folks. So that’s it for now, watch out this space for more blog posts for the whole summer.</p><p>Thanks for reading! Be sure to click claps below to recommend this article if you liked it.<br>You can connect with me on <a href="https://github.com/d78ui98">Github</a>, <a href="https://twitter.com/deep0x00">Twitter</a>, <a href="https://www.linkedin.com/in/deepanshu-gajbhiye/">Linkedin</a> :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6a846b6baca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 7: Google Summer of code with Debian]]></title>
            <link>https://medium.com/@gajbhiyedeepanshu/week-7-google-summer-of-code-with-debian-dd545aba4ed0?source=rss-ff6d7d57bab6------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd545aba4ed0</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[debian]]></category>
            <category><![CDATA[ltsp]]></category>
            <category><![CDATA[gsoc]]></category>
            <dc:creator><![CDATA[Deepanshu]]></dc:creator>
            <pubDate>Sun, 01 Jul 2018 08:56:53 GMT</pubDate>
            <atom:updated>2018-07-01T09:10:28.314Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*yohjkw3gKmV_Da0POkeOsw.jpeg" /></figure><h3>Here is what I did last week?</h3><ul><li>Created fully functional test.sh script for testing. It will create virtual interface, startup ltsp-server, and dhcp server and then the client with a single command and destroy them with another.<a href="https://github.com/docker-scripts/dev--LTSP/pull/67">[1]</a></li><li>Differentiated between ltsp-server and ltsp-server-standalone package by looking at package source<a href="https://github.com/docker-scripts/dev--LTSP/issues/51">[2]</a></li><li>Added GUI to vagrant box<a href="https://github.com/docker-scripts/dev--LTSP/pull/65">[3]</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ztlRhpHq6dj3cYgAoRHiXg.png" /></figure><ul><li>Several Improvements in `settings.sh` configuration file.<a href="https://github.com/docker-scripts/dev--LTSP/pull/66">[4]</a></li><li>Created a second troubleshooting page and testing plan. Mentor wrote a better testing plan for me <a href="https://github.com/docker-scripts/dev--LTSP/wiki">[5]</a></li><li>Enabled debugging on all shell scripts<a href="https://github.com/docker-scripts/dev--LTSP/pull/70">[6]</a></li><li>Added edu.sh that creates Debian packages from a custom source of and installs them to ltsp server vagrant box<a href="https://github.com/docker-scripts/dev--LTSP/pull/57">[7]</a></li></ul><h3>Problems I could not solve</h3><ul><li>Working on Improving docs<a href="https://github.com/docker-scripts/dev--LTSP/issues/64">[8]</a></li><li>Tested internally and externally only, have to test on real LAN<a href="https://github.com/docker-scripts/dev--LTSP/issues/63">[9]</a></li></ul><h3>Plans for next week</h3><ul><li>Next week I am planning on testing according to testing plan and Fixing all the bugs that I find.<a href="https://github.com/docker-scripts/dev--LTSP/wiki/Testing-Plan">[10]</a></li><li>Will be improving the docs<a href="https://github.com/docker-scripts/dev--LTSP/issues/63">[11]</a></li><li>Create custom vagrant box<a href="https://github.com/docker-scripts/dev--LTSP/issues/68">[12]</a></li><li>Explore and implement vagrant caching<a href="https://github.com/docker-scripts/dev--LTSP/issues/69">[13]</a></li></ul><h3>Pull requests Created</h3><ul><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/57">added ubuntu-edu packages by d78ui98 · Pull Request #57 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/65">added gui on vagrant box by d78ui98 · Pull Request #65 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/66">updated Setting.sh by d78ui98 · Pull Request #66 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/67">made test.sh functional by d78ui98 · Pull Request #67 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/70">enabled debugging on bash scripts by d78ui98 · Pull Request #70 · docker-scripts/dev--LTSP</a></li></ul><h3>Issues worked on</h3><ul><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/49">Create a wiki page about how to debug LTSP from a client · Issue #49 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/51">What are the differences between the packages ltsp-server and ltsp-server-standalone · Issue #51 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/58">Enable debugging on all bash scripts · Issue #58 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/59">Improve settings.sh · Issue #59 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/60">LTSP server needs to have a GUI · Issue #60 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/61">Make the VagrantBox of the ltsp-server secure · Issue #61 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/62">Make &#39;test.sh&#39; functional · Issue #62 · docker-scripts/dev--LTSP</a></li></ul><h3>Status of the project</h3><p><a href="https://github.com/docker-scripts/dev--LTSP/projects/1?fullscreen=true">docker-scripts/dev--LTSP</a></p><p>Thats all for now folks. So that’s it for now, watch out this space for more blog posts for the whole summer.</p><p>Thanks for reading! Be sure to click claps below to recommend this article if you liked it.<br>You can connect with me on <a href="https://github.com/d78ui98">Github</a>, <a href="https://twitter.com/deep0x00">Twitter</a>, <a href="https://www.linkedin.com/in/deepanshu-gajbhiye/">Linkedin</a> :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd545aba4ed0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 6: Google Summer of code with Debian]]></title>
            <link>https://medium.com/@gajbhiyedeepanshu/week-6-google-summer-of-code-with-debian-9008a901c6de?source=rss-ff6d7d57bab6------2</link>
            <guid isPermaLink="false">https://medium.com/p/9008a901c6de</guid>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Deepanshu]]></dc:creator>
            <pubDate>Sun, 24 Jun 2018 18:49:28 GMT</pubDate>
            <atom:updated>2018-06-24T18:49:28.582Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7w6f601zOCzwZfbSbMsqtg.jpeg" /></figure><h3>What I did last week?</h3><ul><li>added test.sh script on buster branch that creates virtual interface<a href="https://github.com/docker-scripts/dev--LTSP/pull/52">[1]</a></li><li>made several improvements in `test.sh` script to create a virtual network in both buster and bionic branch<a href="https://github.com/docker-scripts/dev--LTSP/pull/55">[2]</a><a href="https://github.com/docker-scripts/dev--LTSP/pull/56">[3]</a><a href="https://github.com/docker-scripts/dev--LTSP/pull/53">[4]</a></li><li>Informed the maintainers about a minor bug in official ubuntu ltsp-pnp page. It is now fixed.</li><li>wrote wiki page on how to troubleshoot ltsp setup<a href="https://github.com/docker-scripts/dev--LTSP/wiki/Troubleshooting">[5]</a></li><li>wrote a blog on how vagrantc(creator of ltsp) helped me fix the client login problem.<a href="https://medium.com/@gajbhiyedeepanshu/solving-ltsp-client-not-able-to-login-issue-50384c98efbc">[6]</a></li><li>studied about building Debian package from resources collected last week</li><li>wrote a script to automatically port and install ubuntu-edu packages to Debian(open PR and needs some improvements)<a href="https://github.com/docker-scripts/dev--LTSP/pull/57">[7]</a></li><li>Searched and tested the difference between ltsp-server and ltsp-server-standalone package<a href="https://github.com/docker-scripts/dev--LTSP/issues/51">[8]</a></li></ul><h3>Problems I could not solve</h3><ul><li>deb folder currently has unnecessary files. Need to remove those</li><li>did not get time to study how to support raspberry pi clients by ltsp server</li><li>finish up the work between differentiating both ltsp setups[8]</li><li>need to split testing wiki page into automated and manual testing pages</li></ul><h3>Plans for next week</h3><ul><li>finish up the remaining work in mentioned in problem not solved</li><li>work on issues <a href="https://github.com/docker-scripts/dev--LTSP/issues/58">#58</a> <a href="https://github.com/docker-scripts/dev--LTSP/issues/59">#59</a> <a href="https://github.com/docker-scripts/dev--LTSP/issues/60">#60</a> <a href="https://github.com/docker-scripts/dev--LTSP/issues/61">#61</a> <a href="https://github.com/docker-scripts/d2ev--LTSP/issues/6">#62</a> <a href="https://github.com/docker-scripts/d2ev--LTSP/issues/63">#63</a> <a href="https://github.com/docker-scripts/d2ev--LTSP/issues/64">#64</a></li><li>research on what needs to be done in ltsp-server to support RaspberryPi clients<a href="https://github.com/docker-scripts/dev--LTSP/issues/4">[16]</a></li><li>added more features to ltsp-manager<a href="https://github.com/docker-scripts/dev--LTSP/issues/2">[17]</a></li></ul><h3>Pull requests created</h3><ul><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/52">added test.sh shell script by d78ui98 · Pull Request #52 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/56">test.sh update by d78ui98 · Pull Request #56 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/55">updated test.sh by d78ui98 · Pull Request #55 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/53">improved test.sh by d78ui98 · Pull Request #53 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/pull/57">added ubuntu-edu packages by d78ui98 · Pull Request #57 · docker-scripts/dev--LTSP</a></li></ul><h3>Wiki pages That I wrote</h3><p><a href="https://github.com/docker-scripts/dev--LTSP/wiki/Troubleshooting">docker-scripts/dev--LTSP</a></p><h3>Other blogs that I wrote this week</h3><p><a href="https://medium.com/@gajbhiyedeepanshu/solving-ltsp-client-not-able-to-login-issue-50384c98efbc">Solving LTSP Client Not able to login Issue</a></p><h3>Issues to work on next week</h3><ul><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/58">Enable debugging on all bash scripts · Issue #58 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/59">Improve settings.sh · Issue #59 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/60">LTSP server needs to have a GUI · Issue #60 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/61">Make the VagrantBox of the ltsp-server secure · Issue #61 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/62">Make &#39;test.sh&#39; functional · Issue #62 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/63">Test extensively · Issue #63 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/64">Improve the docs · Issue #64 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/4">Support RaspberryPi clients · Issue #4 · docker-scripts/dev--LTSP</a></li><li><a href="https://github.com/docker-scripts/dev--LTSP/issues/2">Improve ltsp-manager · Issue #2 · docker-scripts/dev--LTSP</a></li></ul><p>Thats all for now folks. So that’s it for now, watch out this space for more blog posts for the whole summer.</p><p>Thanks for reading! Be sure to click claps below to recommend this article if you liked it.<br>You can connect with me on <a href="https://github.com/d78ui98">Github</a>, <a href="https://twitter.com/deep0x00">Twitter</a>, <a href="https://www.linkedin.com/in/deepanshu-gajbhiye/">Linkedin</a> :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9008a901c6de" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Solving LTSP Client Not able to login Issue]]></title>
            <link>https://medium.com/@gajbhiyedeepanshu/solving-ltsp-client-not-able-to-login-issue-50384c98efbc?source=rss-ff6d7d57bab6------2</link>
            <guid isPermaLink="false">https://medium.com/p/50384c98efbc</guid>
            <category><![CDATA[debian]]></category>
            <category><![CDATA[vagrant]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[ltsp]]></category>
            <dc:creator><![CDATA[Deepanshu]]></dc:creator>
            <pubDate>Thu, 21 Jun 2018 12:03:39 GMT</pubDate>
            <atom:updated>2018-06-21T14:19:30.012Z</atom:updated>
            <content:encoded><![CDATA[<p>Couple of weeks back I was facing a strange problem with my GSoC project virtual ltsp server. I had created vagrant provisioner scripts to automatically install ltsp in a box and boot thin clients from it. But the problem was I was not able to login. Here are the screenshots of the error</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/1*OzJ_hBzj-PEALs0f6WKtYA.png" /></figure><p>and then this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*IZTLHDM5zh9J6NOyxOI-tg.png" /></figure><p>I started looking over the internet if someone else has faced the same problem in ltsp. I checked with the old messages on mailing list, popular google searches. Then I also asked some of acutal people using on ltsp on twitter(some friends that I made during community bonding period). I also checked thorugh all the chats since 2014 on the irc channel :P</p><p>I did not find any leads. I was also not even sure if this was a problem with LTSP or with ssh in vagrant. Most solutions pointed towards creating a new ssh key pair. But that is not usually what we do with vagrant. If I do that I wont be able to a `vagrant ssh` to login into the box.</p><p>Then I decided to ask people on <a href="http://www.ltsp.org/irc/">#ltsp</a> irc channel. I waited around 1 hour for anyone to reply. Then Vagrant Cascadian, The creator of ltsp decided to help. He also did not see this type error before. Eventhough he has been helping people with ltsp problem since 2006. But he proposed some good way on how to troubleshoot ltsp server from client. He suggest some ways that were not even present in offical ltsp-pnp troubleshoot page.<br>He helped me in getting a <strong>local root shell</strong> from the client.<br>Suggested two ways to do that-</p><ol><li>One was to add some lines in lts.conf. One can open it by</li></ol><pre>sudo vim/var/lib/tftpboot/ltsp/amd64/lts.conf</pre><p>Then added following lines in it</p><pre>INIT_COMMAND_ROOT_HASH=”sed ‘s!^root:[^:]*:!root:\$6\$p2LdWE6j\$PDd1TUzGvvIkj9SE8wbw1gA/MD66tHHlStqi1.qyv860oK47UnKcafSKqGp7cbgZUPlgyPv6giCVyCSCdJt1b0:!’ -i /etc/shadow”</pre><p>Then you will able to login with username as root and password qwer1234<br> <br>2. Other way is also mentioned in ltsp-pnp ubuntu page. That is to add these lines in lts.conf</p><pre>SCREEN_02=shell<br>SCREEN_07=ldm</pre><p>The offical guide suggests on using CTRL+ALT+f2 to get to TTY to log in. But since we are on a virtualbox that does not work. You have to use RT_CTRL+f2.<br>Finally using the second way we got the root shell. Next step would be to check connectivity to the ltsp server. We were sucessfully able to ping to the server</p><p>I tried to ssh vagrant@server from the root shell</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*3IQ2n8wT5L7_32P5ud1IFA.png" /></figure><p>Again got the same error. I tired to increase the verbosity by using -v option But it was not helpful either.</p><p>We tried if the `/etc/ssh/known_hosts` was present or not. The next step was to look the ssh keys. So from <strong>ltsp server</strong> I did</p><pre>ssh-keyscan localhost<br></pre><p>and from <strong>ltsp client</strong> I did</p><pre> <br>ssh-keyscan server<br></pre><p>Output of both looked pretty different. Both showed different set of keys. Vagrant said that is the issue and confirmed this was not an issue with ltsp but with vagrant box. And suggested to get help from the mentors. <br>All this was done during day and night. Finally after getting some lead I went to sleep at 6:30 am :p</p><p>Later next day I contacted the mentors. They suggest a way by using the keys provided by hashicorp. How ever it was not the recommended way as it not secure.</p><p>Then I was suggested to take a look at the logs. I did a</p><pre>tail -f /var/log/syslog</pre><p>and ssh from the client. It said something like client dropped the connection. Then I looked for the ssh config file.</p><p>In /etc/ssh/sshd_config password authentication yes was commented out. I removed the comment symbol and restarted ssh service with</p><pre>service ssh restart</pre><p>And again tried booting from the client and this time it was successfully able to login. I got this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*N4tW5EywJhnCbYwdSC_png.png" /></figure><p>So probably the fix was easy. But it was kind of difficult to relate error message to the error. That why you need to learn two skills to solve any linux related problem -</p><ul><li><strong>Know how to increase verbosity</strong></li><li><strong>Know how to read log messages</strong></li></ul><p>With these 2 skills in hand you will be able to solve most problems in linux.</p><p>I know I did waste quite some time on this issue. But there several benefits too. Like I got know more people in ltsp community(via twitter,irc), I learned how to troubleshoot ltsp, learned to read log properly. Also the creator of ltsp know about this project they are happy to see someone working hard for this :)</p><p>Thats all for now folks. This was the first proper actual blog. Since most posts are just weekly reports. Watch out this space for more blog posts for the whole summer.</p><p>Thanks for reading! Be sure to click claps below to recommend this article if you liked it.<br>You can connect with me on <a href="https://github.com/d78ui98">Github</a>, <a href="https://twitter.com/deep0x00">Twitter</a>, <a href="https://www.linkedin.com/in/deepanshu-gajbhiye/">Linkedin</a> :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50384c98efbc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>