Archive for the ‘Ubuntu’ Category

VirtualBox 3.2.8 Has Been Released!

VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL). See “About VirtualBox” for an introduction.

Presently, VirtualBox runs on Windows, Linux, Macintosh and OpenSolaris hosts and supports a large number of guest operating systems including but not limited to Windows (NT 4.0, 2000, XP, Server 2003, Vista, Windows 7), DOS/Windows 3.x, Linux (2.4 and 2.6), Solaris and OpenSolaris, and OpenBSD.

VirtualBox is being actively developed with frequent releases and has an ever growing list of features, supported guest operating systems and platforms it runs on. VirtualBox is a community effort backed by a dedicated company: everyone is encouraged to contribute while Sun ensures the product always meets professional quality criteria.

Install VirtualBox for Ubuntu 10.04 LTS

You will first need to edit /etc/apt/sources.list file from command line:

deb http://download.virtualbox.org/virtualbox/debian lucid non-free

Update source list

sudo apt-get update

Now install virtualbox 3.2.8

sudo apt-get install virtualbox-3.2

Ubuntu 10.04.1 LTS (Lucid Lynx) Is Here!

Ubuntu is a complete desktop Linux operating system, freely available with both community and professional support. The Ubuntu community is built on the ideas enshrined in the Ubuntu Manifesto: that software should be available free of charge, that software tools should be usable by people in their local language and despite any disabilities, and that people should have the freedom to customize and alter their software in whatever way they see fit. “Ubuntu” is an ancient African word, meaning “humanity to others”. The Ubuntu distribution brings the spirit of Ubuntu to the software world.

Download Distribution Release: Ubuntu 10.04.1 << from here.

How2 Launch Firefox (Safe Mode) via Ubuntu’s CLI

firefox -safe-mode

BurbankLUG, Coming Soon! (An Unofficial LUG…)

Our meetings will consist of a group of Linux enthusiast wanting to gain or trade their expertise to talk about the latest news and software releases related to Debian/Ubuntu (Client & Server). Together, we will assist each other in setting up labs for hands-on exercises with migrating to Debian/Ubuntu client software as their primary operating system, to running their own home-based Debian/Ubuntu servers.

Email: blug@masoncloud.com
Website: masoncloud.com/blug

Launch Date, Coming Soon!

Fix Missing Network Manager In Ubuntu 10.04

Problem

Missing Network Manager ‘Applet’ in Ubuntu 10.04 LTS

Solutions

Method 1

Open the terminal type “sudo edit /etc/NetworkManager/nm-system-settings.conf”

change the “managed=false” to “managed=true” and then save it.

then in the terminal type “killall nm-system-settings”

and then reboot.

Method 2

right click panel>add to panel>Notification Area

Bug reported here

Source from here

Ubuntu 10.04 LTS “Command Line Install”

Intro

To install Ubuntu, at least 384 Megabytes of memory are required. However, it is possible to install Ubuntu on a PC with only 128 MB of RAM, with a full Gnome desktop.

Here’s how…

Prerequisites

* A PC with 128 MB of memory or more.
* A CD-Rom drive
* 3 Gb of free space on hard drive.
* An Ethernet card recognized by Ubuntu
* Internet connection (preferably Ethernet).

The Internet connection is necessary because the installation is done via the network. Download and burn the installation CD of Ubuntu (MinimalCD): here.

This ISO image (13 MB) allows installation of Ubuntu directly via the internet.

Installation

* Boot from the minimal CD and choose “Command-line install”.
* Proceed with the installation of the system. At the end of the installation, after rebooting, you get a text mode.
* Login with the username and password you chose during installation.

(Plymouth errors can be ignored.)

Installing core packages

Then, install the base packages below to get a graphical desktop (Gnome).

sudo apt-get install gnome-core gdm gnome-system-tools network-manager-gnome human-theme x11-xserver-utils tangerine-icon-theme gnome-themes-ubuntu gnome-themes-selected ubuntu-artwork jockey-gtk gnome-screensaver xcursor-themes gnome-utils file-roller

(Note: It is possible to have an lighter GUI with JWM or IceWM , but you lose the benefits of the Gnome/Ubuntu integration.)

Reboot: (sudo reboot): You can now login to your GUI.

You may get a popup error about “FastUserSwitchApplet”: Just click the “Remove” button.

Installing additional software

When choosing software, it is recommended to avoid heavy ones such as OpenOffice.org.

Here are some recommended packages for a basic system:

sudo apt-get install gcalctool brasero chromium-browser abiword gnumeric vlc p7zip-full ubuntu-restricted-extras

Details:

* Chromium : Chromium is lighter than the Firefox browser and based on Webkit (like Chrome or Safari).
* gcalctool, a calculator.
* brasero : CD/DVD burning application.
* abiword is a word processor lighter OpenOffice.org Writer.
* gnumeric spreadsheet is a good alternative to OpenOffice.org Calc.
* VLC is a media player (audio/video) that can play almost any format.
* p7zip-full can read many different archive formats (cab, rar …)
* ubuntu-restricted-extras: Flash plugin, Java, codecs, Microsoft TrueType fonts, etc..
* The system is already provided with Evince, a PDF reader.

You are with a basic system for surfing the internet and perform office duties.

Thanks to Seb-Sauvage for this tip.

How2 Reset Your Windows Password Using Ubuntu

To reset your Windows password is very easy, as easy as resetting your Ubuntu password. What you need is bootable Ubuntu system (ie. USB, CD or anything) and software called chntpw.

