Skip to content

Techonia.com

News, Tutorials, and How tos about Technology

Archive

Category: Linux

In this article I want to share to you on how to create and configure vlan on Linux through Cisco Catalyst Switch.

Requirements:
1. Linux installed on a PC with one or more NICs (Network Interface Card). I use Centos 5.4 using 2.6.18-164.11.1.el5PAE kernel. It should be applicable on other Linux distros such as Slackware, Ubuntu, Fedora, Debian, etc.
2. Cisco Catalyst Switch 2950
3. 2 PC/Laptop running Windows/Linux/BSD/MacOSX
4. 3 straight cables

This tutorial is based-on network diagram below:

continue reading…

Incoming search terms for this post:

You have a Local Area Network (LAN) that using Linux as a router. In the Linux box there are two network interface card (NIC) attached to it, one has public IP that connect to Internet Service Provider (ISP) and the other one has private IP address that connect to the LAN. This Linux box does forward packets and also NAT (network address translation) so workstation inside LAN can connect to internet. See the diagram below:

continue reading…

Incoming search terms for this post:

In a Local Area Network (LAN), sometime you need to divide policy access based-on IP Address. For example, only specific IP addresses can access the web, email, FTP, facebook and so forth. Others will be dropped.
continue reading…

Incoming search terms for this post:

If you want to play musics (MP3 files) in UNIX/Linux platform, you can choose to use XMMS, Songbird, Amarok ,Rhythmbox and others. Since I use Gnome window manager on my Centos 5.4, I use Rhythmbox to play MP3 music files. However when I first run the Rhythmbox program, I got error messages telling me that ‘The Gstreamer plugins to decode MP3 files cound not be found”, so I need to install the plugins.
continue reading…

Incoming search terms for this post:

You have Fedora 12 installed on your laptop/PC and wanna use Huawei E220 USB Modem to access internet? On the previous posts, I had created tutorials of installing Huawei E220 on Slackware 12.2 and Centos 5.4. They should be in the related posts list of this tutorial.
continue reading…

Incoming search terms for this post:

You want to install Huawei E220 USB Modem on Centos 5.4 and use the modem to access internet? If you use Slackware 12.2 or Fedora 12, click here for Slackware 12.2 or here for Fedora 12 to follow the tutorials.

It is very easy to do this. CentOS 5.4 that using kernel 2.6.18-164 is smart enough to autodetect the device so you do not need huaweiAktBbo-i386.out tool to switch the modem to the correct mode for serial port. In my case, it is detected and attached to ttyUSB0 and ttyUSB1. When you connect the modem to your laptop or PC via USB port, continue reading…

Incoming search terms for this post:

If you are a Linux user and located in Windows Workgroups, sometime you want to access Windows machines to copy some files from them through network. In windows, you can simply open windows explorer and type \\hostname or \\ipaddress of the target that you want to access.
In Linux, you need to activate samba file system (smbfs) to be able to access or see windows workgroups. In Slackware Linux distro (I am using Slackware 13.0_64bit) the smbfs module is not loaded by default. So first thing you have to do is load the smbfs module.
continue reading…

Incoming search terms for this post:

My email server is using Postfix as the MTA and Clamav as the anti-virus software running on Centos 5. Today I check the version of Clamav installed on it and it is already out-dated so I need to upgrade to the latest stable version. The installed version of clamav is ClamAV 0.94 whereas the latest stable version is ClamAV 0.95.2.
Upgrading clamav installed on Centos is easy. You just first backup the current configuration of clamav (/etc/clamd.conf and /etc/freshclam.conf). continue reading…

Incoming search terms for this post:

I use Slackware Linux as the main operating system. Today I wanna upgrade some softwares installed on my system like Mozilla Firefox, Thunderbird and etc. Currently the firefox version installed in my system is version 3.0.8. The latest version of firefox is 3.5 so I wanna upgrade it and other softwares too. To update/upgrade Slackware I use ’slapt-get’, an apt-get like tool to upgrade software in debian families.
continue reading…

Incoming search terms for this post:

This tutorial will try to implement IP Address version 6 on Opensolaris 2009.06 and Linux (Slackware 12.2). Both OS are already support IPv6 by default so we just enable/activate it.
The schenario of this test is using direct connection between the two OSes and using existing private IP addresses. IPv6 makes it very easy to assign existing addresses.
For example, the Linux IP address is 172.16.17.16 and the Opensolaris IP address is 172.16.17.238. We change the ip address in hex (IPv6 format) become ::AC10:1110 and ::AC10:11EE respectively. The :: is a short form available in IPv6 to represent zeros.
continue reading…

Incoming search terms for this post: