Get Solutions

Finding solutions with Technologies

How to Install and Configure WiFi Connection Using WiCD


Compatible with customary *nix networking commands (iwconfig, ifconfig, etc)
Once designed, can connect even though the X show doesn't begin
Can be managed and designed via the program line exploitation wicd-curses
Support for wired networks, also as named profiles to avoid wasting multiple wired configurations.
Supports configuring static information processing addresses and DHCP on a per network basis
Store totally different static IPs, gateways, subnet masks, DNS server addresses per network
Automatically connect at boot – no user intervention needed, even for encrypted networks
Keeps network keys in root accesible solely (600) files (unencrypted, however)
Encryption (template based)
WPA 1/2
WEP
LEAP
TTLS
EAP
PEAP
Automatically connects at resume from suspend
Displays data regarding the network
Ability to run scripts before/after connecting/disconnecting
All this and it’s very easy to use. Let’s begin by putting in WiCD, if you're associate Ubuntu user, you'll be able to install WiCD terribly simply. All you would like to try to to is open a terminal and issue following command,
sudo apt-get install wicd
This will install each WiCD with all the desired dependencies. it'll then raise you for the users you would like to set up WiCD for. WiCD additionally comes with a receptacle icon. you'll be able to add it by right clicking a panel and selecting boost panel choice then select custom application launcher. provides it any name you would like and within the command box sort,
/usr/bin/wicd-gtk
and you'll have a receptacle icon currently. Open WiCD and you'll be greeted with a screen showing all the wireless networks within the vary. you'll be able to then selected to attach to any network you would like. If the network is protected by any security then you'd ought to selected the strategy of security in situ and enter the proper key to attach to the network.

WiCD Networks
You, of course, additionally get the choice to selected whether or not to use DHCP or static IPs, that DNS you would like to use, that secondary DNS you would like to use. gateways, subnet masks. you'll be able to additionally use it to manage wired networks.

WiCD Advanced
And there’s more…

WiCD Advanced two.0
I for one have not had any issues with WiCD., though there square measure those that report sure incidents, it’s free from most major bugs and may be a terribly solid program. one amongst my favorite distributions, Zenwalk, comes with WiCD pre-installed. Rest assured, this is often an excellent tool to manage all of your moving association desires.

How to Change the Host name on Linux


There ar times you will return up with a desire for modification in your computer’s identity over network. this is often once you can need to modification the Hostname of your pc. The hostname is just about sort of a label to your pc or the device for identification over the network. The hostname is simply a straightforward name, Associate in Nursing scientific discipline Address or perhaps a site name.
To change the hostname in Ubuntu, follow these straightforward steps:
1. determine your existing hostname by coming into this command in terminal:
hostname

So on my pc, the hostname is “santhosh-desktop”

2. modification the hostname by editing:
sudo nano /etc/hostname

You will see the prevailing hostname. modification it to no matter new hostname you wish and reserve it by striking Ctrl + O
In this tutorial, i alter it to
gigacore-desktop

3. currently edit the hosts:
sudo nano /etc/hosts

Here modification the ::1 and 127.0.1.1 to the new hostname you selected.
::1 gigacore-desktop localhost6.localdomain6 localhost6
127.0.1.1 gigacore-desktop

3. Restart the hostname service.
sudo /etc/init.d/hostname restart

How to Change File Permissions on Linux


Ability to line file permissions for individual users or user-groups is one among the foremost asked for options of UNIX. If you're system admin for a faculty, school or a corporation you're employed for then correct file permission setting is among the foremost very important tasks.
The command accustomed modify file permissions is chmod, short for modification mode of a file. you'll conjointly use Nautilus file browser to alter the file permissions. i'll cowl the main points once slightly background on the file permissions. to search out the permission settings for a file, issue the subsequent command int he terminal from the directory wherever your file is.
ls -l 
cmd output
As you'll see, the primary column within the output has some strange wanting character sets. This set is that the file permissions for that file (directory). The third column is that the owner of the file (directory) and therefore the fourth column is that the default cluster of the file (directory). we are able to ignore all the opposite columns at now.
In the 1st column, every set would be ten character wide. The terribly 1st character may be a d for a directory or simply a - (hyphen) for files. After that, successive 3 characters area unit the permissions for the homeowners account. The order is read-write-execute. If the superuser will scan the file it might show r otherwise simply a -. equally for write and execute w and x would be displayed. successive 3 characters area unit permissions for all the opposite users happiness to the file cluster (from the fourth column within the output above). Final 3 characters area unit the permissions for everybody not a part of the cluster. Superusers (root accounts) will forever override all the settings mentioned here and none of the permissions apply to them.
Changing Permissions – the simple method
The easiest method, as I said, is to merely modification the file permissions mistreatment Nautilus however it’s time intense if you would like to alter the permissions of plenty of files. instruction method could seem tedious to start with however it’s the quicker method once you recognize your method around. to alter the permissions in Nautilus, right click on any file (directory). head to properties and so to permissions. modification the permissions and click on ok. That’s it.

