Skip to main content

Posts

Showing posts from April, 2014

How to setup 2FA On Linux SSH Login

  This is a simple setup guide to enabling Two Factor Authentication (2FA) on Linux SSH login. I this article I wont go deep into setup and issues that I have faced when implementing this. First thing is first Update your system first. I have used Ubuntu 20.04 and it is always up to date. To enable 2FA you need to install google authenticator modules sudo apt install libpam-google-authenticator Configuration for PAM and SSHD Add the the following line to /etc/pam.d/sshd and After adding this line please restart the sshd services.  auth required pam_google_authenticator.so Go to /etc/ssh/sshd_config and check if the following line exist. Default value will be "no" so change it to "yes" to activate.  ChallengeResponseAuthentication yes Configuration for Authenticator In the terminal run google authenticator command It will ask few things to acknowledge by user. Details you can see from the below video. Once this part is done you are ready to use the 2FA in ubuntu. T

Test run for Autonomous boat. 18-04-2014

Today we planed to conduct as much as possible test runs before sunset so we did three successful missions. For today's test new gadget was introduced to record video from front of the boat. So i modified a key chain camera( which the battery is damaged) and fixed a 3.7V battery to power it and it was gooood. :). I gave a name to this mod as "Go puroa". Go puroa All the three test was good but due to some technical issues an unattended guys the test was bit delayed. The boat traveled around 60 - 70 meters wider way-point locations. Command center which uploads all mission way-points and manual override if any thing goes wrong (if the boat goes too from reach due to some error). Few data result of the test . Even though the sea is not calm enough the boat tries its best to with the small waves. videos will be uploaded soon once all videos are converted to up loadable format to YouTube. Conclusion:  There few code fixing to be done while

The autonomous boat build.

Today is one of my happiest days of invention. Finally after lots of frustration of hardware limitations and experimenting day and night on my free time, i manage to test my hardware part in real environment condition. I am talking about a vessel which runs autonomously to the way-points and returns to home without any control by me or anyone. I can not go too deep on this project cause this is group project which i am working on and i hope the final product will be live on web once fully completed. The test run first run was a mess, yes it was a mess with lack of knowledge of building the steering and motor control the whole test was a failure and a passing by small boat help us to rescue out boat. So after this i have stop building this further and starts experimenting and learning the steering logic. Kab0000000ms Kaboooms and loss of valuable hardware during hardware experimenting but with support managed to get new stuffs to start the experiments again. Re Test run ( the