Make Gadgets Work

Posts tagged "Nexus S"

Let me clear the air before anyone mentions. Yes, I know it's directories and not folders and yes I know many still call these folders and this may encourage the wrong usage but my aim is to help not educate but hopefully making this the first line in post will have some educational effect :). Right, so to start with, presented below is the problem statement: We want to share particular folder on our home WiFi network such that all members of the family can access it using their gadget - laptop / smartphone / netbook etc. Now like a true project manager, I will scope it down by making an assumption that any gadget that runs a variant of linux - Android included. It's not to say that the solution will not work on iOS or Windows, it's to say that these operating systems are not covered but might as well work with right application downloaded.However the solution offered will make no such claims...:p. Having said that, I will actually only be covering Android in this article as for Linux on desktop, it is fairly straight forward by going through "Network" places. Ok now to the exciting stuff: Step 1: Decide which Directory (Folder) you want to share. For purpose of this demonstration, let's create a new folder called "DemoShare". Step 2: Decide whether you want it to be accessed by specific users or anyone and everyone connected to your home network a) If you would want the shared directory (folder) to be password protected go through all steps below. b) If you would want to give guest access to all users, skip to Step 4. Step 3: a) Create new User(s) - Let's create a new user - androshare. This can be done by following the images below: Obviously you are free to be creative with the username. Just replace androshare with your username in subsequent commands. b) Create samba username(s)/password(s) Open the terminal and type the following command: sudo smbpasswd -a androshare. You will be asked for the root password and then new password for the username. Once you type in new password, you will be asked to retype the new password. Again as shown in image. c) Restart Samba Open the terminal and type the following command: sudo service smbd restart Step 4: Update Share Properties of the Directory(ies) to be shared Goto the folder "DemoShare" created in Step 1, right click on the folder and select properties. On the properties dialogue box click on Share tab. Click on share the folder checkbox. For scenario (a) of Step 2 click on checkbox - "Allow users to create and delete files in this folder" as shown in the figure below and click on Create Share. For scenario (b) of Step 2, mark the "Guest access" Checkbox too as shown in next figure before clicking the Create Share button. After the Create Share button is clicked following dialogue will appear. Select "Add the permissions automatically" The folder icon will then change to show a share flag as shown below. Step 5: Download and install the file explorer app ES File explorer is what I use and recommend. It can be downloaded from market here - https://market.android.com/details?id=com.estrongs.android.pop Step 6: Configure the app to access the shared directory On your computer, open the terminal and type: ifconfig In the resulting information, locate wlan0 (last entry) and under that in second line you will find something like "inet addr: 192.168.1.74", Note this down. Open the app and goto LAN tab. Press the menu button and click on "New". Now click on "Server". This will open the "New/Edit Samba Server Screen". Complete it as shown with following information: | Field | Scenario A | Scenario B | |-----------|-----------------------|-----------------------| | Server | IP Address from above | IP Address from above | | Username | Androshare | BLANK | | Password | As given in Step 3a | BLANK | | Anonymous | BLANK | Select the checkbox | Click OK. Now if you click on the IP address, it should show the shared directory. As you can see in the screenshot at the beginning of this post, I have already shared my Calibre Library and it does make life really simple. I can download files and e-books without actually going to my laptop. That is all there is to it. Hope you find it useful.

Access (files / folders) Directories from Linux Mint on Android

