First of all Wishing you Merry Christmas and a Happy New Year. I am finally restarting the blog I started few years ago, and what's more fun than getting rid of storage devices occupying my damn USB ports (you Mac users know what I mean)!
So, lets get started!
Now there are many wireless storage devices like these that costed me about 3K INR! Hey, but where is the fun of learning there? So, I went with buying a Linkit Smart 7688 Duo Board that costed me about 1.6K INR and as I already had a 64 GB Memory card laying around; why not build something like this using Linkit Smart?
Linkit Smart 788 Duo is a Small development platform based on OpenWRT, i.e. the same tiny footprint linux based OS running on your routers, Arduino Yun (now changed to Linino OS), and many other development platform. Below listed is some technical data for nerds!
So, basically this board is a tiny computer running tiny version of Linux which comes in a tiny box.
Well next I wanted to get an SD card and mount it on the device; obviously a 32 MB flash wont even hold anything. So we get our mighty 64 GB Memory card laying around and insert it. That was easy.
Oh boy, but how to access the card or the device? For now just follow the steps, we will cover everything later in more detail.
Step 1: Connect LinkIt Smart (left-most USB with PWR/MCU label) to power adapter (5V at least 500mA). Ensure green light turning on. The orange light will glow once and then will glow again for about 10 sec before blinking.
Step2: Connect to the Wireless network created by LinkIt one something like this
Step 3: Open a web browser and type http://mylinkit.local/
Step 4: The web page will ask you to setup a new password for root. Do that and login on to the page.
Step 5: Find "Current IP Address" tab and note down your IP address.
Step 6: Open your terminal and type:
ssh root@<IP_ADDR> (Replace <IP_ADDR> with IP address)
It will ask you to enter your password. Enter that and you are in.
Now that the card is in, we need to mount the card; well before that I thought, why cant we boot the entire system from the memory card itself? Why to boot from 32 MB raw flash that seems to have a limited write cycles? So a little googling fetched me this: Mounting the root FS on an SD card.
This is an essential step as you are now booting the device from the SD card. Don't worry if you are not able to understand this just copy paste the commands given in the above link and you are good to go
Well now that we have our base ready, all we have to do is share a folder that we can access from anywhere. We will do this using
Step 1: Create a folder to share. Type the following on your terminal:
cd /root mkdir AirDrive chmod o+rwx /root/AirDrive chown nobody /root/AirDrive/
Step 2: Open a web browser and type http://mylinkit.local/.Click
Go to OpenWrt:
Step 3: Login using username
root and your password.
Step 4: Click on the Services tab.
Step 5: Click Network Shares tab, and replicate the contents as given in the image.
Click Save and Apply and you are ready to go.
Step 6: Now Open File Explorer/Finder. Browse to network and you will be able to see "
AirDrive". On opening use Guest login and enjoy your own Wireless Pendrive.
Hope you liked the project.
PS: Just for fun I am using the cute tiny box it came in as its cover.
3. Fab.to.Lab Product Page (To buy in INDIA)
Did you replicate this project? Share it!I made one
Love this project? Think it could be improved? Tell us what you think!