Changing Permissions – The quicker method
To change file permissions via the terminal, you'll use the chmod command. to alter permissions of a file, enter the subsequent command within the terminal.
chmod alphabet path/to/file
Here, alphabet may be a three digit variety that is that the decimal illustration of the file permissions. as an example, r-x means that a hundred and one in binary that interprets to five in decimal. So, if you would like everybody to possess simply scan and execute access to files and solely the owner has the write access to files then the permissions area unit rwx,r-x,r-x that is 111,101,101. That interprets to seven,5,5 (comma is barely given for clarity here). So, the command would currently be,
chmod 755 path/to/file
Don’t worry if you don’t shrewdness binary works, you may get accustomed it. simplest way is add four for scan, a pair of for write and one for execute. So, considering the examples higher than, rwx = four + a pair of + one = seven and r-x = four + zero + one = five. You’ll get accustomed this. there's in a different way to to the present, the text methodology (which I don’t prefer).
chmod who=permissions file name
Where World Health Organization is any from a variety of letters, and every signifies World Health Organization you're attending to provide the permission to. they're as follows:
u - The user that own the file.
g - The cluster the file belongs to.
o - the opposite users i.e. everybody else.
a - all of the higher than - use this rather than having to sort ugo.
And then you'll directly write rwx before of the equal sign. as an example,
chmod g=rx

How to install and Configure and Compile a Tar file in Linux


The .tar file format springs from the phrase “tape archive”. Developers usually use this format to compress and distribute their sources. By doing this, they have not worry regarding the platform, thus anyone on any platform will directly compile and install on their computers. This short guide can teach you ways to extract associate tar file, compile so install it on any UNIX distro.
After you transfer a .tar file, open Terminal and navigate to the directory wherever the file exists mistreatment ‘cd’ command. Then perform following commands:

xvzf packagename.tar.gz
cd packagename
./configure
make
make install

How to Remove/delete Kerberos Password in Linux


This is a really rare scenario one would possibly face. Suddenly your Linux primarily based pc, VPS or server would possibly prompt you to enter Kerberos arcanum. Same factor happened to ME, I don’t bear in mind if I had set kerberos arcanum within the past. I had solely updated sure packages. This happened after I tried assign new arcanum to Associate in Nursing existing vsftpd user. during this case all I might consider is obtaining obviate Kerberos arcanum to proceed with my work.
Kerberos arcanum is network authentication protocol which permit nodes human action over a non-secure network to prove their identity to 1 another firmly. currently to induce obviate Kerberos arcanum, all we want to try and do is removing a package that causes the problem. but this is often a security feature that one would possibly use if they're aware regarding their information.

To remove Kerberos arcanum in Linux:
sudo apt-get take away --purge libpam-krb5

Step by Step for install and Configure Centos on VMware Workstation (Virtual workstation)


Introduction

This procedure walks you thru a piecemeal installation of CentOS five.5.  This procedure is performed victimization VMware digital computer seven.1.3 to host the guest software.  Installation of CentOS during this procedure can occur in 5 distinct steps: 1) fitting the virtual drive; 2) partitioning the disk victimization CentOS Disk Druid; 3) playacting a default installation of CentOS five.5; 4) change CentOS; and 5) putting in Sysstat. the newest version of CentOS is downloaded free from the CentOS web site [1]. you'll get a 30-day trial of VMware digital computer from the VMware web site [2].  This piecemeal walkthrough is analogous to Robinson's glorious walkthough [9], however updated and with further detail on partitioning. a lot of careful installation directions is found within the CentOS documentation [3].  All references "[]" employed in this walkthrough ar listed below, within the References section.  Good Luck!

Procedure

Step 1: fitting the Virtual Drive