Let me clear the air before anyone mentions. Yes, I know it's directories and not folders and yes I know many still call these folders and this may encourage the wrong usage but my aim is to help not educate but hopefully making this the first line in post will
Second post in succession on the topic but believe me when I get a new gadget I try getting all information and then once I have had the stuff working I have to make a post right away or I will forget and hence this post. This post also overrides the previous posts. Right then, let's get down to business. What do we aim to do? We aim to make free international calls and there is nothing illegal in this set-up, not to my knowledge. How? Google has introduced Google Voice and allows free calls to all US numbers. This can be done using their google talk plugin in the gmail browser. Pre-Requisites: Gmail account Preferably a new one and not the one you use for your day to day usage. Ability to install X-Lite 4.0 which will require a machine running Windows PC directly or on virtualbox. Ability to install Hotspot Shield if residing outside of USA. An Android device at both source and destination of the call. Steps: Get a SIP number. If outside of USA, install hotspot shield on windows machine by going to this site - http://www.hotspotshield.com .I am not sure how safe this is from spyware and all security perspective. I am not really worried about it as I carry out these things on virtualmachine using virtualbox and there is no real threat to my actual machine which runs on Linux. So if Windows is your primary machine you do it on your own risk. Once installed, open the site www.sip2sip.info.Register on sip2sip using your new gmail account. Ensure that you select US Central as your region. You will get an email from sip2sip on the new gmail account giving your login details which will be something like: SIP address: 2233xxxxxx@sip2sip.info Password: abcdabcdabcd Open the email and click on the link provided for lgging in. Enter the login details provided and goto settings tab (3rd from left). In the first field under SIP Account, enter a new easy to remember password and click SAVE. This completes Step 1 and you have successfully created SIP number for yourself. Get a US phone number using ipkall. Go to the website http://www.ipkall.com and click on sign-up.On the sign-up page complete the following details using the email from sip2sip: SIP username: 2233xxxxxx Hostname or IP address: sip2sip@info Email Address: Preferably the email address you used to register at sip2sip Password: Prefereably the same password as what you changed on sip2sip in Step 1-5. Enter the human verification codes and click "Submit". You will receive a mail with in your email account with a new US number with text of something to following effect: Thank you for signing up. Your IPKall phone number is: 253-XXX-XXXX. SIP Phone Number: 2233xxxxxx SIP Proxy: sip2sip.info Email: abcdefg@gmail.com Password: qwerty This completes Step 2. You have now received a US phone number that is linked to your sip2sip account. Set-up Xlite / softphone to receive calls made to US phone number. In order to activate Google Voice account, it is important to be able to receive call on the new phone number that we have created in Step 2 so install Xlite v4.0 from here - http://download.cnet.com/X-Lite/3000-2349_4-10547103.html Once X-Lite is installed, open it and click on Softphone -> Account Settings. Now fill the following fields: Account Name: Fill your gmail username. User ID: 2233xxxxxx Domain: sip2sip.info Password: sip2sip password (qwerty for this example) Click OK at the bottom of the window. This completes Step 3. Activate Google Voice for this Gmail account. Log into the google voice account - https://www.google.com/voice. Provide a user pin to retrieve voicemails Now provide the US phone number obtained in Step 2-4 (253-XXX-XXXX) A window will be shown with two numbers and a button call now. Click on Call Now and you should receive call on Xlite phone. Accept the call on Xlite and enter the two numbers shown in google's window. You will get confirmation that the numbers are correct and will be asked to set-up voice mail greeting or hang-up. Hang-up now as you can set this up later. Google Voice account is now set-up. Configure Android to receive calls using Google Voice. If you are using nexus S, good news, it has inbuilt capability to get the SIP calls though this can be also be done using SIPDROID on other android devices. For Nexus S you can follow the steps below: Goto Settings -> Call Settings and under Internet Call Settings click on "Accounts". Untick receive calls. Click on Add Account. Now in username enter the 2233xxxxxx provided by sip2sip Enter the password used for sip2sip account in password field. (qwerty in this example) Enter sip2sip.info in server. Untick the "Set as primary account" field. Click on Optional Settings and in Outbound proxy address enter proxy.sipthor.net Press back button till you are back to call settings. Now under Internet Call Settings click on "Use Internet Calling" and select "Only for Internet Calls". For SIPDROID once you have downloaded and installed it from android market, follow the steps below: Open SIPDROID, and goto Settings ->SIP Account. In Authorization Username enter: 2233xxxxxx@sip2sip.info Enter the password used for sip2sip account in password field. (qwerty in this example) In Server or Proxy enter proxy.sipthor.net In Domain enter sip2sip.info Now save and exit. SIPDROID will register the VOIP and turn green. Now from gtalk plugin in the browser from some other gmail account try to call US phone number obtained in Step 2-4 (253-XXX-XXXX). Your phone should ring and so should the Xlite. If step 4 did not happen as expected, you need to review the configuration and once it does happen as expected, your set-up to recieve calls is completed. Configure Android to make calls using Google Voice. Download and install Google Voice Callback on android device - https://market.android.com/details?id=com.xinlu.gvdial&feature=search_result Provide the gmail credentials for the application. This will perhaps explain my recommendation for a new gmail account. You will be giving login credentials to a third party application but since it's a new account with no confidential info, it should really be safe. In the settings for when to use callback select "Ask Everytime" if you are outside of USA. This is it. Try calling one of your USA contact and this application should make a call back and you should be able to talk for free to your US friends. This is happy ending for those who don't have sight of our aim - make free international calls. For free international calls though you have reached a point where you will have dependency on person you are calling. Following 3 options will be possible: If the person you are calling also has android device and they follow this tutorial they will have a US number which you can then store in your contacts against that person's name and from thereon you both can call each other absolutely free. If your friend has a SIP enabled device, they can follow this tutorial and replace the set-up of Android device to setting up their own SIP device. If above two are not viable options, you can ask your friend to call you on your international number through googletalk plugin in their web browser. Unfortunately this takes away the flexibility of you being able to call them but given the constraints this may still be a good option to talk for free. Final words - I know it's a long post and looks complex but believe me if you do it right it takes roughly 20 minutes. Hope you find the post helpful.

Google Voice + SIP2SIP + Ikall = Free international Calls to known contacts

Second post in succession on the topic but believe me when I get a new gadget I try getting all information and then once I have had the stuff working I have to make a post right away or I will forget and hence this post. This post also overrides