dwit566's blog

I posted a blog last week about how to overcome this challenge, but when I tried to access my site at other places, it did not work. I think it’s a big mistake that I was trying to configure my router on campus. My apartment provides free wireless Internet  networks so that I don’t need to use Comcast service. Thus, I was trying  to set up the server at my friend’s lab. However, according to the policy of the wireless network, routers not approved by University POA are not allowed on the network at UTK. (http://oit.utk.edu/helpdesk/kb/entry/118/)

OK, I have to find a new place and do it again……

I decided to set up my server in my friend’s home. He has been using a Motorola SURF board Wireless Cable Modem gateway. It combines a modem and a wireless access point.

In my first attempt, I have already installed Apache on my server. Thus, I just configured Apache and fixed the error about server’s fully qualified domain name. Then, I edited the index.html by following the tutorial mentioned in Clem0613’s blog.

Then, I tried to configure the routers. I connected them in this way:

I logged into the Motolora modem/router by using the default IP http://192.168.0.1 from another laptop, and found the IP address of ASUS router(192.168.0.14). In the configuration interface of Motorola router, I also got the IP address of WAN: http://67.187.117.22. After that, I set up the port forward from Motolora modem/ router to ASUS one.

Afterward, I typed “ifconfig” in Ubuntu Terminal window and got the IP address of my server: Http://192.168.1.142. Then, I opened ASUS router IP address (Http:// 192.168.1.1), and set up port forward from ASUS router to my server.

Well, it is a little bit complicated because of two routers. However, it really works.

Check this out: http://67.187.117.22

Here is my new router ASUS WL-520GC bought from Amazon. Since my old router is not compatible with dd-wrt, I just purchased a new one. Before I made the order, I checked the review of this router and made sure that someone had installed dd-wrt on it successfully.

After I got it, I went to http://www.dd-wrt.com and searched my router on the database. It’s supported!

Then, I searched my router’s IP address in google, and got http://192.168.1.1, as well as the default user name and password.

After that, I searched the key words “install asus wl520gc dd-wrt ”  and got a useful link: http://www.dd-wrt.com/wiki/index.php/ASUS_WL-520GC. I just followed the clear and concise guidance  to install dd-wrt on my router.

Here is another article about the installation with screenshots. http://www.sillychicken.co.nz/General/asus-wl-520gc-dd-wrt-firmware.html

Installed LibreOffice

First, I searched LibreOffice in Google and downloaded it on my Ubuntu. When you visit their official site, they will detect your computer system and offer you the right download.

Then, I also searched “install LibreOffice in Ubuntu 10.10” and got a very useful article http://www.muktware.com/news/21/2010/392. I opened Ubuntu Terminal window and installed LibreOffice just by following the tutorial. When the installation was done, I checked Applications- Office, and found that it has been installed on my machine successfully!

How to make it the default for double-clicking a .odt/.doc file? Well, I  right-clicked an existing .doc file and opened Properties. Under the “Open with” tab, I changed the application to open files of type “Word Document” from OpenOffice to LibreOffice.

When I double-click the document, it works!

1. Installing software in Ubuntu Software Center (Application – Ubuntu Software Center) is the most direct way.
You can install software from departments such as education, developer tools and Office. I used the search bar on the top right corner and installed Chrome which is my favorite web browser.
2. You can also install software in Synaptic Package Manager (System – Administration – Synaptic Package Manager). I searched and installed “XPDF” which is a light-weight PDF viewer. When you check the “Mark for Installation”, a window may pop out and ask  if you would like to mark additional required changes, because some other packages are affected during installation. You can just click “Mark” and “Apply” to install them all.
Here is the screen shot of XPDF:
3. Many developers or “Geeks” prefer to install software by using the Ubuntu Terminal (Applications- Accessories – Terminal), because they are familiar with Linux commands. Here is an introduction to  Using the Terminal in Ubuntu Documentation.  I installed Abiword which is a free word-processing program similar to Microsoft Word.
4. Sometimes, you can just go to the official site of software and check if it is available for Linux. I downloaded Dropbox on Ubuntu so that I can sync some folders from another Laptop.

Updated on 2/11/11

I tried to complete all of the assignments at once. However,  I just installed Apache successfully. I finally figured out how to configure my router and make my server accessible in this blog:  https://dwit566.wordpress.com/2011/02/11/making-my-machine-accessible-done/

I didn’t just delete the wrong part because I want to keep every step I made to overcome the challenge.

—————————————————————-

I.  Install Apache

1.  Downlading Apache

According to Wikipedia, “Apache” referred to the  Apache HTTP Server in computer field.  Apache was the first viable alternative to the Netscape Communications Corporation web server, and has since evolved to rival other Unix-based web servers in terms of functionality and performance.  The application is available for a wide variety of operating systems.

http://en.wikipedia.org/wiki/Apache_HTTP_Server

I downloaded the Apache HTTP Server 2.3.10-alpha from http://httpd.apache.org/download.cgi

2. Installing Apache

In Ubuntu desktop,  click “Application”-“Accessories”-“Terminal” , type:

sudo apt-get install apache2

3.  Configure Apache

I searched by Google and found this article How to configure Apache Web Server on Linux and followed the steps.

4.  Test default.html

Here is the screen shot:

II.  Configure my router

1.  Configure wireless network

I searched by Google and found an answer from  http://forums.pcworld.com/index.php?/topic/99773-ubuntu-1010-wireless-not-working/, then followed the guidance:

Goto the “system menu > Administrative or Advanced” and look for hardware drivers, open that utility up if your wifi card is compatible, you can probably get the drivers loaded there. You will need a working ethernet/wired network connection for this to work, also. This utility is good for graphics drivers as well.

So, I installed and activated the wireless network driver.

2.  Configure my router to make incoming traffic to port 80

According to the support  information of TRENDnet TEW-432BRP router, the default IP address is Http://192.168.1.1. The default username is (admin) and the default password is (admin).

3. Making my server accessible

a. Type  “ifconfig” in Terminal and get the IP address of my server

216.96.189.149

b. Test the IP address in web browser

Got ubuntu

Download Ubuntu

I went to the webpage of Ubuntu desktop edition windows installer, and
downloaded Ubuntu Desktop Edition 10.10  with running it alongside my current Windows system.

Since I have a cable to get wired network connection, it’s easier to get updates from the update manager.

Here is the screenshot:


2/5/11

My old laptop – Acer Aspire 5003 – could not start this morning. It’s dead…T.T

Well, I  bought an Acer Aspire One D255-2509 notebook from Target and installed Ubuntu and Apache.

Specifications:

  • Processor Intel Atom N450 / 1.66 GHz
  • OS Provided Microsoft Windows 7
  • Hard Drive 160 GB – Serial ATA-150 – 5400 rpm
  • 1.0GB of RAM

————————————————————

Below is the blog of  the previous server:

————————————————————

I decide to use my old laptop – Acer Aspire 5003 – as a server for IT566. It has a retired since its monitor had been broken.

I connected it with a separate monitor(Dell S2309).

It works well.

Aspire 5003 Specifications

  • Processor AMD Turion 64 mobile technology ML-32 / 1.8GHz
  • 64-bit Computing
  • OS Provided Microsoft Windows XP Home Edition
  • Hard Drive 80.0 GB
  • 1.5GB of RAM