Archive for the ‘Ubuntu Srvr’ Category

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.

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!

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

Pine: “Alternate Speller Terminated Abnormally (-1)”

To all,

Problem: While trying to perform a spell check in Alpine. I get a(n) “alternate speller terminated abnormally (-1)” message?

Solution: Make sure there is at least one aspell dictionary loaded/installed. Look to see if you have the aspell-en (apt-get install aspell-en) package installed; my bets are that you don’t.

Ubuntu 10.04 LTS Is Here! Change Has Come…

Install Monitorix In Ubuntu 9.10 (Karmic) Server

Install Monitorix in Ubuntu 9.10 (Karmic) Server

Preparing your system

Install the following packages

sudo apt-get install rrdtool librrds-perl libwww-perl

Now you need to download Monitorix source package from here or use the following command

$ wget http://www.monitorix.org/monitorix-1.5.0.tar.gz

$ tar -zxvf monitorix-1.5.0.tar.gz

Go to the Monitorix directory and execute the install script.

$ cd monitorix-1.5.0

$ sudo ./install.sh

Welcome to Monitorix v1.5.0 installation process.

The install script has detected that this is a Linux operating system.

Currently Monitorix supports only the following Linux distributions:
1 – RedHat/Fedora/CentOS
2 – Generic
3 – Debian (Ubuntu)
4 – Gentoo
5 – Slackware

Please select your option:

Choose the option number 3 (Debian).

The following is a list of the default paths where the Monitorix components will be installed:

1 – /usr/bin
2 – /etc
3 – /etc/init.d
4 – /var/lib
5 – /usr/share/doc
6 – /var/www
7 – /usr/lib/cgi-bin
8 – /usr/share/man/man5

Last chance to stop the installation.
Are you sure to install Monitorix on the paths shown? [y/n]:

The list of paths should be correct. Press y.

Finally start Monitorix.

sudo service monitorix start

Now wait for a while and then go to http://localhost/monitorix/

The Ubuntu Release Cycle

From its outset Ubuntu project has been committed to a regular release cycle and has managed to deliver on that commitment without fail. It is the regularity and reliability of these releases that makes Ubuntu a great option for users and businesses who can plan upgrades and new installs with a reliability that is very unusual in the operating system market. This diagram gives our long term commitment to releases and demonstrates the key difference between a Long Term Support release and our standard releases.

Ubuntu Release Cycle

LTS Desktop and Server

Long Term Support releases for desktop and server. There are deployment platforms with wide hardware and software support and ideal or individuals and businesses making a longer term investment in Ubuntu

Standard release

These are the 6 monthly release that contain the best of the new from the Open Source and commercial worlds and suited to users happy to upgrade regularly.

Point Release

These are 6 monthly updates to the long term support cycle. These are primarily bug fixes and patches with occasional feature enhancements that maintain the integrity of the release over a long cycle. The point releases continue up to the next LTS release which then offers an obvious upgrade path for users

LTS Server

This is the extended support period for server.

Source: Ubuntu (.com)

Change Ethernet Network Card Speed

Using ethtool

ethtool can be used to query and change settings such as speed, auto- negotiation and checksum offload on many network devices, especially Ethernet devices.

Install ethtool in ubuntu

sudo apt-get install ethtool

You can check the current Ethernet network card speed and duplex settings using the following command

sudo ethtool eth0

Where eth0 is the Ethernet network card interface

Turn off Auto-Negotiate feature using the following command

sudo ethtool -s eth0 autoneg off

ethtool Syntax

sudo ethtool -s eth0 speed [SPEED] duplex  [DUPLEX]

Example 1

This example will show you how to setup your ethernet network card speed 100 and full duplex

sudo ethtool -s eth0 speed 100 duplex full

Example 2

This example will show you how to setup your ethernet network card speed 10 and half duplex

sudo ethtool -s eth0 speed 10 duplex half

Source: ubuntugeek (.com)

Postfix Configuration

From a terminal prompt:
sudo dpkg-reconfigure postfix

•    General type of mail configuration: Internet Site
•    NONE doesn’t appear to be requested in current config
•    System mail name: server1.example.com
•    Root and postmaster mail recipient: <admin_user_name>
•    Other destinations for mail: server1.example.com, example.com, localhost.example.com, localhost
•    Force synchronous updates on mail queue?: No
•    Local networks: 127.0.0.0/8
•    Yes doesn’t appear to be requested in current config
•    Mialbox size limit (bytes): 0
•    Local address extension character: +
•    Internet protocols to use: all