RSS

Tag Archives: Linux

Wired Network Device not managed Ubuntu 11.04

This is a common problem in Ubuntu 11.04, I tried to connect via a wired cable and was stunned to find that there was no auto Etho 🙂

After Googling for a while, I came across the solution below, hope it helps you guys

Solution is as follows
Step 1. Open the Network manager conf file

sudo gedit /etc/NetworkManager/NetworkManager.conf  

Step 2
Change the below line to true

managed=false

Step 3
Reboot your System

Visit blogadda.com to discover Indian blogs

 
1 Comment

Posted by on October 25, 2011 in Linux, Ubuntu

 

Tags: , , , , ,

Dual boot ubuntu 10.10 and fedora 14

So it’s been a long time since I have added a post but I decided to take time off and add one on this interesting topic.

I already had Ubuntu installed on my toshiba satellite laptop and now I decided to install fedora 14.

Once I installed Fedora it did not detect ubuntu and after a lot of Googling I found that I had to first recover ubuntu grub2 and then do
an update-grub to get the option of installing both.

I booted the system via live usb and installed the grub via the below command into the MBR

grub-install /dev/sda


Reboot

Then I ran ‘update-grub’ and did a reboot again but it did not detect fedora 14 and booted straight into ubuntu.
Again after a lot of googling I realized that since fedora was installed on the extended partition it was not detected.

So Now what? Well the solution was simple but it tool me a long time to find out.
All you need to do is install startup manager

sudo apt-get install startupmanager

run by typing

sudo startupmanager

and thats it it wil create the grub file along with the option to boot fedora

 
Leave a comment

Posted by on January 8, 2011 in Fedora, Linux, Ubuntu

 

Tags: , ,

Tcpdump to capture passwords

To skip straight to capture password click here

TCPdump is a very powerful command line interface packet sniffer. –

1. Install tcpdump
Ubuntu

sudo apt-get install tcpdump 

Fedora/Centos/Red hat

sudo yum install tcpdump

2. TCPDUMP USE
To display the Standard TCPdump output:

tcpdump

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode

Network interfaces available for the capture:

 tcpdump -D

1.eth1
2.any (Pseudo-device that captures on all interfaces)
3.lo

– Capture the traffic of a particular interface:

 tcpdump -i eth0

– To capture the UDP traffic:

tcpdump udp

– To capture the TCP port 80 traffic:

 tcpdump port http

– To capture the traffic from a filter stored in a file:

 tcpdump -F file_name

To create a file where the filter is configured (here the TCP 80 port)

vim file_name

port 80

– To send the capture output in a file instead of directly on the screen:

tcpdump -w capture.log

– To read a capture file:

tcpdump -r capture.log

– To display the packets having “wordpress.com” as their source or destination address:

tcpdump host wordpress.com

– To display the FTP packets coming from 192.168.1.100 to 192.168.1.2:

tcpdump src 192.168.1.100 and dst 192.168.1.2 and port ftp

-And Finally to capture the password click here
Packets capture during a FTP connection. The FTP password can be easily intercepted because it is sent in clear text to the server.
We see in this capture the FTP username (amateur) and password (hosting).
You can use this incase you forget your ftp password and have stored it in your ftp client

Please note that this should not be used for any illegal and this blog will not be responsible for any actions that lead to illegal use

 
4 Comments

Posted by on November 8, 2010 in Centos, Fedora, Linux, Red hat, tools, Ubuntu

 

Tags: , , , , ,

Fedora Things to do after install

Now you have installed fedora, what next?
Well you can install the below packages to make more interesting and fun.

Yum
Yum is an interactive tool or automated update program which can be used for maintaining systems using rpm (read as RedHat and friends).

Fastest mirror plugin. This will look for the fastest mirror when updating yum.

yum install yum-fastestmirror

Presto Plugin. This will save you downloading a full upgrade of 551mb down to 100mb.

yum install yum-presto

Enable Additional repositories (rpm fusion).

rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm

rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

Enable Yakuake ,mc,pavucontrol, htop, unrar, checkgmail
* Yakuake – is a KDE terminal emulator. Its design was inspired from consoles in computer games such as Quake which slide down from the top. I like it.
* mc – GNU Midnight Commander is a visual file manager used in terminal/yakuake.
* Pavucontrol – PulseAudio Volume Control (pavucontrol) is a simple GTK based volume control tool (“mixer”) for the PulseAudio sound server. Skype mic refused to work and I had to use this tool.
* htop – an interactive process viewer for Linux.
* unrar – unpack RAR archives
* checkgmail – says it all. Alerts you when you have mail in your gmail account.

yum install yakuake mc pavucontrol htop unrar checkgmail

To play mp3’s and videos type

yum install mplayer smplayer vlc mencoder gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-ffmpeg xine-lib-extras xine-lib-extras-freeworld

Install the Adobe repository for yum:

rpm -Uvh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
Type:

yum install flash-plugin nspluginwrapper.{i386,x86_64} pulseaudio-libs.i386 alsa-plugins-pulseaudio.i386 libcurl.i386

Java
yum install java-1.6.0-openjdk-plugin

To downgrade from a current version of the package
yum install yum-allowdowngrade

To use it type:

su -c ‘yum update –allow-downgrade’

You can disable this plugin by changing the option enabled in the file:

su -c ‘gedit /etc/yum/pluginconf.d/allowdowngrade.conf’

Wine to run windows apps
yum install wine

Developer tools
It allows you to install single package or group of package. For example let us say you are running a web server with PHP+MySQL. Now you need complete development environment i.e gcc C/C++ compilers, subversion cvs, perl and related libraries. You can install them in one shot with the following command:
yum groupinstall 'Development Tools'

You can remove all developer tools with the following command:
yum groupremove 'Development Tools'

Or better update all tools to latest version:
yum groupupdate 'Development Tools'

You can obtain list of all groups with the following command:
yum grouplist | less

Install the below groups if you are a developer
yum groupinstall "Development Libraries" "Development Tools" Java "Fedora Eclipse" "Java Development" "KDE (K Desktop Environment)"

 
2 Comments

Posted by on April 5, 2010 in Fedora, Linux

 

Tags: ,

The best sites for linux users

http://bash.cyberciti.biz/guide/What_is_Linux_Shell

Linux
http://rute.2038bug.com/index.html.gz

 
Leave a comment

Posted by on January 18, 2010 in Internet

 

Tags:

Handy tools for webmasters

Well if you are just starting your website and you don’t know where to begin then   “thesitewizard.com” is for you.

It automatically generates codes for feedback forms and even helps you determine the hosting service provider.

Also if you website is hosted on a Linux sever then  the below site explains how to take advantage of the various features offered by the Apache Web Server so as to simplify your job as a webmaster.

http://www.htaccess-guide.com/

 
Leave a comment

Posted by on July 9, 2009 in Website

 

Tags: ,

 
%d bloggers like this: