Edit DHCP to Static IP Address Ubuntu Server

If the Ubuntu Server installer has set your server to use DHCP, you will want to change it to a static IP address so that people can actually use it.
Changing this setting without a GUI will require some text editing, but that’s classic linux, right?
Let’s open up the /etc/network/interfaces file. I’m going to use vi, but you can choose a different editor
sudo vi /etc/network/interfaces
For the primary interface, which is usually eth0, you will see these lines:
auto eth0
iface eth0 inet dhcp
As you can see, it’s using DHCP right now. We are going to change dhcp to static, and then there are a number of options that should be added below it. Obviously you’d customize this to your network.
auto eth0
iface eth0 inet static
        address 192.168.1.100
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.1
Now we’ll need to add in the DNS settings by editing the resolv.conf file:
sudo vi /etc/resolv.conf
On the line ‘name server xxx.xxx.xxx.xxx’ replace the x with the IP of your name server. (You can do ifconfig /all to find out what they are)
You need to also remove the dhcp client for this to stick (thanks to Peter for noticing). You might need to remove dhcp-client3 instead.
sudo apt-get remove dhcp-client
Now we’ll just need to restart the networking components:
sudo /etc/init.d/networking restart
Ping www.google.com. If you get a response, name resolution is working(unless of course if google is in your hosts file).
Really pretty simple.


Install Lexmark E120n Printer on Network

Network ready or "IP Printers" are all the rage. The ability to for multiple users to
share a printer without having to have a computer running and hogging electricity all the time, is a great benefit. This procedure is for the Lexmark E120n laser printer.
However, it is generally the same for all network ready printers printers.

If you have this printer, you should be familiar with the layout
of the buttons, but here is a photo of it and what i will be using as refrence.


What you will need



1. Unpack the printer, install toner, connect cables


If this is your first time installing toner, don’t worry you
wont have to call a computer repair technician to do it.

The Lexmark E120n is pretty simple to install toner, just
make sure that before you install it (if this is a new printer)
all the little plastics tabs that are shipped with it are removed

By opening the front door, the old toner (if still there) slides
out with a little force, and the new toner slides in
corresponding to the arrow pointing in the direction
of the printer.


2. Press the arrow to printout configuration information
By pressing the top right triangle on the front of your
printer it will print out configuration information that
will inform you of whole sleuth of details, configs, and
other technical ramblings.

The only entry you are concerned with is the IP Address
of the printer. Once you find it, underline or just put it
somewhere you cannot lose it


3. Download & Install the printer driver on all computers that will access it


4. Add the network printer in windows, manually

These instructions are for Windows xp

Press start > control panel > printers and faxes
Select: Add a printer on the right hand side
The add a new printer wizard will open, click [Next >]

Uncheck "Automatically detect and install my Plug and Play printer"
and check "Local Printer attached to this computer"
click [Next>]



5. Configure the TCP/IP Port

Once you reach the "Select a printer Port" screen, we are going to
create a new port by checking – Create a new port
On the pull down menu, select, standard TCP/IP port and click [Next>]

Welcome to the "Add a Standard TCP/IP Printer Port Wizard"
To continue Click [Next>] , which is what you want to do.

Now type in the E120n’s IP address in the box labelled "Printer Name
or IP Adddress", Note: Do not change the IP address.
Click [NEXT>] (then wait a few seconds)

The "Install Printer Software" Window will popup, and on the
left hand side you will find under Manufacturer: Lexmark and
Printer select E120n .
Click [Next>]


6. Confirm driver Selection


If you are asked to select "Keep Existing Driver " and press [Next>] Again
Which will you bring you to the "Name your Printer" Page. Go
ahead, name it whatever you please. Set the default printer
if you like as well.
DO NOT share this network printer.


7. Print a test Page
When promoted "Do you want to print a test page?"
Click [Next>]



Congratulations!


Converting .dmg to .iso file in Ubuntu Linux

Ubuntu is a common variant of Linux, complete with a user-friendly interface and full flexibility in customizing it via the Terminal window. Windows and Linux share the ability to open ISO files, which are similar to DMG files. Though DMG files are commonly associated with Apple’s operating system, Mac, they can be opened in Linux with a few simple steps.

Step 1: Install dmg2img

  • Open up your terminal console
  • sudo apt-get update
  • sudo apt-get install dmg2img

Step 2: convert the .dmg to .img

Once dmg2img is installed, you will want to change our working directory to the .dmg you want to use. in my case, the image.dmg is on my desktop. ( /home/dan/desktop )

  • cd /home/dan/desktop

Once you are succesfully in your working directory, you are now read to convert the .dmg file.

  • dmg2img /home/dan/desktop/image.dmg /home/dan/desktop/image.img

NOTE: the second part of the command is a .img at the end.

Step 3: Mount the .img file

Now we are ready to mount the .img file into a new directory

  • mkdir /media/image
  • sudo modprobe hfsplus
  • sudo mount -t hfsplus -o loop image.img /media/image

Step 4: Convert the .img to .iso

The image is now mounted. We need to convert it to a .iso file now. Open Brasero, a program native to Ubuntu. It can be found in the “Sound & Video” section under “Applications.” When the window opens, choose “Data Disk” and then “Enable Side Panel.” (if Brasero is not installed, open up the terminal and type the following command: sudo apt-get install brasero )

Press “Image File” and “Burn.” This takes the IMG file and converts it into an ISO file. Wait for this to finish.

Step 5: Mount the .iso file

Enter the following commands into Terminal, where “image” is the name of the ISO:

  • mkdir /media/imageiso
  • sudo modprobe hfsplus
  • sudo mount -t hfsplus -o loop image.iso /media/imageiso

This will successfully mount the .iso file and you can proceed with your installation.


Solar System Installation a Real Winner

Installation of a new solar photovoltaic (PV) system at Seco Tools’ plant in Lenoir City, TN is a win for the plant, the environment, and the state of Tennessee. The new 29.61 kW solar PV system was developed, designed, and constructed by Efficient Energy of Tennessee, LLC (EETN).

Installed at Seco Tools’ Lenoir City production facility, the system is comprised of 126 Sharp solar modules manufactured in Memphis, using AGC Flat Glass manufactured in Kingsport. Seco Tools was awarded energy grant funding from the American Recovery and Reinvestment Act, which was applied to the total system cost.

The Sharp NU-U235F1 solar modules deployed in this 29.61 kW top-of-pole mount PV system were installed with the support of the Lenoir City Utilities Board (LCUB) and Tennessee Valley Authority (TVA) under the TVA Generation Partners Program. The solar power array is expected to generate 37,067 kWh of clean, emissions-free energy annually -- equivalent to powering more than 3 average Tennessee homes annually.

Green Leadership

“Globally, Seco Tools has focused a great deal of attention on minimizing our impact on the environment,” says Kurt Nordlund, president of Seco Tools, Inc. “The efforts undertaken at our facility in Lenoir City are representative of our company’s dedication to being an industry leader in terms of green production and operation.”

The installation originated when Seco Tools participated in a free energy seminar presented by the Loudon County Economic Development Agency in conjunction with Sam Hart, technology and manufacturing consultant for the Knoxville Chamber of Commerce. The seminar provided an opportunity for participants to ask questions about taxes, grants, and installation and production of solar PV systems.

As a result of this presentation, Seco Tools requested a solar PV financial proposal from solar installer EETN. The resulting technical proposal included design, engineering, cost, grants, available incentives, performance, and return on investment. EETN’s proposal helped Seco Tools make the decision to take a leadership role in renewable energy and environmental stewardship through a clean energy investment made in East Tennessee. As a result, numerous jobs were created or protected because of the variety of grant funding and incentives available.

Partnering for Progress

“In this new economy, companies have to look at ways to become more efficient in their business practices in order to reduce expenses while maintaining quality and competitiveness in the marketplace,” says Pat Phillips, president of the Loudon County Economic Development Agency. “The addition of the solar PV system at Seco Tools provides an excellent example of how investing capital in new technologies can help to achieve a competitive advantage while also protecting the environment.”