This is step-by-step to reset your Windows password:

  1. Boot from your bootable device (Ubuntu Live Session)
  2. Shutdown your computer and boot up using your bootable system. So you run Ubuntu on Live Session that means you run your system without install it!

  3. Set your repository
  4. Goto Synaptic Package Manager -> Settings -> Repositories -> Ubuntu Software and check the “Software restricted by copyright or legal issues” checkbox. And don’t forget to reload synaptic.

    setting repository synaptic package manager
  5. Install CHNTPW
  6. Install from Synaptic Package Manager or use this command on shell:

    sudo apt-get install chntpw
  7. Resetting Windows password
    • Mount your “Windows installed” device
    • It’s depending on your system, example:

      sudo mkdir /media/WINDOWS
      sudo mount /dev/sda1 /media/WINDOWS

      On my system Windows installed on /dev/sda1 and I want to mount it to /media/WINDOWS that I’ve created before.

    • Goto your Windows system configuration folder
    • Located at [WINDOWS_DEVICE]/WINDOWS/system32/config/:

      cd /media/WINDOWS/WINDOWS/system32/config/
    • Cracking the SAM file
    • There a SAM file on Windows system configuration folder. That’s the file we’re looking for. Let’s crack it :) (sounds cool)

      chntpw SAM

      And if you see the output similar with image below, it’s mean you can crack the SAM file.

      reset windows password using chntpw

      As you see, there is 5 choices. Just type “1″ and press “ENTER” to reset your password. –Done.

Source

MACchanger | Utility For Manipulating The MAC Address Of Network Interfaces, Included GUI Utility

A GNU/Linux utility for viewing/manipulating the MAC address of network interfaces

Features

* Set specific MAC address of a network interface
* Set the MAC randomly
* Set a MAC of another vendor
* Set another MAC of the same vendor
* Set a MAC of the same kind (eg: wireless card)
* Display a vendor MAC list (today, 6800 items) to choose from

Possible usages

These are some examples:

* You’re in a DHCP network with some kind of IP-based restriction
* You’ve a cluster that boot with BOOTP and you want to have a clean set of MACs
* Debug MAC based routes

Install macchanger in Ubuntu

sudo apt-get install macchanger macchanger-gtk

Command line Examples

# macchanger eth1

Current MAC: 00:40:96:43:ef:9c [wireless] (Cisco/Aironet 4800/340)
Faked MAC: 00:40:96:43:ef:9d [wireless] (Cisco/Aironet 4800/340)

# macchanger –endding eth1

Current MAC: 00:40:96:43:e8:ec [wireless] (Cisco/Aironet 4800/340)
Faked MAC: 00:40:96:6f:0f:f2 [wireless] (Cisco/Aironet 4800/340)

# macchanger –another eth1

Current MAC: 00:40:96:43:87:1f [wireless] (Cisco/Aironet 4800/340)
Faked MAC: 00:02:2d:ec:00:6f [wireless] (Lucent Wavelan IEEE)

# macchanger -A eth1

Current MAC: 00:40:96:43:39:a6 [wireless] (Cisco/Aironet 4800/340)
Faked MAC: 00:10:5a:1e:06:93 (3Com, Fast Etherlink XL in a Gateway)

# macchanger -r eth1

Current MAC: 00:40:96:43:f1:fc [wireless] (Cisco/Aironet 4800/340)
Faked MAC: 6b:fd:10:37:d2:34 (unknown)

# macchanger –mac=01:23:45:67:89:AB eth1

Current MAC: 00:40:96:43:87:65 [wireless] (Cisco/Aironet 4800/340)
Faked MAC: 01:23:45:67:89:ab (unknown)

# ./macchanger –list=Cray

Misc MACs:
Num MAC Vendor
— — ——
065 – 00:00:7d – Cray Research Superservers,Inc
068 – 00:00:80 – Cray Communications (formerly Dowty Network Services)
317 – 00:40:a6 – Cray Research Inc.

Macchanger GUI

You can open the gui by running the following command from your terminal

$ macchanger-gtk

Screenshot


View Log Files In Ubuntu & Ubuntu Server Via The CLI

View log files in Ubuntu via the Command-Line Interface.

Q. Could you please explain to me log files in Ubuntu Linux and how do I view logs?

A. All logs are stored in /var/log directory under Ubuntu (and other Linux distro).

To view log files at shell prompt

Use tail, more, less and grep command.
tail -f /var/log/apport.log
more /var/log/xorg.0.log
cat /var/log/mysql.err
less /var/log/messages
grep -i fail /var/log/boot

Linux Log files and usage

=> /var/log/messages : General log messages

=> /var/log/boot : System boot log

=> /var/log/debug : Debugging log messages

=> /var/log/auth.log : User login and authentication logs

=> /var/log/daemon.log : Running services such as squid, ntpd and others log message to this file

=> /var/log/dmesg : Linux kernel ring buffer log

=> /var/log/dpkg.log : All binary package log includes package installation and other information

=> /var/log/faillog : User failed login log file

=> /var/log/kern.log : Kernel log file

=> /var/log/lpr.log : Printer log file

=> /var/log/mail.* : All mail server message log files

=> /var/log/mysql.* : MySQL server log file

=> /var/log/user.log : All userlevel logs

=> /var/log/xorg.0.log : X.org log file

=> /var/log/apache2/* : Apache web server log files directory

=> /var/log/lighttpd/* : Lighttpd web server log files directory

=> /var/log/fsck/* : fsck command log

=> /var/log/apport.log : Application crash report / log file

A Complete Beginner’s Manual For Ubuntu 10.04

This guide is designed to be as user-friendly and easy to follow as possible, it should provide the first point of reference to any Ubuntu newcomer with lots of information. The manual has step by step instructions and includes lots of screenshots to show you how to do  tasks. It also includes a Troubleshooting section to help you solve  common Ubuntu problems quickly. Download this 160+ page Lucid Lynx manual today.

Source