VMware digital computer provides some handy options that well modify installation of common Linux distributions, like CentOS.  VMware can acknowledge the Linux distribution, mechanically partition the virtual disk, tack it, so install Linux. the matter with VMware's automatic installation is that it's automatic disk partitioning routine might not partition the disk adequately, going light area in sure partitions for code installation.  To avoid this downside at the point, this procedure can manually walk you thru manual configuration of the CentOS partitions before OS installation so as to make sure that the foundation partition has enough area for Jive installation. ensuing few steps show you the way.

Download the CentOS installation ISO [1] and burn to disk.  Insert the CentOS installation disk within the drive.

From the File menu, purpose to New, so choose Virtual Machine...  The New Virtual Machine Wizard seems.




Select Custom, so click Next.



Accept the default digital computer, so click Next.



Select i will be able to install the software later, so click Next. this selection can possible already be elite for you.



On the Guest software, choose Linux; then, from the Version change posture list, choose CentOS; so click Next.



In the Virtual machine name text box, enter a name; then browse to the situation you wish to store this virtual machine; so click Next.



Accept the defaults, so click Next.



Accept the defaults, so click Next. one GB is over comfortable for a development machine.



For the needs of this procedure, the utilization bridged networking choices is chosen.  However, any of the choices is also elite at this time. choose the choice most acceptable to your wants, so click Next.



Accept the default, so click Next.



Select the produce a replacement virtual disk possibility, so click Next.



Accept the default, so click Next.



Enter the scale of the virtual disk; check the allot all disc space currently option; choose the shop virtual disk as one file option; so click Next.  For development functions, fifteen GB is over comfortable. it's easier to trace one computer file instead of multiple disk files for a given installation.  Allocating all of the disc space at once simplifies future code installation.



Accept the default, so click Next.



Review the configuration choices you have got created, so click end.  A progress meter can seem.



Once the disk has been created, VMware digital computer returns to the outline read for the newly-created VM.



Be sure your CentOS installation disk has been inserted into the table drive.

Check to form positive that the CD/DVD drive has been organized to purpose to the ISO image on the CentOS installation disk.  To do this, 1st click Edit virtual machine settings, and then, on the Hardware tab, choose CD/DVD (IDE).



On the proper facet, make sure that the utilization physical drive possibility has been elite, so choose the acceptable drive from this option's list box.  Click OK.
TIP: it is best to insert the CentOS disk within the drive at the start of VM setup, so step right into CentOS installation when fitting the VM. the rationale being that VMware digital computer can notice the installation disk within the drive throughout the VM setup method and afterward step right into launching the installation when beginning the VM.

Step 2: Launching the installation

Click Power on this virtual machine. VMware digital computer can mechanically notice the CentOS installation disk within the drive so launch the installation.  Incidentally, you may conjointly see the VMware digital computer prompt, at rock bottom of the window.  Ignore this for the present.



 A prompt seems on prime of the CentOS installation screen.  Click OK.



Click anyplace on the CentOS screen, so as to pass the mouse pointer awareness into the virtual machine, so press ENTER. make sure to try and do this quickly, as this selection doesn't stay for long.  The installation preparation begins.



At some purpose throughout this preparation, you will be prompted to perform a CD take a look at.



Click anyplace on the blue half, press the Tab or right-arrow keys, so press ENTER.  If you bought this way, there is no have to be compelled to take a look at the CDROM any longer.



The preparation can proceed for many minutes. once this part of the preparation is completed, a replacement screen can seem.



Click Next.



Select the language acceptable for you, or settle for the default, so click Next.



Select the keyboard layout acceptable for you, or settle for the default, so click Next.



Click Yes.  This launches Disk non-Christian priest, and you will continue this procedure within the next section.



Step 3: Partitioning the Disk victimization CentOS Disk non-Christian priest

After the CentOS installation preparation routine finishes scanning the disk, it'll launch Disk non-Christian priest.



Click on the bar that states take away Linux partitions on elite drives and build default layout. a listing of many a lot of choices here are going to be displayed.
NOTE: consider references [5-7], below, for added useful detail on partitioning in Linux.


Select the list possibility produce custom layout, so click Next.



Click the New button. the primary partition you may produce is that the boot partition.



From the Mount purpose drop-down list box, choose /boot. confirm that the classification system kind shown is ext3.  For the scale (MB), enter 100.  Leave all different choices default.  Then click Next.



Click the New button once more. ensuing partition you may produce is that the root partition. this is often wherever most of your applications are going to be put in to.



From the Mount purpose drop-down list box, select "/". confirm that the classification system kind shown is ext3.  For the scale (MB), enter 8500.  Leave all different choices default. Then click OK.



