Monday, September 8, 2014

Connecting Samsung S3 with Ubuntu 12.04

There are lots of issues in connecting your Samsung S3 with Ubuntu machine. I have tried lot of methods and not satisfied with all of  them because of simply you need more time to configure and get the things done . For example You can get file access to your phone's internal storage (/mnt/sdcard) or your external SD card (/mnt/extSdCard/) using gMTP 

You'll need to install libmtp and gMTP.  But , I would not recommend to use this method because of frequent crashes and mtp implementation is not much stable at current moment. 

The main issue here was Samsung S3's MTP protocol is not compatible with Ubuntu 12.04 existing implementation. Hope we will get updated version from Ubuntu community soon.

So, the most reliable solution is to install "ES File Explorer File Manager" from Google play in your mobile phone. This application provides various options to establish the connection with your PC such FTP, private hot spot, cloud etc.  Once you  installed the application , you will have to follow these steps in your machine if you haven't installed Samba yet :)

PC configuration 

1) Samba is not installed by default, so just type the following command in your       terminal 


2) Open the Samba configuration by typing 
   


    Go to the  “Authentication” section and remove "#"
     security = user

    Do the following changes as well

    We are almost done, now save the file and exit.

3) Let's add yourself in to Samba user list
   
    
4)  Restart the Samba 
   sudo restart smbd 
  
   Now you should be able to access one computer from another computer or mobile devices.


  Mobile side configuration 

  1) Open ES file manager and go to LAN section , here you will find your computer name , in my case it was emdc

  
2) If you hold your computer name for a second ( not clicking) then you will find edit server section where you will have add your username and password
                              
 
3) In the edit server menu , un-tick Anonymous authentication and type your user name and password

    
We are done !!!!!!! . Now, you can copy or move files from your shared folder to SD card/internal storage and vice verse.
Enjoy !!!!!!!!!!!!!!!!!!!

Friday, September 5, 2014


Configuring KTH VPN in Ubuntu 12.04

The purpose of this post to demonstrate how to connect eduroam network which is widely been using by all European universities. Though you are outside the eduroam network you can still access the university network through VPN. Most of the universities having this VPN access by providing public interface.
The following information you might need to setup your VPN connection

1) Cisco AnyConnect Secure Mobility Client
2) Your user name 
3) eduroam password
4) We need the root certificate ( we can download KTH certificate from following link (http://certauth.ug.kth.se/  )


So, lets first install the Cisco AnyConnect Secure Mobility Client, go to this link and choose your version 32 bit or 64 bit ( http://www.lan.kth.se/vpn/vpn.html

unzip in to your preferred location 
execute the chmod +x vpn_install.sh to give the execution access , now we are ready to run vpn_install.sh 

Once it has been installed ,  click the application from launch bar ( if it is not there just search Cisco AnyConnect  Secure Mbility Client) 
Click connect !!!!!!!!!. Now you can access your campus private network  :)