[125003730010] |Automatically compile and install the latest kernel using KernelCheck in Ubuntu [125003730020] |KernelCheck is a project that is designed to easily build the latest kernel for your distribution using the instructions provided in the Master Kernel Thread . [125003730030] |This automated process is a fork of AutoKernel by Robert Wolterman (xtacocorex), Timothy Janssen (mentok), and Kristof Verbeken (PinguinZ). [125003730040] |KernelCheck is currently licensed under the GNU General Public License. [125003730050] |Current Features [125003730060] |* Ability to download, compile and install latest kernel automatically [125003730070] |* Ability to compare latest kernel information with your current running kernel [125003730080] |* GUI designed with Glade provides easy accessibility for any user [125003730090] |Supported Platforms [125003730100] |At the moment, KernelCheck is only supported on Debian-Based platforms. [125003730110] |Some of these include Debian, Ubuntu (or any derivatives), Mint, etc. [125003730120] |RPM and Slackware based are planned to be supported in the future. [125003730130] |Note:- This is only for advanced users.This was tested in Ubuntu Feisty and Gutsy [125003730140] |Installation Procedure [125003730150] |First you need to download KernelCheck latest version from here (kernelcheck 1.0.5 At the time of writing this article) [125003730160] |wget http://garr.dl.sourceforge.net/sourceforge/kcheck/kernelcheck-1.0.5.tar.gz [125003730170] |Unpack the archive using the following command [125003730180] |tar -xzf kernelcheck-1.0.5.tar.gz [125003730190] |Install KernelCheck [125003730200] |cd kernelcheck-* [125003730210] |sudo python setup.py install [125003730220] |Using Kernelcheck [125003730230] |KernelCheck can be used in a variety of ways, most commonly by opening a terminal and typing in [125003730240] |kernelcheck [125003730250] |If the program started correctly, a dialog box like the one below should appear [125003730260] |If you click yes, after a few moments one like the one below should appear [125003730270] |The ‘Build Latest Kernel’ button will download, compile, and install the latest stable kernel from kernel.org. [125003730280] |By selecting the checkbox ‘Apply prepatch instead of normal patch’, it will apply the listed prepatch (development). [125003730290] |The ‘Check for Program Updates’ button will go to the KernelCheck website and parse finger_banner2 for the latest version of KernelCheck. [125003730300] |If you are running the latest version, it will say so, and if you are not, it will ask you to update. [125003730310] |You can edit the /usr/bin/kernelcheck files to your needs, changing anything you like, because my program is under the GNU Public License Version 3 released June 2007. [125003740010] |Howto Connect to Windows VPN server (PPTP) with Ubuntu 7.10 (Gutsy Gibbon) [125003740020] |This tutorial will explain how to Connect to Windows VPN server (PPTP) with Ubuntu Gutsy.Ubuntu makes it simple to connect to a Microsoft Windows VPN server at your workplace with NetworkManager and the pptp plugin. [125003740030] |Install PPTP Using the following command [125003740040] |sudo aptitude install network-manager-pptp [125003740050] |killall nm-applet [125003740060] |sudo /etc/init.d/dbus restart [125003740070] |nm-applet --sm-disable [125003740080] |The above command do the following [125003740090] |install network-manager-pptp [125003740100] |restart NetworkManager daemon [125003740110] |restart nm-applet and begin configuring [125003740120] |If you are using kubuntu you need to install the following extra package [125003740130] |sudo aptitude install gnome-network-manager [125003740140] |Configure VPN [125003740150] |After restarting NetworkManager and nm-applet, a single click on the nm-applet should reveal a new option, VPN Connections. [125003740160] |Follow the menu, and select Configure VPN then Add a new connection. [125003740170] |Click Forward to begin the configuration. [125003740180] |Go ahead and name your connection, then enter the IP address or DNS hostname of the VPN gateway under the Connection tab. [125003740190] |Next, move to the Authentication tab and activate Refuse CHAP. [125003740200] |At this point, the basic configuration is complete. [125003740210] |I like to add one more step, however, to ensure that not all of my traffic is routed over the VPN. [125003740220] |This can be detrimental for performance. [125003740230] |If you’d rather limit your VPN traffic to a specific subnet, go ahead and execute the following: [125003740240] |Under the Routing tab, disable Peer DNS through tunnel (if desired) and enable the option to only use VPN connection for these addresses and enter your network subnet. [125003740250] |If the machines on your network use addresses like 192.168.100.X, use something like the following [125003740260] |That’s it You’re done. [125003740270] |To connect to the VPN, click the NetworkManager applet, and follow the menus to your newly configured connection. [125003740280] |Enter your username, password, and domain, and you should be connected to your VPN server. [125003750010] |How to make Gnome menus Faster in Ubuntu [125003750020] |If you want to make Gnome menus Faster in Ubuntu follow this procedure [125003750030] |You need to Edit the file /home/your_user_name/.gtkrc-2.0 file [125003750040] |$gedit /home/your_user_name/.gtkrc-2.0 [125003750050] |add the following line [125003750060] |gtk-menu-popup-delay = 100 [125003750070] |or [125003750080] |gtk-menu-popup-delay = 0 [125003750090] |100 for 100 ms [125003750100] |0 for 0 ms [125003750110] |Save and exit the file. [125003750120] |or [125003750130] |echo “gtk-menu-popup-delay = 0″ >>~/.gtkrc-2.0 [125003750140] |Now you need to Log off and log back in. [125003750150] |You can also try to get the icons cached in memory at startup [125003750160] |echo “find /usr/share/pixmaps/ | xargs cat >/dev/null” >>~/mystart [125003750170] |echo “find /usr/share/icons/Human/ | xargs cat >/dev/null” >>~/mystart [125003750180] |chmod +x ~/mystart [125003750190] |Then add it as startup to gnome (System -> Settings -> Sessions -> Add, and write “~/mystart”) [125003760010] |List of Security Tools Available in Ubuntu [125003760020] |The Ubuntu repositories contain several useful tools for maintaining a secure network and network administration.This security tools include network scanning,attack detection,Virus Detection etc. [125003760030] |1) Wireshark - network traffic analyzer [125003760040] |Wireshark is a network traffic analyzer, or “sniffer”, for Unix and Unix-like operating systems. [125003760050] |A sniffer is a tool used to capture packets off the wire. [125003760060] |Wireshark decodes numerous protocols (too many to list).This package provides wireshark (the GTK+ version) [125003760070] |Install Wireshark in Ubuntu [125003760080] |sudo aptitude install wireshark [125003760090] |2) Nessus - Remote network security auditor [125003760100] |The Nessus® vulnerability scanner, is the world-leader in active scanners, featuring high speed discovery, configuration auditing, asset profiling, sensitive data discovery and vulnerability analysis of your security posture. [125003760110] |Nessus scanners can be distributed throughout an entire enterprise, inside DMZs, and across physically separate networks. [125003760120] |Install nessus in ubuntu [125003760130] |sudo aptitude install nessus [125003760140] |3) Nmap - The Network Mapper [125003760150] |Nmap (“Network Mapper”) is a free and open source (license) utility for network exploration or security auditing. [125003760160] |Many systems and network administrators also find it useful for tasks such as network inventory, managing service upgrade schedules, and monitoring host or service uptime. [125003760170] |Nmap uses raw IP packets in novel ways to determine what hosts are available on the network, what services (application name and version) those hosts are offering, what operating systems (and OS versions) they are running, what type of packet filters/firewalls are in use, and dozens of other characteristics. [125003760180] |It was designed to rapidly scan large networks, but works fine against single hosts. [125003760190] |Nmap runs on all major computer operating systems, and both console and graphical versions are available. [125003760200] |Install nmap ubuntu [125003760210] |sudo aptitude install nmap [125003760220] |If you want nmap frontend install the following package [125003760230] |sudo aptitude install zenmap [125003760240] |4) Etherape - graphical network monitor modeled after etherman [125003760250] |EtherApe is a graphical network monitor for Unix modeled after etherman. [125003760260] |Featuring link layer, ip and TCP modes, it displays network activity graphically. [125003760270] |Hosts and links change in size with traffic. [125003760280] |Color coded protocols display.It supports Ethernet, FDDI, Token Ring, ISDN, PPP and SLIP devices. [125003760290] |It can filter traffic to be shown, and can read traffic from a file as well as live from the network. [125003760300] |Install Etherape in ubuntu [125003760310] |sudo aptitude install etherape [125003760320] |5) Kismet - Wireless 802.11b monitoring tool [125003760330] |Kismet is an 802.11 layer2 wireless network detector, sniffer, and intrusion detection system. [125003760340] |Kismet will work with any wireless card which supports raw monitoring (rfmon) mode, and can sniff 802.11b, 802.11a, and 802.11g traffic. [125003760350] |Kismet identifies networks by passively collecting packets and detecting standard named networks, detecting (and given time, decloaking) hidden networks, and infering the presence of nonbeaconing networks via data traffic. [125003760360] |Install Kismet in ubuntu [125003760370] |sudo aptitude install kismet [125003760380] |6) Chkrootkit - Checks for signs of rootkits on the local system [125003760390] |chkrootkit identifies whether the target computer is infected with a rootkit. [125003760400] |Some of the rootkits that chkrootkit identifies are: [125003760410] |1. lrk3, lrk4, lrk5, lrk6 (and some variants); 2. [125003760420] |Solaris rootkit; 3. [125003760430] |FreeBSD rootkit; 4. t0rn (including latest variant); 5. Ambient’s Rootkit for Linux (ARK); 6. [125003760440] |Ramen Worm; 7. rh[67]-shaper; 8. [125003760450] |RSHA; 9. [125003760460] |Romanian rootkit; 10. [125003760470] |RK17; 11. [125003760480] |Lion Worm; 12. [125003760490] |Adore Worm. [125003760500] |Please note that this is not a definitive test, it does not ensure that the target has not been cracked. [125003760510] |In addition to running chkrootkit, one should perform more specific tests. [125003760520] |Install chkrootkit in ubuntu [125003760530] |sudo aptitude install chkrootkit [125003760540] |7) Rkhunter - rootkit, backdoor, sniffer and exploit scanner [125003760550] |Rootkit Hunter scans systems for known and unknown rootkits, backdoors, sniffers and exploits. [125003760560] |It checks for: [125003760570] |- MD5 hash changes; [125003760580] |- files commonly created by rootkits; [125003760590] |- executables with anomalous file permissions; [125003760600] |- suspicious strings in kernel modules; [125003760610] |- hidden files in system directories; [125003760620] |and can optionally scan within files. [125003760630] |Using rkhunter alone does not guarantee that a system is not compromised. [125003760640] |Running additional tests, such as chkrootkit, is recommended. [125003760650] |Install rkhunter in ubuntu [125003760660] |sudo aptitude install rkhunter [125003760670] |tiger - Report system security vulnerabilities [125003760680] |TIGER, or the ‘tiger’ scripts, is a set of Bourne shell scripts, C programs and data files which are used to perform a security audit of UNIX systems. [125003760690] |TIGER has one primary goal: report ways ‘root’ can be compromised.Debian’s TIGER incorporates new checks primarily oriented towards Debian distribution including: md5sums checks of installed files, location of files not belonging to packages, check of security advisories and analysis of local listening processes. [125003760700] |Install tiger in ubuntu [125003760710] |sudo aptitude install tiger [125003760720] |9) GnuPG - GNU privacy guard [125003760730] |GnuPG is GNU’s tool for secure communication and data storage. [125003760740] |It can be used to encrypt data and to create digital signatures. [125003760750] |It includes an advanced key management facility and is compliant with the proposed OpenPGP Internet standard as described in RFC2440.GnuPG does not use any patented algorithms so it cannot be compatible with PGP2 because it uses IDEA (which is patented worldwide). [125003760760] |Install gnupg in Ubuntu [125003760770] |sudo aptitude install gnupg [125003760780] |If you want gnupg GUI tool use this [125003760790] |Seahorse - A Gnome front end for GnuPG [125003760800] |Seahorse is a GNOME application for managing encryption keys. [125003760810] |It also integrates with nautilus, gedit and other places for encryption operations. [125003760820] |Install seahorse in ubuntu [125003760830] |sudo aptitude install seahorse [125003760840] |10) Nemesis - TCP/IP Packet Injection Suite [125003760850] |Nemesis is a command-line network packet crafting and injection utility for UNIX-like and Windows systems. [125003760860] |Nemesis, is well suited for testing Network Intrusion Detection Systems, firewalls, IP stacks and a variety of other tasks. [125003760870] |As a command-line driven utility, Nemesis is perfect for automation and scripting. [125003760880] |Nemesis can natively craft and inject ARP, DNS, ETHERNET, ICMP, IGMP, IP, OSPF, RIP, TCP and UDP packets. [125003760890] |Using the IP and the Ethernet injection modes, almost any custom packet can be crafted and injected. [125003760900] |Install nemesis in ubuntu [125003760910] |sudo aptitude install nemesis [125003760920] |11) Tcpdump - A powerful tool for network monitoring and data acquisition [125003760930] |This program allows you to dump the traffic on a network. tcpdump is able to examine IPv4, ICMPv4, IPv6, ICMPv6, UDP, TCP, SNMP, AFS BGP, RIP, PIM, DVMRP, IGMP, SMB, OSPF, NFS and many other packet types. [125003760940] |It can be used to print out the headers of packets on a network interface, filter packets that match a certain expression. [125003760950] |You can use this tool to track down network problems, to detect “ping attacks” or to monitor network activities. [125003760960] |Install tcpdump in ubuntu [125003760970] |sudo aptitude install tcpdump [125003760980] |12) OpenSSH - secure shell server [125003760990] |This is the portable version of OpenSSH, a free implementation of the Secure Shell protocol as specified by the IETF secsh working group.Ssh (Secure Shell) is a program for logging into a remote machine and for executing commands on a remote machine. [125003761000] |It provides secure encrypted communications between two untrusted hosts over an insecure network. [125003761010] |X11 connections and arbitrary TCP/IP ports can also be forwarded over the secure channel. [125003761020] |It is intended as a replacement for rlogin, rsh and rcp, and can be used to provide applications with a secure communication channel.This package provides the sshd server. [125003761030] |In some countries it may be illegal to use any encryption at all without a special permit. [125003761040] |Install Openssh server in ubuntu [125003761050] |sudo aptitude install openssh-server [125003761060] |13) Denyhosts - an utility to help sys admins thwart ssh hackers [125003761070] |DenyHosts is a program that automatically blocks ssh brute-force attacks by adding entries to /etc/hosts.deny. [125003761080] |It will also inform Linux administrators about offending hosts, attacked users and suspicious logins.Syncronization with a central server is possible too. [125003761090] |Differently from other software that do same work, denyhosts doesn’t need support for packet filtering or any other kind of firewall in your kernel [125003761100] |Install Denyhosts server in ubuntu [125003761110] |sudo aptitude install denyhosts [125003761120] |14) Snort - Flexible Network Intrusion Detection System [125003761130] |Snort is a libpcap-based packet sniffer/logger which can be used as a lightweight network intrusion detection system. [125003761140] |It features rules based logging and can perform content searching/matching in addition to being used to detect a variety of other attacks and probes, such as buffer overflows, stealth port scans, CGI attacks, SMB probes, and much more. [125003761150] |Snort has a real-time alerting capability, with alerts being sent to syslog, a separate “alert” file, or even to a Windows computer via Samba. [125003761160] |This package provides the plain-vanilla snort distribution and does not provide database (available in snort-pgsql and snort-mysql) support. [125003761170] |Install snort in ubuntu [125003761180] |sudo aptitude install snort [125003761190] |15) Firestarter - gtk program for managing and observing your firewall [125003761200] |Firestarter is a complete firewall tool for Linux machines. [125003761210] |It features an easy to use firewall wizard to quickly create a firewall. [125003761220] |Using the program you can then open and close ports with a few clicks, or stealth your machine giving access only to a select few. [125003761230] |The real-time hit monitor shows attackers probing your machine. [125003761240] |Install firestarter in ubuntu [125003761250] |sudo aptitude install firestarter [125003761260] |16) clamav - anti-virus utility for Unix - command-line interface [125003761270] |Clam AntiVirus is an anti-virus toolkit for Unix. [125003761280] |The main purpose of this software is the integration with mail servers (attachment scanning). [125003761290] |The package provides a flexible and scalable multi-threaded daemon in the clamav-daemon package, a command-line scanner in the clamav package, and a tool for automatic updating via the Internet in the clamav-freshclam package. [125003761300] |The programs are based on libclamav3, which can be used by other software. [125003761310] |This package contains the command line interface. [125003761320] |Features: [125003761330] |- built-in support for various archive formats, including Zip, RAR, Tar, Gzip, Bzip2, OLE2, Cabinet, CHM, BinHex, SIS and others; [125003761340] |- built-in support for almost all mail file formats; [125003761350] |- built-in support for ELF executables and Portable Executable files compressed with UPX, FSG, Petite, NsPack, wwpack32, MEW, Upack and obfuscated with SUE, Y0da Cryptor and others; [125003761360] |- built-in support for popular document formats including Microsoft Office and Mac Office files, HTML, RTF and PDF. [125003761370] |For scanning to work, a virus database is needed. [125003761380] |There are two options for getting it: [125003761390] |- clamav-freshclam: updates the database from Internet. [125003761400] |This is recommended with Internet access. [125003761410] |- clamav-data: for users without Internet access. [125003761420] |The package is not updated once installed. [125003761430] |The clamav-getfiles package allows creating custom packages from an Internet-connected computer. [125003761440] |Install Clamav in ubuntu [125003761450] |sudo aptitude install clamav [125003761460] |17) Ettercap - Multipurpose sniffer/interceptor/logger for switched LAN [125003761470] |Ettercap supports active and passive dissection of many protocols (even ciphered ones) and includes many feature for network and host analysis.Data injection in an established connection and filtering (substitute or drop a packet) on the fly is also possible, keeping the connection synchronized. [125003761480] |Many sniffing modes were implemented to give you a powerful and complete sniffing suite. [125003761490] |It’s possible to sniff in four modes: IP Based, MAC Based, ARP Based (full-duplex) and PublicARP Based (half-duplex). [125003761500] |It has the ability to check whether you are in a switched LAN or not, and to use OS fingerprints (active or passive) to let you know the geometry of the LAN. [125003761510] |Install ettercap in ubuntu [125003761520] |sudo aptitude install ettercap [125003761530] |If you want to install ettercap GUI install following package [125003761540] |sudo aptitude install ettercap-gtk [125003761550] |18) Netcat - TCP/IP swiss army knife [125003761560] |A simple Unix utility which reads and writes data across network connections using TCP or UDP protocol. [125003761570] |It is designed to be a reliable “back-end” tool that can be used directly or easily driven by other programs and scripts. [125003761580] |At the same time it is a feature-rich network debugging and exploration tool, since it can create almost any kind of connection you would need and has several interesting built-in capabilities. [125003761590] |Install netcat in ubuntu [125003761600] |sudo aptitude install netcat [125003761610] |19) MTR - mtr combines the functionality of the ‘traceroute’ and ‘ping’ programs in a single network diagnostic tool. [125003761620] |As mtr starts, it investigates the network connection between the host mtr runs on and a user-specified destination host. [125003761630] |After it determines the address of each network hop between the machines, it sends a sequence ICMP ECHO requests to each one to determine the quality of the link to each machine. [125003761640] |As it does this, it prints running statistics about each machine. [125003761650] |Install mtr in ubuntu [125003761660] |Download .deb package from here [125003761670] |dpkg -i mtr_0.39-1.deb [125003761680] |20) Hping3 - Active Network Smashing Tool [125003761690] |hping3 is a network tool able to send custom ICMP/UDP/TCP packets and to display target replies like ping does with ICMP replies. [125003761700] |It handles fragmentation and arbitrary packet body and size, and can be used to transfer files under supported protocols. [125003761710] |Using hping3, you can test firewall rules, perform (spoofed) port scanning, test network performance using different protocols, do path MTU discovery, perform traceroute-like actions under different protocols, fingerprint remote operating systems, audit TCP/IP stacks, etc. hping3 is scriptable using the TCL language. [125003761720] |Install hping3 in ubuntu [125003761730] |sudo aptitude install hping3 [125003761740] |21) ngrep - grep for network traffic [125003761750] |ngrep strives to provide most of GNU grep’s common features, applying them to the network layer. ngrep is a pcap-aware tool that will allow you to specify extended regular expressions to match against data payloads of packets. [125003761760] |It currently recognizes TCP, UDP and ICMP across Ethernet, PPP, SLIP and null interfaces, and understands bpf filter logic in the same fashion as more common packet sniffing tools, such as tcpdump and snoop. [125003761770] |Install ngrep in ubuntu [125003761780] |sudo aptitude install ngrep [125003761790] |22) john - active password cracking tool [125003761800] |john, mostly known as John the Ripper, is a tool designed to help systems administrators to find weak (easy to guess or crack through brute force) passwords, and even automatically mail users warning them about it, if it is desired. [125003761810] |It can also be used with different cyphertext formats, including Unix’s DES and MD5, Kerberos AFS passwords, Windows’ LM hashes, BSDI’s extended DES, and OpenBSD’s Blowfish. [125003761820] |Install john in ubuntu [125003761830] |sudo aptitude install john [125003761840] |23) tcptrace - Tool for analyzing tcpdump output [125003761850] |Tcptrace is a tool for analyzing and reporting on tcpdump (or other libpcap) dump files. [125003761860] |It can summarize the data or generate graph data for use with the gnuplot tool from the gnuplot package. [125003761870] |Graph data can be created for throughput, RTT, time sequences, segment size, and cwin. [125003761880] |Install tcptrace in ubuntu [125003761890] |sudo aptitude install tcptrace [125003761900] |24) netdude - NETwork DUmp data Displayer and Editor for tcpdump trace files [125003761910] |It is a GUI-based tool that allows you to make detailed changes to packets in tcpdump trace files, in particular, it can currently do the following: [125003761920] |* Set the value of any field in IP, TCP and UDP packet headers. [125003761930] |* Copy, move and delete packets in the trace file. [125003761940] |* Fragment and reassemble IP packets. [125003761950] |* Netdude constantly communicates with a tcpdump process to update the familiar tcpdump output that corresponds to the trace. [125003761960] |This also means that any changes made to your local version of tcpdump are reflected in Netdude. [125003761970] |* Plugin architecture: people can easily add plugins for specific tasks. [125003761980] |The code comes with a plugin for checksum correction in IP, TCP and UDP, and a dummy plugin. [125003761990] |* Through the plugin mechanism, Netdude provides a good facility for writing tcpdump trace file filters. [125003762000] |Install netdude in ubuntu [125003762010] |sudo aptitude install netdude [125003762020] |25) tcpreplay - Tool to replay saved tcpdump files at arbitrary speeds [125003762030] |Tcpreplay is aimed at testing the performance of a NIDS by replaying real background network traffic in which to hide attacks. [125003762040] |Tcpreplay allows you to control the speed at which the traffic is replayed, and can replay arbitrary tcpdump traces. [125003762050] |Unlike programmatically-generated artificial traffic which doesn’t exercise the application/protocol inspection that a NIDS performs, and doesn’t reproduce the real-world anomalies that appear on production networks (asymmetric routes, traffic bursts/lulls, fragmentation, retransmissions, etc.), tcpreplay allows for exact replication of real traffic seen on real networks. [125003762060] |Install tcpreplay in ubuntu [125003762070] |sudo aptitude install tcpreplay [125003762080] |26) Dsniff - Various tools to sniff network traffic for cleartext insecurities [125003762090] |This package contains several tools to listen to and create network traffic: [125003762100] |* arpspoof - Send out unrequested (and possibly forged) arp replies. [125003762110] |* dnsspoof - forge replies to arbitrary DNS address / pointer queries on the Local Area Network. [125003762120] |* dsniff - password sniffer for several protocols. [125003762130] |* filesnarf - saves selected files sniffed from NFS traffic. [125003762140] |* macof - flood the local network with random MAC addresses. [125003762150] |* mailsnarf - sniffs mail on the LAN and stores it in mbox format. [125003762160] |* msgsnarf - record selected messages from different Instant Messengers. [125003762170] |* sshmitm - SSH monkey-in-the-middle. proxies and sniffs SSH traffic. [125003762180] |* sshow - SSH traffic analyser. [125003762190] |* tcpkill - kills specified in-progress TCP connections. [125003762200] |* tcpnice - slow down specified TCP connections via “active” traffic shaping. [125003762210] |* urlsnarf - output selected URLs sniffed from HTTP traffic in CLF. [125003762220] |* webmitm - HTTP / HTTPS monkey-in-the-middle. transparently proxies. [125003762230] |* webspy - sends URLs sniffed from a client to your local browser (requires libx11-6 installed). [125003762240] |Install dsniff ubuntu [125003762250] |sudo aptitude install dsniff [125003762260] |27) scapy - Packet generator/sniffer and network scanner/discovery [125003762270] |Scapy is a powerful interactive packet manipulation tool, packet generator, network scanner, network discovery, packet sniffer, etc. [125003762280] |It can for the moment replace hping, 85% of nmap, arpspoof, arp-sk, arping, tcpdump, tethereal, p0f, …. [125003762290] |In scapy you define a set of packets, then it sends them, receives answers, matches requests with answers and returns a list of packet couples (request, answer) and a list of unmatched packets. [125003762300] |This has the big advantage over tools like nmap or hping that an answer is not reduced to (open/closed/filtered), but is the whole packet. [125003762310] |Install scapy in ubuntu [125003762320] |sudo aptitude install scapy [125003762330] |28) Ntop - display network usage in top-like format [125003762340] |ntop is a Network Top program. [125003762350] |It displays a summary of network usage by machines on your network in a format reminiscent of the unix top utility.It can also be run in web mode, which allows the display to be browsed with a web browser. [125003762360] |Install ntop in ubuntu [125003762370] |sudo aptitude install ntop [125003762380] |29) NBTscan - A program for scanning networks for NetBIOS name information [125003762390] |NBTscan is a program for scanning IP networks for NetBIOS name information. [125003762400] |It sends NetBIOS status query to each address in supplied range and lists received information in human readable form. [125003762410] |For each responded host it lists IP address, NetBIOS computer name, logged-in user name and MAC address (such as Ethernet). [125003762420] |Install nbtscan in ubuntu [125003762430] |sudo aptitude install nbtscan [125003762440] |30) tripwire - file and directory integrity checker [125003762450] |Tripwire is a tool that aids system administrators and users in monitoring a designated set of files for any changes. [125003762460] |Used with system files on a regular (e.g., daily) basis, Tripwire can notify system administrators of corrupted or tampered files, so damage control measures can be taken in a timely manner. [125003762470] |Install tripwire ubuntu [125003762480] |sudo aptitude install tripwire [125003770010] |How to Cut MP3 files under Ubuntu [125003770020] |If you want to cut MP3 files under Ubuntu,follow this instructions first you need to install poc-streamer package.poc is a suite of MP3 tools and MP3 streaming programs. [125003770030] |It can stream MP3s over HTTP, RTP multicast (RFC 2250 and RFC 3119) and a special multicast protocol to enable the use of Forward Error Correction to protect the MP3 stream against packet loss. [125003770040] |It can also stream OGGs over HTTP. [125003770050] |In addition to the streaming programs, poc contains two MP3 tools: mp3cue and mp3cut. mp3cue can cut a big MP3 file according to a tracklisting contained in a .cue file. mp3cut can split and concatenate MP3 files according to time slices given on the command line. mp3cut cuts MP3 files on ADU (autonomous data units) frames to ensure best quality. [125003770060] |Install poc streamer package using the following command [125003770070] |sudo apt-get install poc-streamer [125003770080] |This will complete the installation. [125003770090] |Using mp3cut [125003770100] |It contains a utility mp3cut [125003770110] |mp3cut Syntax [125003770120] |mp3cut [ -o outputfile ] [ -T title ] [ -A artist ] [ -N album-name ] [ -t [hh:]mm:ss[+ms]-[hh:]mm:ss[+ms] ] mp3file [[ -t … ] mp3file1 …] [125003770130] |mp3cut examples [125003770140] |The following examples cuts a 120 minute MP3 in 2 parts where the first file will be 70 min long [125003770150] |$ mp3cut -o output1.mp3 -t 00:00+000-01:10:00+000 input.mp3 Writing to output1.mp3 Extracting 00:00:00+000-01:10:00+000 from input.mp3 output1.mp3 written . $ mp3cut -o output2.mp3 -t 01:10:00+000 input.mp3 Writing to output2.mp3 Extracting 01:10:00+000-00:00:00+000 from input.mp3 output2.mp3 written [125003780010] |Upgrade Ubuntu 7.10 (Gutsy Gibbon) to Ubuntu 8.04 LTS (Hardy Heron) [125003780020] |Ubuntu 8.04 LTS is the Latest stable version of the Ubuntu operating system. [125003780030] |The common name given to this release from the time of its early development was “Hardy Heron”. [125003780040] |If you want to know what are new features in this release check here [125003780050] |Upgrade from 7.10 to 8.04 LTS follow this procedure [125003780060] |Before you start Upgrading you need to know the following points [125003780070] |
  • You need to make sure you have complete backup of your machine
  • [125003780080] |
  • Be sure that you have all updates applied to your current version of Ubuntu before you upgrade.
  • [125003780090] |Now you need to Press Alt-F2 and type update-manager -d Click on Run. [125003780100] |or [125003780110] |Go to System -> Administration -> Update Manager [125003780120] | [125003780130] |Starting Update Manager in Progress [125003780140] |Now you can see New Distribution release 8.04 is available for upgrade click on upgrade [125003780150] |This will show you Ubuntu 8.04 Hardy Heron Release notes click on upgrade [125003780160] |Now it will prompt for root password enter your root password click ok [125003780170] |Preparing for upgrade in progress [125003780180] |If you are using any third party sources in your /etc/apt/sources.list file it will be disabled at the time of upgrade process click close [125003780190] |If you have any unsupported libs installed in your machine you can see similar to the following screen click close [125003780200] |Starting the upgrade process window click on Start Upgrade [125003780210] |Downloading the new Packages in Progress [125003780220] |After downloading this will start the installation of packages if you have more than one display managers installed this will prompt you to choose your default display manager and click Forward [125003780230] |Installing Packages in Progress [125003780240] |Installing Packages in Progress in Terminal [125003780250] |If you have installed any applications this will prompt for you to restart the services with new libs click forward [125003780260] |Cleaning Up process in Progress [125003780270] |You need to restart the system to complete the Upgrade by clicking “Restart Now” [125003780280] |Testing Your Upgrade [125003780290] |You can check the ubuntu version installed using the following command [125003780300] |sudo lsb_release -a [125003790010] |Screenlets work with Compiz widget layer in Ubuntu Gutsy [125003790020] |Screenlets are small owner-drawn applications (written in Python) that can be described as “the virtual representation of things lying/standing around on your desk”. [125003790030] |Sticknotes, clocks, rulers, …the possibilities are endless. [125003790040] |The goal of the Screenlets base-classes is to simplify the creation of fully themeable mini-apps that each solve basic desktop-work-related needs and generally improve the usability and eye-candy of the modern composited Linux-desktop. [125003790050] |Screenlets Features [125003790060] |Real applications, no HTML-”widgets” [125003790070] |Easy to use, easy to develop [125003790080] |Full compositing support [125003790090] |Works with any composited X desktop (compiz, xfce4, …) [125003790100] |Included themeing-abilities (SVG, PNG or mixed) [125003790110] |Fully scalable when using SVGs [125003790120] |Embedded drag drop-support [125003790130] |Automated storing of options (using ini or gconf) [125003790140] |Controllable through customizable DBus-service [125003790150] |Can be used together with compiz’ widget-plugin to create a Dashboard-like feature as seen on OS X [125003790160] |Free, open-source and released under the GPL [125003790170] |Uses cairo and GTK2 for drawing and windowing [125003790180] |Install Screenlets in Ubuntu [125003790190] |sudo su -c ‘echo deb http://hendrik.kaju.pri.ee/ubuntu gutsy screenlets >>/etc/apt/sources.list’ [125003790200] |wget http://hendrik.kaju.pri.ee/ubuntu/hendrikkaju.gpg -O- | sudo apt-key add - [125003790210] |Update the source list [125003790220] |sudo apt-get update [125003790230] |Install screenlets [125003790240] |sudo apt-get install screenlets [125003790250] |mkdir ~/.config/Screenlets [125003790260] |mkdir ~/.config/autostart [125003790270] |Then start CCSM (System--->Preferences--->Advanced Desktop Effect Settings), enable the “Regex Matching”-plugin and the “Widget Layer”-plugin. [125003790280] |Click on the Widget Layer plugin and choose the “Behaviour”-tab. [125003790290] |In the “Widget Windows”-box enter “name=Screenlet.py” (Without quotes). [125003790300] |Now start screenlets manager and add some screenlets. [125003790310] |Press F9 to toggle the widget layer. [125003800010] |Fix for firefox crashes on flash contents when using libflashsupport in hardy [125003800020] |If you start using Firefox 3 with Flash, odds are good that you’ll experience Firefox crashing every few minutes while loading Flash. [125003800030] |It seems Pulseaudio (Hardy’s new sound system) is triggering a bug in Flashplayer, which causes Firefox to crash. [125003800040] |Since Flash is closed-source software, there’s no chance Ubuntu is able to fix the problem in time for Hardy Heron’s release. [125003800050] |Solution [125003800060] |First you need to download and Install nspluginwrapper from here [125003800070] |Now you need to install libflashsupport using the following command [125003800080] |sudo apt-get install libflashsupport [125003800090] |Now Run the following commands [125003800100] |sudo apt-get remove --purge flashplugin-nonfree [125003800110] |sudo apt-get install flashplugin-nonfree [125003800120] |Now you need to Restart firefox [125003810010] |Fix your laptops brightness function keys operating properly in Hardy [125003810020] |If you recently installed Ubuntu Hardy Heron 8.04 and discovered that your laptops function keys are not properly adjusting the brightness. [125003810030] |In essence, you are pressing the key combination and nothing is happening try this fix. [125003810040] |Before doing any changes you need to take backup of existing files [125003810050] |Now you need to download the following files in /etc/acpi/ directory [125003810060] |Download video_brightnessup.sh from here [125003810070] |Download video_brightnessdown.sh from here [125003810080] |After replacing these scripts [125003810090] |No reboot or logout required, simply press your function combination on your laptop to change brightness. [125003810100] |Try to press FN + Up/Down Arrow. [125003810110] |Credit goes to AaronMT [125003820010] |Howto check NHL or MLB Baseball and NBA scores from the command line [125003820020] |If you are baseball lover and you want to check the baseball scores for your favourite team score from command line use the following procedure. [125003820030] |Lynx is a fully-featured World Wide Web (WWW) client for users running cursor-addressable, character-cell display devices (e.g., vt100 terminals, vt100 emulators running on PCs or Macs, or any other “curses-oriented” display). [125003820040] |It will display hypertext markup language (HTML) documents containing links to files residing on the local system, as well as files residing on remote systems running Gopher, HTTP, FTP, WAIS, and NNTP servers. [125003820050] |Install lynx command line browser [125003820060] |sudo aptitude install lynx [125003820070] |Now you need to use the following command [125003820080] |For MLB Scores [125003820090] |lynx -nonumbers -dump http://scores.espn.go.com/mlb/scoreboard | egrep -i -A12 -B2 Texas [125003820100] |You need to replace Texas with the team you want to watch [125003820110] |For NHL Scores [125003820120] |lynx -nonumbers -dump http://scores.espn.go.com/nhl/scoreboard | egrep -i -A12 -B2 Detroit [125003820130] |You need to replace Detroit with the team you want to watch [125003820140] |For NBA Scores [125003820150] |lynx -nonumbers -dump http://scores.espn.go.com/nba/scoreboard | egrep -i -A12 -B2 Dallas You need to replace Dallas with the team you want to watch [125003830010] |Install Mplayer and Multimedia Codecs (libdvdcss2,w32codecs,w64codecs) in Ubuntu 8.04 (Hardy Heron) [125003830020] |MPlayer is a movie and animation player that supports a wide range of codecs and file formats, including MPEG 1/2/4,DivX 3/4/5, Windows Media 7/8/9, RealAudio/Video up to 9, Quicktime 5/6, and Vivo 1/2. [125003830030] |It has many MX/SSE (2)/3Dnow(Ex) optimized native audio and video codecs, but allows using XAnim’s and RealPlayer’s binary codec plugins, and Win32 codec DLLs. [125003830040] |It has basic VCD/DVD playback functionality, including DVD subtitles, but supports many text- based subtitle formats too. [125003830050] |For video output, nearly every existing interface is supported. [125003830060] |It’s also able to convert any supported files to raw/divx/mpeg4 AVI (pcm/mp3 audio), and even video grabbing from V4L devices. [125003830070] |Install Mplayer in Ubuntu Hardy Heron [125003830080] |You need to add the following lines to /etc/apt/sources.list file or you need to make sure you have enabled Universe and multiverse repositories in /etc/apt/sources.list file [125003830090] |sudo gedit /etc/apt/sources.list [125003830100] |Make sure you have the following two lines save and exit your file [125003830110] |deb http://archive.ubuntu.com/ubuntu hardy universe multiverse deb-src http://archive.ubuntu.com/ubuntu hardy universe multiverse [125003830120] |Now you need to run the following command to update the source list [125003830130] |sudo apt-get update [125003830140] |Install mplayer using the following command [125003830150] |sudo apt-get install mplayer [125003830160] |if you want to open mplayer just type [125003830170] |gmplayer [125003830180] |or [125003830190] |You can Open from Applications—>Sound Video—> Mplayer Movie Player [125003830200] |Install libdvdcss2 and w32 video codecs in Ubuntu 8.04 (Hardy Heron) [125003830210] |Support for WMV, RealMedia and other formats has been bundled into the w32codecs package. [125003830220] |This package is not available from the Ubuntu repositories due to licensing and legal restrictions. [125003830230] |For Ubuntu 8.04 (Hardy Heron) Users run the following command [125003830240] |sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list [125003830250] |Then, add the GPG Key using the following commands [125003830260] |sudo apt-get update [125003830270] |sudo apt-get install medibuntu-keyring [125003830280] |sudo apt-get update [125003830290] |For i386 Users install Codecs using the following command [125003830300] |sudo apt-get install w32codecs libdvdcss2 [125003830310] |For amd64 Users install Codecs using the following command [125003830320] |sudo apt-get install w64codecs libdvdcss2 [125003830330] |Using above download locations you can install most of the mutimedia codecs for ubuntu. [125003830340] |Mplayer Plugin for Firefox [125003830350] |If you want to install Mplayer with plug-in for Mozilla Firefox run the following command [125003830360] |sudo apt-get install mozilla-mplayer [125003840010] |Wicd - Wired and Wireless Network manager for Ubuntu [125003840020] |Wicd is an open source wired and wireless network manager for Linux which aims to provide a simple interface to connect to networks with a wide variety of settings. [125003840030] |Wicd’s features [125003840040] |
  • No Gnome dependencies (although it does require GTK), so it is easy to use in XFCE, Fluxbox, Openbox, Enlightenment, etc.
  • [125003840050] |
  • Ability to connect to wired and wireless networks
  • [125003840060] |
  • Profiles for each wireless network and wired network
  • [125003840070] |
  • Many encryption schemes, some of which include WEP/WPA/WPA2
  • [125003840080] |
  • Remains compatible with wireless-tools
  • [125003840090] |
  • Tray icon showing network activity and signal strength
  • [125003840100] |Installing Wicd in Ubuntu [125003840110] |First you need to edit the /etc/apt/sources.list file [125003840120] |sudo gedit /etc/apt/sources.list [125003840130] |Add the following line for gutsy user [125003840140] |deb http://apt.wicd.net gutsy extras [125003840150] |Add the following line for hardy user [125003840160] |deb http://apt.wicd.net hardy extras [125003840170] |Save and exit the file [125003840180] |where gutsy is your version of Ubuntu in lowercase (dapper, edgy, feisty, gutsy, hardy). [125003840190] |Now you need to update the source list using the following command [125003840200] |sudo aptitude update [125003840210] |Install wicd using the following command [125003840220] |sudo aptitude install wicd [125003840230] |Please note that this will remove network-manager, which is the default GNOME network manager and may cause loss of network connection temporarily. [125003840240] |In GNOME, to get the tray icon to automatically appear at boot, go to System >Preferences >Sessions. [125003840250] |In the “Startup Programs” tab, click the “New” button. [125003840260] |Give it a name (“Wicd” works fine). [125003840270] |For the command, enter “/opt/wicd/tray.py”. [125003840280] |Using Wicd [125003840290] |To use wicd, launch it from the Application menu; for example, Applications -> Internet -> wicd in GNOME. [125003840300] |In the wicd program window you’ll see a list of the wireless networks that the software has detected. [125003840310] |Wicd doesn’t always pick up all of the networks that are in range when it starts; click the Refresh icon on tool bar to get a full list. [125003840320] |From there, click the Connect link beneath the name of the network that you want to use. [125003840330] |After a few seconds, you should be connected the network. [125003840340] |If the network is encrypted, you need to do a little more work. [125003840350] |Wicd supports the following encryption schemes: WPA, WEP, LEAP, TTLS, EAP, and PEAP. [125003840360] |Click the arrow beside the name of the encrypted network to which you want to connect, then click Advanced Settings. [125003840370] |From there, click the Use Encryption checkbox, select an encryption method from the dropdown list, and enter the required password in the Key field. [125003850010] |Atheros AR5007 wireless with madwifi on Ubuntu 8.04 (Hardy heron) [125003850020] |If you have Atheros AR5007 wireless network adapter follow this procedure to make it work in ubuntu 8.04 [125003850030] |For i386 Users [125003850040] |First go to System-->Administration-->Hardware Drivers” and disable by un-ticking the following option [125003850050] |Atheros Hardware Access Layer (Hal) [125003850060] |Then Reboot your system. [125003850070] |Preparing your system [125003850080] |sudo apt-get install build-essential [125003850090] |Then open the terminal from Applications-->Accessories-->Terminal and copy the following command [125003850100] |wget http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz [125003850110] |tar xfz madwifi-ng-r2756+ar5007.tar.gz [125003850120] |cd madwifi-ng-r2756+ar5007 [125003850130] |make [125003850140] |sudo make install [125003850150] |sudo modprobe ath_pci [125003850160] |sudo reboot [125003850170] |That’s it now your wireless should work without any problem. [125003850180] |For AMD64 Users [125003850190] |If you are using 64 bit version following this procedure [125003850200] |Blacklist the default driver [125003850210] |echo “blacklist ath_pci” | sudo tee -a /etc/modprobe.d/blacklist [125003850220] |Download the 64 bit driver [125003850230] |wget http://blakecmartin.googlepages.com/ar5007eg-64-0.2.tar.gz [125003850240] |Extract driver using the following command [125003850250] |tar xvf ar5007eg-*.tar.gz [125003850260] |tar xvf ndiswrapper-newest.tar.gz [125003850270] |Ensure you have your kernel headers and the build essential package. [125003850280] |sudo aptitude update [125003850290] |sudo aptitude install linux-headers-$(uname -r) build-essential [125003850300] |Install ndisgtk [125003850310] |sudo apt-get install ndisgtk [125003850320] |Either use ndisgtk to install the driver or [125003850330] |sudo ndiswrapper -i net5211.inf [125003850340] |Load up ndiswrapper every time Linux is loaded [125003850350] |sudo modprobe ndiswrapper [125003850360] |echo “ndiswrapper” | sudo tee -a /etc/modules [125003850370] |Restart your system using the following command [125003850380] |sudo reboot [125003850390] |Your card should have been detected and it should show available networks but if it does not, try [125003850400] |sudo iwlist scan [125003860010] |Firefox 3.0 beta in Ubuntu Hardy Heron 8.04 &other cribs [125003860020] |The Firefox comes as a let down in this version. [125003860030] |I use Firefox for ‘n’ number of purposes and use a lot of add-ons or extensions; typically fire-ftp, universal uploader, and, MOST importantly, Google toolbar coz i cannot work without by Google bookmarks. [125003860040] |All these extensions are not available for 3.0 version. [125003860050] |So Firefox becomes an IE for me. [125003860060] |Solution: I am still using my portable Firefox with wine. [125003860070] |Performance is down but at least it’s there. [125003860080] |Other points: [125003860090] |
  • System still does not hibernate properly as was the issue with 7.10.
  • [125003860100] |
  • Occasionally, a starting program just dies. [125003860110] |Just dies. [125003860120] |Just like a car that stops while you are driving it. [125003860130] |I have not yet found a pattern in this.
  • [125003860140] |
  • I have been using OOO in XP and always thought that there were several components to it like OOO math, base apart from the word/ppt/excel equivalents. [125003860150] |But all these are missing in 8.04. [125003860160] |All i get is a writer, impress, calc and draw. or are they hidden somewhere? why?
  • [125003860170] |
  • K3b, which is a fabulous application, still takes 35 years to open first time in a session… which is strange coz it didn’t behave like this in 7.10
  • [125003860180] |
  • Synaptic manager does not show Skype package on search which is painful coz skype site for linux downloads also keeps acting up.
  • [125003860190] |
  • Ctrl+c, ctrl+v etc have stopped working in portable firefox under WINE though they were working perfectly in 7.10
  • [125003860200] |……………. overall, i am still to make up my mind if i like this or not. [125003870010] |Ubuntu 8.04 (Hardy Heron) - all installations (First Impression) [125003870020] |Against good judgment i decided to test all possibilities of Ubuntu release 8.04. [125003870030] |So first i downloaded Kubuntu 8.04 with KDe-4 remix as a live CD for use as wubi. [125003870040] |Then i upgraded my gutsy gibbon on my Virtual box directly and last i downloaded and installed vanilla version of 8.04. [125003870050] |Since the experience is less than 24 hrs old, the impressions are rather premature but what the heck; I intend a follow up post with more stuff later. [125003870060] |Kubuntu: This was my first experience with Kubuntu (and wubi). [125003870070] |I ran the iso file on my XP and installed it thru wubi. [125003870080] |So on the next boot i got Kubuntu option in the GRUB. [125003870090] |The installation was smooth. [125003870100] |So far so good. [125003870110] |Then began my issues. [125003870120] |The lower panel/desktop bar was too broad so i decided to reduce its width. [125003870130] |When i did so, it became thin but fonts icons did not adjust, resulting in half cut appearance. [125003870140] |Konqueror never started. [125003870150] |Wi-fi mangement was poor and i didn’t connect. [125003870160] |In New start menu when you click on internet, initial menu’s disappear and internet menus appear. [125003870170] |This was very irritating since the menus did not cascade. [125003870180] |Performance was slow (as expected on wubi) on my 1 GB ram machine. [125003870190] |Graphics were fabulous, as reputed to be. [125003870200] |Overall, not a heart stealer. [125003870210] |Upgrade in virtual box: Since there is already a post in this forum about this, i’d not write too much. [125003870220] |But i had nightmares downloading the stuff coz even on my 2mbps line i could never download faster than 320 kbps (40 kBps) which was intriguing even though my other stuff was downlaoding at 259 kBps, almost 6 times faster. [125003870230] |But upgrade was smooth though the end result was somewhat disappointing as i’ll elaborate below. [125003870240] |Fresh Install: i had demarcated a 20 gb partition for installing 8.04 afresh on my disk. [125003870250] |Since this was earlier an NTFS partition, Gparted live CD refused to work at all and i dunno why. [125003870260] |Finally went to XP and re-formatted it into FAT-32. [125003870270] |Then when i booted thru live-CD, i just clicked on this 20 GB partition and it got mounted. [125003870280] |Now installation won’t happen on it and not effort could make it to unmount. [125003870290] |Result: reboot. [125003870300] |Next i decided and auto partition guided one. [125003870310] |A slide bar came and i, thinking what i dunno, dragged that bar to 15 GB for /. system continued installing but somehow it was installing the stuff on 2 GB swap partition where, understandably, it ran out of space and terminated the process. [125003870320] |Hmpphh!!, After reboot i decided to manually create partitions. [125003870330] |I wanted to divide the partitions into 5 gb for /home, 12 gb for / and 2 gb for swap. [125003870340] |So this time i got it right (no auto partition, no ntfs, no mounting bullshit). [125003870350] |This went smooth and i had the system up and running. [125003870360] |Next thing: Opened synaptic manager which behaved very erratically. [125003870370] |Did not show packages. [125003870380] |Finally clicked re-load which did the trick. [125003870390] |But strange behaviour on first time opening. [125003870400] |Installed K3b which took 35 years to open again. [125003870410] |Why? [125003870420] |I dunno. [125003870430] |Wi-fi worked good, did not drop as it used to in 7.10 and firefox showed no signs of beta-hood (though someone has said it crashes with flash) So what do i have now? [125003870440] |A system that has a new kernel (for which i take canonical’s word), a bit torrent client (great). [125003870450] |I have yet to test encryption and other features but i feel ‘wine’ should have been bundled. [125003870460] |One good feature is during install it asks if you wanna import your windows docs and settings which is cool. and now all CDs come with wubi installer which is good for the faint of heart. [125003870470] |More will come when i test it further [125003880010] |Howto Get mpd running with pulseaudio in Ubuntu 8.04 (Hardy Heron) [125003880020] |Music Player Daemon (MPD) is a server that allows remote access for playing audio files (Ogg-Vorbis, FLAC, MP3, Wave, and AIFF), streams (Ogg-Vorbis, MP3) and managing playlists. [125003880030] |Gapless playback, buffered output, and crossfading support is also included. [125003880040] |The design focus is on integrating a computer into a stereo system that provides control for music playback over a TCP/IP network. [125003880050] |The goals are to be easy to install and use, to have minimal resource requirements (it has been reported to run fine on a Pentium 75), and to remain stable and flexible. [125003880060] |The daemon is controlled through a client which need not run on the same computer mpd runs on. [125003880070] |The separate client and server design allows users to choose a user interface that best suites their tastes independently of the underlying daemon (this package) which actually plays music. [125003880080] |PulseAudio is the standard sound server in Ubuntu Hardy Heron 8.04. [125003880090] |PulseAudio Preferences (paprefs) is a simple GTK based configuration dialog for the PulseAudio sound server. [125003880100] |Install mpd and paprefs using the following command [125003880110] |sudo aptitude install mpd paprefs [125003880120] |In PulseAudio Preferences, make sure these two options are enabled [125003880130] |* Enable network access to local sound devices [125003880140] |* Don’t require authentication [125003880150] |Now you need to edit mpd.conf file [125003880160] |sudo gedit /etc/mpd.conf [125003880170] |add the following lines [125003880180] |audio_output { type “pulse” name “My MPD PulseAudio Output” } [125003880190] |save and exit the file [125003880200] |Don’t add any other options to this! [125003880210] |Let MPD just use PulseAudio’s defaults. [125003880220] |Now, restart MPD using the following command [125003880230] |sudo /etc/init.d/mpd restart [125003880240] |Howto fix system sounds in hardy pulseaudio [125003880250] |If you have any problems with system sounds in hardy pulseaudio follow this procedure [125003880260] |Edit /etc/pulse/default.pa file using the following command sudo gedit /etc/pulse/default.paMake this change # original line #load-module module-esound-protocol-unix to #changed line load-module module-esound-protocol-unix socket=/tmp/.esd/socket save and exit the file [125003890010] |fslint - toolkit to fix various problems with filesystems data [125003890020] |FSlint is a toolkit to clean filesystem lint, like duplicate files, badly named paths, and broken symlinks for example. [125003890030] |It includes a GUI as well as a command line interface. [125003890040] |Install fslint ubuntu [125003890050] |sudo aptitude install fslint [125003890060] |This will complete the installation. [125003890070] |Using Fslint [125003890080] |If you want to open goto Applications--->System Tools--->FSlint [125003890090] |Once it opens you should be able to see similar screen [125003890100] |You need to enter the search path and click whichever tab you want to see for example duplicates screen [125003890110] |Installed packages screen [125003890120] |Bad names screen [125003900010] |How to Install Kiba-Dock in Ubuntu 7.10 (Gutsy Gibbon) [125003900020] |Kiba Dock is a dock, a way to access programs and windows in an interactive manner. [125003900030] |Probably the most common example today is the dock in Mac OS X. Kiba Dock is specifically made for Linux operating systems, running under either the GNOME and KDE destkop environments. [125003900040] |Note:- You need to have beryl / compiz - fusion working to install kiba-dock [125003900050] |Preparing Your system [125003900060] |sudo aptitude remove automake1.4 [125003900070] |sudo apt-get install fakeroot automake1.9 build-essential libpango1.0-dev libgtk2.0-dev libgconf2-dev libglitz-glx1-dev librsvg2-dev libglade2-dev libxcomposite-dev subversion libtool libgtop2-dev python-gtk2-dev libgnome-menu-dev libgnomeui-dev libgnomevfs2-dev intltool libxml2-dev libglitz1-dev libcairo2 libdbus-1-dev libgtop2-7 libgnomevfs2-0 libgnomeui-0 librsvg2-2 python-feedparser libasound2-dev libsdl1.2-dev libdbus-glib-1-dev libgstreamer-plugins-base0.10-dev libgstreamer0.10-dev libgstreamer0.10-0 pidgin-dev libpurple-dev [125003900080] |Prepare kiba-dock Directory [125003900090] |mkdir kiba-dock [125003900100] |cd kiba-dock [125003900110] |Download kiba-dock and Plugins [125003900120] |svn co https://kibadock.svn.sourceforge.net/svnroot/kibadock/trunk/akamaru/ akamaru [125003900130] |svn co https://kibadock.svn.sourceforge.net/svnroot/kibadock/trunk/kiba-dock/ kiba-dock [125003900140] |svn co https://kibadock.svn.sourceforge.net/svnroot/kibadock/trunk/kiba-plugins/ kiba-plugins [125003900150] |svn co https://kibadock.svn.sourceforge.net/svnroot/kibadock/trunk/kiba-dbus-plugins/ kiba-dbus-plugins [125003900160] |Install kiba-dock and Plugins [125003900170] |cd akamaru/ [125003900180] |./autogen.sh --prefix=/usr --exec-prefix=/usr [125003900190] |sudo make install [125003900200] |cd .. [125003900210] |cd kiba-dock/ [125003900220] |./autogen.sh [125003900230] |sudo make install [125003900240] |cd .. [125003900250] |cd kiba-plugins/ [125003900260] |./autogen.sh [125003900270] |sudo make install [125003900280] |cd .. [125003900290] |cd kiba-dbus-plugins/ [125003900300] |./autogen.sh [125003900310] |sudo make install [125003900320] |cd .. [125003900330] |This will complete the installation. [125003900340] |Now you need to open the Terminal and type the following command to open kiba dock [125003900350] |kiba-dock [125003900360] |Additing to Start-UP [125003900370] |Go to System -> Preferences -> Sessions and click add new under the start-up tab. [125003900380] |Name = Kiba-Dock Command = kiba-dock [125003900390] |Uninstall kiba-dock and plugins [125003900400] |Go into each sub-directory of kiba-dock folder and and type sudo make uninstall [125003900410] |cd kiba-dock/kiba-dbus-plugins [125003900420] |sudo make uninstall [125003900430] |cd .. [125003900440] |cd kiba-dock/kiba-plugins [125003900450] |sudo make uninstall [125003900460] |cd.. [125003900470] |cd kiba-dock/kiba-dock [125003900480] |sudo make uninstall [125003900490] |cd.. [125003900500] |cd kiba-dock/akamaru [125003900510] |sudo make uninstall [125003900520] |That’s it. [125003900530] |Check Kiba-dock Demo Video from here [125003910010] |How to Install C and C++ Compilers in Ubuntu and testing your first C and C++ Program [125003910020] |If you are a developer you need C and C++ Compiler for your development work.In ubuntu you can install the build-essential for C and C++ compilers. [125003910030] |Install C and C++ Compilers in Ubuntu [125003910040] |sudo aptitude install build-essential [125003910050] |This will install all the required packages for C and C++ compilers [125003910060] |Testing C and C++ Programs [125003910070] |Compiling Your first C Programs [125003910080] |Now you need to open first.c file [125003910090] |sudo gedit first.c [125003910100] |add the following lines save and exit the file [125003910110] |Firstly compile the code using the following command [125003910120] |cc -c first.c [125003910130] |that would produce an object file you may need to add to the library. [125003910140] |then create an executable using the following command [125003910150] |cc -o first first.c [125003910160] |Now run this executable using the following command [125003910170] |./first [125003910180] |Output should show as follows [125003910190] |Hello, world [125003910200] |Compiling your first C++ program [125003910210] |If you want to run c++ program follow this procedure [125003910220] |g++ is the compiler that you must use. [125003910230] |you should use a .cpp file extension rather than a .c one [125003910240] |You need to create a file [125003910250] |sudo gedit first.cpp [125003910260] |add the following lines save and exit the file [125003910270] |Run your C++ Program using the following command [125003910280] |g++ first.cpp -o test [125003910290] |./test [125003910300] |Output should show as follows [125003910310] |Hello World! [125003930010] |Fix for Video Playback Problem in Compiz-Fusion [125003930020] |While running Compiz-Fusion, You wouldn’t be able to see any video play while either moving the window, viewing desktops in expo, 3d cube, or any other cool effect for that matter; instead you would see a blue screen, including when viewing in full screen. [125003930030] |Note:- Some of Our Users complain about the performance after using this solution. [125003930040] |* GStreamer Users (The default video player in Ubuntu, totem-gstreamer, and any video player that is based on the gstreamer backend) [125003930050] |o Open a terminal and type “gstreamer-properties”. [125003930060] |Press Enter. [125003930070] |o Click the Video tab. [125003930080] |o Under Default Video Plugin select “X Window System (No Xv)”. [125003930090] |o Click Test to verify that video playback is working (you should be able to see the standard TV testing colour stripes). [125003930100] |o Click Close [125003930110] |* VLC Users (VLC is not installed by default) [125003930120] |o Start VLC and click on Settings, then Preferences. [125003930130] |o Expand Video and then expand Output modules. [125003930140] |You will notice several options for output device. [125003930150] |o Select the item Output modules, and notice the checkbox at the bottom right that says Advanced options. [125003930160] |Check the box, and now you have the option to select a different output device. [125003930170] |o Pick X11 video output [125003930180] |o Click on Save and you are set! [125003930190] |* MPlayer Users (Mplayer is not installed by default) [125003930200] |o Start Mplayer [125003930210] |o Right-click on the screen and select Preferences [125003930220] |o Select the Video tab and under Available Drivers select “X11 (XImage/Shm)” [125003930230] |o Click Save and restart the program for the setting to take effect. [125003930240] |+ Some times MPlayer may not be able to show videos in full screen. [125003930250] |* Xine users [125003930260] |o Start xine [125003930270] |o Click File, then Configure and then Preferences [125003930280] |o In experience_level select “Master Of The Known Universe” so that all available settings are visible. [125003930290] |o Select the tab for video. [125003930300] |o Under Driver select “xshm”. [125003930310] |o Restart xine. [125003930320] |+ The same process enables Totem that has the totem-xine backend configured. [125003940010] |How To Make Windows look like Ubuntu [125003940020] |If you want to make your windows XP,Vista Machines look like ubuntu you need to follow this procedure [125003940030] |Start with the visual style, if you haven’t already install Uxtheme Multipatcher, this will remove the limitations on your system, in order to install new themes. [125003940040] |Then download the Human Visual Style [125003940050] |Go to C:\Windows\Resources\Themes and safe your download theme in there. [125003940060] |Now right click on your Desktop and click on Properties. [125003940070] |Go to Appearance and select Human as the theme. [125003940080] |Now change the icons, first install Icontweaker,after that install Ubuntu Icontweaker theme [125003940090] |Next, change the wallpaper on your desktop, get the Ubuntu wallpaper Here or here . [125003940100] |To replace the icons for Windows Explorer, first install Styler toolbar (free),get the Ubuntu Human Theme for Styler. [125003940110] |Now get the famous ubuntu Cursor [125003940120] |Now, what everybody wants. [125003940130] |The alternative to Beryl on Linux.GET IT HERE , and get that “3D CUBE” effect. [125003940140] |To change the boot screen download BootSkin (it’s free): Get it Here . [125003940150] |And download the Ubuntu Bootskin [125003940160] |To get Ubuntu Logon screen go here. [125003940170] |For Mozilla Firefox Web Browser, you can install the Ubuntu Theme, Dapper Retouched for Opera [125003940180] |Theme for WinRAR from here [125003940190] |Final Review [125003940200] |Article Credit goes here [125003940210] |or [125003940220] |Simply download this and install in your windows machine [125003950010] |HOWTO Make Ubuntu Look Like Windows Vista [125003950020] |Download Vista font [125003950030] |Download Microsoft Segoe UI Font from here [125003950040] |Unzip the downloaded archive and place the two .ttf files in your .fonts directory. [125003950050] |You can find it in your user folder. /home/$USERNAME/.fonts/ [125003950060] |For example: /home/ruchi/.fonts [125003950070] |If the directory .fonts does not exist, create it. [125003950080] |Download Aero-clone theme [125003950090] |Download the Aero-clone theme from Gnome-look.org or here [125003950100] |Install the Beryl and GTK theme as usual [125003950110] |Icons [125003950120] |Download the nuoveXT-aero iconset [125003950130] |Download the nuoveXT-aero iconset from here [125003950140] |Panel [125003950150] |Change the gnome-panel size to 32px height.For this you need to Right-click on the gnome panel (the taskbar at the top of the screen) select properties [125003950160] |Change the size to 32 and click on close [125003950170] |Vista start-button screenlet [125003950180] |Download and install “Desktop Screenlets” and you can download from here [125003950190] |Install the “orb” screenlet (The orb screenlet is included in the .tar.gz from gnome-look.org) or from here .Place the orb screenlet above the main-menu button and lock the position. [125003950200] |Vista Wallpapers [125003950210] |If you want to make the experience complete download some Vista wallpapers for your desktop. [125003950220] |Download vista wallpapers from here or here or here [125003950230] |Install cursor to aero-drop [125003950240] |Download aero-drop (Aero Mouse Cursor with Drop Shadow) from here [125003950250] |Extract the archive and move the folder to ~/.icons/ . [125003950260] |Go to System---> Preferences---> Appearance---> Theme---> Customize---> Pointer---> aero-drop---> Close---> Close. [125003950270] |Then, go to ccsm (if you don’t have it install it with “sudo apt-get install compizconfig-settings-manager”). [125003950280] |General Options---> Cursor theme---> aero-drop [125003950290] |Close ccsm. [125003950300] |That’s it you are ready for vista look for your ubuntu desktop [125003960010] |Howto Remove Compiz Fusion Including config files [125003960020] |If you want to uninstall Compiz Fusion for some reason follow these steps [125003960030] |Open a terminal [125003960040] |Enter the following command [125003960050] |sudo aptitude remove --purge compiz* libcompizconfig* -s [125003960060] |Then remove all the packages that have a “compiz” in them. [125003960070] |sudo aptitude remove libgnome-compiz-manager0 compiz-extra libcompizconfig0 compiz-dev compiz-gtk compiz-kde compiz-settings libcompizconfig-backend-gconf compiz-config-ini gcompizthemer compiz-plugins libgnome-compiz-manager-dev compizconfig-backend-kde compizconfig-settings-manager python-compizconfig compiz-config-gnome taskbar-compiz compizconfig-plugin compiz-freedesktop-dev compiz-fusion-plugins-unofficial compiz-bcop compiz-ccs-settings-manager libgnome-compiz-manager libcompizconfig0-dev compiztools compizconfig-settings-legacy compiz-fusion-plugins-extra compiz-compcomm-plugins-main compiz-fusion-plugins-unsupported compiz compiz-extra-plugins compiz-fusion-plugins-main libcompizconfig-backend-kconfig compiz-core compiz-decorator gnome-compiz-manager compiz-fusion-plugins-main compiz-gnome libcompizconfig-dev libgnome-compiz-manager0-dev libcompizconfig0 libcompizconfig-backend-gconf libcompizconfig0-dev libcompizconfig-backend-kconfig libcompizconfig-dev [125003960080] |After removing all those packages, backup /home/username/.compizconfig and /home/username/.config/compiz and /home/ username.gconf/apps/compiz to some other location just in case.(your desktop for eg) and then delete them from the /home/username folder [125003960090] |Now you have a clean system ready for New Compiz Fusion installation [125003970010] |Install latest plugins for compiz-fusion from git [125003970020] |Install compiz-fusion plugins on Ubuntu with compiz-git.You need to follow this procedure to install [125003970030] |Download compiz-git using the following commands [125003970040] |In a terminal use the following commands [125003970050] |wget http://www.xs4all.nl/~mgj1/downloads/compiz-git-newest.tar.gz [125003970060] |tar xzf compiz-git-newest.tar.gz [125003970070] |You should now have a directory called compiz-git in your home-directory (or anywhere else where you ran these commands). [125003970080] |Install compiz from git [125003970090] |Go to a terminal and do [125003970100] |cd compiz-git [125003970110] |./compiz-git install [125003970120] |That’s it! [125003970130] |Anwser the questions and if everything runs fine, you should have installed compiz from git! [125003970140] |Uninstall compiz from git [125003970150] |cd compiz-git [125003970160] |./compiz-git uninstall [125003970170] |cd .. [125003970180] |rm -r compiz-git [125003970190] |Running compiz-fusion [125003970200] |Run Compiz Fusion Icon (in your menu). [125003970210] |You can check the latest script from git page from here [125003980010] |Flyback - Snapshot-based backup tool based on rsync [125003980020] |FlyBack is a snapshot-based backup tool based on rsync It creates successive backup directories mirroring the files you wish to backup, but hard-links unchanged files to the previous backup. [125003980030] |This prevents wasting disk space while providing you with full access to all your files without any sort of recovery program. [125003980040] |If your machine crashes, just move your external drive to your new machine and copy the latest backup using whatever file browser you normally use. [125003980050] |Note that this means you can selectively delete specific backups and still retain files stored in previous ones. (ie., you can delete Tuesday’s backup and keep Monday’s, without screwing up Wednesday’s) [125003980060] |Preparing your system [125003980070] |First you need to install the following packages [125003980080] |sudo apt-get install python python-glade2 python-gnome2 python-sqlite python-gconf rsync [125003980090] |Installing Flyback in Ubuntu [125003980100] |download the software using the following command [125003980110] |wget http://flyback.googlecode.com/files/flyback_0.4.0.tar.gz [125003980120] |Extract this using the following command [125003980130] |tar -zxvf flyback_0.4.0.tar.gz [125003980140] |Then change to the new directory (“flyback/src/” or “flyback/”, depending on which you chose above) and run the following command as user and not as root [125003980150] |python flyback.py [125003980160] |Once it opens you should see similar to the following screen [125003980170] |First you need to configure the preferences for this go to Edit---->Preferences [125003980180] |Configure the Storage location for your backups [125003980190] |Select the Backup Data [125003980200] |Select your backup schedule this example of backup means The * mean all the day, months and years. [125003980210] |3 mean to do the backup 3rd hour every day. [125003980220] |If you want to restore the backups select the system snapshots select location,files and click on restore from the top panel [125003980230] |Flybackup version details [125003990010] |Check Compiz will run on your ubuntu desktop or not [125003990020] |Compiz-Check is a script to test if Compiz is able to run on your system/setup and if not, it will tell you the reason why. [125003990030] |The script is suitable for GNOME, KDE and Xfce users and is not limited to a specific Linux distribution – in fact, the script lists those infos for you. [125003990040] |The test consists mainly of three parts [125003990050] |
  • List relevant system information
  • [125003990060] |
  • Run several Compiz related checks
  • [125003990070] |
  • Check for problematic hardware and problems with the setup in use.
  • [125003990080] |Install Compiz-Check in Ubuntu [125003990090] |Method 1 [125003990100] |Download .deb package from here [125003990110] |wget http://blogage.de/files/3448/download?compiz-check_0.1-1_all.deb [125003990120] |Now you have compiz-check_0.1-1_all.deb package install this using the following command [125003990130] |sudo dpkg -i compiz-check_0.1-1_all.deb [125003990140] |This will complete the installation [125003990150] |run Compiz-Check using the following command [125003990160] |compiz-check [125003990170] |Method 2 [125003990180] |You can use this command to download it to your home directory [125003990190] |wget http://blogage.de/files/3729/download -O compiz-check [125003990200] |Afterwards, you have to make it executable [125003990210] |chmod +x compiz-check [125003990220] |And finally run it like this [125003990230] |./compiz-check [125003990240] |Keep in mind that you have to be in the directory the script is located at to make it work. [125003990250] |In case you want to use it anywhere (and by any user), you have to store it in your $PATH environment variable (like /usr/local/bin). [125003990260] |compiz-check Output [125003990270] |If everything is ok you should see similar to the following screen [125003990280] |Gathering information about your system… [125003990290] |Distribution: Ubuntu 8.04 Desktop environment: GNOME Graphics chip: ATI Technologies Inc RV350 AR [Radeon 9600] Driver in use: radeon Rendering method: AIGLX [125003990300] |Checking if it’s possible to run Compiz on your system… [125003990310] |Checking for texture_from_pixmap… [ OK ] Checking for non power of two support… [ OK ] Checking for composite extension… [ OK ] Checking for FBConfig… [ OK ] Checking for hardware/setup problems… [ OK ] [125003990320] |You can find out what version you are using by running the following command [125003990330] |compiz-check --version [125004000010] |How To select fastest mirror in Ubuntu [125004000020] |If you want to select Ubuntu mirror which works fastest for you follow these steps this is very important to any ubuntu user to download and install ubuntu packages fastest way. [125004000030] |To launch Synaptic, choose System >Administration >Synaptic Package Manager [125004000040] |Now you need to select Settings -> Repositories. [125004000050] |Select Ubuntu Software tab In the Download From drop down, choose Other… [125004000060] |Click the Select Best Server button in the resulting dialog.Wait a minute (or perhaps more on a slow connection). [125004000070] |Testing best server is in progress [125004000080] |Once it’s finished,click on choose server [125004000090] |close everything and click Reload in the main Synaptic window. [125004000100] |Downloading package information in progress from your new mirror [125004000110] |This simple procedure picks the best mirror for you. [125004000120] |This works for me very well so i would suggest you try this and see if it works for you or not. [125004000130] |If you have any other method which worked for you please let us know. [125004020010] |Conduit - synchronize Your data in Easy Way [125004020020] |Conduit is a synchronization solution for GNOME which allows the user to take their emails, files, bookmarks, and any other type of personal information and synchronize that data with another computer, an online service, or even another electronic device. [125004020030] |Conduit manages the synchronization and conversion of data into other formats. [125004020040] |For example, conduit allows you to; [125004020050] |Synchronize your tomboy notes to a file on a remote computer Synchronize your emails to your mobile phone Synchronize your bookmarks to delicious, gmail, or even your own webserver and many more. [125004020060] |Install Conduit in Ubuntu [125004020070] |First you need to download the conduit .deb package from here [125004020080] |Currently Conduit have Feisty and Gutsy .deb packages [125004020090] |Once you downloaded the .deb package you should be having the conduit_0.3.4-1~getdeb2_all.deb file and you need to install this file using the following command [125004020100] |sudo dpkg -i conduit_0.3.4-1~getdeb2_all.deb [125004020110] |When you try to install you might get the following error [125004020120] |(Reading database …137487 files and directories currently installed.) [125004020130] |Unpacking conduit (from conduit_0.3.4-1~getdeb2_all.deb) …dpkg: dependency problems prevent configuration of conduit: conduit depends on python-pygoocanvas; however: Package python-pygoocanvas is not installed. conduit depends on python-vobject; however: Package python-vobject is not installed. conduit depends on libgoocanvas3; however: Package libgoocanvas3 is not installed. conduit depends on python-elementtree; however: Package python-elementtree is not installed. conduit depends on python-sqlite; however: Package python-sqlite is not installed. dpkg: error processing conduit (--install): dependency problems - leaving unconfigured Errors were encountered while processing: conduit [125004020140] |To fix the above error run the following command [125004020150] |sudo aptitude -f install [125004020160] |This will complete the conduit installation [125004020170] |Using Conduit [125004020180] |If you want to open conduit go to Applications--->Accessories-->Conduit [125004020190] |Conduit is Loading [125004020200] |Once it opens you should see similar to the following screen [125004020210] |Conduit’s main window consists of two panes The left pane contains a list of supported services (data providers), and the right pane (Canvas) is used to define synchronization rules.Even in its current form, Conduit supports quite a few data providers, including the ever-popular Tomboy, F-Spot,Box.net, Flickr, Gmail, and others. [125004020220] |Conduit is capable of syncing individual files and folders. [125004020230] |When working with different data providers, it’s important to keep in mind that not all of them support twoway synchronization, and a tiny blue arrow next to each data provider icon helps you determine whether the syncing can go both ways or not. [125004020240] |To see Conduit in action,If you want to create some sync To do this, click on the folder item in the Dataproviders list and drag it onto the Canvas. [125004020250] |For example if you want to configure picasa Right-click on picasa and choose Configure Item. [125004020260] |Picasa Configuration box as follows [125004020270] |Conduit provides a way to resolve synchronization conflicts,and you can configure its behavior in the Edit | Preferences dialog window under the Configuration tab [125004030010] |Slow Update manager how to fix? [125004030020] |Am I doing something wrong? [125004030030] |My Update Manager is downloading at a rate of about 1Mb/day! [125004030040] |The System Monitor shows that about 100 to 400 bytes are downloaded every 5 seconds or so. [125004030050] |I have no trouble using e-mail or Firefox at normal speed. [125004030060] |Is there anything I can do to improve things? [125004030070] |I’ve installed Ubuntu 7.10 (Gutsy Gibbon) on an ancient Toshiba Satellite Pro 4600 laptop. [125004030080] |(Pentium III/700MHz CPU, 128MB PC100 SDRAM) [125004040010] |Unison - file synchronization tool [125004040020] |Unison is a file-synchronization tool for Unix and Windows. [125004040030] |It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other. [125004040040] |Unison shares a number of features with tools such as configuration management packages (CVS, PRCS, Subversion, BitKeeper, etc.),distributed filesystems (Coda, etc.), uni-directional mirroring utilities (rsync, etc.), and other synchronizers (Intellisync,Reconcile, etc). [125004040050] |Unison Features [125004040060] |Unison runs on both Windows and many flavors of Unix (Solaris, Linux, OS X, etc.) systems. [125004040070] |Moreover, Unison works across platforms,allowing you to synchronize a Windows laptop with a Unix server, for example. [125004040080] |Unlike simple mirroring or backup utilities, Unison can deal with updates to both replicas of a distributed directory structure. [125004040090] |Updates that do not conflict are propagated automatically. [125004040100] |Conflicting updates are detected and displayed. [125004040110] |Unlike a distributed filesystem, Unison is a user-level program: there is no need to modify the kernel or to have superuser privileges on either host. [125004040120] |Unison works between any pair of machines connected to the internet, communicating over either a direct socket link or tunneling over an encrypted ssh connection. [125004040130] |It is careful with network bandwidth, and runs well over slow links such as PPP connections. [125004040140] |Transfers of small updates to large files are optimized using a compression protocol similar to rsync. [125004040150] |Unison is resilient to failure. [125004040160] |It is careful to leave the replicas and its own private structures in a sensible state at all times, even in case of abnormal termination or communication failures. [125004040170] |Unison has a clear and precise specification. [125004040180] |Unison is free; full source code is available under the GNU Public License. [125004040190] |Install Unison in Ubuntu [125004040200] |sudo aptitude install unison-gtk [125004040210] |This will complete the installation [125004040220] |Using Unison [125004040230] |If you want to open goto Applications--->Internet--->Unison [125004040240] |When you run it in GUI mode for the first time, you’ll be prompted to create a new synchronization profile. [125004040250] |Simply specify the paths to the directories you want to keep in sync and you are done. [125004040260] |Enter First Directory [125004040270] |Enter Second Directory.As you can see, Unison supports synchronization via SSH, which is a handy feature for syncing remote machines. [125004040280] |Unison then checks both directories and displays all the files to be synchronized. [125004040290] |Pressing the Go button performs the sync. [125004040300] |Although the basic operation of Unison is pretty straightforward, it offers a few advanced features, including a powerful and flexible conflict-resolution mechanism that provides a comprehensive set of options. [125004040310] |Once Unison has scanned the directories,you can specify the way it should handle conflicts with the options available under the Actions menu. [125004040320] |For example,you can choose to solve conflicts in favor of the desired directory by choosing either the Resolve all conflicts in favor of first root orResolve all conflicts in favor of second root command. [125004040330] |Also, you can force all changes from one directory to another and replace older files with newer ones. [125004040340] |Specifying all the synchronization settings manually each time you run Unison is hardly ideal. [125004040350] |Fortunately, Unison provides an elegant solution – multiple profiles: For each profile, you can specify settings in a .prf file and save it in the ~/.unison directory.