Click the New button once more.The next partition to make is that the swap partition. this is often wherever CentOS keeps its disk space - kind of like the Page get into Windows.  Search the net for steerage on however massive this could be.  For the needs of this procedure, you may set this to 1500, that with reference to takes care of the rest of the disc space accessible.



On the classification system kind drop-down list box, choose swap.  For the scale (MB), enter 1500.  Leave all different choices default. Then click OK.  Lastly, the ultimate drive to make is that the /home drive, wherever user files ar hold on.  Repeat the on top of procedures to make this drive, so click OK.



This completes disk partitioning victimization Disk non-Christian priest.  Click Next.

Step 3: putting in CentOS

The next few steps involve preparative configuration before launching the particular installation of CentOS.



Accept the defaults, so click Next.



If you have got Dynamic Host Configuration Protocol organized on your network, make sure that the mechanically via DHCP possibility is chosen.  Otherwise, tack as necessary.  Then click Next.



Select town nearest you, leave all different settings as their default, so click Next.



Enter the foundation parole, so click Next. A progress meter can seem for a number of moments.



Now you're at the last preparation step.



Leave all settings at their default, so click Next.



Click Next.  This launches the installation, that lasts many minutes. throughout the installation, you will be conferred with many completely different screens.





After many minutes, the installation are going to be completed. when installation is completed, you may be prompted to boot.



Click boot. hang on there! you are within the home stretch.



Click Forward.



If you wish to act with Windows systems over your network, check NSF4 and Samba.  If you propose to create internet applications, check WWW and Secure WWW.  For the needs of this procedure, i will be able to check simply WWW and Secure WWW.  This opens those ports through the firewall to permit these services to control.  Click Forward.



At the prompt, click Yes.



Click on the SELinux Setting drop-down list box, so choose Permissive [10].  Otherwise, you will not be able to install or run some applications.  Then click Forward.



Check the modify kdump possibility.  Leave the opposite choices here default. this can be helpful later if you wish to troubleshoot one thing later.  Then click Forward. you will be prompted to verify the kdump possibility setting.  Click okay to proceed.



Make the acceptable time adjusts PRN, so click Forward.



Enter a username, etc, so click Forward.



Accept the defaults, so click Forward.



Unless you have got a lot of code you wish to put in, simply click Forward.



Congratulations!  If you've got reached the login screen, you've got with success put in and organized CentOS Linux.  It remains to update your CentOS Linux instance with the newest upgrades and patches, and to put in one tool that you simply can notice helpful later which some applications need so as to be intsalled with success.

Step 4: change CentOS

At the CentOS login screen, login victimization the foundation account.



At this time, I performed AN install the VMware extras (that's what the prompt is for, down at rock bottom of the screen).  As a result, the yellow prompt space at rock bottom of the screen can disappear.

Open a terminal.  Enter the subsequent command [12]:
# yum update
This will mechanically verify what is updated, compile a listing of things needing update, transfer the updates from CentOS, so install them. it'll take many minutes for the update to complete. settle for the default in the least prompts.



This completes change of CentOS.  Continue on to ensuing step.

Step 5: putting in Sysstat

Before you finally end up, there is one tool that it's helpful to put in before moving on to different things: sysstat [11]. you will find that it's required once putting in different applications, like Jive.  sysstat is put in either through the CentOS Package Manager or from the program line. each ways are going to be conferred here.  First, from the program line.

At the prompt, enter the subsequent command:
# yum list
This will cause an inventory to be generated of all doable applications and tools that you simply will install.  Scroll through this list till you discover AN item starting with sysstat. it'll most likely look one thing like: sysstat.i386. observe of its entire name, so enter the subsequent command:
# yum install sysstat.i386
Note that your sysstat entry is also somewhat completely different from what's shown here.  Once the installation begins, follow all prompts.



This completes insallation from the prompt victimization YUM.  Next, victimization Package Manager.

From the Gnome panel, Applications menu, choose Add/Remove code.  Then, on the Browse tab, within the left panel, choose Base System, so on the proper panel, choose System Tools



Click the optional  packages button, so scroll down till you see the entry, sysstat-[version].i386, wherever your version could vary. choose this entry, check it, so click shut.



You'll be came back to the Package Manager tool.  The Apply button are going to be enabled.



On the Package Manager tool, click Apply. you will be prompted to verify your picks.



Click Continue.  A progress meter can seem momentarily.



...and then you will be au fait of the end result of the installation.



Click OK. you are came back to the Package Manager tool.  Note that currently the Apply button is not any longer enabled.