Using a raspberry pi for remote-WiFi console access

2013-01-01 23.19.20

Bill of materials:

1 x Raspberry Pi model B rev2 (The latest version with 512 MB RAM, this version doesn’t have any issues with usb wifi dongles)

1 x USB to serial adapter

1 x usb wifi dongle


1.  Download and install the latest raspbian image from official raspberry pi website

2.  Finish the initial configuration

3.  Update repositories for available packages

  • sudo apt-get update

4.  Install minicom

  • apt-get install minicom

5.  Configure minicom

First we have to locate the proper serial device

  • find /dev | grep ttyUSB

Note down the result and proceed with minicom configuration

  • minicom –s -> Serial port setup
  • Change setting A – Serial Device

/dev/modem to /dev/ttyUSB0

(in place of ttyUSB0 enter the device listed from  find /dev | grep ttyUSB)

  • Change setting  E – Bps/Par/Bits

Most common bitrate is 9600

  • When done save configuration

6.  Next we have to setup wireless connection

  • The easy way is to open the window manager with startx command and then open the wpa_gui tool.
  • The hard to way is to edit the wpa_supplicant.conf file

vim /etc/wpa_supplicant.conf

  • Use the below link as reference:

7.  Access raspberry pi with your favourite ssh client



  1. A good practice is to always change the default root and pi user passwords to avoid any security issues.
  2. Insert minicom inthe  last line of ~/.bashrc to have minicom running on startup.
  3. Add a static IP to raspberry pi to be easier to access it.



Installing owncloud on DNS-320 NAS

This post is a tutorial on how to install owncloud on a DLink DNS-320 NAS.

Is tested on DNS-320 NAS but basically applies to any device that supports implementation of fun_plug.

Steps to achieve that are:

  1. Install fun_plug0.5 or fun_plug0.7 on the NAS
  2. Install Debian on the NAS.
  3. Install owncloud on the NAS.
  4. Configure webserver to change webserver’s listening port. This helps in case you want to do port forwarding since many ISP’s have port 80 blocked.

1. Install fun_plug0.5 or fun_plug0.7 on the NAS

Follow one of the bellow links to install fun_plug on NAS:

2. Install Debian on the NAS

Follow link bellow to install Debian Squeeze on NAS

3. Install owncloud on the NAS.

Follow link bellow to install owncloud on  NAS. Avoid any errors ate the moment.

4. Configure webserver to change webserver’s listening port.

Last thing to do is to configure webserver to listen to different port as the NAS by itself has a build in webserver.

Im using vim to edit configuration files.

1. Get root access to NAS.

2. Edit the ports.conf file

  • vim /etc/apache2/ports.conf
  • Change the bellow entries (8888 is the new port number)

NameVirtualHost *:8888

Listen 8888

3. Edit the 000-default file

  • vim /etc/apache2/sites-enabled/000-default
  • Change the below entry

<VirtualHost *:8888>

4. Restart apache webserver

  • service apache2 restart

5. Visit owncloud your from fav browser http :// < your_ip > :8888/owncloud