Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Tuesday 21 May 2013

How to add Swap Memory into uBuntu ..



Linux RAM is composed of chunks of memory called pages. To free up pages of RAM, a “linux swap” can occur and a page of memory is copied from the RAM to preconfigured space on the hard disk. Linux swaps allow a system to harness more memory than was originally physically available. 

However, swapping does have disadvantages. Because hard disks have a much slower memory than RAM, virtual private server performance may slow down considerably. Additionally, swap thrashing can begin to take place if the system gets swamped from too many files being swapped in and out.

Check for Swap Space


Before we proceed to set up a swap file, we need to check if any swap files have been enabled on the VPS by looking at the summary of swap usage.
swapon -s

An empty list will confirm that you have no swap files enabled:
Filename    Type  Size Used Priority

Check the File System


After we know that we do not have a swap file enabled on the virtual server, we can check how much space we have on the server with the df command. The swap file will take 512MB— since we are only using up about 8% of the /dev/sda, we can proceed.
df
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/sda        20907056 1437188  18421292   8% /
udev              121588       4    121584   1% /dev
tmpfs              49752     208     49544   1% /run
none                5120       0      5120   0% /run/lock
none              124372       0    124372   0% /run/shm

Create and Enable the Swap File


Now it’s time to create the swap file itself using the dd command :
sudo dd if=/dev/zero of=/swapfile bs=1024 count=512k

“of=/swapfile” designates the file’s name. In this case the name is swapfile. 

Subsequently we are going to prepare the swap file by creating a linux swap area:
sudo mkswap /swapfile

The results display:
Setting up swapspace version 1, size = 262140 KiB
no label, UUID=103c4545-5fc5-47f3-a8b3-dfbdb64fd7eb

Finish up by activating the swap file:
sudo swapon /swapfile

You will then be able to see the new swap file when you view the swap summary.
swapon -s
Filename    Type  Size Used Priority
/swapfile                               file  262140 0 -1

This file will last on the virtual private server until the machine reboots. You can ensure that the swap is permanent by adding it to the fstab file.

Open up the file:
sudo nano /etc/fstab

Paste in the following line:
 /swapfile       none    swap    sw      0       0 


To prevent the file from being world-readable, you should set up the correct permissions on the swap file:
sudo chown root:root /swapfile 
sudo chmod 0600 /swapfile

Thursday 16 May 2013

Update script working with Backtrack 5

I could not find an update script working with Backtrack 5 so I decided to make a quick one.

Updated version: 2.0

Changelog Version 2.0
Code:
* Reviewed all tools.
* Compatible with Backtrack 5 R2/R3.
* Removed the menu.
Code:
git clone git://github.com/sickn3ss/backtrack_update.git
cd backtrack_update
chmod a+x backtrack5_update.py
./backtrack5_update.py
Screenshot:



If you know more tools I could add to the script in order to update them please feel free to post them here.
Also if you find any bugs or have any feedback feel free to contact me in this thread. I will update the thread with each update to the script.

NOTE: Please make sure you understand what the script does before running it.

Enjoy!

Monday 13 May 2013

How to Upgrade Wine from the Older version to Wine1.5 on uBuntu

I am new to Wine and anything like it. I want to run the application "ATCS Monitor". When I installed ATCS Monitor I received an error message:

C:\windows\system32\wshom.ocx

Unable to register the DLL/OCX: RegSvr32 failed with exit code 0x1

-From Terminal-

err:typelib:sltg_get_typelib_ref Unable to find reference
err:module:import_dll Library ScrRun.dll (which is needed by L"C:\\windows\\system32\\wshom.ocx") not found


I can get through it by just ignoring it but I then have errors in ATCS Monitor.

First, upgrade to Wine 1.3.35. Wine 1.2.3 is almost a year old and is 
missing some very important updates. 

Second, do a search for the file in the directory $HOME/.wine I suspect 
that either it is not there or it is in the same directory as where the 
program installed. ...


Ubuntu and Ubuntu derivatives (such as Kubuntu) obtain software from packages which are stored in repositories. Ubuntu's default repository includes Wine, however if you want to stay up to date with the latest Wine package you can use WineHQ's by following these instructions.

Adding the WineHQ PPA Repository:

Open the Software Sources menu by launching the Ubuntu Software Center and selecting Edit->Software Sources. Choose the Other Software tab and click Add.
Software Center->Edit->Software Sources->Other Software
Then, copy and paste the line below.
ppa:ubuntu-wine/ppa

Warning: Beta packages

The 1.5 packages here are beta packages. This means they will periodically suffer from regressions, and as a result an update may break functionality in Wine. If the stable 1.4 Wine version works for you, then you may not want to use these beta packages.

Installing Wine:

Once you have added the WineHQ PPA Repository, you are ready to install.
To get the most recent Wine 1.5 beta, click this link to install the wine1.5 package.
To install the older, stable Wine 1.4 version, click this link to install the wine1.4 package.

Upgrading to a new version of Ubuntu

If you are upgrading the entire system, such as going from Ubuntu 11.10 to 12.04, you will need to come back to this page and add the repository again. The built in update manager will not switch the Wine repository automatically.

Alternative Command Line Instructions for Installing Wine:

It is also possible to add the Wine PPA and install via the terminal. This may be useful on Kubuntu, Xubuntu, and other Ubuntu derivatives.
sudo add-apt-repository ppa:ubuntu-wine/ppa
Then update APT package information by running 'sudo apt-get update'. You can now install Wine by typing 'sudo apt-get install wine1.5'.
If you'd like to browse the PPA manually, you can visit its Launchpad page.

Thursday 4 April 2013

HOW TO Solve issue Nvidia & X.org Server Problems on Linux or BackTrack5


  1. I spent a week trying to resolve the error generated by X.org Server and Nvidia drivers, and I think I've finally solved.
    This is the solution for my Nvidia GT540M & Intel i7-2670QM (ASUS X53SV-SX598V)
    1. Download NVIDIA driver from here: http://www.nvidia.com/object/unix.html.
    I use Linux x86_64/AMD64/EM64T (NVIDIA-Linux-x86_64-285.05.09.run) for my system at 64bit
    2. Install system updates
    Code:
    sudo apt-get update && sudo apt-get upgrade
    3. Install linux-header to the upgraded kernel
    Code:
    sudo apt-get install linux-headers-$(uname -r)
    4. If dkms and build essential haven't been installed
    Code:
    sudo apt-get install dkms build-essential
    5. Open blacklist.conf file to add some lines (I use vi command)
    Code:
    vi /etc/modprobe.d/blacklist.conf
    6. Press i and after others “blacklist” list add this list
    Code:
    blacklist vga16fb
    blacklist nouveau
    blacklist rivafb
    blacklist nvidiafb
    blacklist rivatv
    7. After that, press ESC and type :wq (this write the file)
    8. Make grub.cfg writable
    Code:
    chmod +w /boot/grub/grub.cfg
    9. Open grub.cfg file
    Code:
    vi /boot/grub/grub.cfg
    10. Find text splash text inside the document and add nouveau.modeset=0 text like this
    Code:
    text splash nouveau.modeset=0 vga=791
    11. After that, press ESC and type :wq (this write the file)
    12. Disable writable mode to grub.cfg file
    Code:
    chmod -w /boot/grub/grub.cfg
    13. Update grub.cfg file
    Code:
    update-grub‎
    14. Reboot
    15. Login and don’t write startx
    16. Remove all previous Nvidia drivers
    Code:
    sudo apt-get --purge remove nvidia-*
    17. Remove default drivers
    Code:
    sudo apt-get --purge remove xserver-xorg-video-nouveau
    18. Chmod the nvidia driver file
    Code:
    chmod a+x NVIDIA-Linux-x86_64-285.05.09.run
    19. Run the nvidia driver*
    Code:
    sh ./NVIDIA-Linux-x86_64-285.05.09.run
    *If you use a 64bit system don’t install the OpenGL 32bit
    20. Reboot

    If you have a problem like this:
    Code:
     
    X.Org X Server 1.7.6
    Release Date: 2010-03-17
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 2.6.24-28-server x86_64 Ubuntu
    [...]
    Fatal server error:
    no screens found

    It means that the automatic writing of xorg.conf (nvidia-xconfig command) during installation is not successful., but the driver has been installed correctly.
    To solve this problem just delete the xorg.conf file:

    Code:
    rm /etc/X11/xorg.conf
    When you restart the PC the file xorg.conf file will be created automatically.
    Reebot and type
    Code:
    startx
    I hope it helps