Seco Tools’ combination of energy grants paid for 60% of the total system cost, providing clean energy at considerably less cost for the business. Grants included the U.S. Dept. of Treasury Renewable Energy Grant and the Tennessee Solar Institute Installation Grant. The installation of this solar system provided jobs and support to the growing solar energy industry in the state of Tennessee.

Seco Tools is providing clean energy to east Tennessee and making a profit doing so. As a participant in the TVA Generation Partners Program, the company will be paid a premium for the electricity it generates from the solar PV system for at least the next 10 years. Seco Tools’ system is warranted to produce up to 80% of its generating capacity for the next 25 years, and should continue producing power for another 25 years or more beyond that.

The U.S. Dept. of Treasury Renewable Energy Grant will pay 30% of the total cost of a solar PV system, without any cap. This federal grant requires a simple application to be submitted online after the system has been completely installed and commissioned. Businesses investing in renewable energy technology may apply for the grant if they begin construction on their system before December 31, 2011.

The Tennessee Solar Institute Installation grant paid $2 per watt for this 29.61 kW solar PV System. This funding has been fully allocated.

The TVA Generation Partners Program is a 10-year contract between TVA, the local utility, and the business owner. As an incentive to sign up for the program, TVA will credit the business $1,000 on the company’s utility bill. In the contract, TVA agrees to purchase the clean energy produced by the system for the retail rate plus an additional $0.12, effectively cutting the payback of a solar system in half.

Using grants to purchase a solar energy system goes beyond a good business investment. Having undertaken global green initiatives in recent years, Seco Tools was motivated by the opportunity to benefit the environment by producing clean energy.

“Seco Tools’ solar system is a huge accomplishment for both Seco and EETN and is a perfect example of the grant funding at work in the state of Tennessee,” said Harvey Abouelata, VP Sales and Marketing for EETN. “EETN uses Sharp solar panels, which are produced in Memphis, TN, creating and protecting jobs in our state. Additionally, Sharp uses AGC Flat Glass, which is produced in Kingsport, TN, further creating and protecting Tennessee jobs. Our company also benefits from the installation. Seco Tools benefits from a reduction in energy costs. The environment is improved by reduction of pollution and CO2. TVA benefits from a slight reduction in its load. The positive ripple effect is far-reaching, affecting jobs, the environment, and profits, resulting in an all-around victory.”


First 3D porn movie

Moviegoers in Hong Kong line up to see "3D Sex and Zen: Extreme Ecstasy"

(CNET) I am not sure what you did last night, but perhaps you did not manage to attend an artistic event of world significance.

Many people in Hong Kong did. And there are probably no words to describe the envy you will feel when you discover what you missed. For last night, moviegoers in one of enterprise's most pulsating outposts witnessed what was billed as the world's first 3D porn movie.

Please don't scream with anguish. Oh, that wasn't anguish?

Still, let me tell you that "3D Sex and Zen: Extreme Ecstasy," according to Agence France-Presse, moved many to rapture.

So much so that movie theater entrepreneurs in Korea, Japan, and even the home of sexual repression, the United States, are reportedly interested in bringing the sensually surrounding visuals to their shores.

You will, no doubt, be keen to hear of the storyline, which you can find at CNET.



Automatic Printer Driver Download Service for Linux OS

Seiko Epson and AVASYS have joint hand to introduce industry’s first service for printer manufacturer that would allow an automatic downloading of printer drivers through simple connection of an Epson inkjet printer with a PC running Linux OS.

The new service will start at the end of April 2011, allowing automatic downloads of printer drivers for a total of 268 Epson inkjet printer models launch since 2005. The new service will ease the burden of manual download of appropriate driver from AVASYS website for Epson printers using PCs running Linux OS.
In order to launch this service Epson had to create a driver that complies with the standard Linux specification “LSB” (Linux Standard Base), while AVASYS had to develop an automatic Linux printer driver download solution form the Open Printing Database.