Friday 29 March 2013

XAMPP: Another web server daemon with SSL is already running

This is a peculiar error you will get if you run XAMPP in LINUX.



Assumption: XAMPP is unzipped @ /opt/ folder.

If you get the error "XAMPP: Another web server daemon with SSL is already running" when you run "./lampp start". Simply follow the steps below to get rid of this error:

1. Open the file /opt/lampp/etc/httpd.conf
2. Search the "Listen 80" and change it to some other port (e.g. Listen 2145)  (Line No. 40)
3. Open the file /opt/lampp/etc/extra/httpd-ssl.conf
4. Search the "Listen 443" and change it to some other port (e.g. Listen 16443) (Line No. 39)
5. Open the file "/opt/lampp/lampp"
6. Search for the port "testport 80" and replace it to "testport 2145". Also change the "testport 443" to "testport 16443". (Happens to be the Line No. 197, 214)
7. Now go and run "/opt/lampp/lampp start". (It should work now).




Hope this Helps :-)

Thursday 14 February 2013

How to Recover an Encrypted Home Directory on Ubuntu


While the home-folder encryption in Ubuntu is far from a perfect solution (there is considerable data leakage from the swap file and the temp directory - for example once I've observed the flash videos from Chromium porn private browsing mode being present in the /tmp directory), it is a partial solution nevertheless and very easy to set up during installation. However what can you do if you need to recover the data because you dismantled your system?

Credit where credit is due: this guide is taken mostly from the Ubuntu wiki page. Also, this is not an easy "one-click" process. You should proceed carefully, especially if you don't have much experience with the command line.

Start Ubuntu (from a separate install, from the LiveCD, etc) and mount the source filesystem (this is usually as simple as going to the Places menu and selecting the partition). Start a terminal (Alt+F2 -> gnome-terminal) and navigate to the partitions home directory. Usually this will look like the following:

cd /media/9e6325c9-1140-44b7-9d8e-614599b27e05/home/

Now navigate to the users ecryptfs directory (things to note: it is ecryptfs not encryptfs and your username does not coincide with your full name - the one you click on when you log in)

cd .ecryptfs/username

The next step is to recovery your "mount password" which is different from the password you use to log in (when it asks you, type in the login password used for this account - for which you are trying to recover the data). Take note of the returned password (you can copy it by selecting it and pressing Shift+Ctrl+C if you are using the Gnome Terminal)

ecryptfs-unwrap-passphrase .ecryptfs/wrapped-passphrase

Now create a directory where you would like to mount the decrypted home directory:

sudo mkdir /media/decrypted

Execute the following and type in (or better - copy-paste) the mount password you've recovered earlier

sudo ecryptfs-add-passphrase --fnek

It will return something like the following. Take note of the second key (auth tok):

Inserted auth tok with sig [9986ad986f986af7] into the user session keyring 
Inserted auth tok with sig [76a9f69af69a86fa] into the user session keyring

Now you are ready to mount the directry:

sudo mount -t ecryptfs /media/9e6325c9-1140-44b7-9d8e-614599b27e05/home/.ecryptfs/username/.Private /media/decrypted
 Passphrase:  # mount passphrase
 Selection: aes
 Selection: 16
 Enable plaintext passthrough: n 
 Enable filename encryption: y # this is not the default!
 Filename Encryption Key (FNEK) Signature: # the second key (auth tok) noted

You will probably get a warning about this key not being seen before (you can type yes) and asking if it should be added to your key cache (you should type no, since you won't be using it again probably).

That's it, now (assuming everything went right) you can access your decrypted folder in /media/decrypted. The biggest gotcha is that home/username/.Private is in fact a symlink, which - if you have an other partition mounted - will point you to the wrong directory, so you should use the home/.ecryptfs/username directory directly... If this does work you try this from this ubuntu tutorial ...

Or you can also try this Live CD method of opening a encrypted home directory

Monday 28 January 2013

How to remove icons from Top-Taskbar on Gnome


You are using the Gnome-Classic interface - either you are using this by choice, or you are using the fallback  mode which occurs if your graphics card & driver doesnt the 3D Acceleration required for the full Gnome-Shell GUI.
To add and remove application launchers in the gnome-panel you need to:


Press Win+Alt and right-click the top menu bar - N.B. Win is the Windows Symbol key
If you are not using Compiz then you need to :
Press Alt and right-click the top menu bar


Much more information is described in the linked Q&A and other links in that answer.

Wednesday 23 January 2013

All You Need To Know About Linux Commands



System Info


date – Show the current date and time
cal – Show this month's calendar
uptime – Show current uptime
w – Display who is online
whoami – Who you are logged in as
finger user – Display information about user
uname -a – Show kernel information
cat /proc/cpuinfo – CPU information
cat /proc/meminfo – Memory information
df – Show disk usage
du – Show directory space usage
free – Show memory and swap usage

Keyboard Shortcuts

Enter – Run the command
Up Arrow – Show the previous command
Ctrl + R – Allows you to type a part of the command you're looking for and finds it
Ctrl + Z – Stops the current command, resume with fg in the foreground or bg in the background
Ctrl + C – Halts the current command, cancel the current operation and/or start with a fresh new line
Ctrl + L – Clear the screen

command | less – Allows the scrolling of the bash command window using Shift + Up Arrow and Shift + Down Arrow
!! – Repeats the last command
command  !$ – Repeats the last argument of the previous command
Esc + . (a period) – Insert the last argument of the previous command on the fly, which enables you to edit it before executing the command

Ctrl + A – Return to the start of the command you're typing
Ctrl + E – Go to the end of the command you're typing
Ctrl + U – Cut everything before the cursor to a special clipboard, erases the whole line
Ctrl + K – Cut everything after the cursor to a special clipboard
Ctrl + Y – Paste from the special clipboard that Ctrl + U and Ctrl + K save their data to
Ctrl + T – Swap the two characters before the cursor (you can actually use this to transport a character from the left to the right, try it!)
Ctrl + W – Delete the word / argument left of the cursor in the current line
Ctrl + D – Log out of current session, similar to exit

Learn the Commands

apropos subject – List manual pages for subject
man -k keyword – Display man pages containing keyword
man command – Show the manual for command
man -t man | ps2pdf - > man.pdf  – Make a pdf of a manual page
which command – Show full path name of command
time command – See how long a command takes

whereis app – Show possible locations of app
which app – Show which app will be run by default; it shows the full path

Searching

grep pattern files – Search for pattern in files
grep -r pattern dir – Search recursively for pattern in dir
command | grep pattern – Search for pattern in the output of command
locate file – Find all instances of file
find / -name filename – Starting with the root directory, look for the file called filename
find / -name ”*filename*” – Starting with the root directory, look for the file containing the string 

filename

locate filename – Find a file called filename using the locate command; this assumes you have already used the command updatedb (see next)
updatedb – Create or update the database of files on all file systems attached to the Linux root directory
which filename – Show the subdirectory containing the executable file  called filename
grep TextStringToFind /dir – Starting with the directory called dir, look for and list all files containing TextStringToFind

File Permissions

chmod octal file – Change the permissions of file to octal, which can be found separately for user, group, and world by adding: 4 – read (r), 2 – write (w), 1 – execute (x)
Examples:
chmod 777 – read, write, execute for all
chmod 755 – rwx for owner, rx for group and world
For more options, see man chmod.

File Commands

ls – Directory listing
ls -l – List files in current directory using long format
ls -laC – List all files in current directory in long format and display in columns
ls -F – List files in current directory and indicate the file type
ls -al – Formatted listing with hidden files
cd dir – Change directory to dir
cd – Change to home
mkdir dir – Create a directory dir
pwd – Show current directory

rm name – Remove a file or directory called name
rm -r dir – Delete directory dir
rm -f file – Force remove file
rm -rf dir – Force remove an entire directory dir and all it’s included files and subdirectories (use with extreme caution)

cp file1 file2 – Copy file1 to file2
cp -r dir1 dir2 – Copy dir1 to dir2; create dir2 if it doesn't exist
cp file /home/dirname – Copy the file called filename to the /home/dirname directory

mv file /home/dirname – Move the file called filename to the /home/dirname directory
mv file1 file2 – Rename or move file1 to file2; if file2 is an existing directory, moves file1 into directory file2

ln -s file link – Create symbolic link link to file
touch file – Create or update file
cat > file – Places standard input into file
cat file – Display the file called file

more file – Display the file called file one page at a time, proceed to next page using the spacebar
head file – Output the first 10 lines of file
head -20 file – Display the first 20 lines of the file called file
tail file – Output the last 10 lines of file
tail -20 file – Display the last 20 lines of the file called file
tail -f file – Output the contents of file as it grows, starting with the last 10 lines

Compression

tar cf file.tar files – Create a tar named file.tar containing files
tar xf file.tar – Extract the files from file.tar
tar czf file.tar.gz files – Create a tar with Gzip compression
tar xzf file.tar.gz – Extract a tar using Gzip
tar cjf file.tar.bz2 – Create a tar with Bzip2 compression
tar xjf file.tar.bz2 – Extract a tar using Bzip2
gzip file – Compresses file and renames it to file.gz
gzip -d file.gz – Decompresses file.gz back to file

Printing

/etc/rc.d/init.d/lpd start – Start the print daemon
/etc/rc.d/init.d/lpd stop – Stop the print daemon
/etc/rc.d/init.d/lpd status – Display status of the print daemon
lpq – Display jobs in print queue
lprm – Remove jobs from queue
lpr – Print a file
lpc – Printer control tool
man subject | lpr – Print the manual page called subject as plain text
man -t subject | lpr – Print the manual page called subject as Postscript output
printtool – Start X printer setup interface

Network

ifconfig – List IP addresses for all devices on the local machine
ping host – Ping host and output results
whois domain – Get whois information for domain
dig domain – Get DNS information for domain
dig -x host – Reverse lookup host
wget file – Download file
wget -c file – Continue a stopped download

SSH

ssh user@host – Connect to host as user
ssh -p port user@host – Connect to host on port port as user
ssh-copy-id user@host – Add your key to host for user to enable a keyed or passwordless login

User Administration

adduser accountname – Create a new user call accountname
passwd accountname – Give accountname a new password
su – Log in as superuser from current login
exit – Stop being superuser and revert to normal user

Process Management

ps – Display your currently active processes
top – Display all running processes
kill pid – Kill process id pid
killall proc – Kill all processes named proc (use with extreme caution)
bg – Lists stopped or background jobs; resume a stopped job in the background
fg – Brings the most recent job to foreground
fg n – Brings job n to the foreground

Installation from source

./configure
make
make install
dpkg -i pkg.deb – install a DEB package (Debian / Ubuntu / Linux Mint)
rpm -Uvh pkg.rpm – install a RPM package (Red Hat / Fedora)

Stopping & Starting

shutdown -h now – Shutdown the system now and do not reboot
halt – Stop all processes - same as above
shutdown -r 5 – Shutdown the system in 5 minutes and reboot
shutdown -r now – Shutdown the system now and reboot
reboot – Stop all processes and then reboot - same as above
startx – Start the X system



Recommended reading:

Cheat-Sheets.org – All cheat sheets, round-ups, quick reference cards, quick reference guides and quick reference sheets in one page. The only one you need.

Tutorial: The best tips & tricks for bash, explained – Linux Tutorial Blog / Quality Linux tutorials without clutter

LinuxCommand.org – Learning the shell, Writing shell scripts, Script library, SuperMan pages, Who, What, Where, Why

LinuxManPages.com – General commands, System calls, Subroutines, Special files, File formats, Games, Macros and conventions, Maintenence commands, Most Popular Man Pages

Linux Newbie Guide: Shorcuts and Commands - Linux essential shortcuts and sanity commands; Common Linux commands - system info; Basic operations, network apps, file (de)compression; Process control; Basic administration commands, accessing drives/partitions; Network administration tools, music-related commands, graphics-related commands.


Monday 12 November 2012

How to format USB drive using Linux terminal ..

How to format USB with Linux terminal ..  

[ Formatting a USB in Ubuntu or linux is as easy as make filesystem (mkfs).
mkfs and tab will show you all the filesystem types you can use:

[anc@localhost~]$ mkfs
mkfs mkfs.ext3 mkfs.jfs mkfs.ntfs mkfs.vfat
mkfs.cramfs mkfs.ext4 mkfs.minix mkfs.reiserfs mkfs.xfs
mkfs.ext2 mkfs.ext4dev mkfs.msdos mkfs.udffs


To format a USB drive all you need to know is its name, this can be found by
typing df at a terminal:

[anc@localhost~]$ df -hT
Filesystem Type Size Used Avail Use% Mounted on
--snip
/dev/sdc1 ext3 3.6G 3.3G 134M 97% /media/disk



In the above example my USB is sdc1 and is a 4G USB stick. As you can see
I changed it from NTFS to ext3.

FAT32 and NTFS are weak filesystems, not only are they prone to losing data but also
require constant defragging. Most linux filesystems (except ext2) are journalled. Thye never require defragging and have better security- the disadvantage is that if you format a USB memory stick as ext3 it cant be read under windows.

To answer your earlier question,

mkfs.vfat /dev/sdc1
mkfs.ntfs /dev/sdc1


would make FAT32 and NTFS filesystems on a memory stick called sdc1

Hope that helps. ]


[ This is another posting showing "how to do computing" for everyday computer usages... For a general public ]

Thursday 30 August 2012

Learn how to build a desktop computer or PC

Learn how to build your own computer or PC.  Allows you to customize to meet your exact needs!  Sorry the quality is a little bit crappy.

Parts...
Cooler Master Elite 310 Case
Asus P5Q SE Plus motherboard
Intel Quad core Q8200 2.33 GHZ 4 MB cache 1333 MHZ FSB
Kingston PC8500 2 GB RAM 1066 MHZ
XFX GeForce 9800 GT 512MB GDDR3
Samsung 500 GB SATA HD 7200 RPM 16 MB buffer
Antec 500 W power supply
Samsung 22x SATA dual layer DVD burner
2x Antec 120mm ball bearing multiple speed fans

Music by:  incompetech.com
Song: Deliberate Thought
For use under Creative Commons license 3.0


Thursday 19 July 2012

How to solve the Lampp Linux install Error on a 64bit Architecture

Xampp to Linux error –

XAMPP is currently only availably as 32 bit application.  Please use a 32 bit compatibility library for your system. 




ERROR If your are running XAMPP in a Ubuntu 64 bits, and found the following error: XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system. 



You must go to Sypnatic package manager, in the search field, insert: ia32-libs and install that package. 




here is Lampp running correctly but it presents another error, which you'll find the solution in another poster of mine here

 Source: Ubuntu Help

This is another posting showing "how to do computing" for everyday computer usages... For a general public 

How to install Wireless drivers on ubuntu 10.04

About a day ago my boss asked me to get a Linus distro ubuntu 10.04 to work, it happens that thid version is not coming with network drivers activated...

Here is how I worked out to get my WiFI drivers to work.. Later I post the solution to the Ethernet.  Let me remind you that sometimes, the setup can get mess up by some updates.

But sooner u know how to get it done, and do it once, then it becomes easier. The first thing you need to do, in order to update or install your wifi drivers is to find out what is your kernel version ....

You can do it by running this simple command in terminal ....

uname -r

............

Or something like this ....

A second way is to look at the /proc/version file. This can be easily accomplished by using the cat command (which is commonly used to read and concatenate files), i.e.,
cat /proc/version
A third way is to use the rpm (i.e., Red Hat package manager) command with its -q (i.e., query) option and use the word kernel as an argument (i.e., input data) as follows:
rpm -q kernel

 ....


The download the drives from here a trusted source, for me it happens to be this one .. Realtek Drivers .... {The drivers are to my kernel type yours might be different }..

Download them into your computer, and then that what you have to do..

1 - unzip it into your /tmp folder .. with this command ..

 sudo tar -zxvf name_of_the_package.tar.gz


Then ..

root@hostdevelop:/# ls
bin    etc             lib         mnt   sbin     tmp      vmlinuz.old
boot   home            lib64       opt   selinux  usr
cdrom  initrd.img      lost+found  proc  srv      var
dev    initrd.img.old  media       root  sys      vmlinuz
root@hostdevelop:/# cd ./tmp
root@hostdevelop:/tmp# ls
keyring-r6S9ei      pulse-PKdhtXMmr18n
orbit-gdm           rtl8192ce_linux_2.6.0006.0321.2011.tar.gz
orbit-hostdevelop   ssh-NlCyNr1469
pulse-m5lvqUFNxjXA  virtual-hostdevelop.SxNVar
root@hostdevelop:/tmp# tar -zxvf rtl8192ce_linux_2.6.0006.0321.2011.tar.gz
rtl8192ce_linux_2.6.0006.0321.2011/
rtl8192ce_linux_2.6.0006.0321.2011/firmware/
rtl8192ce_linux_2.6.0006.0321.2011/firmware/RTL8192CE/
rtl8192ce_linux_2.6.0006.0321.2011/firmware/RTL8192CE/Realtek-Firmware-License.txt
rtl8192ce_linux_2.6.0006.0321.2011/firmware/RTL8192CE/rtl8192cfwT.bin
rtl8192ce_linux_2.6.0006.0321.2011/firmware/RTL8192CE/rtl8192cfw_test.bin
rtl8192ce_linux_2.6.0006.0321.2011/HAL/
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/Makefile
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/Makefile
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_com.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_com.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_def.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_dev.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_dev.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_dm.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_dm.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_dmbt.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_dmbt.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_dmout.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_dmout.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_Efuse.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_Efuse.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_firmware.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_firmware.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_hw.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_hwimg.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_hwimg.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_inc.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_led.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_led.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_phy.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_phy.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_PhyParam.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_PhyParam.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_phyreg.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_rtl6052.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_rtl6052.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_rx.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_rx.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_tx.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_tx.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_cam.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_cam.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_core.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_core.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_debug.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_debug.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_dm.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_dm.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_eeprom.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_eeprom.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_ethtool.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_mesh.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_mesh.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_pci.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_pci.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_platformdef.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_pm.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_pm.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_ps.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_ps.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_regd.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_regd.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_rfkill.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_rfkill.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_softap.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_softap.h
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_wx.c
rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_wx.h
rtl8192ce_linux_2.6.0006.0321.2011/Makefile
rtl8192ce_linux_2.6.0006.0321.2011/readme.txt
rtl8192ce_linux_2.6.0006.0321.2011/realtek/
rtl8192ce_linux_2.6.0006.0321.2011/realtek/RadioPower.sh
rtl8192ce_linux_2.6.0006.0321.2011/realtek/wireless-rtl-ac-dc-power.sh
rtl8192ce_linux_2.6.0006.0321.2011/release_note
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/aes.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/api.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/arc4.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/autoload.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/cipher.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/compress.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/crypto_compat.h
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/digest.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/dot11d.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/dot11d.h
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/internal.h
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/kmap_types.h
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/license
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/Makefile
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/michael_mic.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/proc.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/rtl819x_BA.h
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/rtl819x_BAProc.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/rtl819x_HT.h
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/rtl819x_HTProc.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/rtl819x_Qos.h
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/rtl819x_TS.h
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/rtl819x_TSProc.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/rtllib.h
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/rtllib_crypt.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/rtllib_crypt.h
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/rtllib_crypt_ccmp.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/rtllib_crypt_tkip.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/rtllib_crypt_wep.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/rtllib_endianfree.h
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/rtllib_module.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/rtllib_rx.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/rtllib_softmac.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/rtllib_softmac_wx.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/rtllib_tx.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/rtllib_wx.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/rtl_crypto.h
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/scatterwalk.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/scatterwalk.h
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/wapi.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/wapi.h
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/wapi_interface.c
rtl8192ce_linux_2.6.0006.0321.2011/rtllib/wapi_interface.h
rtl8192ce_linux_2.6.0006.0321.2011/runwpa
rtl8192ce_linux_2.6.0006.0321.2011/wpa1.conf
rtl8192ce_linux_2.6.0006.0321.2011/wpa_supplicant-0.6.9.tar.gz
root@hostdevelop:/tmp# ls
keyring-r6S9ei      rtl8192ce_linux_2.6.0006.0321.2011
orbit-gdm           rtl8192ce_linux_2.6.0006.0321.2011.tar.gz
orbit-hostdevelop   ssh-NlCyNr1469
pulse-m5lvqUFNxjXA  virtual-hostdevelop.SxNVar
pulse-PKdhtXMmr18n
root@hostdevelop:/tmp# cd ./rtl8192ce_linux_2.6.0006.0321.2011
root@hostdevelop:/tmp/rtl8192ce_linux_2.6.0006.0321.2011# ls
firmware  Makefile    realtek       rtllib  wpa1.conf
HAL       readme.txt  release_note  runwpa  wpa_supplicant-0.6.9.tar.gz
root@hostdevelop:/tmp/rtl8192ce_linux_2.6.0006.0321.2011# make
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-41-generic'
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_core.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_eeprom.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_wx.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_cam.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_pm.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_pci.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_ps.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_debug.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_ethtool.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl_regd.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_dev.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_tx.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_rx.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_Efuse.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_phy.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_firmware.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_dmbt.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_dmout.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_dm.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_rtl6052.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_hwimg.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_led.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/rtl8192c/r8192C_com.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/../../rtllib/rtllib_rx.o
/tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/../../rtllib/rtllib_rx.c: In function ‘rtllib_FlushRxTsPendingPkts’:
/tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/../../rtllib/rtllib_rx.c:1297: warning: the frame size of 1040 bytes is larger than 1024 bytes
/tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/../../rtllib/rtllib_rx.c: In function ‘RxReorderIndicatePacket’:
/tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/../../rtllib/rtllib_rx.c:1488: warning: the frame size of 1072 bytes is larger than 1024 bytes
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/../../rtllib/rtllib_softmac.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/../../rtllib/rtllib_tx.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/../../rtllib/rtllib_wx.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/../../rtllib/rtllib_module.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/../../rtllib/rtllib_softmac_wx.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/../../rtllib/rtl819x_HTProc.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/../../rtllib/rtl819x_TSProc.o
/tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/../../rtllib/rtl819x_TSProc.c: In function ‘RxPktPendingTimeout’:
/tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/../../rtllib/rtl819x_TSProc.c:99: warning: the frame size of 1056 bytes is larger than 1024 bytes
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/../../rtllib/rtl819x_BAProc.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/../../rtllib/dot11d.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/../../rtllib/rtllib_crypt.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/../../rtllib/rtllib_crypt_tkip.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/../../rtllib/rtllib_crypt_ccmp.o
  CC [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/../../rtllib/rtllib_crypt_wep.o
  LD [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/r8192ce_pci.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/r8192ce_pci.mod.o
  LD [M]  /tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/r8192ce_pci.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-41-generic'
root@hostdevelop:/tmp/rtl8192ce_linux_2.6.0006.0321.2011# make install
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-41-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-41-generic'
make[1]: Entering directory `/tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192'
make -C /lib/modules/2.6.32-41-generic/build M=/tmp/rtl8192ce_linux_2.6.0006.0321.2011 CC=gcc modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.32-41-generic'
  Building modules, stage 2.
  MODPOST 0 modules
make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-41-generic'
find /lib/modules/2.6.32-41-generic -name "r8192ce_*.ko" -exec ls -l {} \;
find /lib/modules/2.6.32-41-generic -name "r8192ce_*.ko" -exec rm {} \;
install -p -m 644 r8192ce_pci.ko /lib/modules/2.6.32-41-generic/kernel/drivers/net/wireless/
depmod -a
make[1]: Leaving directory `/tmp/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192'
root@hostdevelop:/tmp/rtl8192ce_linux_2.6.0006.0321.2011# 






Then .. .. Restart your systems and your wireless should be working fine !!
Hope that this guide help you ..


Any feedback, comments and contribution is welcome ...


How to Create a Ansible Lab on your Local Machine using Vagrant in 5 min using ChatGPT - Part 2

Update the above Vagrantfile Centos 8 servers and add Public IP and dhcp on each server .. To update the provided Vagrantfile for the three ...